//
// sub_1004F5F00 from 0x1004f5f00 to 0x1004f5f4c (76 bytes)
//
// 6 xrefs:
// > sub_100428160 @ 0x1004281a0
// > sub_100428538 @ 0x1004286a4
// > sub_10044D26C @ 0x10044d2f8
// > sub_1004AB2B8 @ 0x1004ab72c
// > sub_1004AC14C @ 0x1004ac168
// > sub_1004AC6CC @ 0x1004ac6e0
//
// 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_1004F5F00(int a1)
{
if ( a1 != -1 && (shutdown(a1, 2), close(a1) == -1) )
return 43;
else
return 0;
}