{"type": "func", "start": 5370537632, "end": 5370537734, "name": "EditorUI::closeLiveHSVSelect", "pseudocode": "// \n// EditorUI::closeLiveHSVSelect from 0x1401be6a0 to 0x1401be706 (102 bytes)\n// \n// 5 xrefs:\n// > EditorUI::editColor @ 0x1401be1d7\n// > EditorUI::showLiveColorSelectForMode @ 0x1401be2e7\n// > EditorUI::editHSV @ 0x1401be427\n// > EditorUI::checkLiveColorSelect @ 0x1401c9710\n// > <???> @ 0x14091a4e0\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::closeLiveHSVSelect(__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 + 1624);\n  if ( v1 )\n  {\n    v3 = *v1;\n    v4 = *(_QWORD *)(a1 + 1624);\n    *((_BYTE *)v1 + 730) = 0;\n    (*(void (__fastcall **)(__int64, _QWORD))(v3 + 992))(v4, 0);\n    v6 = (void (__fastcall ***)(_QWORD, __int64 *))v1[88];\n    if ( v6 )\n      (**v6)(v6, v1);\n    LOBYTE(v5) = 1;\n    result = (*(__int64 (__fastcall **)(__int64 *, __int64))(*v1 + 520))(v1, v5);\n    *(_QWORD *)(a1 + 1624) = 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::closeLiveHSVSelect from 0x1401be6a0 to 0x1401be706 (102 bytes)\n; \n; 5 xrefs:\n; > EditorUI::editColor @ 0x1401be1d7\n; > EditorUI::showLiveColorSelectForMode @ 0x1401be2e7\n; > EditorUI::editHSV @ 0x1401be427\n; > EditorUI::checkLiveColorSelect @ 0x1401c9710\n; > <???> @ 0x14091a4e0\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, 0x1401be6a0\npush    rdi                                                            ; +0x5, 0x1401be6a5\nsub     rsp, 20h                                                       ; +0x6, 0x1401be6a6\nmov     rbx, [rcx+658h]                                                ; +0xa, 0x1401be6aa\nmov     rdi, rcx                                                       ; +0x11, 0x1401be6b1\ntest    rbx, rbx                                                       ; +0x14, 0x1401be6b4\njz      short loc_1401BE6FB                                            ; +0x17, 0x1401be6b7\nmov     rax, [rbx]                                                     ; +0x19, 0x1401be6b9\nxor     edx, edx                                                       ; +0x1c, 0x1401be6bc\nmov     rcx, rbx                                                       ; +0x1e, 0x1401be6be\nmov     byte ptr [rbx+2DAh], 0                                         ; +0x21, 0x1401be6c1\ncall    qword ptr [rax+3E0h]                                           ; +0x28, 0x1401be6c8\nmov     rcx, [rbx+2C0h]                                                ; +0x2e, 0x1401be6ce\ntest    rcx, rcx                                                       ; +0x35, 0x1401be6d5\njz      short loc_1401BE6E2                                            ; +0x38, 0x1401be6d8\nmov     rax, [rcx]                                                     ; +0x3a, 0x1401be6da\nmov     rdx, rbx                                                       ; +0x3d, 0x1401be6dd\ncall    qword ptr [rax]                                                ; +0x40, 0x1401be6e0\nmov     rax, [rbx]                                                     ; +0x42, 0x1401be6e2\nmov     dl, 1                                                          ; +0x45, 0x1401be6e5\nmov     rcx, rbx                                                       ; +0x47, 0x1401be6e7\ncall    qword ptr [rax+208h]                                           ; +0x4a, 0x1401be6ea\nmov     qword ptr [rdi+658h], 0                                        ; +0x50, 0x1401be6f0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x1401be6fb\nadd     rsp, 20h                                                       ; +0x60, 0x1401be700\npop     rdi                                                            ; +0x64, 0x1401be704\nretn                                                                   ; +0x65, 0x1401be705", "xrefs": ["EditorUI::editColor @ 0x1401be1d7", "EditorUI::showLiveColorSelectForMode @ 0x1401be2e7", "EditorUI::editHSV @ 0x1401be427", "EditorUI::checkLiveColorSelect @ 0x1401c9710", "<???> @ 0x14091a4e0"], "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"}