benilla-re systems structs docs

CSimpleFont::~CSimpleFont

function · ui · orchestration

Address
0x783b20 · 270 bytes, up to 0x783c2d
Signature
void __thiscall (CSimpleFont *this)
Meaning
Clears the name, detaches every follower and the font's own link and ends in the script object destructor
Confidence
verified, proof one
Finding
ui/fonttext#the-font-object

Finding: The Font object in ui: font string internals

A Font object (CSimpleFont, vtable 0x81cb28, layout part 0x81cb20) holds a font block at +0x38, a justify word +0x54 (0x212 when built), a colour word +0x58 (−1), its inherit mask +0x2c (0x1f), the word +0x6c (0) that SetFontObject copies, the font it follows +0x28 and the list of its own followers +0x74 with their link offset +0x70 (0xc). 0x783a40 builds one: it constructs the script object part (0x701ae0), clears the block and the follow fields, makes +0x74 an empty list and counts the object in 0xcf4e78. 0x783b20 destroys one: it clears its name, detaches every follower (0x770c60(0) until the list is empty), decrements the count, unlinks itself from its own font and ends in the script object destructor (0x701b40).

The derivation is in the doc.

Callers 3

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.