REDIVIVUS

Proposals / #1508

Mac CRASHY_OnCGErrorBreakpoint: void __cdecl (void) hook

checked · by KierTaylor · submitted 2026-11-08

It reads no register or stack args. The body loads ECX = a global, EDX = LEA of the "CGErrorBreakpoint" message and [ESP] = 0, calls CRASHY_HandleSystemLibraryError 0x00007123, then plain RET. It replaces the system void(void) CGErrorBreakpoint symbol: its address is stored as a hook by CRASHY_InstallHandlers (0x000070c5) and it is never called directly, so there is no return value.

Changes 1, applied together

  1. Set prototype mac 0x00007104

    signatureundefined CRASHY_OnCGErrorBreakpoint(void)→void CRASHY_OnCGErrorBreakpoint(void)
    conventionunknown→__cdecl