benilla-re systems structs docs

CloseLootWindowThunk

function · ui · orchestration

Address
0x4c3e80 · 7 bytes, up to 0x4c3e86
Meaning
Loads 1 into cl and jumps to the loot window close 0x4c3f40
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 1

Callees 1

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