// // MenuLayer::onMyProfile from 0x1403355e0 to 0x140335671 (145 bytes) // // 2 xrefs: // > MenuLayer::init @ 0x140334c5e // > @ 0x1406d5138 // // 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 // // Hidden C++ exception states: #wind=1 void MenuLayer::onMyProfile(MenuLayer *a1, cocos2d::CCObject *a2) { GJAccountManager *v2; // rax GameManager *v3; // rcx GJAccountManager *v4; // rax ProfilePage *v5; // rax void *v6; // [rsp+40h] [rbp+18h] v2 = GJAccountManager::sharedState(); if ( v2->m_accountID - v2->m_unkInt1 > 0 ) { v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } 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