//
// FMOD::SoundGroup::release from 0xda6a8 to 0xda6fc (84 bytes)
//
// 4 xrefs:
// > FMOD::SoundGroup::release @ 0x10787c
// > ??> @ 0x79f0
// > FMOD::SoundGroup::release @ 0x107874
// > ??> @ 0x110500
//
// 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:54 +0000
//
__int64 __fastcall FMOD::SoundGroup::release(FMOD::SoundGroup *this)
{
__int64 v1; // x29
unsigned int v2; // w20
__int64 v3; // x0
char v4; // w8
v2 = sub_DAD58(this);
if ( v2 || (v2 = sub_671BC(*(_QWORD *)(v1 - 24))) != 0 )
{
v3 = sub_DACEC();
if ( v4 < 0 )
sub_DADA4(v3);
}
sub_51968((_QWORD *)(v1 - 40));
return v2;
}