//
// FMOD::ChannelGroup::release from 0xd1ff4 to 0xd207c (136 bytes)
//
// 4 xrefs:
// > FMOD::ChannelGroup::release @ 0x1077fc
// > ??> @ 0x6cb8
// > FMOD::ChannelGroup::release @ 0x1077f4
// > ??> @ 0x1104c0
//
// 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 12:14:51 +0000
//
__int64 __fastcall FMOD::ChannelGroup::release(FMOD::ChannelGroup *this)
{
unsigned int v2; // w20
char v3; // w8
_BYTE v5[256]; // [xsp+8h] [xbp-128h] BYREF
__int64 v6; // [xsp+108h] [xbp-28h] BYREF
__int64 v7; // [xsp+118h] [xbp-18h] BYREF
v6 = 0;
v2 = sub_579DC((__int64)this, &v7, &v6);
if ( v2 || (v2 = sub_57F28()) != 0 )
{
sub_D2510();
if ( v3 < 0 )
{
v5[0] = 0;
sub_DF504(v2, 3, this, "ChannelGroup::release", v5);
}
}
sub_51968(&v6);
return v2;
}