// // FMODAudioEngine::playMusic from 0x303780 to 0x30382a (170 bytes) // // 6 xrefs: // > PlayLayer::togglePracticeMode @ 0x314370 // > GameManager::fadeInMusic @ 0x320c68 // > GameManager::playMenuMusic @ 0x323f68 // > CustomSongWidget::onPlayback @ 0x3dd6de // > GJShopLayer::showReactMessage @ 0x4e268c // > GJShopLayer::init @ 0x4e36dc // // 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 // FMOD::Channel *__fastcall FMODAudioEngine::playMusic(FMOD::Channel *result, int a2, char a3, float a4, int a5) { FMODAudioEngine *v6; // r6 FMOD::ChannelControl *m_backgroundMusicChannel; // r0 int v9; // [sp+18h] [bp-8h] BYREF v6 = (FMODAudioEngine *)result; if ( *(_DWORD *)&result[384].FMOD::ChannelControl ) { sub_775C20(&v9, a2); FMODAudioEngine::loadMusic((int)v6, &v9, 1.0, 0.0, 1.0, a3, a5, 0, 0); sub_774008(&v9); if ( a4 > 0.0 ) FMODAudioEngine::fadeInMusic(v6, a4, a5); FMODAudioEngine::resumeMusic(v6, a5); m_backgroundMusicChannel = v6->m_backgroundMusicChannel; LOBYTE(v9) = 0; FMOD::ChannelControl::getPaused(m_backgroundMusicChannel, (bool *)&v9); return FMODAudioEngine::getActiveMusicChannel(v6, a5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source