benilla-re systems structs docs

CSimpleFontString::OnFontChanged

function · ui · orchestration

Address
0x773530 · 26 bytes, up to 0x773549
Signature
void __thiscall (CSimpleFontString *this, FontBlock *block)
Meaning
Applies a font block to the string under the string's inherit mask
Confidence
verified, proof one
Finding
ui/fonttext#font-part-and-region-slots

Finding: Font part and region slots in ui: font string internals

The font part at +0xcc has the vtable 0x81c744: slot 0 0x7733b0 moves this back by 0xcc and jumps to the deleting destructor 0x770e20; slot 1 0x773530(block) applies a font block to the string through 0x770800 with the string's inherit mask +0xd4. A region slot shared by four vtables, 0x7733d0(parent), calls CScriptRegion::SetRegionParent with the region's own layer +0xc0 and sublevel +0xc4; 0x7733f0 is a ret, the empty slot of two vtables. 0x773490 is the Font object's deleting destructor (table 0x81c7a4): it detaches the object from its font with 0x770c60(0), unlinks its list node at +0xc and frees the object when bit 0 of its flag is set.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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