//
// sub_60F1EC from 0x60f1ec to 0x60f21c (48 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall sub_60F1EC(int a1)
{
int v1; // r4
int v2; // r0
v1 = *(_DWORD *)(*(_DWORD *)a1 + 332);
if ( v1 )
{
off_ABAEB0(*(void **)(v1 + 4));
v2 = *(_DWORD *)(v1 + 8);
*(_DWORD *)(v1 + 4) = 0;
*(_DWORD *)v1 = 0;
if ( v2 != -1 )
close(v2);
*(_DWORD *)(v1 + 8) = -1;
}
return 0;
}