benilla-re systems structs docs

BaseHandlerUse

function · objectlayer · primitive

Address
0x5f33e0 · 627 bytes, up to 0x5f3652
Meaning
Uses a game object: casts the spell that opens it or sends 0xb1, else shows why its lock refuses
Confidence
verified, proof one
Finding
objectlayer/gameobjects#using-a-game-object

Finding: Using a game object in objectlayer: game objects

For an interactable object, the object's slot 24 sets the player's auto-loot byte from its argument and interacts: when usable, the handler's slot 7 uses it; out of range, except a fishing node, the player walks to the handler's range, never the opening spell's, and tries again on arrival; any other refusal shows its error. The default use casts the lock's opening spell with its item on the object, or, with no spell, sends 0xb1 with the object's GUID. A lock the player cannot open shows why.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 10

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