CGTooltip::~CGTooltip
function · ui · orchestration
- Address
0x529480· 215 bytes, up to0x529556- Signature
void __thiscall (CGTooltip *this)- Meaning
- Removes the health bar's watcher, releases the script slots and line arrays and ends in the frame destructor
- Confidence
- verified, proof one
- Finding
- ui/tooltip#destroying-a-tooltip
Finding: Destroying a tooltip in ui: GameTooltip, the widget
The deleting destructor 0x529450 (slot 0 of the vtable 0x808f60) calls 0x529480. It stores the tooltip's two
vtables. When the unit GUID at +0x368 is nonzero, the status bar at +0x348 is set and the object manager exists, it
removes the bar's health watcher with 0x467fb0(3, 0x40, GUID, 0x529560, bar); that unlinks the record only from the
field list of a unit the GUID finds, and only flags (+0x2d) a matching record whose callback is running (+0x2c),
without unlinking it (0x468023 to 0x468057). It then releases the three script slots at +0x444, +0x44c and +0x454, frees
the line arrays at +0x344, +0x338 and +0x32c when set, and tail-jumps to CSimpleFrame::~CSimpleFrame
(0x7693b0).
The derivation is in the doc.
Callers 1
Callees 5
- GetObjectManager objectlayer
- ClntObjMgrClearObjectMirrorHandler objectlayer
- SMemFree storm
- FrameScriptReleaseScript ui
- CSimpleFrame::~CSimpleFrame ui
Calls and jumps by a bare address, from tables/calls.tsv.