REDIVIVUS

Proposals / #1332

Mac ExitOrCrashCleanUpJmp: void __cdecl (void) jump to ExitOrCrashCleanup

checked · by KierTaylor · submitted 2026-11-06

The Mac body is PUSH EBP / MOV EBP,ESP / POP EBP / JMP 0x002f02ad (ExitOrCrashCleanup, already void __cdecl (void)), so it has the target's prototype. It is called bare from FOG_ErrorHandler 0x002ef18f. Matches the Windows twin 0x0040f960 (void (void) thunk).

Changes 1, applied together

  1. Set prototype mac 0x002f03b1

    signatureundefined ExitOrCrashCleanUpJmp(void)→void ExitOrCrashCleanUpJmp(void)
    conventionunknown→__cdecl