// // GameManager::fadeInMenuMusic from 0x140276940 to 0x140276a2b (235 bytes) // // 15 xrefs: // > GameManager::returnToLastScene @ 0x140287620 // > GameSettingsLayer::dropDownLayerWillClose @ 0x1402c7e6a // > GauntletSelectLayer::unlockAnimationStep3 @ 0x140301024 // > GJShopLayer::onBack @ 0x1403b32d2 // > LevelAreaLayer::onBack @ 0x1403df64f // > LoadingLayer::loadAssets @ 0x14046a3f7 // > MenuLayer::init @ 0x14047215b // > OptionsLayer::onMenuMusic @ 0x1404cbb17 // > PlayLayer::onQuit @ 0x14051b326 // > SecretRewardsLayer::onBack @ 0x14056d890 // > SecretLayer::onBack @ 0x140577a27 // > SecretLayer2::onBack @ 0x14057f49b // > SecretLayer4::onBack @ 0x140588d6b // > SongInfoLayer::onMenuMusic @ 0x1406362f2 // > @ 0x14091cd78 // // This function is hookable on this platform (idp: pc, 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 11:28:56 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall GameManager::fadeInMenuMusic(__int64 a1) { __int64 v2; // rcx _QWORD *v3; // rbx __int64 v4; // rcx __int64 MenuMusicFile; // rax __int64 v7; // rcx _BYTE v8[40]; // [rsp+20h] [rbp-28h] BYREF void *v9; // [rsp+58h] [rbp+10h] void *v10; // [rsp+58h] [rbp+10h] v2 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v9 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = qword_14090BFD0; } if ( (unsigned __int8)GameManager::getGameVariable(v2, "0122") ) { v3 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v10 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v3 = (_QWORD *)qword_14090BF60; } v4 = v3[69]; if ( v4 ) FMOD::ChannelControl::stop(v4); sub_14003EB60(v3 + 137); sub_14003EB60(v3 + 145); return sub_14003EB60(v3 + 153); } else { MenuMusicFile = GameManager::getMenuMusicFile(a1, (__int64)v8); return GameManager::fadeInMusic(v7, MenuMusicFile); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source