//
// sub_A50574 from 0xa50574 to 0xa505cc (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xd260e0
//
// 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 12:08:22 +0000
//
int __fastcall sub_A50574(int a1)
{
if ( (FILE *)dword_D3587C != &_sF )
fclose((FILE *)dword_D3587C);
if ( (FILE *)dword_D35880 != (FILE *)((char *)&_sF + 168) )
fclose((FILE *)dword_D35880);
CRYPTO_THREAD_unlock(*(pthread_rwlock_t **)(a1 + 20));
return 1;
}