benilla-re systems structs docs

InteractWithObjectByClick

function · ui · orchestration

Address
0x492820 · 112 bytes, up to 0x49288f
Signature
void __stdcall (uint64_t guid)
Meaning
Selects the clicked object when its select virtual allows, then runs its interact virtual
Confidence
verified, proof one
Finding
ui/mouseover#interacting-by-click

Finding: Interacting by click in ui: the world under the pointer

Interacting (0x492820, action 4) looks the GUID up as any object and, when one is found, calls the select 0x493540 and then the object's interact virtual (slot 0x60) with the Shift state as its argument. The interact runs for every found object. The select stores a target only when the object's slot 0x58 answers nonzero, and only units and players give a nonzero answer: a game object, a corpse, an item or a dynamic object is interacted with and never becomes the target. While a spell awaits a target, the select binds the object to the spell instead. 0x4949f0(action, guid) runs select for 1 and interact for 4 when an active player exists.

The derivation is in the doc.

Callers 2

Callees 4

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