s_pathCSimpleEditBoxH
global · ui
- Address
0x879af8· 55 bytes, up to0x879b2e- Type
char[55]- Meaning
- Holds the source path of CSimpleEditBox.h, passed to the allocator as the file of a history line
- 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.