REDIVIVUS

Proposals / #1331

Mac StubHook2: void __cdecl (int32_t nReserved) empty hook

checked · by KierTaylor · submitted 2026-11-06

The Mac body is empty (PUSH EBP / MOV EBP,ESP / POP EBP / RET). The caller SocketThreadMain 0x002f5871 stores one arg, [ESP]=0. Matches the Windows twin 0x00407f90 (void; nReserved, always 0 and unread).

Changes 1, applied together

  1. Set prototype mac 0x002ef0f7

    signatureundefined StubHook2(void)→void StubHook2(int32_t nReserved)
    conventionunknown→__cdecl