benilla-re systems structs docs

CGItem_C::FitsSlot

function · objectlayer · primitive

Address
0x5da1d0 · 118 bytes, up to 0x5da245
Signature
uint32_t __thiscall (CGItem_C *this, int32_t slot, uint32_t flag)
Meaning
Returns whether an item fits an equipment slot by its inventory type mask
Confidence
verified, proof one
Finding
objectlayer/items#equipment-slots

Finding: Equipment slots in objectlayer: items

0x5da1d0(slot, flag) says whether an item fits an inventory slot: slot −1 takes item class 6; slots 23 and up take anything; other slots test bit slot of a mask per inventory type, and slot 17 first requires flag to equal whether the inventory type is 0x1c.

The derivation is in the doc.

Callers 1

Callees 2

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