benilla-re systems structs docs

CSimpleMessageFrame::AddLine

function · ui · primitive

Address
0x7863b0 · 214 bytes, up to 0x786485
Signature
void __thiscall (CSimpleMessageFrame *this, const char *text, const uint32_t *colour)
Meaning
Opens line slot 0, sets its colour and text, activates it and pushes older lines down
Confidence
verified, proof one
Finding
ui/messagemembers#adding-a-message
Test
ui::glue_7863b0_level_fraction

Finding: Adding a message in ui: message frame members

0x7863b0(text, colour) adds one message: a null text sets error 0x57. With lines, it opens slot 0 (0x786490(0)), stores the colour and the text (0x771d80(text, 1)), activates the line with the frame's two times (0x7865b0) and, from the line's height over the font height plus 0.5, pushes older lines down. 0x786490(n) moves the holders from index n toward the end one place and re-anchors each (0x767c70 with the negated offset at +0x4 of its record), then puts the last holder at n.

The derivation is in the doc.

Callers 1

Callees 8

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