//
// sub_B5638 from 0xb5638 to 0xb566c (52 bytes)
//
// 3 xrefs:
// > FMOD::Sound::getNumTags @ 0xb560c
// > FMOD::System::getChannelsPlaying @ 0xb9272
// > FMOD::System::getRecordNumDrivers @ 0xba08c
//
// 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_B5638(int a1, int a2, _DWORD *a3, _DWORD *a4)
{
int v7; // r4
int v8; // r4
v7 = sub_5C9EC(a1, a2, a3);
v8 = v7 + sub_5C990((_BYTE *)(v7 + a1), a2 - v7, ", ");
return sub_5C9EC(a1 + v8, a2 - v8, a4) + v8;
}