{"type": "func", "start": 5370536864, "end": 5370536966, "name": "EditorUI::closeLiveColorSelect", "pseudocode": "// \n// EditorUI::closeLiveColorSelect from 0x1401be3a0 to 0x1401be406 (102 bytes)\n// \n// 6 xrefs:\n// > EditorUI::editObject @ 0x1401bb464\n// > EditorUI::editColor @ 0x1401be1cf\n// > EditorUI::showLiveColorSelectForMode @ 0x1401be2df\n// > EditorUI::editHSV @ 0x1401be42f\n// > EditorUI::checkLiveColorSelect @ 0x1401c96f3\n// > <???> @ 0x14091a4c8\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:28:02 +0000\n// \n\n__int64 __fastcall EditorUI::closeLiveColorSelect(__int64 a1)\n{\n  __int64 *v1; // rbx\n  __int64 v3; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rdx\n  void (__fastcall ***v6)(_QWORD, __int64 *); // rcx\n  __int64 result; // rax\n\n  v1 = *(__int64 **)(a1 + 1616);\n  if ( v1 )\n  {\n    v3 = *v1;\n    v4 = *(_QWORD *)(a1 + 1616);\n    *((_BYTE *)v1 + 857) = 0;\n    (*(void (__fastcall **)(__int64, _QWORD))(v3 + 992))(v4, 0);\n    v6 = (void (__fastcall ***)(_QWORD, __int64 *))v1[92];\n    if ( v6 )\n      (**v6)(v6, v1);\n    LOBYTE(v5) = 1;\n    result = (*(__int64 (__fastcall **)(__int64 *, __int64))(*v1 + 520))(v1, v5);\n    *(_QWORD *)(a1 + 1616) = 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::closeLiveColorSelect from 0x1401be3a0 to 0x1401be406 (102 bytes)\n; \n; 6 xrefs:\n; > EditorUI::editObject @ 0x1401bb464\n; > EditorUI::editColor @ 0x1401be1cf\n; > EditorUI::showLiveColorSelectForMode @ 0x1401be2df\n; > EditorUI::editHSV @ 0x1401be42f\n; > EditorUI::checkLiveColorSelect @ 0x1401c96f3\n; > <???> @ 0x14091a4c8\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:28:02 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401be3a0\npush    rdi                                                            ; +0x5, 0x1401be3a5\nsub     rsp, 20h                                                       ; +0x6, 0x1401be3a6\nmov     rbx, [rcx+650h]                                                ; +0xa, 0x1401be3aa\nmov     rdi, rcx                                                       ; +0x11, 0x1401be3b1\ntest    rbx, rbx                                                       ; +0x14, 0x1401be3b4\njz      short loc_1401BE3FB                                            ; +0x17, 0x1401be3b7\nmov     rax, [rbx]                                                     ; +0x19, 0x1401be3b9\nxor     edx, edx                                                       ; +0x1c, 0x1401be3bc\nmov     rcx, rbx                                                       ; +0x1e, 0x1401be3be\nmov     byte ptr [rbx+359h], 0                                         ; +0x21, 0x1401be3c1\ncall    qword ptr [rax+3E0h]                                           ; +0x28, 0x1401be3c8\nmov     rcx, [rbx+2E0h]                                                ; +0x2e, 0x1401be3ce\ntest    rcx, rcx                                                       ; +0x35, 0x1401be3d5\njz      short loc_1401BE3E2                                            ; +0x38, 0x1401be3d8\nmov     rax, [rcx]                                                     ; +0x3a, 0x1401be3da\nmov     rdx, rbx                                                       ; +0x3d, 0x1401be3dd\ncall    qword ptr [rax]                                                ; +0x40, 0x1401be3e0\nmov     rax, [rbx]                                                     ; +0x42, 0x1401be3e2\nmov     dl, 1                                                          ; +0x45, 0x1401be3e5\nmov     rcx, rbx                                                       ; +0x47, 0x1401be3e7\ncall    qword ptr [rax+208h]                                           ; +0x4a, 0x1401be3ea\nmov     qword ptr [rdi+650h], 0                                        ; +0x50, 0x1401be3f0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x1401be3fb\nadd     rsp, 20h                                                       ; +0x60, 0x1401be400\npop     rdi                                                            ; +0x64, 0x1401be404\nretn                                                                   ; +0x65, 0x1401be405", "xrefs": ["EditorUI::editObject @ 0x1401bb464", "EditorUI::editColor @ 0x1401be1cf", "EditorUI::showLiveColorSelectForMode @ 0x1401be2df", "EditorUI::editHSV @ 0x1401be42f", "EditorUI::checkLiveColorSelect @ 0x1401c96f3", "<???> @ 0x14091a4c8"], "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"}