// // SongInfoLayer::onPracticeMusic from 0x90405c to 0x9040e0 (132 bytes) // // 3 xrefs: // > @ 0xa5640 // > SongInfoLayer::init @ 0x904fcc // > @ 0x1544a00 // // This function is hookable on this platform (idp: arm, 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:57:08 +0000 // __int64 __fastcall SongInfoLayer::onPracticeMusic(SongInfoLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x0 __int64 result; // x0 GameManager *v5; // x0 v3 = GameStatsManager::sharedState(this); if ( !(unsigned __int8)GameStatsManager::isItemUnlocked(v3, 0xCu, 0x10u) ) return SongInfoLayer::showCustomMusicUnlockInfo(this); result = *((unsigned int *)this + 178); if ( (int)result > 0 ) { v5 = (GameManager *)*(unsigned int *)(GameManager::sharedState((GameManager *)result) + 1144); if ( (_DWORD)v5 == *((_DWORD *)this + 178) ) { result = GameManager::sharedState(v5); *(_DWORD *)(result + 1144) = 0; } else { result = GameManager::sharedState(v5); *(_DWORD *)(result + 1144) = *((_DWORD *)this + 178); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source