// // SongInfoLayer::onPracticeMusic from 0x42d956 to 0x42d9a0 (74 bytes) // // 0 xrefs: // // 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 SongInfoLayer::onPracticeMusic(SongInfoLayer *a1, cocos2d::CCObject *a2) { GameStatsManager *v3; // r0 GameManager *v4; // r0 int m_songID; // r3 v3 = GameStatsManager::sharedState(); if ( GameStatsManager::isItemUnlocked(v3, GJItem, 16) ) { if ( a1->m_songID > 0 ) { if ( GameManager::sharedState()->m_customPracticeSongID == a1->m_songID ) { v4 = GameManager::sharedState(); m_songID = 0; } else { v4 = GameManager::sharedState(); m_songID = a1->m_songID; } v4->m_customPracticeSongID = m_songID; } } else { SongInfoLayer::showCustomMusicUnlockInfo(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source