// // MenuLayer::onMyProfile from 0x100267b64 to 0x100267bc4 (96 bytes) // // 1 xrefs: // > MenuLayer::init @ 0x100267454 // // 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 __fastcall 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 ) { v3 = GameManager::sharedState(); GameManager::setGameVariable(v3, "0048", 1); v4 = GJAccountManager::sharedState(); v5 = ProfilePage::create(v4->m_accountID - v4->m_unkInt1, 1); ((void (__fastcall *)(ProfilePage *))v5->show)(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source