benilla-re systems structs docs

CGItem_C::IsBound

function · objectlayer · primitive

Address
0x5da2c0 · 103 bytes, up to 0x5da326
Meaning
Returns whether an item is bound: flags bit 0, else a binding enchantment unless the record flags have 0x2000
Confidence
verified, proof one
Finding
objectlayer/items#item-use-gates

Finding: Item use gates in objectlayer: items

An equippable item with a use spell must be held by the active player in one of the first 23 slots of its list, not broken, and not a disarmed hand's. Then a use spell whose record's +0x1d8 is set and whose aura is on the player with bit 0 of its aura flags is cancelled instead of cast. A bind-on-use item (+0x194 = 3) not yet bound asks first: unless confirmed, it keeps the item and target GUIDs and signals USE_BIND_CONFIRM; the confirmation 0x5d9290 uses the kept item with confirmed 1. Otherwise CastSpellAsActivePlayer casts the use spell with the item at the target.

The derivation is in the doc.

Callers 11

Callees 0

None by a direct call or jump.

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