// // GameManager::fadeInMusic from 0x140276a30 to 0x140276b49 (281 bytes) // // 11 xrefs: // > GameManager::fadeInMenuMusic @ 0x140276a20 // > GJShopLayer::onBack @ 0x1403b3284 // > LevelAreaLayer::init @ 0x1403dd778 // > LevelAreaInnerLayer::tryResumeTowerMusic @ 0x1403e14dd // > SecretRewardsLayer::init @ 0x140568277 // > SecretLayer::init @ 0x140572553 // > SecretLayer2::init @ 0x140577f21 // > SecretLayer3::init @ 0x14057fb8e // > SecretLayer4::init @ 0x140585442 // > SecretLayer5::init @ 0x1405897f0 // > @ 0x14091cd84 // // 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=5 void __fastcall GameManager::fadeInMusic(__int64 a1, __int64 a2) { _QWORD *v3; // rdi _QWORD *v4; // rcx __int64 v5; // rdi _QWORD *v6; // rcx void *v7; // [rsp+30h] [rbp-48h] void *v8; // [rsp+38h] [rbp-40h] _BYTE v9[32]; // [rsp+40h] [rbp-38h] BYREF __int64 v10; // [rsp+60h] [rbp-18h] v10 = a2; if ( *(_QWORD *)(a2 + 16) ) { v3 = (_QWORD *)sub_14003F4F0((__int64)v9, a2); v4 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v8 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v4 = (_QWORD *)qword_14090BF60; } if ( !FMODAudioEngine::isMusicPlaying(v4, v3) ) { v5 = sub_14003F4F0((__int64)v9, a2); v6 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v7 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v6 = (_QWORD *)qword_14090BF60; } FMODAudioEngine::playMusic(v6, v5, 1, 1.0); } } sub_14003D310(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source