Mac ExitProcess: void __cdecl (uint32_t nExitCode) Win32 shim
This is the Mac Win32-shim ExitProcess. If a global exit hook is set it tail-JMPs to it with the caller's stack args intact (JMP EAX at 0x0002a439); otherwise it calls ExitToShell 0x0030ae2c and does not return. Callers pass one arg, e.g. SErrDisplayError 0x000106da stores [ESP]=[EBP+0x1c] (the exit code). This matches Win32 void ExitProcess(UINT).
Changes 1, applied together
Set prototype
mac 0x0002a41fsignatureundefined ExitProcess(void)→void ExitProcess(uint32_t nExitCode)conventionunknown→__cdecl