benilla-re systems structs docs

s_itemTextBuffer

global · ui

Address
0xbc3fe8 · 8000 bytes, up to 0xbc5f27
Type
char[8000]
Meaning
Holds the text of the current page of the item text window
Confidence
verified, proof one
Finding
ui/itemtext#what-is-kept

Finding: What is kept in ui: the item text window

The window keeps the GUID of the open object (0xbc3fa0), the page index (0xbc3fc4), the id of a single item text (0xbc3fbc), a list of page text ids (data pointer 0xbc3fd0, a growable array) and the text of the current page, up to 0x1f40 bytes (0xbc3fe8). An object with a single item text has page id 0 in the list's first entry and the item text id in the single id. An object with page text has the first page id in the list's first entry and 0 in the single id. The events are ITEM_TEXT_BEGIN (293), ITEM_TEXT_READY (295) and ITEM_TEXT_CLOSED (296), signalled as 0x125, 0x127 and 0x128.

The derivation is in the doc.