//
// sub_AF528 from 0xaf528 to 0xaf55c (52 bytes)
//
// 3 xrefs:
// > FMOD::ChannelControl::get3DMinMaxDistance @ 0xaf4f4
// > FMOD::ChannelControl::get3DOcclusion @ 0xafa74
// > FMOD::Sound::get3DMinMaxDistance @ 0xb4f18
//
// 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_AF528(int a1, int a2, float *a3, float *a4)
{
int v7; // r4
int v8; // r4
v7 = sub_5CAA4(a1, a2, a3);
v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, ", ");
return sub_5CAA4(a1 + v8, a2 - v8, a4) + v8;
}