//
// sub_100579F20 from 0x100579f20 to 0x100579f68 (72 bytes)
//
// 1 xrefs:
// > sub_10055D7D4 @ 0x10055d7d4
//
// 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 11:08:25 +0000
//
__int64 __fastcall sub_100579F20(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
unsigned __int8 v4; // [xsp+Fh] [xbp-11h] BYREF
if ( !a1 )
return 31;
result = FMOD::ChannelControl::get3DDistanceFilter(a1, &v4);
if ( a2 )
{
if ( !(_DWORD)result )
*a2 = v4;
}
return result;
}