benilla-re systems structs docs

GameTooltipClear

function · ui · orchestration

Address
0x530050 · 543 bytes, up to 0x53026e
Signature
void __thiscall (void *this)
Meaning
Hides the status bar and every line, empties their texts and runs the cleared script
Confidence
verified, proof one
Finding
ui/tooltipcontent#the-line-arrays
Test
ui::convert_neg2_530050

Finding: The line arrays in ui: Tooltip lines, colours and sizing

A tooltip counts its lines at +0x31c and caps them at +0x320. The left font strings are an array at +0x32c, the right ones at +0x338 and each line's wrap flag is in the array at +0x344. The line core adds one line; two wrappers add a single left line in a given colour and a double line in gold. A line with no text on either side is not added, and a line with a right text never wraps. Clearing, the first act of every fresh build, hides the status bar and all font strings, empties their texts and wrap flags, sets the count and the minimum width to 0 and runs the script slot at +0x44c.

The derivation is in the doc.

Callers 12

Callees 7

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