//
// 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 (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:13:53 +0000
//
__int64 __fastcall sub_61C40(int fd)
{
if ( fd != -1 && (shutdown(fd, 2), close(fd) == -1) )
return 43;
else
return 0;
}