// // FMODAudioEngine::fadeInMusic from 0x6d7ab8 to 0x6d7ba4 (236 bytes) // // 4 xrefs: // > FMODAudioEngine::playMusic @ 0x6d8f30 // > PlayLayer::startMusic @ 0x710ef0 // > GJPathPage::unlockAnimationStep3 @ 0xba8168 // > @ 0x7a728 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:51:31 +0000 // __int64 __fastcall FMODAudioEngine::fadeInMusic(FMODAudioEngine *this, float a2, int a3) { FMOD::Channel *ActiveMusicChannel; // x0 FMOD::ChannelControl *v6; // x19 unsigned __int64 v8; // [xsp+40h] [xbp+40h] BYREF ActiveMusicChannel = (FMOD::Channel *)FMODAudioEngine::getActiveMusicChannel(this, a3); v6 = ActiveMusicChannel; if ( ActiveMusicChannel ) { FMODAudioEngine::stopAndGetFade(this, ActiveMusicChannel); *((_DWORD *)this + 134) = FMOD::ChannelControl::getDSPClock(v6, nullptr, &v8); ERRCHECK_fn(); *((_DWORD *)this + 134) = FMOD::ChannelControl::addFadePoint(v6, v8, 0.0); ERRCHECK_fn(); *((_DWORD *)this + 134) = FMOD::ChannelControl::addFadePoint( v6, (unsigned __int64)(float)((float)v8 + (float)((float)*((int *)this + 135) * a2)), 1.0); ERRCHECK_fn(); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source