// // MenuLayer::onMyProfile from 0x10037c710 to 0x10037c76a (90 bytes) // // 1 xrefs: // > MenuLayer::init @ 0x10037bda8 // // 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 12:29:06 +0000 // __int64 __fastcall MenuLayer::onMyProfile(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v3; // rdi __int64 v4; // rax __int64 v5; // rax result = GJAccountManager::sharedState(a1, a2); if ( *(_DWORD *)(result + 352) > *(_DWORD *)(result + 356) ) { v3 = GameManager::sharedState(); GameManager::setGameVariable(v3, "0048"); v4 = GJAccountManager::sharedState(v3, (__int64)"0048"); v5 = ProfilePage::create((unsigned int)(*(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)), 1); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source