benilla-re systems structs docs

CGPlayer_C::OnReadItemReply

function · objectlayer · primitive

Address
0x5ec600 · 212 bytes, up to 0x5ec6d3
Meaning
Shows a read item's text, its translation time or its closing
Confidence
verified, proof one
Finding
objectlayer/playermessages#reading-items

Finding: Reading items in objectlayer: player messages

0x5e7d90 handles 0xae and 0xaf for the active player and reads a GUID. For 0xae it calls 0x5d9a80 on the item, then 0x4e35b0(&guid, 1); a missing item does neither. For 0xaf it reads a reason byte: 0 calls 0x4e35b0(&guid, 1); 1 calls 0x4e35b0(&guid, 0), reads an i32 time in ms and signals ITEM_TEXT_TRANSLATION with it in seconds; any other value signals ITEM_TEXT_CLOSED when the GUID is the open item's. 0x5ec500(bag, slot) sends 0xad with the two bytes.

The derivation is in the doc.

Callers 1

Callees 8

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