//
// sub_1004D3034 from 0x1004d3034 to 0x1004d30b4 (128 bytes)
//
// 1 xrefs:
// > FMOD::System::getDSPInfoByType @ 0x1004cc7b8
//
// 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
//
__int64 __fastcall sub_1004D3034(__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_1004BC550(*v3, a2, &v6);
if ( !(_DWORD)result )
*a3 = *v6;
}
return result;
}