//
// FMOD::ChannelGroup::release from 0xb0040 to 0xb009a (90 bytes)
//
// 1 xrefs:
// > FMOD::ChannelGroup::release @ 0xe0bf8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:40 +0000
//
int __fastcall FMOD::ChannelGroup::release(FMOD::ChannelGroup *this)
{
int v2; // r4
_BYTE v4[256]; // [sp+8h] [bp-110h] BYREF
int v5; // [sp+108h] [bp-10h] BYREF
int v6; // [sp+10Ch] [bp-Ch] BYREF
v5 = 0;
v2 = sub_48F28((int)this, &v6, &v5);
if ( v2 || (v2 = sub_49324(v6)) != 0 )
{
if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 )
{
v4[0] = 0;
sub_BAB40(v2, 3, this, "ChannelGroup::release", v4);
}
}
else
{
v2 = 0;
}
sub_444C0(&v5);
return v2;
}