// // SongInfoLayer::onMenuMusic from 0x1006d9500 to 0x1006d9590 (144 bytes) // // 1 xrefs: // > SongInfoLayer::init @ 0x1006d8da0 // // 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 12:35:41 +0000 // void __fastcall SongInfoLayer::onMenuMusic(__int64 a1, double a2) { __int64 v2; // rax int v3; // r14d int v4; // r15d __int64 v5; // rax int v6; // ecx __int64 v7; // rax v2 = GameStatsManager::sharedState(); if ( (unsigned __int8)GameStatsManager::isItemUnlocked(v2, 12, 0x10u) ) { if ( *(int *)(a1 + 712) > 0 ) { v3 = *(_DWORD *)(GameManager::sharedState() + 1140); v4 = *(_DWORD *)(a1 + 712); v5 = GameManager::sharedState(); v6 = 0; if ( v3 != v4 ) v6 = *(_DWORD *)(a1 + 712); *(_DWORD *)(v5 + 1140) = v6; v7 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v7, a2); } } else { SongInfoLayer::showCustomMusicUnlockInfo(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source