// // SongInfoLayer::onPracticeMusic from 0x140494380 to 0x14049443b (187 bytes) // // 2 xrefs: // > SongInfoLayer::init @ 0x1404939e9 // > @ 0x1406dc14c // // 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 // // Hidden C++ exception states: #wind=4 void SongInfoLayer::onPracticeMusic(SongInfoLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rcx int m_songID; // eax void *v5; // [rsp+40h] [rbp+18h] void *v6; // [rsp+40h] [rbp+18h] if ( !qword_1406C2EE8 ) { v5 = operator new(0x3E0u); qword_1406C2EE8 = sub_1401D0AE0((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8); } if ( GameStatsManager::isItemUnlocked((GameStatsManager *)a1, GJItem, 16) ) { if ( a1->m_songID > 0 ) { v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } m_songID = a1->m_songID; if ( *(_DWORD *)(v3 + 1084) == m_songID ) m_songID = 0; *(_DWORD *)(v3 + 1084) = m_songID; } } else { SongInfoLayer::showCustomMusicUnlockInfo(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source