//
// sub_5CDC4 from 0x5cdc4 to 0x5ce24 (96 bytes)
//
// 1 xrefs:
// > sub_5D30C @ 0x5d328
//
// 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
//
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);
}