benilla-re systems structs docs

CloseItemTextImpl

function · ui · orchestration

Address
0x4e3240 · 50 bytes, up to 0x4e3271
Meaning
Closes the item text window
Confidence
verified, proof one
Finding
ui/itemtext#opening-and-closing

Finding: Opening and closing in ui: the item text window

0x4e32e0(guid, open) is the one routine for both. A GUID that is not the open one clears the interaction target and the page state and adopts the new GUID; a zero GUID then signals ITEM_TEXT_CLOSED. With open clear and the GUID the open one it clears the target and signals CLOSED. Otherwise it resolves the object, takes its page text id from the object's virtual at +0x74 and, for an item, its text id from the item field block (+0x9c), and returns with no event when both are 0. It requests the page record or the item text record, with 0x4e3280 as the arrival callback, and when a record is at hand sets the interaction target and signals BEGIN.

The derivation is in the doc.

Callers 1

Callees 1

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