//
// sub_6E0D0 from 0x6e0d0 to 0x6e14c (124 bytes)
//
// 1 xrefs:
// > FMOD::System::getDSPInfoByType @ 0xdde80
//
// 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:58 +0000
//
__int64 __fastcall sub_6E0D0(__int64 a1)
{
__int64 v1; // x29
__int64 v2; // x0
signed int v3; // w1
_QWORD *v4; // x2
__int64 v5; // x3
__int64 v6; // x8
__int64 *v7; // x8
_QWORD *v8; // x19
__int64 result; // x0
_QWORD *v10; // [xsp+8h] [xbp-18h] BYREF
__int64 v11; // [xsp+10h] [xbp-10h]
__int64 v12; // [xsp+18h] [xbp-8h]
v2 = sub_70510(a1);
v11 = v1;
v12 = v5;
v7 = (__int64 *)(v2 + v6);
if ( !*v7 )
return 67;
v8 = v4;
if ( !v4 )
return 31;
result = 31;
*v4 = 0;
if ( (unsigned int)v3 >= 2 && v3 <= 36 )
{
v10 = nullptr;
result = sub_62F24(*v7, v3, &v10);
if ( !(_DWORD)result )
*v8 = *v10;
}
return result;
}