// // SongInfoLayer::onMenuMusic from 0x53ae60 to 0x53aeb6 (86 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 // char **__fastcall SongInfoLayer::onMenuMusic(SongInfoLayer *this, cocos2d::CCObject *a2) { GameStatsManager *v3; // r0 char **result; // r0 GameManager *v5; // r0 GameManager *v6; // r0 int v7; // r3 GameManager *v8; // r0 int v9; // r1 int v10; // r2 int v11; // r3 v3 = (GameStatsManager *)GameStatsManager::sharedState(this); result = (char **)GameStatsManager::isItemUnlocked(v3, 12, 16); if ( !result ) return (char **)SongInfoLayer::showCustomMusicUnlockInfo(this); if ( *((int *)this + 136) > 0 ) { v5 = (GameManager *)GameManager::sharedState((GameManager *)result); if ( *((_DWORD *)v5 + 227) == *((_DWORD *)this + 136) ) { v6 = (GameManager *)GameManager::sharedState(v5); v7 = 0; } else { v6 = (GameManager *)GameManager::sharedState(v5); v7 = *((_DWORD *)this + 136); } *((_DWORD *)v6 + 227) = v7; v8 = (GameManager *)GameManager::sharedState(v6); return GameManager::fadeInMenuMusic(v8, v9, v10, v11); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source