//
// sub_5C7E4 from 0x5c7e4 to 0x5c88c (168 bytes)
//
// 3 xrefs:
// > sub_94374 @ 0x94394
// > sub_E4924 @ 0xe493c
// > sub_E4FD8 @ 0xe4ff0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:13:51 +0000
//
__int64 __fastcall sub_5C7E4(int *a1)
{
__int64 i; // x21
__int64 v3; // x0
if ( *((_QWORD *)a1 + 3) )
{
for ( i = 0; i < *a1; ++i )
{
v3 = *(_QWORD *)(*((_QWORD *)a1 + 3) + 8 * i);
if ( v3 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 32LL))(v3);
}
sub_E2D74(
*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000),
*((_QWORD *)a1 + 3),
"../../src/fmod_channelpool.cpp",
96,
1);
}
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), a1, "../../src/fmod_channelpool.cpp", 99, 1);
return 0;
}