benilla-re systems structs docs

CSimpleEditBox::NextTokenStart

function · ui · primitive

Address
0x77bd10 · 26 bytes, up to 0x77bd29
Signature
uint32_t __thiscall (CSimpleEditBox *this, uint32_t index)
Meaning
Returns the index of the token after the one at an index
Confidence
verified, proof one
Finding
ui/editboxmarkup#boundaries-and-letters

Finding: Boundaries and letters in ui: EditBox markup

Three small functions walk the array: 0x77bd10(i) is the start of the next token, 0x77bd30(i) the start of the previous one (the nearest lower index with a nonzero entry, or −1), and 0x77bc80(start, count) counts the letters in a range. Only classes 2, 3 and 6 count as letters, so a color escape and a hyperlink's markers cost none, and a multibyte character costs one. The letter limit and the byte limit trim whole tokens from the end with the deletion that Backspace uses, so a whole link goes in one bite.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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