// // FMODAudioEngine::clearAllAudio from 0x140055310 to 0x1400553b2 (162 bytes) // // 4 xrefs: // > EndLevelLayer::onReplay @ 0x140134f38 // > EndLevelLayer::onRestartCheckpoint @ 0x140135578 // > GJBaseGameLayer::resetAudio @ 0x140237754 // > @ 0x1406c4fb0 // // 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 // void FMODAudioEngine::clearAllAudio(FMODAudioEngine *a1) { FMOD::ChannelGroup *m_backgroundMusicChannel; // rcx FMOD::ChannelGroup *v3; // rcx FMODAudioEngine::stopAllEffects(a1); m_backgroundMusicChannel = a1->m_backgroundMusicChannel; if ( m_backgroundMusicChannel ) FMOD::ChannelControl::stop(m_backgroundMusicChannel); sub_14005E0D0(&a1->m_audioState.m_volumeForMusicChannels); sub_14005E0D0(&a1->m_audioState.m_volumeModForMusicChannels); sub_14005E0D0(&a1->m_audioState.m_pitchForMusicChannels); sub_14005E2A0(&a1->m_audioState.m_tweensForEffectChannels); sub_14005E2A0(&a1->m_audioState.m_tweensForEffectGroups); sub_14005E2A0(&a1->m_audioState.m_tweensForMusicChannels); if ( a1->m_allAudioPaused ) { v3 = a1->m_backgroundMusicChannel; a1->m_allAudioPaused = 0; FMOD::ChannelControl::setPaused(v3, 0); FMOD::ChannelControl::setPaused(a1->m_globalChannel, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source