//
// sub_10055BF8C from 0x10055bf8c to 0x10055c01c (144 bytes)
//
// 33 xrefs:
// > FMOD::ChannelGroup::addGroup @ 0x10057f438
// > FMOD::DSP::disconnectAll @ 0x1005aaf40
// > FMOD::DSP::disconnectAll @ 0x1005aaf70
// > FMOD::DSP::setActive @ 0x1005ab4ec
// > FMOD::DSP::setBypass @ 0x1005ab6b8
// > FMOD::DSP::setCallback @ 0x1005ac144
// > FMOD::DSP::setParameterBool @ 0x1005ac490
// > FMOD::DSP::showConfigDialog @ 0x1005ad038
// > FMOD::DSP::setMeteringEnabled @ 0x1005ad624
// > FMOD::DSP::setMeteringEnabled @ 0x1005ad654
// > FMOD::Reverb3D::setActive @ 0x1005e3110
// > sub_1005EEAD0 @ 0x1005eeb14
// > sub_1005EEAD0 @ 0x1005eeb4c
// > sub_1005EEAD0 @ 0x1005eeb78
// > sub_1005EEAD0 @ 0x1005eeba4
// > sub_1005EEAD0 @ 0x1005eebd0
// > sub_1005EEAD0 @ 0x1005eebfc
// > FMOD::System::attachFileSystem @ 0x1005eecf0
// > FMOD::System::attachFileSystem @ 0x1005eed28
// > FMOD::System::attachFileSystem @ 0x1005eed54
// > FMOD::System::attachFileSystem @ 0x1005eed80
// > FMOD::System::setCallback @ 0x1005ef030
// > FMOD::System::setSpeakerPosition @ 0x1005f0684
// > FMOD::System::set3DRolloffCallback @ 0x1005f1358
// > FMOD::System::playSound @ 0x1005f2574
// > FMOD::System::playDSP @ 0x1005f2708
// > FMOD::System::recordStart @ 0x1005f37a4
// > FMOD::ChannelControl::setPaused @ 0x100629304
// > FMOD::ChannelControl::setVolumeRamp @ 0x100629690
// > FMOD::ChannelControl::setMute @ 0x100629af8
// > FMOD::ChannelControl::setCallback @ 0x10062a2a4
// > FMOD::ChannelControl::setDelay @ 0x10062ae8c
// > FMOD::ChannelControl::set3DDistanceFilter @ 0x10062d0b8
//
// 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 11:08:01 +0000
//
__int64 __fastcall sub_10055BF8C(void *a1, size_t a2, int a3)
{
const char *v5; // x21
__int64 v6; // x0
int v7; // w3
int v8; // w4
int v9; // w5
int v10; // w6
int v11; // w7
__int64 v12; // x22
if ( a3 )
v5 = "true";
else
v5 = "false";
v6 = sub_1005ECC08(v5);
if ( (int)v6 >= (int)a2 )
return sub_1005ED57C((int)a1, a2, (int)"%s", v7, v8, v9, v10, v11, (char)v5);
v12 = v6;
memcpy(a1, v5, (int)v6 + 1);
return v12;
}