// // FMODAudioEngine::stopAllMusic from 0x3eceec to 0x3ecf9c (176 bytes) // // 31 xrefs: // > FMODAudioEngine::clearAllAudio @ 0x3ecfac // > GJSongBrowser::exitLayer @ 0x3f712e // > CreateGuidelinesLayer::onStop @ 0x3f7bce // > PlayLayer::resetLevelFromStart @ 0x402200 // > PlayLayer::resumeAndRestart @ 0x4026be // > PlayLayer::playPracticeMusic @ 0x402d06 // > GameManager::playMenuMusic @ 0x41684c // > GameManager::fadeInMenuMusic @ 0x4168fe // > CustomSongCell::onDelete @ 0x427166 // > LevelEditorLayer::stopPlayback @ 0x462120 // > LevelEditorLayer::onStopPlaytest @ 0x462b96 // > LevelEditorLayer::init @ 0x475be4 // > LevelInfoLayer::onPlay @ 0x49b700 // > EditLevelLayer::onPlay @ 0x4a0348 // > CustomSongWidget::onPlayback @ 0x4e3062 // > CustomSongWidget::onPlayback @ 0x4e3070 // > CustomSongWidget::deleteSong @ 0x4e3f04 // > LevelPage::onPlay @ 0x513fd4 // > OptionsLayer::onMenuMusic @ 0x52c906 // > EndLevelLayer::onEdit @ 0x533fea // > SongInfoLayer::onBPM @ 0x53aa02 // > CustomSongLayer::onClose @ 0x57ad40 // > CustomSongLayer::onCreateLines @ 0x57ae18 // > SongOptionsLayer::onPlayback @ 0x57b842 // > CustomSongLayer::onSearch @ 0x57ce7e // > GauntletSelectLayer::playUnlockAnimation @ 0x60b0ea // > GJShopLayer::dialogClosed @ 0x6115ce // > GJWorldNode::playStep1 @ 0x62d6de // > SetupSongTriggerPopup::onClose @ 0x658350 // > SetupSongTriggerPopup::valueDidChange @ 0x658466 // > SetupSongTriggerPopup::onPlayback @ 0x65859a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:47:10 +0000 // char **__fastcall FMODAudioEngine::stopAllMusic(FMODAudioEngine *this, int a2) { FMOD::ChannelControl *v3; // r0 int *v5; // r4 unsigned int *v6; // r4 unsigned int *v7; // r7 unsigned int v8; // r1 FMOD::ChannelControl *v9; // r0 char *v10; // [sp+0h] [bp-14h] BYREF unsigned int *v11; // [sp+4h] [bp-10h] unsigned int *v12; // [sp+8h] [bp-Ch] if ( a2 ) { v3 = *((FMOD::ChannelControl **)this + 90); if ( v3 ) FMOD::ChannelControl::stop(v3); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 147); std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 152); return (char **)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::clear((_DWORD *)this + 157); } else { v5 = *((int **)this + 68); v10 = nullptr; v11 = nullptr; v12 = nullptr; while ( v5 ) { if ( !*((_BYTE *)v5 + 33) ) { if ( v11 == v12 ) { std::vector::__push_back_slow_path((int)&v10, v5 + 3); } else { if ( v11 ) *v11 = v5[3]; ++v11; } } v5 = (int *)*v5; } v6 = (unsigned int *)v10; v7 = v11; while ( v6 != v7 ) { v8 = *v6++; v9 = (FMOD::ChannelControl *)FMODAudioEngine::channelForChannelID(this, v8); if ( v9 ) FMOD::ChannelControl::stop(v9); } return std::__vector_base::~__vector_base(&v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source