//
// sub_10045AD44 from 0x10045ad44 to 0x10045ad78 (52 bytes)
//
// 1 xrefs:
// > FMOD::ChannelGroup::getNumGroups @ 0x100459384
//
// 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
//
__int64 __fastcall sub_10045AD44(__int64 a1, int *a2)
{
int v2; // w8
_QWORD *v3; // x10
if ( !a2 )
return 31;
v2 = -1;
v3 = (_QWORD *)(a1 + 400);
do
{
v3 = (_QWORD *)*v3;
++v2;
}
while ( v3 != (_QWORD *)(a1 + 400) );
*a2 = v2;
return 0;
}