Files
SatyandClaude Opus 5.5 cb9f7f4ac7 Base/Event: cover HandleCompare and the remaining destructors
HandleCompare (0x47BF20): the ICF-folded 4-byte handle difference that the
M2 scene sorts, CSimpleTexture and CDetailDoodadInst call. ~TRefCnt now
names its scalar deleting destructor (0x480E40), ~CDataRecycler adds
0x95CE00, and TSHashObject gets its destructor (0x47C560, the HASHKEY_STR
instance). Event is 88/88, Base 122/123 (the s_callbackRegAllocator atexit
thunk stays compiler-generated).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 01:13:36 +02:00

26 lines
589 B
C++

#ifndef ENGINE_SOURCE_BASE_HANDLE_H
#define ENGINE_SOURCE_BASE_HANDLE_H
#include <cstdint>
#include "Engine/Source/Base/Types.h"
class CHandleObject {
public:
/* 0004 */ int32_t m_refcount;
virtual ~CHandleObject();
virtual const char* GetObjectName();
CHandleObject();
};
void HandleClose(HOBJECT handle);
int32_t HandleCompare(HOBJECT a, HOBJECT b);
HOBJECT HandleCreate(CHandleObject* ptr, const char* handleName);
CHandleObject* HandleDereference(HOBJECT handle);
void HandleDestroy();
HOBJECT HandleDuplicate(HOBJECT handle);
void HandleInitialize();
#endif