benilla-re systems structs docs

EndLootWindow

function · ui · primitive

Address
0x48f200 · 396 bytes, up to 0x48f38b
Meaning
Ends the loot window: releases a held source, takes a disenchant window's rows, clears a dead source's target
Confidence
verified, proof one
Finding
core/close#leave-world-cascade

Finding: Leave-world cascade in core: closing the window

The cascade 0x490a80 runs once per world (latch 0xb4b424): 36 interface cleanups with no branch between them, then PLAYER_LEAVING_WORLD (0x490b4d), the interaction closer 0x493310 and, when a cinematic is playing (0xb4e310), CINEMATIC_STOP (0x490b77). Four of the steps send: the loot closer (0x15f and 0x13d, each only for what it finds open), the quest closer (0x276, when the quest frame holds an NPC), the trade closer (0x11c, always) and, through the interaction closer, the trade partner's 0x11c. The rest only clear state.

The derivation is in the doc.

Callers 16

Callees 13

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