//
// sub_1800F2EC0 from 0x1800f2ec0 to 0x1800f2eeb (43 bytes)
//
// 94 xrefs:
// > FMOD::ChannelControl::addDSP @ 0x18000a340
// > FMOD::ChannelControl::getDSP @ 0x18000b240
// > FMOD::ChannelControl::getMixMatrix @ 0x18000bb41
// > FMOD::ChannelControl::getReverbProperties @ 0x18000c0ad
// > FMOD::ChannelControl::set3DCustomRolloff @ 0x18000cc26
// > FMOD::ChannelControl::setDSPIndex @ 0x18000d516
// > FMOD::ChannelControl::setMixLevelsInput @ 0x18000da06
// > FMOD::ChannelControl::setMixMatrix @ 0x18000dd1a
// > FMOD::ChannelControl::setMixMatrix @ 0x18000dd50
// > FMOD::ChannelControl::setMixMatrix @ 0x18000dd86
// > FMOD::ChannelControl::setReverbProperties @ 0x18000e2fe
// > FMOD::DSPConnection::getMixMatrix @ 0x18005724d
// > FMOD::DSPConnection::setMixMatrix @ 0x18005771e
// > FMOD::DSPConnection::setMixMatrix @ 0x180057754
// > FMOD::DSPConnection::setMixMatrix @ 0x18005778a
// > FMOD::Channel::setLoopCount @ 0x1800a0663
// > FMOD::Channel::setPriority @ 0x1800a0a33
// > FMOD::ChannelGroup::getChannel @ 0x1800a0c2c
// > FMOD::ChannelGroup::getGroup @ 0x1800a0d5c
// > FMOD::ChannelGroup::getName @ 0x1800a0ec2
// > FMOD::DSP::addInput @ 0x1800a136b
// > FMOD::DSP::getDataParameterIndex @ 0x1800a1b47
// > FMOD::DSP::getInput @ 0x1800a1f13
// > FMOD::DSP::getOutput @ 0x1800a25a3
// > FMOD::DSP::getOutputChannelFormat @ 0x1800a278f
// > FMOD::DSP::getOutputChannelFormat @ 0x1800a27c5
// > FMOD::DSP::getParameterBool @ 0x1800a2982
// > FMOD::DSP::getParameterBool @ 0x1800a2a22
// > FMOD::DSP::getParameterData @ 0x1800a2b21
// > FMOD::DSP::getParameterData @ 0x1800a2bf7
// > FMOD::DSP::getParameterFloat @ 0x1800a2ce2
// > FMOD::DSP::getParameterFloat @ 0x1800a2d82
// > FMOD::DSP::getParameterInfo @ 0x1800a2e57
// > FMOD::DSP::getParameterInt @ 0x1800a2f72
// > FMOD::DSP::getParameterInt @ 0x1800a3012
// > FMOD::DSP::setChannelFormat @ 0x1800a391e
// > FMOD::DSP::setChannelFormat @ 0x1800a3954
// > FMOD::DSP::setParameterBool @ 0x1800a3b89
// > FMOD::DSP::setParameterData @ 0x1800a3c93
// > FMOD::DSP::setParameterFloat @ 0x1800a3dcd
// > FMOD::DSP::setParameterInt @ 0x1800a3ed7
// > FMOD::DSP::setParameterInt @ 0x1800a3f0b
// > FMOD::Sound::getMusicChannelVolume @ 0x1800a7b39
// > FMOD::Sound::getName @ 0x1800a7f1e
// > FMOD::Sound::getSubSound @ 0x1800a8684
// > FMOD::Sound::getSyncPoint @ 0x1800a8818
// > FMOD::Sound::getSyncPointInfo @ 0x1800a8a14
// > FMOD::Sound::getTag @ 0x1800a8ccc
// > FMOD::Sound::set3DCustomRolloff @ 0x1800a973c
// > FMOD::Sound::setDefaults @ 0x1800a9a28
// > FMOD::Sound::setLoopCount @ 0x1800a9b4f
// > FMOD::Sound::setMusicChannelVolume @ 0x1800a9f7a
// > FMOD::SoundGroup::getName @ 0x1800aa852
// > FMOD::SoundGroup::getSound @ 0x1800aaafc
// > FMOD::SoundGroup::setMaxAudible @ 0x1800aaf43
// > FMOD::SoundGroup::setMaxAudibleBehavior @ 0x1800ab013
// > sub_1800AB3C0 @ 0x1800ab3dc
// > sub_1800AB3C0 @ 0x1800ab435
// > sub_1800AB510 @ 0x1800ab52c
// > sub_1800AB510 @ 0x1800ab585
// > sub_1800AB690 @ 0x1800ab7bd
// > FMOD::System::attachChannelGroupToPort @ 0x1800ab946
// > FMOD::System::createDSPByType @ 0x1800ac10c
// > FMOD::System::createGeometry @ 0x1800ac24a
// > FMOD::System::createGeometry @ 0x1800ac27e
// > FMOD::System::get3DListenerAttributes @ 0x1800ac88c
// > FMOD::System::getChannel @ 0x1800ace5c
// > FMOD::System::getDSPInfoByType @ 0x1800ad2fc
// > FMOD::System::getNestedPlugin @ 0x1800adcae
// > FMOD::System::getNetworkProxy @ 0x1800ade22
// > FMOD::System::getNumPlugins @ 0x1800ae1fc
// > FMOD::System::getPluginHandle @ 0x1800ae5aa
// > FMOD::System::getPluginHandle @ 0x1800ae5de
// > FMOD::System::getPluginInfo @ 0x1800ae7ec
// > FMOD::System::getRecordPosition @ 0x1800aebcc
// > FMOD::System::getReverbProperties @ 0x1800aecfc
// > FMOD::System::getSpeakerPosition @ 0x1800af18b
// > FMOD::System::init @ 0x1800af603
// > FMOD::System::isRecording @ 0x1800af74c
// > FMOD::System::loadGeometry @ 0x1800af8c0
// > FMOD::System::recordStart @ 0x1800b014c
// > FMOD::System::recordStop @ 0x1800b02a3
// > FMOD::System::set3DListenerAttributes @ 0x1800b088c
// > FMOD::System::set3DNumListeners @ 0x1800b0a63
// > FMOD::System::setDSPBufferSize @ 0x1800b1000
// > FMOD::System::setDriver @ 0x1800b10e3
// > FMOD::System::setNetworkTimeout @ 0x1800b14a3
// > FMOD::System::setOutput @ 0x1800b1573
// > FMOD::System::setReverbProperties @ 0x1800b17fc
// > FMOD::System::setSoftwareChannels @ 0x1800b1913
// > FMOD::System::setSoftwareFormat @ 0x1800b1a0a
// > FMOD::System::setSoftwareFormat @ 0x1800b1a3e
// > FMOD::System::setSoftwareFormat @ 0x1800b1a74
// > FMOD::System::setSpeakerPosition @ 0x1800b1b9d
//
// 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
//
__int64 __fastcall sub_1800F2EC0(_BYTE *a1, __int64 a2, unsigned int a3)
{
if ( a3 > 9 || (int)a2 < 2 )
return sub_1800B7CA0((int)a1, a2, "%d", a3);
a1[1] = 0;
*a1 = a3 + 48;
return 1;
}