Mac WSOCK_CloseSocket: int __cdecl (int32_t nSocket) shim
This is the Mac Winsock shim for closesocket, handed out by the GetProcAddress emulation (0x00029f2d). The body is a frame-only tail JMP to the import close$UNIX2003 0x0030b162, so its one stack arg (the socket fd) and int result pass straight through. This matches Win32 int closesocket(SOCKET) and POSIX int close(int).
Changes 1, applied together
Set prototype
mac 0x0002b1f5signatureundefined WSOCK_CloseSocket(void)→int WSOCK_CloseSocket(int32_t nSocket)conventionunknown→__cdecl