//
// FMOD::Sound::get3DMinMaxDistance from 0xd883c to 0xd88cc (144 bytes)
//
// 4 xrefs:
// > FMOD::Sound::get3DMinMaxDistance @ 0x1071ac
// > ??> @ 0x3238
// > FMOD::Sound::get3DMinMaxDistance @ 0x1071a4
// > ??> @ 0x110198
//
// 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:54 +0000
//
__int64 __fastcall FMOD::Sound::get3DMinMaxDistance(FMOD::Sound *this, float *a2, float *a3)
{
unsigned int v3; // w22
__int64 v4; // x0
int v5; // w8
char v6; // zf
__int64 v7; // x0
__int64 v8; // x8
char v9; // w8
__int64 v10; // x0
__int64 v11; // x1
float *v12; // x2
float *v13; // x3
__int64 v15; // [xsp+0h] [xbp-140h] BYREF
v3 = sub_DA444(this, a2, a3);
if ( !v3 )
{
v4 = sub_DA368();
if ( !v5 || (v4 = sub_DA358(v4), v6) || (v4 = sub_DA410(v4), v6) )
{
v7 = sub_DA4F0(v4);
v3 = (*(__int64 (__fastcall **)(__int64))(v8 + 80))(v7);
if ( !v3 )
return v3;
}
else
{
v3 = 46;
}
}
sub_DA344();
if ( v9 < 0 )
{
v10 = sub_DA55C(&v15);
sub_D11A4(v10, v11, v12, v13);
sub_DA398(v3, 5);
}
return v3;
}