//
// sub_579DC from 0x579dc to 0x57a3c (96 bytes)
//
// 7 xrefs:
// > sub_55F6C @ 0x55f70
// > sub_5D078 @ 0x5d0bc
// > sub_5D1CC @ 0x5d20c
// > FMOD::ChannelGroup::release @ 0xd2018
// > FMOD::ChannelGroup::addGroup @ 0xd20b0
// > sub_D2534 @ 0xd2554
// > sub_D2558 @ 0xd2570
//
// 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:13:50 +0000
//
__int64 __fastcall sub_579DC(__int64 a1, _QWORD *a2, _QWORD *a3)
{
__int64 result; // x0
if ( !a2 )
return 31;
*a2 = a1;
if ( !a1 || (a1 & 3) != 0 || *(_DWORD *)(a1 + 472) != -899895835 )
return 30;
if ( !a3 )
return 0;
result = sub_50238(a3, *(_QWORD *)(a1 + 8));
if ( !(_DWORD)result )
return 0;
return result;
}