//
// FMOD::ChannelControl::get3DDistanceFilter from 0xafe78 to 0xafef4 (124 bytes)
//
// 1 xrefs:
// > FMOD::ChannelControl::get3DDistanceFilter @ 0xe0ad8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:40 +0000
//
int __fastcall FMOD::ChannelControl::get3DDistanceFilter(FMOD::ChannelControl *this, bool *a2, float *a3, float *a4)
{
int v8; // r5
_BYTE v10[256]; // [sp+8h] [bp-120h] BYREF
int v11; // [sp+108h] [bp-20h] BYREF
int v12; // [sp+10Ch] [bp-1Ch]
v11 = 0;
v8 = sub_47C34((int)this);
if ( v8 || (v8 = (*(int (__fastcall **)(int, bool *, float *, float *))(*(_DWORD *)v12 + 240))(v12, a2, a3, a4)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
sub_AFEFC(v10, 256, a2, a3, a4);
sub_BAB40(v8, 4, this, "ChannelControl::get3DDistanceFilter", v10);
}
}
else
{
v8 = 0;
}
sub_444C0(&v11);
return v8;
}