//
// sub_681E0 from 0x681e0 to 0x68248 (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:56 +0000
//
int __fastcall sub_681E0(_DWORD **a1, int a2, int a3, int a4, int a5, int a6)
{
_DWORD *v6; // r4
int v10; // r1
int v11; // r4
int v13; // [sp+10h] [bp-18h] BYREF
char v14; // [sp+14h] [bp-14h]
v6 = *a1;
v13 = FMOD::DSPTransceiver::sCriticalSection[0];
j_FMOD_OS_CriticalSection_Enter(FMOD::DSPTransceiver::sCriticalSection[0]);
v14 = 1;
if ( a6 == 1 )
{
v11 = sub_67E10(v6, v10, a3, a4, a5);
}
else
{
sub_67E90(
(int)v6,
**(const void ***)(a3 + 12),
**(_DWORD **)(a3 + 4),
**(void ***)(a4 + 12),
**(_DWORD **)(a4 + 4),
a2);
v11 = 0;
}
sub_44984((int)&v13);
return v11;
}