CGTooltip::AppendText
function · ui · orchestration
- Address
0x5305b0· 113 bytes, up to0x530620- Signature
void __thiscall (CGTooltip *this, const char *text)- Meaning
- Appends text to the first line's left text in a 256-byte buffer and sizes the tooltip again
- Confidence
- verified, proof one
- Finding
- ui/tooltipcontent#appending-text
Finding: Appending text in ui: Tooltip lines, colours and sizing
GameTooltip:AppendText(text) is 0x531e30. The receiver must be a table whose this is a game tooltip; the text
must be a string or a number, else it raises Usage: AppendText("text"). It returns nothing. 0x5305b0 does the work: with
no lines it does nothing. Otherwise it formats the old text of the first left line and the new text as %s%s into a
256-byte buffer, truncated silently, sets that as the line's text with the format-code pass on (0x771d80 with 1),
and sizes the tooltip again (0x530640). The first line is the target whatever the line count; an empty first line
gives (null) followed by the text.
The derivation is in the doc.
Callers 1
Callees 3
- GameTooltipSize ui
- SStrPrintf storm
- CSimpleFontString::SetText ui
Calls and jumps by a bare address, from tables/calls.tsv.