Mac StubHook2: void __cdecl (int32_t nReserved) empty hook
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
Set prototype
mac 0x002ef0f7signatureundefined StubHook2(void)→void StubHook2(int32_t nReserved)conventionunknown→__cdecl