// // SongInfoLayer::onPracticeMusic from 0x100601d20 to 0x100601da3 (131 bytes) // // 1 xrefs: // > SongInfoLayer::init @ 0x1006018db // // 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::onPracticeMusic(SongInfoLayer *a1, cocos2d::CCObject *a2) { GameStatsManager *v2; // rax int m_customPracticeSongID; // r14d int m_songID; // r15d GameManager *v5; // rax v2 = GameStatsManager::sharedState(); if ( GameStatsManager::isItemUnlocked(v2, GJItem, 16) ) { if ( a1->m_songID > 0 ) { m_customPracticeSongID = GameManager::sharedState()->m_customPracticeSongID; m_songID = a1->m_songID; v5 = GameManager::sharedState(); if ( m_customPracticeSongID == m_songID ) v5->m_customPracticeSongID = 0; else v5->m_customPracticeSongID = a1->m_songID; } } else { SongInfoLayer::showCustomMusicUnlockInfo(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source