//
// sub_180109E80 from 0x180109e80 to 0x180109ebb (59 bytes)
//
// 10 xrefs:
// > sub_1800B4680 @ 0x1800b4b89
// > sub_1800B4680 @ 0x1800b4be0
// > sub_1800B58C0 @ 0x1800b58d0
// > sub_1800B58F0 @ 0x1800b5906
// > sub_1800D9EB0 @ 0x1800d9ff5
// > sub_1800DA320 @ 0x1800da359
// > sub_1800DA550 @ 0x1800da82c
// > sub_1801122A0 @ 0x180112325
// > ??> @ 0x180201730
// > ??> @ 0x18020173c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_180109E80(SOCKET s)
{
if ( s == -1 )
return 0;
shutdown(s, 2);
if ( closesocket(s) != -1 )
return 0;
else
return 43;
}