benilla-re systems structs docs

CGPlayer_C::FindSlotIndex

function · objectlayer · primitive

Address
0x5e13b0 · 76 bytes, up to 0x5e13fb
Meaning
Returns the inventory slot holding a GUID, 0xff when none holds it
Confidence
verified, proof one
Name from
the community database (idb)
Finding
objectlayer/inventory#moving-items

Finding: Moving items in objectlayer: inventory

The senders take bags as GUIDs and turn each into an index of the player's list with CGPlayer_C::FindSlotIndex (0xff for the player itself).

functionopcodebody
0x5e0c400x10d, or 0x10csrc slot, dst slot within the player; else dst bag, dst slot, src bag, src slot
0x5e12100x10esrc bag, src slot, dst bag, dst slot, count
0x5e12e00x10bsrc bag, src slot, dst bag
0x5e18f0, 0x5e19e00x282, 0x283bag, slot of an occupied slot
0x5e1ad0, 0x5e1b400x108, 0x109loot slot; bag, slot, loot slot
0x5e14800x10a, or 0x268bag, slot; or the ammo's entry

The derivation is in the doc.

Callers 13

Callees 0

None by a direct call or jump.

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