//
// sub_61C40 from 0x61c40 to 0x61c8c (76 bytes)
//
// 6 xrefs:
// > sub_63714 @ 0x63754
// > sub_63AAC @ 0x63be8
// > sub_83194 @ 0x83224
// > sub_E0F84 @ 0xe1608
// > sub_E0F84 @ 0xe1e3c
// > sub_E0F84 @ 0xe2314
//
// 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_61C40(int fd)
{
if ( fd != -1 && (shutdown(fd, 2), close(fd) == -1) )
return 43;
else
return 0;
}