Mac IsDebuggerPresent: BOOL __cdecl (void) Win32 shim
This is the Mac Win32-shim IsDebuggerPresent. It reads no args: MOV EAX,1 / RET (it always reports a debugger). The caller SErrDisplayError 0x00010423 does TEST EAX,EAX / JZ right after, so the return is used. This matches Win32 BOOL IsDebuggerPresent(void).
Changes 1, applied together
Set prototype
mac 0x0002d16dsignatureundefined IsDebuggerPresent(void)→BOOL IsDebuggerPresent(void)conventionunknown→__cdecl