//
// sub_1001BC290 from 0x1001bc290 to 0x1001bc2f4 (100 bytes)
//
// 1 xrefs:
// > FMODAudioEngine::countActiveMusic @ 0x1001b7db8
//
// 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_1001BC290(__int64 a1, __int64 a2)
{
__int128 v4; // q0
*(_DWORD *)a1 = *(_DWORD *)a2;
*(_OWORD *)(a1 + 8) = *(_OWORD *)(a2 + 8);
if ( *(char *)(a2 + 47) < 0 )
{
sub_1000097D0((_BYTE *)(a1 + 24), *(void **)(a2 + 24), *(_QWORD *)(a2 + 32));
}
else
{
v4 = *(_OWORD *)(a2 + 24);
*(_QWORD *)(a1 + 40) = *(_QWORD *)(a2 + 40);
*(_OWORD *)(a1 + 24) = v4;
}
*(_WORD *)(a1 + 48) = *(_WORD *)(a2 + 48);
return a1;
}