CSimpleButton::~CSimpleButton
function · ui · orchestration
- Address
0x778850· 105 bytes, up to0x7788b8- Signature
void __thiscall (CSimpleButton *this)- Meaning
- Clears the state textures, releases the script slots, destroys the three label fonts and runs the frame destructor
- 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.
Callers 5
- DeletingDestructor495b70 ui
- DeletingDestructor778820 ui
- CSimpleCheckbox::~CSimpleCheckbox ui
- 0x7a32c0 ui
- CGNamePlateFrame::~CGNamePlateFrame ui
Callees 4
- FrameScriptReleaseScript ui
- CSimpleFrame::~CSimpleFrame ui
- CSimpleButton::SetStateTexture ui
- CSimpleFont::~CSimpleFont ui
Calls and jumps by a bare address, from tables/calls.tsv.