// // SongInfoLayer::onPracticeMusic from 0x53aeb6 to 0x53af00 (74 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:52:14 +0000 // GameManager *__fastcall SongInfoLayer::onPracticeMusic(SongInfoLayer *this, cocos2d::CCObject *a2) { GameStatsManager *v3; // r0 GameManager *result; // r0 GameManager *v5; // r0 int v6; // r3 v3 = (GameStatsManager *)GameStatsManager::sharedState(this); result = (GameManager *)GameStatsManager::isItemUnlocked(v3, 12, 16); if ( !result ) return (GameManager *)SongInfoLayer::showCustomMusicUnlockInfo(this); if ( *((int *)this + 136) > 0 ) { v5 = (GameManager *)GameManager::sharedState(result); if ( *((_DWORD *)v5 + 228) == *((_DWORD *)this + 136) ) { result = (GameManager *)GameManager::sharedState(v5); v6 = 0; } else { result = (GameManager *)GameManager::sharedState(v5); v6 = *((_DWORD *)this + 136); } *((_DWORD *)result + 228) = v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source