//
// sub_5CDC4 from 0x5cdc4 to 0x5ce24 (96 bytes)
//
// 1 xrefs:
// > sub_5D30C @ 0x5d328
//
// 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:52 +0000
//
void __fastcall sub_5CDC4(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
if ( !(unsigned int)sub_E4458() )
{
v2 = *(_QWORD *)(a1 + 368);
if ( v2 )
{
if ( (unsigned int)FMOD_OS_CriticalSection_Free(v2, 0) )
goto LABEL_8;
*(_QWORD *)(a1 + 368) = 0;
}
if ( *(_QWORD *)(a1 + 336) )
{
v3 = sub_5D4E8();
sub_5D4B8(v3);
*(_QWORD *)(a1 + 336) = 0;
}
}
LABEL_8:
JUMPOUT(0x5D4B0);
}