{"type": "func", "start": 4295021744, "end": 4295021882, "name": "EditorUI::updateEditMenu", "pseudocode": "// \n// EditorUI::updateEditMenu from 0x10000d4b0 to 0x10000d53a (138 bytes)\n// \n// 3 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c0d0\n// > EditorUI::setupEditMenu @ 0x1006390d7\n// > EditorUI::recreateButtonTabs @ 0x10063cd43\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 12:18:50 +0000\n// \n\nunsigned __int8 __fastcall EditorUI::updateEditMenu(__int64 a1)\n{\n  unsigned __int8 result; // al\n  __int64 v3; // rdi\n  __int64 v4; // rdi\n  __int64 v5; // rdi\n\n  if ( *(_BYTE *)(a1 + 1589) )\n  {\n    result = 0;\n    v3 = *(_QWORD *)(a1 + 1592);\n    if ( v3 )\n      goto LABEL_3;\n  }\n  else\n  {\n    result = *(_DWORD *)(a1 + 1436) == 3;\n    v3 = *(_QWORD *)(a1 + 1592);\n    if ( v3 )\n    {\nLABEL_3:\n      result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, result);\n      v4 = *(_QWORD *)(a1 + 832);\n      if ( v4 )\n        return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0);\n      return result;\n    }\n  }\n  v5 = *(_QWORD *)(a1 + 832);\n  if ( v5 )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, result);\n  return result;\n}", "assembly": "; \n; EditorUI::updateEditMenu from 0x10000d4b0 to 0x10000d53a (138 bytes)\n; \n; 3 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c0d0\n; > EditorUI::setupEditMenu @ 0x1006390d7\n; > EditorUI::recreateButtonTabs @ 0x10063cd43\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 12:18:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000d4b0\nmov     rbp, rsp                                                       ; +0x1, 0x10000d4b1\npush    rbx                                                            ; +0x4, 0x10000d4b4\npush    rax                                                            ; +0x5, 0x10000d4b5\nmov     rbx, rdi                                                       ; +0x6, 0x10000d4b6\ncmp     byte ptr [rdi+635h], 0                                         ; +0x9, 0x10000d4b9\njz      short loc_10000D4FC                                            ; +0x10, 0x10000d4c0\nxor     eax, eax                                                       ; +0x12, 0x10000d4c2\nmov     rdi, [rbx+638h]                                                ; +0x14, 0x10000d4c4\ntest    rdi, rdi                                                       ; +0x1b, 0x10000d4cb\njz      short loc_10000D512                                            ; +0x1e, 0x10000d4ce\nmov     rcx, [rdi]                                                     ; +0x20, 0x10000d4d0\nmovzx   esi, al                                                        ; +0x23, 0x10000d4d3\ncall    qword ptr [rcx+158h]                                           ; +0x26, 0x10000d4d6\nmov     rdi, [rbx+340h]                                                ; +0x2c, 0x10000d4dc\ntest    rdi, rdi                                                       ; +0x33, 0x10000d4e3\njz      short loc_10000D533                                            ; +0x36, 0x10000d4e6\nmov     rax, [rdi]                                                     ; +0x38, 0x10000d4e8\nmov     rax, [rax+158h]                                                ; +0x3b, 0x10000d4eb\nxor     esi, esi                                                       ; +0x42, 0x10000d4f2\nadd     rsp, 8                                                         ; +0x44, 0x10000d4f4\npop     rbx                                                            ; +0x48, 0x10000d4f8\npop     rbp                                                            ; +0x49, 0x10000d4f9\njmp     rax                                                            ; +0x4a, 0x10000d4fa\ncmp     dword ptr [rbx+59Ch], 3                                        ; +0x4c, 0x10000d4fc\nsetz    al                                                             ; +0x53, 0x10000d503\nmov     rdi, [rbx+638h]                                                ; +0x56, 0x10000d506\ntest    rdi, rdi                                                       ; +0x5d, 0x10000d50d\njnz     short loc_10000D4D0                                            ; +0x60, 0x10000d510\nmov     rdi, [rbx+340h]                                                ; +0x62, 0x10000d512\ntest    rdi, rdi                                                       ; +0x69, 0x10000d519\njz      short loc_10000D533                                            ; +0x6c, 0x10000d51c\nmov     rcx, [rdi]                                                     ; +0x6e, 0x10000d51e\nmov     rcx, [rcx+158h]                                                ; +0x71, 0x10000d521\nmovzx   esi, al                                                        ; +0x78, 0x10000d528\nadd     rsp, 8                                                         ; +0x7b, 0x10000d52b\npop     rbx                                                            ; +0x7f, 0x10000d52f\npop     rbp                                                            ; +0x80, 0x10000d530\njmp     rcx                                                            ; +0x81, 0x10000d531\nadd     rsp, 8                                                         ; +0x83, 0x10000d533\npop     rbx                                                            ; +0x87, 0x10000d537\npop     rbp                                                            ; +0x88, 0x10000d538\nretn                                                                   ; +0x89, 0x10000d539", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c0d0", "EditorUI::setupEditMenu @ 0x1006390d7", "EditorUI::recreateButtonTabs @ 0x10063cd43"], "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"}