//
// sub_1005F919C from 0x1005f919c to 0x1005f921c (128 bytes)
//
// 1 xrefs:
// > FMOD::System::getDSPInfoByType @ 0x1005f2920
//
// 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 11:09:52 +0000
//
__int64 __fastcall sub_1005F919C(__int64 a1, signed int a2, _QWORD *a3)
{
__int64 *v3; // x8
__int64 result; // x0
_QWORD *v6; // [xsp+8h] [xbp-18h] BYREF
v3 = (__int64 *)(a1 + 69128);
if ( !*(_QWORD *)(a1 + 69128) )
return 67;
if ( !a3 )
return 31;
*a3 = 0;
result = 31;
if ( (unsigned int)a2 >= 2 && a2 <= 36 )
{
v6 = nullptr;
result = sub_1005E26B8(*v3, a2, &v6);
if ( !(_DWORD)result )
*a3 = *v6;
}
return result;
}