benilla-re systems structs docs

s_gameInitialized

global · client

Address
0x882734 · 4 bytes, up to 0x882737
Type
uint32_t
Meaning
Holds 1 from the end of ClientInitializeGame until ClientDestroyGame ends
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.