//
// sub_10045ACF8 from 0x10045acf8 to 0x10045ad44 (76 bytes)
//
// 1 xrefs:
// > FMOD::ChannelGroup::getChannel @ 0x10045986c
//
// 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_10045ACF8(__int64 a1, int a2, _QWORD *a3)
{
_QWORD *v3; // x8
int v4; // w10
if ( !a3 )
return 31;
*a3 = 0;
v3 = *(_QWORD **)(a1 + 424);
if ( v3 == (_QWORD *)(a1 + 424) )
return 31;
v4 = a2 + 1;
while ( --v4 )
{
v3 = (_QWORD *)*v3;
if ( v3 == (_QWORD *)(a1 + 424) )
return 31;
}
*a3 = *(_QWORD *)(v3[2] + 80LL);
return 0;
}