//
// FMOD::ChannelControl::getDSP from 0xd0adc to 0xd0b44 (104 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::getDSP @ 0x10756c
// > ??> @ 0x8050
// > FMOD::ChannelControl::getDSP @ 0x107564
// > ??> @ 0x110378
//
// 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:50 +0000
//
__int64 __fastcall FMOD::ChannelControl::getDSP(__int64 a1)
{
unsigned int v1; // w20
__int64 v2; // x0
__int64 v3; // x8
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
__int64 v7; // x0
v1 = sub_D1D2C(a1);
if ( v1 || (v2 = sub_D1ED8(), v4 = (*(__int64 (__fastcall **)(__int64))(v3 + 288))(v2), (v1 = v4) != 0) )
{
v4 = sub_D1CCC();
if ( v5 < 0 )
{
v6 = sub_D1EAC(v4);
v7 = sub_D0B44(v6);
v4 = sub_D1CE0(v7);
}
}
sub_D1DD4(v4);
return v1;
}