benilla-re systems structs docs

s_simpleCheckboxLayoutVtable

global · ui

Address
0x81cb54 · 44 bytes, up to 0x81cb7f
Type
void *[11]
Meaning
Holds the layout vtable of a check button, stored at +0x24
Confidence
verified, proof one
Finding
ui/button#button-teardown-and-text-colour-slots

Finding: Button teardown and text colour slots in ui: Button and CheckButton

The button's destructor body 0x778850 stores its vtables (0x81c7f8, 0x81c7c8 at +0x24), clears the three state textures (0x778fd0(state, 0)), releases the script slots +0x4cc and +0x4d4, destroys the three label fonts at +0x434, +0x3b8 and +0x33c (0x783b20) and runs the frame destructor. The colour setters 0x778e20, 0x778e70 and 0x778ec0 take a pointer to a colour dword. When it differs from the stored colour (+0x394 normal, +0x48c disabled, +0x410 highlight), or its set bit 0x400 is clear, they store it and set 0x404 in the font's validity word; then they clear bit 2 of its inherit mask and run slot 5 of the font part. 0x785140 is the check button's destructor body: it clears its two checked textures and runs 0x778850.

The derivation is in the doc.