//
// sub_1005DBFEC from 0x1005dbfec to 0x1005dc044 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100861100
//
// 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_1005DBFEC(_DWORD *a1)
{
if ( !a1 )
return 0;
if ( a1[7] )
{
if ( a1[6] )
{
shutdown(a1[10], 2);
close(a1[10]);
}
a1[6] = 0;
a1[8] = 0;
}
return 1;
}