//
// FMOD::DSP::reset from 0xb16d8 to 0xb1732 (90 bytes)
//
// 1 xrefs:
// > FMOD::DSP::reset @ 0xe0ea8
//
// 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:41 +0000
//
int __fastcall FMOD::DSP::reset(FMOD::DSP *this)
{
int v2; // r1
int v3; // r2
int v4; // r3
int v5; // r4
_BYTE v7[256]; // [sp+8h] [bp-110h] BYREF
int v8; // [sp+108h] [bp-10h] BYREF
int v9; // [sp+10Ch] [bp-Ch] BYREF
v8 = 0;
v5 = FMOD::DSPI::validate(this, &v9, &v8);
if ( v5 || (v5 = sub_AB144(v9, v2, v3, v4)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
v7[0] = 0;
sub_BAB40(v5, 7, this, "DSP::reset", v7);
}
}
else
{
v5 = 0;
}
sub_444C0(&v8);
return v5;
}