{"type": "func", "start": 4300827184, "end": 4300827260, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x100596a30 to 0x100596a7c (76 bytes)\n// \n// 7 xrefs:\n// > EditorUI::editObject @ 0x10000944d\n// > EditorUI::closeLiveColorSelect @ 0x100018db7\n// > EditorUI::editHSV @ 0x1000198de\n// > EditorUI::editColor @ 0x100019a64\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x100019bd4\n// > EditorUI::showLiveColorSelectForMode @ 0x100019cdb\n// > ColorSelectLiveOverlay::init @ 0x100596329\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:32:29 +0000\n// \n\n__int64 __fastcall ColorSelectLiveOverlay::closeColorSelect(__int64 a1, __int64 a2)\n{\n  void (__fastcall ***v3)(_QWORD, __int64); // rdi\n\n  *(_BYTE *)(a1 + 857) = a2 != 0;\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  v3 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 736);\n  if ( v3 )\n    (**v3)(v3, a1);\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; ColorSelectLiveOverlay::closeColorSelect from 0x100596a30 to 0x100596a7c (76 bytes)\n; \n; 7 xrefs:\n; > EditorUI::editObject @ 0x10000944d\n; > EditorUI::closeLiveColorSelect @ 0x100018db7\n; > EditorUI::editHSV @ 0x1000198de\n; > EditorUI::editColor @ 0x100019a64\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x100019bd4\n; > EditorUI::showLiveColorSelectForMode @ 0x100019cdb\n; > ColorSelectLiveOverlay::init @ 0x100596329\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:32:29 +0000\n; \npush    rbp                                                            ; +0x0, 0x100596a30\nmov     rbp, rsp                                                       ; +0x1, 0x100596a31\npush    rbx                                                            ; +0x4, 0x100596a34\npush    rax                                                            ; +0x5, 0x100596a35\nmov     rbx, rdi                                                       ; +0x6, 0x100596a36\ntest    rsi, rsi                                                       ; +0x9, 0x100596a39\nsetnz   byte ptr [rdi+359h]                                            ; +0xc, 0x100596a3c\nmov     rax, [rdi]                                                     ; +0x13, 0x100596a43\nxor     esi, esi                                                       ; +0x16, 0x100596a46\ncall    qword ptr [rax+430h]                                           ; +0x18, 0x100596a48\nmov     rdi, [rbx+2E0h]                                                ; +0x1e, 0x100596a4e\ntest    rdi, rdi                                                       ; +0x25, 0x100596a55\njz      short loc_100596A62                                            ; +0x28, 0x100596a58\nmov     rax, [rdi]                                                     ; +0x2a, 0x100596a5a\nmov     rsi, rbx                                                       ; +0x2d, 0x100596a5d\ncall    qword ptr [rax]                                                ; +0x30, 0x100596a60\nmov     rax, [rbx]                                                     ; +0x32, 0x100596a62\nmov     rax, [rax+210h]                                                ; +0x35, 0x100596a65\nmov     rdi, rbx                                                       ; +0x3c, 0x100596a6c\nmov     esi, 1                                                         ; +0x3f, 0x100596a6f\nadd     rsp, 8                                                         ; +0x44, 0x100596a74\npop     rbx                                                            ; +0x48, 0x100596a78\npop     rbp                                                            ; +0x49, 0x100596a79\njmp     rax                                                            ; +0x4a, 0x100596a7a", "xrefs": ["EditorUI::editObject @ 0x10000944d", "EditorUI::closeLiveColorSelect @ 0x100018db7", "EditorUI::editHSV @ 0x1000198de", "EditorUI::editColor @ 0x100019a64", "EditorUI::showLiveColorSelectForModeSpecial @ 0x100019bd4", "EditorUI::showLiveColorSelectForMode @ 0x100019cdb", "ColorSelectLiveOverlay::init @ 0x100596329"], "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"}