benilla-re systems structs docs

ShowItemTextPage

function · ui · primitive

Address
0x4e35b0 · 702 bytes, up to 0x4e386d
Meaning
Expands, translates and shows the current page of the open item text
Confidence
verified, proof one
Finding
ui/itemtext#showing-a-page

Finding: Showing a page in ui: the item text window

0x4e35b0(guid, translate) does nothing unless the GUID is the open one and the object exists. With a single item text it expands the cached record text for the player, masks profanity and signals READY. With page text it looks up the record for the current page, stores the record's next page id (+0x400) as the following list entry, expands its text into a local buffer and signals READY after writing the page text. An item whose field flags have bit 2 set shows the expanded text unchanged. Any other item or an object that is a game object has its text rewritten in the object's language, with the player's skill in that language (from GetIndexedSpellSkill) only when translate is set.

The derivation is in the doc.

Callers 4

Callees 15

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