//
// FMOD::DSP::getOutput from 0xd33e0 to 0xd344c (108 bytes)
//
// 4 xrefs:
// > FMOD::DSP::getOutput @ 0x107a0c
// > ??> @ 0x2350
// > FMOD::DSP::getOutput @ 0x107a04
// > ??> @ 0x1105c8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:51 +0000
//
__int64 __fastcall FMOD::DSP::getOutput(FMOD::DSP *this, int a2, FMOD::DSP **a3, FMOD::DSPConnection **a4)
{
unsigned int v4; // w20
__int64 v5; // x0
__int64 v6; // x1
__int64 v7; // x2
__int64 v8; // x3
__int64 v9; // x0
char v10; // w8
__int64 v11; // x0
__int64 v13; // [xsp+108h] [xbp-38h]
v4 = sub_D4E3C(this);
if ( v4 || (v5 = sub_D4F58(v13), v9 = sub_6E858(v5, v6, v7, v8), (v4 = v9) != 0) )
{
v9 = sub_D4D24();
if ( v10 < 0 )
{
v11 = sub_D4F94(v9);
v9 = sub_D4D38(v11);
}
}
sub_D4F40(v9);
return v4;
}