//
// sub_1005798B8 from 0x1005798b8 to 0x1005798fc (68 bytes)
//
// 1 xrefs:
// > sub_10055D6A4 @ 0x10055d6a4
//
// 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_1005798B8(__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 )
*a2 = v4;
return result;
}