// // SongInfoLayer::onMenuMusic from 0x1003a8978 to 0x1003a8a0c (148 bytes) // // 1 xrefs: // > SongInfoLayer::init @ 0x1003a84fc // // 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 // void __fastcall SongInfoLayer::onMenuMusic(SongInfoLayer *a1, cocos2d::CCObject *a2) { GameStatsManager *v3; // x0 int m_customMenuSongID; // w20 int m_songID; // w21 GameManager *v6; // x0 int v7; // w8 GameManager *v8; // x0 v3 = GameStatsManager::sharedState(); if ( GameStatsManager::isItemUnlocked(v3, GJItem, 16) ) { if ( a1->m_songID >= 1 ) { m_customMenuSongID = GameManager::sharedState()->m_customMenuSongID; m_songID = a1->m_songID; v6 = GameManager::sharedState(); if ( m_customMenuSongID == m_songID ) v7 = 0; else v7 = a1->m_songID; v6->m_customMenuSongID = v7; v8 = GameManager::sharedState(); GameManager::fadeInMenuMusic(v8); } } else { SongInfoLayer::showCustomMusicUnlockInfo(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source