ClientContextStop
function · client
- Address
0x403640· 88 bytes, up to0x403697- Meaning
- Runs the game teardown, client systems and network services, then the other shutdowns and removes the callback
- Confidence
- verified, proof one
- Finding
- core/close#stop-handler-order
Finding: Stop handler order in core: closing the window
The stop handler 0x403640 calls, in order: 0x401ee0 with all arguments 0, the game teardown, which acts
only when [0x882734] is set (a world has been entered); 0x4036c0, client systems; 0x5ab3d0, network
services; 0x4036a0; 0x443d30; 0x66fb00, the world renderer; 0x706de0, models; 0x448d30, textures;
0x443520; the light lists' teardown 0x5bf300, through the pointer 0x85f3f0; 0x63c9b0, which removes the callback and
shuts the console; 0x442140; 0x4633c0; 0x463bb0; 0x419d30. It returns 1. Outside 0x401ee0 its direct calls
write no file, signal no Lua event and send no packet.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 14
- ClientDestroyGame client
- CacheUpdateShutdown client
- DestroyClientSystems client
- 0x419d30 unassigned
- 0x442140 unassigned
- 0x443520 client
- AsyncFileReadWaitAll client
- 0x448d30 gx
- 0x4633c0 unassigned
- ObjectAllocShutdown objectalloc
- ClientServices::Destroy net
- ConsoleScreenShutdown console
- CWorld::Shutdown terrain
- M2Destroy models
Calls and jumps by a bare address, from tables/calls.tsv.