REDIVIVUS

Proposals / #1488

Mac SERR_SetDisplayErrorCallback: void __cdecl (void* pfnCallback)

checked · by KierTaylor · submitted 2026-11-08

There is one cdecl stack arg. [EBP+8] is stored into the global display-error callback slot (0x0000fecc), with a plain RET and no return value (EAX holds only the PC-thunk base). Caller: FOG_InitErrorManager 0x002ef063.

Changes 1, applied together

  1. Set prototype mac 0x0000fec0

    signatureundefined SERR_SetDisplayErrorCallback(void)→void SERR_SetDisplayErrorCallback(void* pfnCallback)
    conventionunknown→__cdecl