//
// FMOD_DSP_GetIdle from 0x5162c to 0x51660 (52 bytes)
//
// 4 xrefs:
// > .FMOD_DSP_GetIdle @ 0x10967c
// > ??> @ 0x4330
// > .FMOD_DSP_GetIdle @ 0x109674
// > ??> @ 0x111400
//
// 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 FMOD_DSP_GetIdle(__int64 a1)
{
__int64 v1; // x19
FMOD::DSP *v2; // x0
bool *v3; // x1
__int64 result; // x0
if ( !a1 )
return 31;
v2 = (FMOD::DSP *)sub_519B8();
result = FMOD::DSP::getIdle(v2, v3);
if ( v1 )
{
if ( !(_DWORD)result )
return sub_519AC(result);
}
return result;
}