//
// sub_1001BB548 from 0x1001bb548 to 0x1001bb5e8 (160 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002a3990
//
// 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 11:00:12 +0000
//
__int64 __fastcall sub_1001BB548(__int64 a1, _QWORD *a2)
{
int *i; // x21
__int64 *j; // x21
unsigned int v7; // [xsp+Ch] [xbp-54h] BYREF
__int128 v8; // [xsp+10h] [xbp-50h] BYREF
__int128 v9; // [xsp+20h] [xbp-40h]
int v10; // [xsp+30h] [xbp-30h]
v8 = 0u;
v9 = 0u;
v10 = 1065353216;
for ( i = (int *)(a1 + 336); ; sub_10001CC04((unsigned __int64)&v8, i + 4, i + 4) )
{
i = *(int **)i;
if ( !i )
break;
}
for ( j = (__int64 *)v9; j; j = (__int64 *)*j )
{
v7 = *((_DWORD *)j + 4);
if ( (v7 & 0x80000000) == 0 && !sub_100019268(a2, (int *)&v7) )
FMODAudioEngine::stopAndRemoveMusic(a1, v7);
}
return sub_1000184EC((__int64)&v8);
}