benilla-re systems structs docs

CGTooltip::BuildMacro

function · ui · orchestration

Address
0x52b040 · 85 bytes, up to 0x52b094
Signature
void __thiscall (CGTooltip *this, uint32_t macroId)
Meaning
Fills a tooltip with a macro's name in white and shows it, or hides it for an unknown id
Confidence
verified, proof one
Finding
ui/tooltipspell#a-macro-actions-tooltip

Finding: A macro action's tooltip in ui: The spell tooltip

SetAction(slot) on a slot whose action word has 4 in its top four bits passes the word with bit 30 cleared, the macro id, to 0x52b040, and answers nil. 0x52b040 clears the tooltip and looks the macro up by id: with none it hides the tooltip; otherwise it adds one line, the macro's name in white with no wrap, and shows the tooltip through its show slot, which shows it only when it has an owner. The macro's text, its icon and any spell it casts are not shown.

The derivation is in the doc.

Callers 1

Callees 3

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