//
// FMOD::DSP::getOutput from 0xb1078 to 0xb10f0 (120 bytes)
//
// 1 xrefs:
// > FMOD::DSP::getOutput @ 0xe0e08
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:40 +0000
//
int __fastcall FMOD::DSP::getOutput(FMOD::DSP *this, unsigned int a2, FMOD::DSP **a3, FMOD::DSPConnection **a4)
{
int v8; // r5
_BYTE v10[256]; // [sp+8h] [bp-120h] BYREF
int v11; // [sp+108h] [bp-20h] BYREF
int v12; // [sp+10Ch] [bp-1Ch] BYREF
v11 = 0;
v8 = FMOD::DSPI::validate(this, &v12, &v11);
if ( v8 || (v8 = sub_5A944(v12, a2)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_B1024(v10, 256, a2, a3, a4);
sub_BAB40(v8, 7, this, "DSP::getOutput", v10);
}
}
else
{
v8 = 0;
}
sub_444C0(&v11);
return v8;
}