{"type": "func", "start": 4295026544, "end": 4295026744, "name": "EditorUI::toggleTraceSelected", "pseudocode": "// \n// EditorUI::toggleTraceSelected from 0x10000e770 to 0x10000e838 (200 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c962\n// > EditorUI::handleEditorAction @ 0x10060cad9\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:51 +0000\n// \n\nbool __fastcall EditorUI::toggleTraceSelected(_QWORD *a1, char a2)\n{\n  int v2; // eax\n  __int64 v4; // rcx\n  __int64 v5; // rdx\n  __int64 v6; // rsi\n  __int64 v7; // rdx\n  __int64 v8; // rsi\n\n  v2 = sub_1007FEF90(a1[112]);\n  if ( !v2 )\n  {\n    v4 = a1[187];\n    if ( a2 )\n    {\n      v5 = a1[180];\n      if ( v4 )\n      {\n        v6 = *(_QWORD *)(v5 + 14824);\n        if ( v6 && *(_DWORD *)(v6 + 916) == *(_DWORD *)(v4 + 916) )\n          v4 = 0;\n        *(_QWORD *)(v5 + 14824) = v4;\n      }\n      else\n      {\n        *(_QWORD *)(v5 + 14824) = 0;\n      }\n    }\n    else if ( v4 && *(_DWORD *)(v4 + 1248) == 1 )\n    {\n      v7 = a1[180];\n      v8 = *(_QWORD *)(v7 + 14832);\n      if ( v8 && *(_DWORD *)(v8 + 916) == *(_DWORD *)(v4 + 916) )\n        v4 = 0;\n      *(_QWORD *)(v7 + 14832) = v4;\n    }\n    else\n    {\n      *(_QWORD *)(a1[180] + 14832LL) = 0;\n    }\n  }\n  return v2 == 0;\n}", "assembly": "; \n; EditorUI::toggleTraceSelected from 0x10000e770 to 0x10000e838 (200 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c962\n; > EditorUI::handleEditorAction @ 0x10060cad9\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:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000e770\nmov     rbp, rsp                                                       ; +0x1, 0x10000e771\npush    r14                                                            ; +0x4, 0x10000e774\npush    rbx                                                            ; +0x6, 0x10000e776\nmov     r14d, esi                                                      ; +0x7, 0x10000e777\nmov     rbx, rdi                                                       ; +0xa, 0x10000e77a\nmov     rdi, [rdi+380h]                                                ; +0xd, 0x10000e77d\ncall    sub_1007FEF90                                                  ; +0x14, 0x10000e784\ntest    eax, eax                                                       ; +0x19, 0x10000e789\njz      short loc_10000E797                                            ; +0x1b, 0x10000e78b\ntest    eax, eax                                                       ; +0x1d, 0x10000e78d\nsetz    al                                                             ; +0x1f, 0x10000e78f\npop     rbx                                                            ; +0x22, 0x10000e792\npop     r14                                                            ; +0x23, 0x10000e793\npop     rbp                                                            ; +0x25, 0x10000e795\nretn                                                                   ; +0x26, 0x10000e796\nmov     rcx, [rbx+5D8h]                                                ; +0x27, 0x10000e797\ntest    r14b, r14b                                                     ; +0x2e, 0x10000e79e\njz      short loc_10000E7D4                                            ; +0x31, 0x10000e7a1\nmov     rdx, [rbx+5A0h]                                                ; +0x33, 0x10000e7a3\ntest    rcx, rcx                                                       ; +0x3a, 0x10000e7aa\njz      short loc_10000E828                                            ; +0x3d, 0x10000e7ad\nmov     rsi, [rdx+39E8h]                                               ; +0x3f, 0x10000e7af\ntest    rsi, rsi                                                       ; +0x46, 0x10000e7b6\njz      short loc_10000E7CB                                            ; +0x49, 0x10000e7b9\nmov     esi, [rsi+394h]                                                ; +0x4b, 0x10000e7bb\ncmp     esi, [rcx+394h]                                                ; +0x51, 0x10000e7c1\njnz     short loc_10000E7CB                                            ; +0x57, 0x10000e7c7\nxor     ecx, ecx                                                       ; +0x59, 0x10000e7c9\nmov     [rdx+39E8h], rcx                                               ; +0x5b, 0x10000e7cb\njmp     short loc_10000E78D                                            ; +0x62, 0x10000e7d2\ntest    rcx, rcx                                                       ; +0x64, 0x10000e7d4\njz      short loc_10000E811                                            ; +0x67, 0x10000e7d7\ncmp     dword ptr [rcx+4E0h], 1                                        ; +0x69, 0x10000e7d9\njnz     short loc_10000E811                                            ; +0x70, 0x10000e7e0\nmov     rdx, [rbx+5A0h]                                                ; +0x72, 0x10000e7e2\nmov     rsi, [rdx+39F0h]                                               ; +0x79, 0x10000e7e9\ntest    rsi, rsi                                                       ; +0x80, 0x10000e7f0\njz      short loc_10000E805                                            ; +0x83, 0x10000e7f3\nmov     esi, [rsi+394h]                                                ; +0x85, 0x10000e7f5\ncmp     esi, [rcx+394h]                                                ; +0x8b, 0x10000e7fb\njnz     short loc_10000E805                                            ; +0x91, 0x10000e801\nxor     ecx, ecx                                                       ; +0x93, 0x10000e803\nmov     [rdx+39F0h], rcx                                               ; +0x95, 0x10000e805\njmp     loc_10000E78D                                                  ; +0x9c, 0x10000e80c\nmov     rcx, [rbx+5A0h]                                                ; +0xa1, 0x10000e811\nmov     qword ptr [rcx+39F0h], 0                                       ; +0xa8, 0x10000e818\njmp     loc_10000E78D                                                  ; +0xb3, 0x10000e823\nmov     qword ptr [rdx+39E8h], 0                                       ; +0xb8, 0x10000e828\njmp     loc_10000E78D                                                  ; +0xc3, 0x10000e833", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c962", "EditorUI::handleEditorAction @ 0x10060cad9"], "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"}