//
// FMOD::Reverb3D::getUserData from 0xd7fd4 to 0xd801c (72 bytes)
//
// 4 xrefs:
// > FMOD::Reverb3D::getUserData @ 0x107e6c
// > ??> @ 0x5d40
// > FMOD::Reverb3D::getUserData @ 0x107e64
// > ??> @ 0x1107f8
//
// 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:53 +0000
//
__int64 __fastcall FMOD::Reverb3D::getUserData(FMOD::Reverb3D *this, void **a2)
{
unsigned int v2; // w20
__int64 v3; // x0
_QWORD *v4; // x1
__int64 v5; // x0
char v6; // w8
__int64 v7; // x0
v2 = sub_D801C(this, a2);
if ( v2 || (v3 = sub_D8088(), (v2 = sub_65FAC(v3, v4)) != 0) )
{
v5 = sub_D804C();
if ( v6 < 0 )
{
v7 = sub_D8070(v5);
sub_D8038(v7);
}
}
return v2;
}