{"type": "func", "start": 5369436704, "end": 5369436760, "name": "LevelCell::onViewProfile", "pseudocode": "// \n// LevelCell::onViewProfile from 0x1400b1a20 to 0x1400b1a58 (56 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x1400af291\n// > <???> @ 0x1406c7a1c\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 LevelCell::onViewProfile(LevelCell *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ecx\n  ProfilePage *v3; // rax\n\n  v2 = a1->m_level->m_accountID.random - a1->m_level->m_accountID.seed;\n  if ( v2 > 0 )\n  {\n    v3 = ProfilePage::create(v2, 0);\n    v3->show(v3);\n  }\n}", "assembly": "; \n; LevelCell::onViewProfile from 0x1400b1a20 to 0x1400b1a58 (56 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x1400af291\n; > <???> @ 0x1406c7a1c\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\nsub     rsp, 28h                                                       ; +0x0, 0x1400b1a20\nmov     rax, [rcx+238h]                                                ; +0x4, 0x1400b1a24\nmov     ecx, [rax+28Ch]                                                ; +0xb, 0x1400b1a2b\nsub     ecx, [rax+290h]                                                ; +0x11, 0x1400b1a31\ntest    ecx, ecx                                                       ; +0x17, 0x1400b1a37\njle     short loc_1400B1A53                                            ; +0x19, 0x1400b1a39\nxor     edx, edx                                                       ; +0x1b, 0x1400b1a3b\ncall    ProfilePage__create                                            ; +0x1d, 0x1400b1a3d\nmov     rcx, rax                                                       ; +0x22, 0x1400b1a42\nmov     rdx, [rax]                                                     ; +0x25, 0x1400b1a45\nadd     rsp, 28h                                                       ; +0x28, 0x1400b1a48\njmp     qword ptr [rdx+410h]                                           ; +0x2c, 0x1400b1a4c\nadd     rsp, 28h                                                       ; +0x33, 0x1400b1a53\nretn                                                                   ; +0x37, 0x1400b1a57", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x1400af291", "<???> @ 0x1406c7a1c"], "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"}