//
// FMOD::DSP::reset from 0xd3b30 to 0xd3b84 (84 bytes)
//
// 4 xrefs:
// > FMOD::DSP::reset @ 0x107aac
// > ??> @ 0xe08
// > FMOD::DSP::reset @ 0x107aa4
// > ??> @ 0x110618
//
// 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:52 +0000
//
__int64 __fastcall FMOD::DSP::reset(FMOD::DSP *this)
{
__int64 v1; // x29
unsigned int v2; // w20
__int64 v3; // x0
char v4; // w8
v2 = sub_D4F0C(this);
if ( v2 || (v2 = sub_CBC5C(*(_QWORD *)(v1 - 24))) != 0 )
{
v3 = sub_D4D24();
if ( v4 < 0 )
sub_D4F7C(v3);
}
sub_51968((_QWORD *)(v1 - 40));
return v2;
}