DestroyGlobal
function · client
- Address
0x403bc0· 167 bytes, up to0x403c66- Meaning
- Shuts down time, the event library and the console, deletes RunOnce.wtf and saves the config
- Confidence
- verified, proof two
- Finding
- core/close#tail
Finding: Tail in core: closing the window
After the loop returns, WinMain runs 0x403bc0 on every route, at the login and character screens as in the
world: the input window's IME reassociation (0x42c960), the time manager, the event library's free (0x41f5a0),
the console device, the deletion of RunOnce.wtf when it exists (0x63d910), the registry's shutdown, which
writes Config.wtf again when it is dirty (0x63daf0, 0x403bec; the earlier write in the world cleared the flag),
and, for a nonzero quit code, the error text. WinMain then returns 0 and the process exits through the C
runtime.
The derivation is in the doc.
Callers 1
- ClientMain client
Callees 11
- 0x403c70 client
- 0x419cf0 unassigned
- EventDestroy core
- OsDestroyTimeManager core
- 0x42c960 os
- ShowErrorText os
- DestroyConsoleDevice console
- CVarDeleteConfigFile cvar
- CVarShutdown cvar
- ConsoleCommandTableShutdown console
- 0x646630 storm
Calls and jumps by a bare address, from tables/calls.tsv.