//
// sub_7F558 from 0x7f558 to 0x7f61c (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x114d68
//
// 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:14:07 +0000
//
__int64 __fastcall sub_7F558(int **a1, int a2, __int64 a3, __int64 a4, int a5, int a6)
{
int *v6; // x23
__int64 v12; // x1
long double v13; // q0
unsigned int v14; // w19
__int64 v16; // [xsp+0h] [xbp-40h] BYREF
char v17; // [xsp+8h] [xbp-38h]
v6 = *a1;
v16 = FMOD::DSPTransceiver::sCriticalSection;
FMOD_OS_CriticalSection_Enter(FMOD::DSPTransceiver::sCriticalSection);
v17 = 1;
if ( a6 == 1 )
{
v14 = sub_7F07C(v6, v12, a3, a4, a5);
}
else
{
sub_7F134(
(__int64)v6,
**(void ***)(a3 + 24),
**(_DWORD **)(a3 + 8),
**(void ***)(a4 + 24),
v13,
**(unsigned int **)(a4 + 8),
a2);
v14 = 0;
}
sub_52090((__int64)&v16);
return v14;
}