CSimpleFont::CSimpleFont
function · ui · orchestration
- Address
0x783a40· 171 bytes, up to0x783aea- Signature
void * __thiscall (CSimpleFont *this)- Meaning
- Builds a Font object: script part, empty block, 0x212 justify word, empty follower list and the vtables
- 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 6
- CSimpleButton::CSimpleButton ui
- CSimpleEditBox::CSimpleEditBox ui
- FontRecordConstruct ui
- CSimpleMessageFrame::CSimpleMessageFrame ui
- CSimpleMessageScrollFrame::Construct ui
- CSimpleHTML::CSimpleHTML ui
Callees 3
- AssignSharedString base
- ConstructScriptObject ui
- StoreRetained ui
Calls and jumps by a bare address, from tables/calls.tsv.