//
// 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 (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:40 +0000
//
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;
}