//
// FMOD::DSP::getInput from 0xd32d8 to 0xd3344 (108 bytes)
//
// 4 xrefs:
// > FMOD::DSP::getInput @ 0x1079fc
// > ??> @ 0x7090
// > FMOD::DSP::getInput @ 0x1079f4
// > ??> @ 0x1105c0
//
// 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::getInput(FMOD::DSP *this, unsigned int a2, FMOD::DSP **a3, FMOD::DSPConnection **a4)
{
unsigned int v5; // w20
__int64 v6; // x0
__int64 v7; // x1
__int64 v8; // x2
__int64 v9; // x3
__int64 v10; // x0
char v11; // w8
__int64 v12; // x0
__int64 v14; // [xsp+108h] [xbp-38h]
v5 = sub_D4E3C(this);
if ( v5 || (v6 = sub_D4F58(v14, a2), v10 = sub_91170(v6, v7, v8, v9), (v5 = v10) != 0) )
{
v10 = sub_D4D24();
if ( v11 < 0 )
{
v12 = sub_D4F94(v10);
v10 = sub_D4D38(v12);
}
}
sub_D4F40(v10);
return v5;
}