Files
wowdecomp/Engine/Source/Base/RefCount.h
T
SatyandClaude Opus 5.5 8f14dd9d01 Base: RCString, CStringMemory, CStringManager, TRefCnt
Port the 12340 string interning table (Mac 4.0.1 design) and TRefCnt in
RefCount.h. All functions verified against the binary.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 04:17:30 +02:00

31 lines
455 B
C++

#ifndef ENGINE_SOURCE_BASE_REFCOUNT_H
#define ENGINE_SOURCE_BASE_REFCOUNT_H
#include <cstdint>
class TRefCnt {
public:
/* 0004 */ uint32_t m_refcnt;
TRefCnt();
virtual void DeleteSelf();
virtual ~TRefCnt();
};
// INLINED
inline TRefCnt::TRefCnt() {
this->m_refcnt = 0;
}
// VERIFY: 9e4f100c manual
// OFFSET: 0x00407920
inline void TRefCnt::DeleteSelf() {
delete this;
}
// INLINED
inline TRefCnt::~TRefCnt() {
}
#endif