//
// FMOD::ChannelControl::set3DDistanceFilter from 0xd19e8 to 0xd1a84 (156 bytes)
//
// 4 xrefs:
// > FMOD::ChannelControl::set3DDistanceFilter @ 0x107efc
// > ??> @ 0x29f8
// > FMOD::ChannelControl::set3DDistanceFilter @ 0x107ef4
// > ??> @ 0x110840
//
// 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::set3DDistanceFilter(
FMOD::ChannelControl *this,
long double a2,
long double a3)
{
unsigned int v5; // w20
__int64 v6; // x0
__int64 v7; // x8
__int64 v8; // x0
char v9; // w8
__int64 v10; // x0
__int64 v11; // x0
v5 = sub_D1E44(this);
if ( v5 || (v6 = sub_D1F64(), v8 = (*(__int64 (__fastcall **)(__int64))(v7 + 472))(v6), (v5 = v8) != 0) )
{
v8 = sub_D1CCC();
if ( v9 < 0 )
{
v10 = sub_D1FB4(v8);
v11 = sub_D1A84(v10, a2, a3);
v8 = sub_D1CE0(v11);
}
}
sub_D1E80(v8);
return v5;
}