benilla-re systems structs docs

CGPlayer_C::ReadItemAt

function · objectlayer · primitive

Address
0x5ec580 · 118 bytes, up to 0x5ec5f5
Meaning
Sends the read request for a slot of the player's own slots or of a bag in slots 19 to 22
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 1

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