benilla-re systems structs docs

StormExitProcess

function · storm · boundary

Address
0x64cc80 · 13 bytes, up to 0x64cc8c
Signature
void __fastcall (uint32_t code)
Meaning
Stores an exit code and ends the process with ExitProcess
Confidence
verified, proof one
Finding
core/close#c-runtime-exit

Finding: C runtime exit in core: closing the window

0x4021e4 then calls 0x64cbf0, which registers 0x64cc30 (0x64cc18) last. WinMain returns to the start code (0x40999b), which calls _exit. Storm's exit function, registered last, runs first and calls __cexit, whose _doexit runs every other exit function from the last registered to the first; Storm then shuts down and __exit ends with ExitProcess.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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