{"type": "func", "start": 5370074400, "end": 5370074459, "name": "LevelCell::onViewProfile", "pseudocode": "// \n// LevelCell::onViewProfile from 0x14014d520 to 0x14014d55b (59 bytes)\n// \n// 2 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x14014a988\n// > <???> @ 0x140917654\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:16 +0000\n// \n\n__int64 __fastcall LevelCell::onViewProfile(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // rax\n\n  result = *(_QWORD *)(a1 + 568);\n  if ( *(_DWORD *)(result + 660) - *(_DWORD *)(result + 664) > 0 )\n  {\n    v2 = ProfilePage::create((unsigned int)(*(_DWORD *)(result + 660) - *(_DWORD *)(result + 664)), 0);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL))(v2);\n  }\n  return result;\n}", "assembly": "; \n; LevelCell::onViewProfile from 0x14014d520 to 0x14014d55b (59 bytes)\n; \n; 2 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x14014a988\n; > <???> @ 0x140917654\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:16 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x14014d520\nmov     rax, [rcx+238h]                                                ; +0x4, 0x14014d524\nmov     ecx, [rax+294h]                                                ; +0xb, 0x14014d52b\nsub     ecx, [rax+298h]                                                ; +0x11, 0x14014d531\ntest    ecx, ecx                                                       ; +0x17, 0x14014d537\njle     short loc_14014D556                                            ; +0x19, 0x14014d539\nxor     edx, edx                                                       ; +0x1b, 0x14014d53b\ncall    ProfilePage__create                                            ; +0x1d, 0x14014d53d\nmov     rcx, [rax]                                                     ; +0x22, 0x14014d542\nmov     rdx, [rcx+428h]                                                ; +0x25, 0x14014d545\nmov     rcx, rax                                                       ; +0x2c, 0x14014d54c\nadd     rsp, 28h                                                       ; +0x2f, 0x14014d54f\njmp     rdx                                                            ; +0x33, 0x14014d553\nadd     rsp, 28h                                                       ; +0x36, 0x14014d556\nretn                                                                   ; +0x3a, 0x14014d55a", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x14014a988", "<???> @ 0x140917654"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}