// // FMODAudioEngine::playMusic from 0x10013d0e0 to 0x10013d1cc (236 bytes) // // 6 xrefs: // > CustomSongWidget::onPlayback @ 0x1000fada4 // > PlayLayer::togglePracticeMode @ 0x100121a80 // > GJShopLayer::init @ 0x10014b004 // > GJShopLayer::showReactMessage @ 0x10014ce48 // > GameManager::playMenuMusic @ 0x100312184 // > GameManager::fadeInMusic @ 0x10031243c // // 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, __int64 a2, int a3, __int64 a4, float a5) { FMODAudioEngine *v8; // x20 bool v9; // [xsp+Fh] [xbp-51h] BYREF void *__p[2]; // [xsp+10h] [xbp-50h] BYREF __int64 v11; // [xsp+20h] [xbp-40h] if ( *(_QWORD *)&result[480].FMOD::ChannelControl ) { v8 = (FMODAudioEngine *)result; if ( *(char *)(a2 + 23) < 0 ) { sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8)); } else { *(_OWORD *)__p = *(_OWORD *)a2; v11 = *(_QWORD *)(a2 + 16); } FMODAudioEngine::loadMusic((__int64)v8, (__int128 *)__p, a3, a4, 0, 0, 1.0, 0.0, 1.0); if ( SHIBYTE(v11) < 0 ) operator delete(__p[0]); if ( a5 > 0.0 ) FMODAudioEngine::fadeInMusic(v8, a5, a4); FMODAudioEngine::resumeMusic(v8, a4); v9 = 0; FMOD::ChannelControl::getPaused(v8->m_backgroundMusicChannel, &v9); return FMODAudioEngine::getActiveMusicChannel(v8, a4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source