//
// FMOD::DSP::getBypass from 0xd3568 to 0xd35c0 (88 bytes)
//
// 4 xrefs:
// > FMOD::DSP::getBypass @ 0x107a4c
// > ??> @ 0x7b40
// > FMOD::DSP::getBypass @ 0x107a44
// > ??> @ 0x1105e8
//
// 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::getBypass(FMOD::DSP *this, bool *a2)
{
_BYTE *v2; // x21
unsigned int v3; // w19
__int64 v4; // x0
char v5; // w8
__int64 v6; // x0
char v7; // w8
v3 = sub_D4EC4(this, a2);
if ( !v3 )
{
if ( v2 )
{
v4 = sub_D5024();
*v2 = v7 & 1;
goto LABEL_6;
}
v3 = 31;
}
v4 = sub_D4D24();
if ( v5 < 0 )
{
v6 = sub_D4F48(v4);
v4 = sub_D4FCC(v6);
}
LABEL_6:
sub_D4EA8(v4);
return v3;
}