{"type": "func", "start": 4295975048, "end": 4295975144, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x1000f6088 to 0x1000f60e8 (96 bytes)\n// \n// 8 xrefs:\n// > ColorSelectLiveOverlay::keyBackClicked @ 0x1000f655c\n// > sub_1000F6560 @ 0x1000f6568\n// > EditorUI::editObject @ 0x1003e48d0\n// > EditorUI::checkLiveColorSelect @ 0x1003eda78\n// > EditorUI::editColor @ 0x1003edbdc\n// > EditorUI::editHSV @ 0x1003edce0\n// > EditorUI::showLiveColorSelectForMode @ 0x1003f5c38\n// > ColorSelectLiveOverlay::init @ 0x1000f5ad8\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; // x0\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 0x1000f6088 to 0x1000f60e8 (96 bytes)\n; \n; 8 xrefs:\n; > ColorSelectLiveOverlay::keyBackClicked @ 0x1000f655c\n; > sub_1000F6560 @ 0x1000f6568\n; > EditorUI::editObject @ 0x1003e48d0\n; > EditorUI::checkLiveColorSelect @ 0x1003eda78\n; > EditorUI::editColor @ 0x1003edbdc\n; > EditorUI::editHSV @ 0x1003edce0\n; > EditorUI::showLiveColorSelectForMode @ 0x1003f5c38\n; > ColorSelectLiveOverlay::init @ 0x1000f5ad8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000f6088\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000f608c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000f6090\nMOV             X19, X0                                                ; +0xc, 0x1000f6094\nCMP             X1, #0                                                 ; +0x10, 0x1000f6098\nCSET            W8, NE                                                 ; +0x14, 0x1000f609c\nSTRB            W8, [X0,#0x339]                                        ; +0x18, 0x1000f60a0\nLDR             X8, [X0]                                               ; +0x1c, 0x1000f60a4\nLDR             X8, [X8,#0x420]                                        ; +0x20, 0x1000f60a8\nMOV             W1, #0                                                 ; +0x24, 0x1000f60ac\nBLR             X8                                                     ; +0x28, 0x1000f60b0\nLDR             X0, [X19,#0x2C0]                                       ; +0x2c, 0x1000f60b4\nCBZ             X0, loc_1000F60CC                                      ; +0x30, 0x1000f60b8\nLDR             X8, [X0]                                               ; +0x34, 0x1000f60bc\nLDR             X8, [X8]                                               ; +0x38, 0x1000f60c0\nMOV             X1, X19                                                ; +0x3c, 0x1000f60c4\nBLR             X8                                                     ; +0x40, 0x1000f60c8\nLDR             X8, [X19]                                              ; +0x44, 0x1000f60cc\nLDR             X2, [X8,#0x200]                                        ; +0x48, 0x1000f60d0\nMOV             X0, X19                                                ; +0x4c, 0x1000f60d4\nMOV             W1, #1                                                 ; +0x50, 0x1000f60d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x1000f60dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x1000f60e0\nBR              X2                                                     ; +0x5c, 0x1000f60e4", "xrefs": ["ColorSelectLiveOverlay::keyBackClicked @ 0x1000f655c", "sub_1000F6560 @ 0x1000f6568", "EditorUI::editObject @ 0x1003e48d0", "EditorUI::checkLiveColorSelect @ 0x1003eda78", "EditorUI::editColor @ 0x1003edbdc", "EditorUI::editHSV @ 0x1003edce0", "EditorUI::showLiveColorSelectForMode @ 0x1003f5c38", "ColorSelectLiveOverlay::init @ 0x1000f5ad8"], "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"}