//
// sub_549DC from 0x549dc to 0x54a04 (40 bytes)
//
// 17 xrefs:
// > FMOD::SoundGroup::release @ 0xb6726
// > FMOD::SoundGroup::getSystemObject @ 0xb6790
// > FMOD::SoundGroup::setMaxAudible @ 0xb6808
// > FMOD::SoundGroup::getMaxAudible @ 0xb6880
// > FMOD::SoundGroup::setMaxAudibleBehavior @ 0xb68f8
// > FMOD::SoundGroup::getMaxAudibleBehavior @ 0xb6970
// > FMOD::SoundGroup::setMuteFadeSpeed @ 0xb69e8
// > FMOD::SoundGroup::getMuteFadeSpeed @ 0xb6a60
// > FMOD::SoundGroup::setVolume @ 0xb6ad8
// > FMOD::SoundGroup::getVolume @ 0xb6b50
// > FMOD::SoundGroup::stop @ 0xb6bc2
// > FMOD::SoundGroup::getName @ 0xb6c2e
// > FMOD::SoundGroup::getNumSounds @ 0xb6cac
// > FMOD::SoundGroup::getSound @ 0xb6d26
// > FMOD::SoundGroup::getNumPlaying @ 0xb6da4
// > FMOD::SoundGroup::setUserData @ 0xb6e1c
// > FMOD::SoundGroup::getUserData @ 0xb6e94
//
// 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
//
int __fastcall sub_549DC(int a1, _DWORD *a2, _DWORD *a3)
{
int result; // r0
if ( !a1 )
return 30;
if ( !a2 )
return 31;
if ( !a3 || (result = sub_431D0(a3, *(_DWORD *)(a1 + 12))) == 0 )
{
*a2 = a1;
return 0;
}
return result;
}