// // MenuLayer::onMyProfile from 0x1003919f0 to 0x100391a4a (90 bytes) // // 1 xrefs: // > MenuLayer::init @ 0x1003911a1 // // 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; // rax GameManager *v3; // rax GJAccountManager *v4; // rax ProfilePage *v5; // rax 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