benilla-re systems structs docs

CGItem_C::RequestRecord

function · objectlayer · primitive

Address
0x5d8300 · 138 bytes, up to 0x5d8389
Meaning
Asks for an item's record; on a miss counts the owner's pending records
Confidence
verified, proof one
Finding
objectlayer/items#the-item-record

Finding: The item record in objectlayer: items

An item reads its record from the item record cache by its entry. A request that misses counts one more pending display on the owner, the player whose GUID is ITEM_FIELD_OWNER; the arrival callback counts it back. Arrival sets bit 1, recaches the five bytes and the sound row: the ItemGroupSounds row whose id is the ItemDisplayInfo row's +0x2c. Then, while the byte at 0xb4b424 is set and the item is the active player's: a record whose +0x60 exceeds 1 clears the lock on the entry's items and signals ITEM_LOCK_CHANGED (only with the player's object), else this item's lock is cleared through the interface; 0x5ebde0 takes the item on the player's object, when it exists; the interface refreshes.

The derivation is in the doc.

Callers 2

Callees 3

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