// // MenuLayer::onMyProfile from 0x1404742c0 to 0x140474357 (151 bytes) // // 2 xrefs: // > MenuLayer::init @ 0x1404734a3 // > @ 0x140928238 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:32:40 +0000 // // Hidden C++ exception states: #wind=1 __int64 MenuLayer::onMyProfile() { __int64 result; // rax __int64 v1; // rcx __int64 v2; // rax __int64 v3; // rdx __int64 v4; // rax void *v5; // [rsp+40h] [rbp+18h] result = GJAccountManager::sharedState(); if ( *(_DWORD *)(result + 360) - *(_DWORD *)(result + 364) > 0 ) { v1 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v5 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v1 = qword_14090BFD0; } GameManager::setGameVariable(v1, "0048", 1u); v2 = GJAccountManager::sharedState(); LOBYTE(v3) = 1; v4 = ProfilePage::create((unsigned int)(*(_DWORD *)(v2 + 360) - *(_DWORD *)(v2 + 364)), v3); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source