{"type": "func", "start": 5369885168, "end": 5369885270, "name": "EditorUI::closeLiveHSVSelect", "pseudocode": "// \n// EditorUI::closeLiveHSVSelect from 0x14011f1f0 to 0x14011f256 (102 bytes)\n// \n// 5 xrefs:\n// > EditorUI::checkLiveColorSelect @ 0x140110660\n// > EditorUI::editColor @ 0x14011ede7\n// > EditorUI::showLiveColorSelectForMode @ 0x14011eef7\n// > EditorUI::editHSV @ 0x14011f025\n// > <???> @ 0x1406c9528\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 EditorUI::closeLiveHSVSelect(EditorUI *a1)\n{\n  HSVLiveOverlay *m_hsvOverlay; // rbx\n  HSVLiveOverlay_vtbl *v3; // rax\n  HSVLiveOverlay *v4; // rcx\n  _BOOL8 v5; // rdx\n  ColorSelectDelegate *m_delegate; // rcx\n\n  m_hsvOverlay = a1->m_hsvOverlay;\n  if ( m_hsvOverlay )\n  {\n    v3 = m_hsvOverlay->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v4 = a1->m_hsvOverlay;\n    m_hsvOverlay->m_unkBool3 = 0;\n    v3->setKeypadEnabled(v4, 0);\n    m_delegate = m_hsvOverlay->m_delegate;\n    if ( m_delegate )\n      m_delegate->colorSelectClosed(m_delegate, m_hsvOverlay);\n    LOBYTE(v5) = 1;\n    m_hsvOverlay->removeFromParentAndCleanup(m_hsvOverlay, v5);\n    a1->m_hsvOverlay = nullptr;\n  }\n}", "assembly": "; \n; EditorUI::closeLiveHSVSelect from 0x14011f1f0 to 0x14011f256 (102 bytes)\n; \n; 5 xrefs:\n; > EditorUI::checkLiveColorSelect @ 0x140110660\n; > EditorUI::editColor @ 0x14011ede7\n; > EditorUI::showLiveColorSelectForMode @ 0x14011eef7\n; > EditorUI::editHSV @ 0x14011f025\n; > <???> @ 0x1406c9528\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14011f1f0\npush    rdi                                                            ; +0x5, 0x14011f1f5\nsub     rsp, 20h                                                       ; +0x6, 0x14011f1f6\nmov     rbx, [rcx+568h]                                                ; +0xa, 0x14011f1fa\nmov     rdi, rcx                                                       ; +0x11, 0x14011f201\ntest    rbx, rbx                                                       ; +0x14, 0x14011f204\njz      short loc_14011F24B                                            ; +0x17, 0x14011f207\nmov     rax, [rbx]                                                     ; +0x19, 0x14011f209\nxor     edx, edx                                                       ; +0x1c, 0x14011f20c\nmov     rcx, rbx                                                       ; +0x1e, 0x14011f20e\nmov     byte ptr [rbx+2BAh], 0                                         ; +0x21, 0x14011f211\ncall    qword ptr [rax+3D0h]                                           ; +0x28, 0x14011f218\nmov     rcx, [rbx+2A0h]                                                ; +0x2e, 0x14011f21e\ntest    rcx, rcx                                                       ; +0x35, 0x14011f225\njz      short loc_14011F232                                            ; +0x38, 0x14011f228\nmov     rax, [rcx]                                                     ; +0x3a, 0x14011f22a\nmov     rdx, rbx                                                       ; +0x3d, 0x14011f22d\ncall    qword ptr [rax]                                                ; +0x40, 0x14011f230\nmov     rax, [rbx]                                                     ; +0x42, 0x14011f232\nmov     dl, 1                                                          ; +0x45, 0x14011f235\nmov     rcx, rbx                                                       ; +0x47, 0x14011f237\ncall    qword ptr [rax+1F8h]                                           ; +0x4a, 0x14011f23a\nmov     qword ptr [rdi+568h], 0                                        ; +0x50, 0x14011f240\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x14011f24b\nadd     rsp, 20h                                                       ; +0x60, 0x14011f250\npop     rdi                                                            ; +0x64, 0x14011f254\nretn                                                                   ; +0x65, 0x14011f255", "xrefs": ["EditorUI::checkLiveColorSelect @ 0x140110660", "EditorUI::editColor @ 0x14011ede7", "EditorUI::showLiveColorSelectForMode @ 0x14011eef7", "EditorUI::editHSV @ 0x14011f025", "<???> @ 0x1406c9528"], "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"}