Files
SalastilandClaude Opus 5.5 b12db08ce5 Spawn lookup by ID (0x401b28), inline EQString dtor
0x401b28 returns EQPlayer* from the 3000-entry spawn table (callers in
EQPlayer::Die etc. use it as a spawn). ~EQString is an inline header
function; 0x4482fb is its out-of-line copy, which compiler-generated
destructors call instead of inlining.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 23:32:09 -04:00

27 lines
657 B
C++

#pragma once
#include <new>
// Reference-counted string handle used throughout the client (one pointer to a shared rep).
class EQString {
public:
EQString() : m_p(0) {}
// FUNCTION: EQGAME 0x004482fb
~EQString()
{
if (m_p)
FreeRep(m_p);
m_p = 0;
}
// FUNCTION: EQGAME 0x00571f70 ??4EQString@@QAEAAV0@ABV0@@Z
EQString& operator=(const EQString& o);
// FUNCTION: EQGAME 0x00571fc0 ??4EQString@@QAEAAV0@PBD@Z
EQString& operator=(const char* s);
// FUNCTION: EQGAME 0x00572300
const char* c_str() const;
// FUNCTION: EQGAME 0x00571d00
void FreeRep(void* rep);
void* m_p;
};