benilla-re systems structs docs

ClearInteractionTarget

function · ui · orchestration

Address
0x493310 · 557 bytes, up to 0x49353c
Meaning
Clears the interaction target and closes the window of the first module that stored its GUID
Confidence
verified, proof one
Finding
ui/gameui#interaction-close

Finding: Interaction close in ui: game start-up and shutdown

0x493310 is the one closer of the interaction target, the unit the player is talking to (the dword pair at 0xb4e2d0). It clears the target, compares its GUID in turn with the GUID each window stored and closes the first that matches: trade partner, item text, gossip, quest frame, merchant, taxi master, trainer, banker, guild registrar, tabard vendor, mailbox, auctioneer, stable master and loot. It then looks the object up and calls 0x5f8c40, which runs slot 32 of the object's handler as the interface closes its frame (objectlayer/gameobjecttypes).

The derivation is in the doc.

Callers 3

Callees 16

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