//
// sub_67DB8 from 0x67db8 to 0x67e0a (82 bytes)
//
// 1 xrefs:
// > sub_6816C @ 0x6816e
//
// 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
//
int __fastcall sub_67DB8(_DWORD *a1, int a2, int a3, int a4)
{
int v5; // r4
int v7; // [sp+0h] [bp-10h] BYREF
int v8; // [sp+4h] [bp-Ch]
v7 = a3;
v8 = a4;
if ( a1[96] != 1 )
return 0;
v7 = FMOD::DSPTransceiver::sCriticalSection[0];
j_FMOD_OS_CriticalSection_Enter(FMOD::DSPTransceiver::sCriticalSection[0]);
LOBYTE(v8) = 1;
v5 = sub_67A08(FMOD::DSPTransceiver::sCriticalSection[a1[40] + 4] + 76 * a1[128], a1 + 100, -1);
sub_44984((int)&v7);
if ( !v5 )
return 0;
return v5;
}