benilla-re systems structs docs

s_simpleFontFollowerSlots

global · ui

Address
0x81cb20 · 8 bytes, up to 0x81cb27
Type
void *[2]
Meaning
Holds the two slots a Font keeps at +0x24 (0x783ad3): a thunk to its deleting destructor and the block merge 0x77e4b0
Confidence
verified, proof one
Finding
ui/fonttext#font-tables

Finding: Font tables in ui: font string internals

A Font's constructor stores two tables: the pair 0x81cb20 at +0x24 and the vtable 0x81cb28 in [this]. The pair is the thunk 0x784f80, which steps this back 0x24 into the deleting destructor, and the block merge 0x77e4b0. The vtable has eight slots: 0 the deleting destructor 0x783af0, 1 0x77e4a0 (the dword at +0x68), 2 0x7a1100 (a script method lookup), 3 0x702590 (the OnEvent script by name), 4 0x77e4e0 (a type id test), 5 0x784180 (PushChanges), 6 0x77e500 (a type name test) and 7 0x77e520 (the name Font). The three floats from 0x81cb48 are the check button's constants.

The derivation is in the doc.