benilla-re systems structs docs

CGTooltip::AddFontStrings

function · ui · primitive

Address
0x529940 · 243 bytes, up to 0x529a32
Signature
void __thiscall (CGTooltip *this, void *left, void *right)
Meaning
Raises the line limit by one and stores two font strings as the last line pair with no wrap
Confidence
verified, proof one
Finding
ui/tooltip#adding-font-strings
Test
ui::tooltip_add_font_strings_difftest

Finding: Adding font strings in ui: GameTooltip, the widget

AddFontStrings(left, right) raises the line limit +0x320 by one and makes the two font strings the new last entries of the left and right line arrays, with a wrap flag of 0. The line count is not touched, so the pair shows only when the count reaches it; the strings keep their parent, layer, points, font and text, and nothing checks whether they are already in the arrays. Each array whose count differs from the new limit is resized to exactly that many entries.

The derivation is in the doc.

Callers 1

Callees 5

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