//
// sub_BFAA6 from 0xbfaa6 to 0xbfabe (24 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:48 +0000
//
int __fastcall sub_BFAA6(int a1)
{
int result; // r0
result = fclose(*(FILE **)(a1 + 4));
*(_DWORD *)(a1 + 4) = 0;
if ( result )
return 13;
return result;
}