benilla-re systems structs docs

CSimpleEditBox::MoveToEnd

function · ui · orchestration

Address
0x77cac0 · 93 bytes, up to 0x77cb1c
Signature
void __thiscall (CSimpleEditBox *this, uint32_t extend)
Meaning
Steps the cursor forward to the end of the text, clearing a selection when not extending
Confidence
verified, proof one
Finding
ui/editboxmembers#cursor-and-selection-setters

Finding: Cursor and selection setters in ui: edit box members

0x77e360(pos) sets the cursor to pos clamped to 0 and the length +0x338 and marks the cursor dirty (+0x31c bit 2). 0x77ccf0 sets both ends of the selection to the cursor. 0x77cd10(d) moves the selection with a cursor step of d: for a negative step the start +0x35c takes the new position when it lies below it, else the end +0x360; for a positive step the end takes it when it lies above, else the start; the selection is marked dirty (bit 1). 0x77cac0(extend) steps the cursor forward one character with 0x77c6b0(1, extend) until it reaches the length, and with extend 0 clears a nonempty selection. 0x77cc60(a) and 0x77cc80(a) call 0x77cb20 with +1 and −1 (a line down and up).

The derivation is in the doc.

Callers 1

Callees 1

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