CSimpleEditBox::ReserveText
function · ui · primitive
- Address
0x77bd90· 108 bytes, up to0x77bdfb- Signature
void __thiscall (CSimpleEditBox *this, uint32_t length)- Meaning
- Grows the text and class buffers to hold length plus one, rounded up to a multiple of 32
- Confidence
- verified, proof one
- Finding
- ui/editboxmembers#text-capacity-and-lines
Finding: Text capacity and lines in ui: edit box members
0x77bd90(n) makes room for n + 1 bytes: when that passes the capacity +0x344 it rounds up to a multiple of 32, and reallocates the text +0x32c (bytes)
and the classes +0x330 (four bytes each). 0x77bd50(pos) returns the index of the line holding the byte position, walking the line starts from
the second one while pos is at or past the next start and the index is below the line count less 2. 0x77e250 pastes: it takes the clipboard text
(0x7a77b0), decodes it one UTF-8 character at a time with 0x41aab0 and inserts each with 0x77c200, then frees the text (0x7a78a0).
The derivation is in the doc.
Callers 1
Callees 1
- SMemReAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.