//
// sub_100435CDC from 0x100435cdc to 0x100435d28 (76 bytes)
//
// 94 xrefs:
// > FMOD::Channel::setPriority @ 0x100455070
// > FMOD::Channel::setLoopCount @ 0x100455abc
// > FMOD::ChannelGroup::getGroup @ 0x1004594a0
// > FMOD::ChannelGroup::getName @ 0x1004596d0
// > FMOD::ChannelGroup::getChannel @ 0x1004598a0
// > FMOD::DSP::addInput @ 0x100484bb0
// > FMOD::DSP::getInput @ 0x1004850d4
// > FMOD::DSP::getOutput @ 0x100485240
// > FMOD::DSP::setChannelFormat @ 0x100485a48
// > FMOD::DSP::setChannelFormat @ 0x100485a70
// > sub_100485D6C @ 0x100485dd8
// > sub_100485D6C @ 0x100485e00
// > FMOD::DSP::setParameterFloat @ 0x1004860c8
// > FMOD::DSP::setParameterInt @ 0x1004861e0
// > FMOD::DSP::setParameterInt @ 0x100486210
// > FMOD::DSP::setParameterBool @ 0x1004862f8
// > FMOD::DSP::setParameterData @ 0x10048641c
// > FMOD::DSP::getParameterFloat @ 0x100486578
// > FMOD::DSP::getParameterFloat @ 0x1004865fc
// > FMOD::DSP::getParameterInt @ 0x1004866fc
// > FMOD::DSP::getParameterInt @ 0x100486780
// > FMOD::DSP::getParameterBool @ 0x100486880
// > FMOD::DSP::getParameterBool @ 0x100486904
// > FMOD::DSP::getParameterData @ 0x100486a0c
// > FMOD::DSP::getParameterData @ 0x100486ab8
// > FMOD::DSP::getParameterInfo @ 0x100486c6c
// > FMOD::DSP::getDataParameterIndex @ 0x100486d84
// > FMOD::DSPConnection::setMixMatrix @ 0x10048ab60
// > FMOD::DSPConnection::setMixMatrix @ 0x10048ab88
// > FMOD::DSPConnection::setMixMatrix @ 0x10048abb0
// > FMOD::DSPConnection::getMixMatrix @ 0x10048ad44
// > FMOD::Sound::setDefaults @ 0x1004beaec
// > FMOD::Sound::set3DCustomRolloff @ 0x1004bf3c4
// > FMOD::Sound::getSubSound @ 0x1004bf660
// > FMOD::Sound::getName @ 0x1004bf838
// > FMOD::Sound::getTag @ 0x1004bff1c
// > FMOD::Sound::getSyncPoint @ 0x1004c080c
// > FMOD::Sound::getSyncPointInfo @ 0x1004c09e4
// > FMOD::Sound::setLoopCount @ 0x1004c1040
// > FMOD::Sound::setMusicChannelVolume @ 0x1004c1734
// > FMOD::Sound::getMusicChannelVolume @ 0x1004c18a8
// > FMOD::SoundGroup::setMaxAudible @ 0x1004c2804
// > FMOD::SoundGroup::setMaxAudibleBehavior @ 0x1004c29b4
// > FMOD::SoundGroup::getName @ 0x1004c2fe0
// > FMOD::SoundGroup::getSound @ 0x1004c31b0
// > FMOD::System::setOutput @ 0x1004c7afc
// > sub_1004C7E44 @ 0x1004c7e80
// > sub_1004C7E44 @ 0x1004c7edc
// > FMOD::System::setDriver @ 0x1004c8018
// > FMOD::System::setSoftwareChannels @ 0x1004c81c8
// > FMOD::System::setSoftwareFormat @ 0x1004c839c
// > FMOD::System::setSoftwareFormat @ 0x1004c83d0
// > FMOD::System::setSoftwareFormat @ 0x1004c83f8
// > FMOD::System::setDSPBufferSize @ 0x1004c86a0
// > sub_1004C8968 @ 0x1004c8abc
// > FMOD::System::getNestedPlugin @ 0x1004c946c
// > FMOD::System::getNumPlugins @ 0x1004c9590
// > FMOD::System::getPluginHandle @ 0x1004c96c4
// > FMOD::System::getPluginHandle @ 0x1004c96f8
// > FMOD::System::getPluginInfo @ 0x1004c98bc
// > FMOD::System::init @ 0x1004ca19c
// > FMOD::System::setSpeakerPosition @ 0x1004ca498
// > FMOD::System::getSpeakerPosition @ 0x1004ca62c
// > FMOD::System::set3DNumListeners @ 0x1004cacb4
// > FMOD::System::set3DListenerAttributes @ 0x1004cae98
// > FMOD::System::get3DListenerAttributes @ 0x1004cb05c
// > FMOD::System::createDSPByType @ 0x1004cbf4c
// > FMOD::System::getChannel @ 0x1004cc6c4
// > FMOD::System::getDSPInfoByType @ 0x1004cc7ec
// > FMOD::System::attachChannelGroupToPort @ 0x1004ccac8
// > FMOD::System::setReverbProperties @ 0x1004cccf8
// > FMOD::System::getReverbProperties @ 0x1004cce20
// > sub_1004CD288 @ 0x1004cd2d0
// > sub_1004CD288 @ 0x1004cd32c
// > FMOD::System::getRecordPosition @ 0x1004cd4ac
// > FMOD::System::recordStart @ 0x1004cd5e0
// > FMOD::System::recordStop @ 0x1004cd720
// > FMOD::System::isRecording @ 0x1004cd810
// > FMOD::System::createGeometry @ 0x1004cd944
// > FMOD::System::createGeometry @ 0x1004cd978
// > FMOD::System::loadGeometry @ 0x1004cdc94
// > FMOD::System::getNetworkProxy @ 0x1004ce054
// > FMOD::System::setNetworkTimeout @ 0x1004ce134
// > FMOD::ChannelControl::setReverbProperties @ 0x100503b68
// > FMOD::ChannelControl::getReverbProperties @ 0x100503c98
// > FMOD::ChannelControl::setMixLevelsInput @ 0x10050471c
// > FMOD::ChannelControl::setMixMatrix @ 0x100504868
// > FMOD::ChannelControl::setMixMatrix @ 0x100504890
// > FMOD::ChannelControl::setMixMatrix @ 0x1005048b8
// > FMOD::ChannelControl::getMixMatrix @ 0x100504a54
// > FMOD::ChannelControl::getDSP @ 0x10050554c
// > FMOD::ChannelControl::addDSP @ 0x10050567c
// > FMOD::ChannelControl::setDSPIndex @ 0x10050599c
// > FMOD::ChannelControl::set3DCustomRolloff @ 0x10050655c
//
// 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_100435CDC(_BYTE *a1, size_t a2, unsigned int a3, int a4, int a5, int a6, int a7, int a8)
{
if ( (int)a2 < 2 || a3 > 9 )
return sub_1004C7414((int)a1, a2, (int)"%d", a4, a5, a6, a7, a8, a3);
*a1 = a3 + 48;
a1[1] = 0;
return 1;
}