LeaveWorldUI
function · ui · primitive
- Address
0x490a80· 321 bytes, up to0x490bc0- Meaning
- Clears the world latch, runs 36 interface cleanups and fires PLAYER_LEAVING_WORLD
- Confidence
- verified, proof one
- Finding
- ui/worldenter#leaving-the-world
Finding: Leaving the world in ui: entering and leaving the world
0x490a80 leaves the world: if the latch 0xb4b424 is set it clears it (0x490a8d), runs a battery of 36
interface cleanups with no branch in between (closing the trade and loot windows among them), and fires
PLAYER_LEAVING_WORLD (id 273), the only place that event is fired. A running cinematic then fires
CINEMATIC_STOP. It has three callers: the shutdown 0x490bd0 (0x490c20), the player destructor
chain (0x5dd543, when the manager's +0xc8 is not 1) and the player release 0x5e9aa0 (0x5e9b5a).
The derivation is in the doc.
Callers 3
- CGGameUI::Shutdown ui
- CGPlayer_C::UnlinkActiveWatchLists objectlayer
- CGPlayer_C::Release objectlayer
Callees 45
- SuppressInterfaceSounds sound
- ResumeInterfaceSounds sound
- SndInterfacePauseZoneMusic sound
- GetActiveCamera ui
- SetCameraTarget ui
- ClearInteractionTarget ui
- HoldChatDisplay ui
- ClearExploredWatcher ui
- FreeGlobalArray4a9f00 ui
- CloseMailAndDropCallbacks ui
- 0x4ba1c0 ui
- 0x4bc7a0 ui
- LeaveWorldCancelTrade ui
- EndLootWindowWithRelease ui
- CloseLootWindowThunk ui
- 0x4c4c20 ui
- ShutdownInventoryAlerts ui
- FreeMeetingStoneText ui
- CloseStableOnLeave ui
- LeaveWorldCloseAuctionHouse ui
- 0x4d2ca0 ui
- ClearDuelState ui
- 0x4d55f0 ui
- CloseTrainerForWorld ui
- ShutdownTaxiMap ui
- 0x4de4f0 ui
- CloseGossipForWorld ui
- CloseItemTextImpl ui
- UnwatchPlayerAuras ui
- 0x4e4fa0 ui
- 0x4e7f10 ui
- ShutdownMinimap ui
- FreeGlobalArray4f3eb0 ui
- CloseGuildRegistrarForWorld ui
- CloseTabardFrameThunk ui
- UnregisterBankSlotsWatcher ui
- UnregisterBagWatchers ui
- CloseMerchantForWorld ui
- CancelTradeSkillRequestsThunk ui
- DeclineQuestShareOnLeave ui
- CCamera::ReleaseShot uicamera
- SetCursorShown gx
- FrameScript_SignalEvent ui
- LcdLeaveWorld ui
- Sound::Stop sound
Calls and jumps by a bare address, from tables/calls.tsv.