{"type": "func", "start": 4297502016, "end": 4297502092, "name": "HSVLiveOverlay::closeColorSelect", "pseudocode": "// \n// HSVLiveOverlay::closeColorSelect from 0x10026ad40 to 0x10026ad8c (76 bytes)\n// \n// 7 xrefs:\n// > EditorUI::checkLiveColorSelect @ 0x10003c721\n// > EditorUI::editColor @ 0x10003c872\n// > EditorUI::closeLiveHSVSelect @ 0x10003c977\n// > EditorUI::editHSV @ 0x10003c9ac\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ee2\n// > EditorUI::showLiveColorSelectForMode @ 0x100049fe9\n// > HSVLiveOverlay::init @ 0x10026aa0a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall HSVLiveOverlay::closeColorSelect(HSVLiveOverlay *a1, cocos2d::CCObject *a2)\n{\n  ColorSelectDelegate *m_delegate; // rdi\n\n  a1->m_unkBool3 = a2 != nullptr;\n  ((void (__fastcall *)(HSVLiveOverlay *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(ColorSelectDelegate *, HSVLiveOverlay *))m_delegate->colorSelectClosed)(m_delegate, a1);\n  ((void (__fastcall *)(HSVLiveOverlay *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; HSVLiveOverlay::closeColorSelect from 0x10026ad40 to 0x10026ad8c (76 bytes)\n; \n; 7 xrefs:\n; > EditorUI::checkLiveColorSelect @ 0x10003c721\n; > EditorUI::editColor @ 0x10003c872\n; > EditorUI::closeLiveHSVSelect @ 0x10003c977\n; > EditorUI::editHSV @ 0x10003c9ac\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ee2\n; > EditorUI::showLiveColorSelectForMode @ 0x100049fe9\n; > HSVLiveOverlay::init @ 0x10026aa0a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10026ad40\nmov     rbp, rsp                                                       ; +0x1, 0x10026ad41\npush    rbx                                                            ; +0x4, 0x10026ad44\npush    rax                                                            ; +0x5, 0x10026ad45\nmov     rbx, rdi                                                       ; +0x6, 0x10026ad46\ntest    rsi, rsi                                                       ; +0x9, 0x10026ad49\nsetnz   byte ptr [rdi+2BAh]                                            ; +0xc, 0x10026ad4c\nmov     rax, [rdi]                                                     ; +0x13, 0x10026ad53\nxor     esi, esi                                                       ; +0x16, 0x10026ad56\ncall    qword ptr [rax+420h]                                           ; +0x18, 0x10026ad58\nmov     rdi, [rbx+2A0h]                                                ; +0x1e, 0x10026ad5e\ntest    rdi, rdi                                                       ; +0x25, 0x10026ad65\njz      short loc_10026AD72                                            ; +0x28, 0x10026ad68\nmov     rax, [rdi]                                                     ; +0x2a, 0x10026ad6a\nmov     rsi, rbx                                                       ; +0x2d, 0x10026ad6d\ncall    qword ptr [rax]                                                ; +0x30, 0x10026ad70\nmov     rax, [rbx]                                                     ; +0x32, 0x10026ad72\nmov     rax, [rax+200h]                                                ; +0x35, 0x10026ad75\nmov     rdi, rbx                                                       ; +0x3c, 0x10026ad7c\nmov     esi, 1                                                         ; +0x3f, 0x10026ad7f\nadd     rsp, 8                                                         ; +0x44, 0x10026ad84\npop     rbx                                                            ; +0x48, 0x10026ad88\npop     rbp                                                            ; +0x49, 0x10026ad89\njmp     rax                                                            ; +0x4a, 0x10026ad8a", "xrefs": ["EditorUI::checkLiveColorSelect @ 0x10003c721", "EditorUI::editColor @ 0x10003c872", "EditorUI::closeLiveHSVSelect @ 0x10003c977", "EditorUI::editHSV @ 0x10003c9ac", "EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ee2", "EditorUI::showLiveColorSelectForMode @ 0x100049fe9", "HSVLiveOverlay::init @ 0x10026aa0a"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}