//
// sub_5D30C from 0x5d30c to 0x5d358 (76 bytes)
//
// 1 xrefs:
// > sub_6A544 @ 0x6aa58
//
// 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_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);
}