//
// sub_5D30C from 0x5d30c to 0x5d358 (76 bytes)
//
// 1 xrefs:
// > sub_6A544 @ 0x6aa58
//
// 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_5D30C(__int64 a1)
{
int v2; // w0
if ( *(_BYTE *)(a1 + 408) )
{
sub_5CDC4(a1 + 16);
if ( !v2 && !(unsigned int)FMOD_OS_CriticalSection_Free(*(_QWORD *)(a1 + 400), 0) )
{
*(_QWORD *)(a1 + 400) = 0;
*(_BYTE *)(a1 + 408) = 0;
}
}
JUMPOUT(0x5D4B0);
}