//
// sub_AD330 from 0xad330 to 0xad364 (52 bytes)
//
// 2 xrefs:
// > FMOD::Channel::getPosition @ 0xad2fe
// > FMOD::Sound::getLength @ 0xb53e0
//
// 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:39 +0000
//
int __fastcall sub_AD330(int a1, int a2, _DWORD *a3, unsigned int a4)
{
int v7; // r4
int v8; // r4
v7 = sub_5CA18(a1, a2, a3);
v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, ", ");
return sub_5C8F4((_BYTE *)(a1 + v8), a2 - v8, a4) + v8;
}