//
// sub_5A2DC from 0x5a2dc to 0x5a312 (54 bytes)
//
// 1 xrefs:
// > FMOD::System::createDSP @ 0xb9574
//
// 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
//
int __fastcall sub_5A2DC(int a1, _DWORD *a2, _DWORD *a3)
{
int v5; // r0
int result; // r0
if ( !a3 )
return 31;
*a3 = 0;
if ( !a2 )
return 31;
v5 = *(_DWORD *)(a1 + 68272);
if ( !v5 )
return 67;
result = sub_51CA4(v5, nullptr, a2, a3);
if ( !result )
{
*(_DWORD *)(*a3 + 128) = a1;
return 0;
}
return result;
}