CSimpleEditBox::FreeHistoryLine
function · ui · orchestration
- Address
0x77cf20· 25 bytes, up to0x77cf38- Signature
void __thiscall (CSimpleEditBox *this)- Meaning
- Frees the string of a history record when set
- Confidence
- verified, proof one
- Finding
- ui/editboxmembers#history-array
Finding: History array in ui: edit box members
SetHistoryLines(n) sets the line limit through 0x77cd90(n). A different count than the stored one frees the records the new size drops (the string
of each, through 0x77cf20), reallocates the array to n records of 8 bytes, zero-fills the new ones and stores the count. A reallocation that
fails allocates a new array and copies the smaller count of records, duplicating each string. A count of 0 frees every
string and the array and zeroes capacity, count and data. It then stores n at +0x388 and clamps the position +0x38c to n − 1
(0 for none).
The derivation is in the doc.
Callers 1
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.