{"type": "func", "start": 4297417744, "end": 4297417792, "name": "GJUserCell::onViewProfile", "pseudocode": "// \n// GJUserCell::onViewProfile from 0x100256410 to 0x100256440 (48 bytes)\n// \n// 1 xrefs:\n// > GJUserCell::loadFromScore @ 0x10024bd6c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJUserCell::onViewProfile(GJUserCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_userScore; // rax\n  int m_accountID; // edi\n  ProfilePage *v4; // rax\n\n  m_userScore = a1->m_userScore;\n  if ( m_userScore )\n  {\n    m_accountID = m_userScore->m_accountID;\n    if ( m_accountID > 0 )\n    {\n      v4 = ProfilePage::create(m_accountID, 0);\n      ((void (__fastcall *)(ProfilePage *))v4->show)(v4);\n    }\n  }\n}", "assembly": "; \n; GJUserCell::onViewProfile from 0x100256410 to 0x100256440 (48 bytes)\n; \n; 1 xrefs:\n; > GJUserCell::loadFromScore @ 0x10024bd6c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100256410\nmov     rbp, rsp                                                       ; +0x1, 0x100256411\nmov     rax, [rdi+240h]                                                ; +0x4, 0x100256414\ntest    rax, rax                                                       ; +0xb, 0x10025641b\njz      short loc_10025643E                                            ; +0xe, 0x10025641e\nmov     edi, [rax+178h]                                                ; +0x10, 0x100256420\ntest    edi, edi                                                       ; +0x16, 0x100256426\njle     short loc_10025643E                                            ; +0x18, 0x100256428\nxor     esi, esi                                                       ; +0x1a, 0x10025642a\ncall    ProfilePage__create                                            ; +0x1c, 0x10025642c\nmov     rcx, [rax]                                                     ; +0x21, 0x100256431\nmov     rdi, rax                                                       ; +0x24, 0x100256434\npop     rbp                                                            ; +0x27, 0x100256437\njmp     qword ptr [rcx+508h]                                           ; +0x28, 0x100256438\npop     rbp                                                            ; +0x2e, 0x10025643e\nretn                                                                   ; +0x2f, 0x10025643f", "xrefs": ["GJUserCell::loadFromScore @ 0x10024bd6c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}