REDIVIVUS

Proposals / #1616

Mac STORM_AtExitRuntimeTerminate: void __cdecl (void* pArg) atexit destructor

checked · by KierTaylor · submitted 2026-11-08

This is the __cxa_atexit destructor registered by STORM_StaticInitRuntime (0x0003e2f6: LEA EAX,[ESI-0x48] = 0x0003e294 passed as the function at 0x0003e2ff, with an object pointer as its argument), so it is called as void(void*). The body ignores the argument, calls MyRuntimeTerminate 0x0003e29a, and returns with no value.

Changes 1, applied together

  1. Set prototype mac 0x0003e294

    signatureundefined STORM_AtExitRuntimeTerminate(void)→void STORM_AtExitRuntimeTerminate(void* pArg)
    conventionunknown→__cdecl