{"type": "func", "start": 4297416272, "end": 4297416320, "name": "GJLevelScoreCell::onViewProfile", "pseudocode": "// \n// GJLevelScoreCell::onViewProfile from 0x100255e50 to 0x100255e80 (48 bytes)\n// \n// 1 xrefs:\n// > GJLevelScoreCell::loadFromScore @ 0x10024b096\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 GJLevelScoreCell::onViewProfile(GJLevelScoreCell *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; GJLevelScoreCell::onViewProfile from 0x100255e50 to 0x100255e80 (48 bytes)\n; \n; 1 xrefs:\n; > GJLevelScoreCell::loadFromScore @ 0x10024b096\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, 0x100255e50\nmov     rbp, rsp                                                       ; +0x1, 0x100255e51\nmov     rax, [rdi+228h]                                                ; +0x4, 0x100255e54\ntest    rax, rax                                                       ; +0xb, 0x100255e5b\njz      short loc_100255E7E                                            ; +0xe, 0x100255e5e\nmov     edi, [rax+178h]                                                ; +0x10, 0x100255e60\ntest    edi, edi                                                       ; +0x16, 0x100255e66\njle     short loc_100255E7E                                            ; +0x18, 0x100255e68\nxor     esi, esi                                                       ; +0x1a, 0x100255e6a\ncall    ProfilePage__create                                            ; +0x1c, 0x100255e6c\nmov     rcx, [rax]                                                     ; +0x21, 0x100255e71\nmov     rdi, rax                                                       ; +0x24, 0x100255e74\npop     rbp                                                            ; +0x27, 0x100255e77\njmp     qword ptr [rcx+508h]                                           ; +0x28, 0x100255e78\npop     rbp                                                            ; +0x2e, 0x100255e7e\nretn                                                                   ; +0x2f, 0x100255e7f", "xrefs": ["GJLevelScoreCell::loadFromScore @ 0x10024b096"], "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"}