benilla-re systems structs docs

CGTooltip::GetScriptSlot

function · ui · orchestration

Address
0x5295d0 · 124 bytes, up to 0x52964b
Signature
uint32_t * __thiscall (CGTooltip *this, const char *name)
Meaning
Returns the address of the tooltip script slot of a name, else the frame's own lookup
Confidence
verified, proof one
Finding
ui/tooltipobject#the-script-slots

Finding: The script slots in ui: Tooltips of world objects

A GameTooltip accepts three scripts of its own besides the frame's. OnTooltipSetDefaultAnchor is run by the world hover before it builds a unit, corpse or non-floating game object tooltip; its job is to give the tooltip an owner. OnTooltipCleared runs at the end of every clear of the tooltip's lines. OnTooltipAddMoney runs with the sell price in copper, which the item builder computes. Each name selects a word of the tooltip, and a script is looked up by name first as an ordinary frame script.

scriptslot
OnTooltipSetDefaultAnchor+0x444
OnTooltipCleared+0x44c
OnTooltipAddMoney+0x454

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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