Mac WSAGetLastError: int __cdecl (void) errno shim
The Mac body has no argument reads. It calls the libc errno-location stub 0x0030b0d8 and returns *EAX (MOV EAX,[EAX]) with a plain RET. This is the POSIX stand-in for Winsock's int WSAGetLastError(void). The caller is FlushClientPackets 0x001ad8e6.
Changes 1, applied together
Set prototype
mac 0x002dd8ecsignatureundefined WSAGetLastError(void)→int WSAGetLastError(void)conventionunknown→__cdecl