//
// sub_AF46C from 0xaf46c to 0xaf4a0 (52 bytes)
//
// 3 xrefs:
// > FMOD::ChannelControl::set3DMinMaxDistance @ 0xaf438
// > FMOD::ChannelControl::set3DOcclusion @ 0xaf9f0
// > FMOD::Sound::set3DMinMaxDistance @ 0xb4e78
//
// 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
//
int __fastcall sub_AF46C(__int16 *a1, int a2, float a3, float a4)
{
int v7; // r4
int v8; // r4
v7 = sub_5C934(a1, a2, a3);
v8 = v7 + sub_5C990((_BYTE *)a1 + v7, a2 - v7, ", ");
return sub_5C934((__int16 *)((char *)a1 + v8), a2 - v8, a4) + v8;
}