benilla-re systems structs docs

CloseGossipForWorld

function · ui · orchestration

Address
0x4e1f60 · 53 bytes, up to 0x4e1f94
Signature
void __cdecl (void)
Meaning
Closes the gossip window and resets its option and quest slots when leaving the world
Confidence
verified, proof one
Finding
ui/worldenter#window-closes-when-leaving

Finding: Window closes when leaving in ui: entering and leaving the world

Four of the 36 leave-world calls close a window by its own close routine, each signalling its close event when the window was open. The gossip leg sets the gossip target to zero (GOSSIP_CLOSED) and then resets the option and quest slots (0x4e26a0); the trainer leg is 0x4d7440 with a zero GUID (TRAINER_CLOSED); the merchant leg closes the vendor (0x4fadf0, MERCHANT_CLOSED) and removes the buy-back watch; the guild registrar leg is a jump to its close (GUILD_REGISTRAR_CLOSED).

The derivation is in the doc.

Callers 1

Callees 2

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