{"type": "func", "start": 4296239416, "end": 4296239476, "name": "LevelCell::onViewProfile", "pseudocode": "// \n// LevelCell::onViewProfile from 0x100136938 to 0x100136974 (60 bytes)\n// \n// 1 xrefs:\n// > LevelCell::loadCustomLevelCell @ 0x1001345c8\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n// \n\n__int64 __fastcall LevelCell::onViewProfile(__int64 a1)\n{\n  __int64 result; // x0\n  __int64 v2; // x0\n\n  result = (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 560) + 588LL) - *(_DWORD *)(*(_QWORD *)(a1 + 560) + 592LL));\n  if ( (int)result >= 1 )\n  {\n    v2 = ProfilePage::create(result, 0);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n  }\n  return result;\n}", "assembly": "; \n; LevelCell::onViewProfile from 0x100136938 to 0x100136974 (60 bytes)\n; \n; 1 xrefs:\n; > LevelCell::loadCustomLevelCell @ 0x1001345c8\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:27 +0000\n; \nLDR             X8, [X0,#0x230]                                        ; +0x0, 0x100136938\nLDR             W9, [X8,#0x24C]                                        ; +0x4, 0x10013693c\nLDR             W8, [X8,#0x250]                                        ; +0x8, 0x100136940\nSUB             W0, W9, W8                                             ; +0xc, 0x100136944\nCMP             W0, #1                                                 ; +0x10, 0x100136948\nB.LT            locret_100136970                                       ; +0x14, 0x10013694c\nSTP             X29, X30, [SP,#var_10]!                                ; +0x18, 0x100136950\nMOV             X29, SP                                                ; +0x1c, 0x100136954\nMOV             W1, #0                                                 ; +0x20, 0x100136958\nBL              ProfilePage__create                                    ; +0x24, 0x10013695c\nLDR             X8, [X0]                                               ; +0x28, 0x100136960\nLDR             X1, [X8,#0x520]                                        ; +0x2c, 0x100136964\nLDP             X29, X30, [SP+0x10+var_10],#0x10                       ; +0x30, 0x100136968\nBR              X1                                                     ; +0x34, 0x10013696c\nRET                                                                    ; +0x38, 0x100136970", "xrefs": ["LevelCell::loadCustomLevelCell @ 0x1001345c8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}