//
// FMOD::ChannelControl::get3DDistanceFilter from 0xd1b24 to 0xd1b88 (100 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::get3DDistanceFilter @ 0x107eac
// > ??> @ 0x4a68
// > FMOD::ChannelControl::get3DDistanceFilter @ 0x107ea4
// > ??> @ 0x110818
//
// 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::ChannelControl::get3DDistanceFilter(
FMOD::ChannelControl *this,
bool *a2,
float *a3,
float *a4)
{
unsigned int v4; // w20
__int64 v5; // x0
__int64 v6; // x8
__int64 v7; // x0
char v8; // w8
__int64 v9; // x0
__int64 v10; // x0
v4 = sub_D1DF0(this, a2, a3, a4);
if ( v4 || (v5 = sub_D1F9C(), v7 = (*(__int64 (__fastcall **)(__int64))(v6 + 480))(v5), (v4 = v7) != 0) )
{
v7 = sub_D1CCC();
if ( v8 < 0 )
{
v9 = sub_D1F4C(v7);
v10 = sub_D1B88(v9);
v7 = sub_D1CE0(v10);
}
}
sub_D1E80(v7);
return v4;
}