benilla-re systems structs docs

CSimpleEditBox::CountLetters

function · ui · primitive

Address
0x77bc80 · 136 bytes, up to 0x77bd07
Meaning
Counts the letters in a byte range of the text
Confidence
verified, proof one
Finding
ui/editbox#a-negative-letter-limit-hangs

Finding: A negative letter limit hangs in ui: EditBox

A negative letter limit is never met: the trim loop deletes backward from the end until the text is empty, and an empty text still has more letters than the limit, so the next insertion of any text never returns. That includes SetText("") on a box with text; on an empty box SetText returns early, since the texts are equal.

The derivation is in the doc.

Callers 5

Callees 0

None by a direct call or jump.

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