//
// sub_D1A84 from 0xd1a84 to 0xd1b24 (160 bytes)
//
// 1 xrefs:
// > FMOD::ChannelControl::set3DDistanceFilter @ 0xd1a54
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_D1A84(__int64 a1, __int64 a2, char a3, float a4, float a5)
{
int v7; // w19
int v9; // w21
__int64 v10; // x21
v7 = a2;
v9 = sub_71590(a1, a2, a3 & 1);
v10 = (int)sub_715AC((_BYTE *)(a1 + v9), v7 - v9, ", ") + (__int64)v9;
LODWORD(v10) = v10 + sub_7154C((__int16 *)(a1 + v10), (unsigned int)(v7 - v10), a4);
LODWORD(v10) = v10 + sub_715AC((_BYTE *)(a1 + (int)v10), v7 - (int)v10, ", ");
return (unsigned int)v10 + (unsigned int)sub_7154C((__int16 *)(a1 + (int)v10), (unsigned int)(v7 - v10), a5);
}