// // MenuLayer::onMyProfile from 0x5c2230 to 0x5c2290 (96 bytes) // // 3 xrefs: // > @ 0xb48d0 // > MenuLayer::init @ 0x5c3838 // > @ 0x122e440 // // 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 MenuLayer::onMyProfile(MenuLayer *a1, cocos2d::CCObject *a2) { GJAccountManager *v2; // x0 GameManager *v3; // x0 GJAccountManager *v4; // x0 ProfilePage *v5; // x0 v2 = GJAccountManager::sharedState(); if ( v2->m_accountID - v2->m_unkInt1 > 0 ) { v3 = GameManager::sharedState(); GameManager::setGameVariable(v3, "0048", 1); v4 = GJAccountManager::sharedState(); v5 = ProfilePage::create(v4->m_accountID - v4->m_unkInt1, 1); v5->show(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source