{"type": "func", "start": 4300643248, "end": 4300643324, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x100569bb0 to 0x100569bfc (76 bytes)\n// \n// 8 xrefs:\n// > EditorUI::editObject @ 0x10002aec2\n// > EditorUI::checkLiveColorSelect @ 0x10003c67c\n// > EditorUI::closeLiveColorSelect @ 0x10003c7d7\n// > EditorUI::editColor @ 0x10003c854\n// > EditorUI::editHSV @ 0x10003c9ca\n// > EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ec4\n// > EditorUI::showLiveColorSelectForMode @ 0x100049fcb\n// > ColorSelectLiveOverlay::init @ 0x1005694a9\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 ColorSelectLiveOverlay::closeColorSelect(ColorSelectLiveOverlay *a1, cocos2d::CCObject *a2)\n{\n  ColorSelectDelegate *m_delegate; // rdi\n\n  a1->m_closeButtonPressed = a2 != nullptr;\n  ((void (__fastcall *)(ColorSelectLiveOverlay *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(ColorSelectDelegate *, ColorSelectLiveOverlay *))m_delegate->colorSelectClosed)(\n      m_delegate,\n      a1);\n  ((void (__fastcall *)(ColorSelectLiveOverlay *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; ColorSelectLiveOverlay::closeColorSelect from 0x100569bb0 to 0x100569bfc (76 bytes)\n; \n; 8 xrefs:\n; > EditorUI::editObject @ 0x10002aec2\n; > EditorUI::checkLiveColorSelect @ 0x10003c67c\n; > EditorUI::closeLiveColorSelect @ 0x10003c7d7\n; > EditorUI::editColor @ 0x10003c854\n; > EditorUI::editHSV @ 0x10003c9ca\n; > EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ec4\n; > EditorUI::showLiveColorSelectForMode @ 0x100049fcb\n; > ColorSelectLiveOverlay::init @ 0x1005694a9\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, 0x100569bb0\nmov     rbp, rsp                                                       ; +0x1, 0x100569bb1\npush    rbx                                                            ; +0x4, 0x100569bb4\npush    rax                                                            ; +0x5, 0x100569bb5\nmov     rbx, rdi                                                       ; +0x6, 0x100569bb6\ntest    rsi, rsi                                                       ; +0x9, 0x100569bb9\nsetnz   byte ptr [rdi+339h]                                            ; +0xc, 0x100569bbc\nmov     rax, [rdi]                                                     ; +0x13, 0x100569bc3\nxor     esi, esi                                                       ; +0x16, 0x100569bc6\ncall    qword ptr [rax+420h]                                           ; +0x18, 0x100569bc8\nmov     rdi, [rbx+2C0h]                                                ; +0x1e, 0x100569bce\ntest    rdi, rdi                                                       ; +0x25, 0x100569bd5\njz      short loc_100569BE2                                            ; +0x28, 0x100569bd8\nmov     rax, [rdi]                                                     ; +0x2a, 0x100569bda\nmov     rsi, rbx                                                       ; +0x2d, 0x100569bdd\ncall    qword ptr [rax]                                                ; +0x30, 0x100569be0\nmov     rax, [rbx]                                                     ; +0x32, 0x100569be2\nmov     rax, [rax+200h]                                                ; +0x35, 0x100569be5\nmov     rdi, rbx                                                       ; +0x3c, 0x100569bec\nmov     esi, 1                                                         ; +0x3f, 0x100569bef\nadd     rsp, 8                                                         ; +0x44, 0x100569bf4\npop     rbx                                                            ; +0x48, 0x100569bf8\npop     rbp                                                            ; +0x49, 0x100569bf9\njmp     rax                                                            ; +0x4a, 0x100569bfa", "xrefs": ["EditorUI::editObject @ 0x10002aec2", "EditorUI::checkLiveColorSelect @ 0x10003c67c", "EditorUI::closeLiveColorSelect @ 0x10003c7d7", "EditorUI::editColor @ 0x10003c854", "EditorUI::editHSV @ 0x10003c9ca", "EditorUI::showLiveColorSelectForModeSpecial @ 0x100049ec4", "EditorUI::showLiveColorSelectForMode @ 0x100049fcb", "ColorSelectLiveOverlay::init @ 0x1005694a9"], "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"}