{"type": "func", "start": 8144240, "end": 8144368, "name": "EditorUI::updateEditMenu", "pseudocode": "// \n// EditorUI::updateEditMenu from 0x7c4570 to 0x7c45f0 (128 bytes)\n// \n// 7 xrefs:\n// > EditorUI::resetUI @ 0x7ce4a8\n// > EditorUI::onShowUIBtn @ 0x7ce658\n// > EditorUI::clickOnPosition @ 0x7d1cf8\n// > EditorUI::handleEditorAction @ 0xbd7814\n// > EditorUI::setupEditMenu @ 0xbe1fec\n// > EditorUI::recreateButtonTabs @ 0xbe2134\n// > <???> @ 0x424d8\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 12:54:08 +0000\n// \n\n__int64 __fastcall EditorUI::updateEditMenu(EditorUI *this)\n{\n  _BOOL8 v1; // x1\n  __int64 v3; // x0\n  __int64 result; // x0\n\n  v1 = 0;\n  if ( !*((_BYTE *)this + 1589) )\n    v1 = *((_DWORD *)this + 359) == 3;\n  v3 = *((_QWORD *)this + 199);\n  if ( v3 )\n  {\n    (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v3 + 344LL))(v3, v1);\n    result = *((_QWORD *)this + 104);\n    if ( result )\n      return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)result + 344LL))(result, 0);\n  }\n  else\n  {\n    result = *((_QWORD *)this + 104);\n    if ( result )\n      return (*(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)result + 344LL))(result, v1);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::updateEditMenu from 0x7c4570 to 0x7c45f0 (128 bytes)\n; \n; 7 xrefs:\n; > EditorUI::resetUI @ 0x7ce4a8\n; > EditorUI::onShowUIBtn @ 0x7ce658\n; > EditorUI::clickOnPosition @ 0x7d1cf8\n; > EditorUI::handleEditorAction @ 0xbd7814\n; > EditorUI::setupEditMenu @ 0xbe1fec\n; > EditorUI::recreateButtonTabs @ 0xbe2134\n; > <???> @ 0x424d8\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 12:54:08 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x7c4570\nMOV             W1, #0                                                 ; +0x4, 0x7c4574\nMOV             X29, SP                                                ; +0x8, 0x7c4578\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x7c457c\nMOV             X19, X0                                                ; +0x10, 0x7c4580\nLDRB            W0, [X0,#0x635]                                        ; +0x14, 0x7c4584\nCBNZ            W0, loc_7C4598                                         ; +0x18, 0x7c4588\nLDR             W0, [X19,#0x59C]                                       ; +0x1c, 0x7c458c\nCMP             W0, #3                                                 ; +0x20, 0x7c4590\nCSET            W1, EQ                                                 ; +0x24, 0x7c4594\nLDR             X0, [X19,#0x638]                                       ; +0x28, 0x7c4598\nCBZ             X0, loc_7C45D0                                         ; +0x2c, 0x7c459c\nLDR             X2, [X0]                                               ; +0x30, 0x7c45a0\nLDR             X2, [X2,#0x158]                                        ; +0x34, 0x7c45a4\nBLR             X2                                                     ; +0x38, 0x7c45a8\nLDR             X0, [X19,#0x340]                                       ; +0x3c, 0x7c45ac\nCBZ             X0, loc_7C45C4                                         ; +0x40, 0x7c45b0\nLDR             X2, [X0]                                               ; +0x44, 0x7c45b4\nMOV             W1, #0                                                 ; +0x48, 0x7c45b8\nLDR             X2, [X2,#0x158]                                        ; +0x4c, 0x7c45bc\nBLR             X2                                                     ; +0x50, 0x7c45c0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x7c45c4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x7c45c8\nRET                                                                    ; +0x5c, 0x7c45cc\nLDR             X0, [X19,#0x340]                                       ; +0x60, 0x7c45d0\nCBZ             X0, loc_7C45C4                                         ; +0x64, 0x7c45d4\nLDR             X2, [X0]                                               ; +0x68, 0x7c45d8\nLDR             X2, [X2,#0x158]                                        ; +0x6c, 0x7c45dc\nBLR             X2                                                     ; +0x70, 0x7c45e0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x74, 0x7c45e4\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x78, 0x7c45e8\nRET                                                                    ; +0x7c, 0x7c45ec", "xrefs": ["EditorUI::resetUI @ 0x7ce4a8", "EditorUI::onShowUIBtn @ 0x7ce658", "EditorUI::clickOnPosition @ 0x7d1cf8", "EditorUI::handleEditorAction @ 0xbd7814", "EditorUI::setupEditMenu @ 0xbe1fec", "EditorUI::recreateButtonTabs @ 0xbe2134", "<???> @ 0x424d8"], "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"}