benilla-re systems structs docs

ClientDestroyGame

function · client

Address
0x401ee0 · 443 bytes, up to 0x40209a
Meaning
Tears the game down: handlers, objects, modules, interface shutdown, account-data timers; no-op before world entry
Confidence
verified, proof one
Name from
the community database (idb)
Finding
core/close#world-teardown

Finding: World teardown in core: closing the window

With a world entered, 0x401ee0 runs: it unregisters its category 5 handler 0x401ec0 and ten opcode handlers (0x1cb, 0xc4, 0xc8, 0x1cd, 0x3e, 0x3f, 0x40, 0x99, 0x9b, 0x236); frees the object array [0x8827c8]; shuts thirteen modules (0x401fc1 to 0x401ffd); unregisters 0x616800; destroys the object manager (0x402011), whose player destructor runs the leave-world cascade 0x490a80 while the connection is up; shuts the other world modules; runs the interface shutdown 0x491180 (0x490bd0 first); and kills the account-data timers (0x5afe00). With edx zero, as the stop handler passes it, it ends there.

The derivation is in the doc.

Callers 4

Callees 31

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