//
// sub_1004D2EF0 from 0x1004d2ef0 to 0x1004d2f58 (104 bytes)
//
// 1 xrefs:
// > FMOD::System::createDSP @ 0x1004cbdf0
//
// 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_1004D2EF0(__int64 a1, __int64 a2, unsigned __int64 *a3)
{
__int64 v5; // x0
__int64 result; // x0
if ( !a3 )
return 31;
*a3 = 0;
if ( !a2 )
return 31;
v5 = *(_QWORD *)(a1 + 69128);
if ( !v5 )
return 67;
result = sub_1004BC664(v5, 0, a2, a3);
if ( !(_DWORD)result )
*(_QWORD *)(*a3 + 168) = a1;
return result;
}