{"type": "func", "start": 6875992, "end": 6876092, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x68eb58 to 0x68ebbc (100 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x68ebc0\n// > <???> @ 0x9e4f0\n// > <???> @ 0x1156bb0\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::colorSelectClosed(EditorUI *a1, cocos2d::CCNode *a2)\n{\n  ColorSelectLiveOverlay *m_colorOverlay; // x2\n  HSVLiveOverlay *m_hsvOverlay; // x2\n  _BOOL4 m_closeButtonPressed; // w20\n\n  m_colorOverlay = a1->m_colorOverlay;\n  if ( m_colorOverlay == a2 )\n  {\n    m_closeButtonPressed = m_colorOverlay->m_closeButtonPressed;\n    a1->m_colorOverlay = nullptr;\n    EditorUI::resetSelectedObjectsColor(a1);\n  }\n  else\n  {\n    m_hsvOverlay = a1->m_hsvOverlay;\n    if ( m_hsvOverlay != a2 )\n      return;\n    m_closeButtonPressed = m_hsvOverlay->m_unkBool3;\n    a1->m_hsvOverlay = nullptr;\n    EditorUI::resetSelectedObjectsColor(a1);\n  }\n  if ( m_closeButtonPressed )\n    EditorUI::updateEditColorButton(a1);\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x68eb58 to 0x68ebbc (100 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::colorSelectClosed @ 0x68ebc0\n; > <???> @ 0x9e4f0\n; > <???> @ 0x1156bb0\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x68eb58\nMOV             X29, SP                                                ; +0x4, 0x68eb5c\nLDR             X2, [X0,#0x558]                                        ; +0x8, 0x68eb60\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x68eb64\nCMP             X2, X1                                                 ; +0x10, 0x68eb68\nMOV             X19, X0                                                ; +0x14, 0x68eb6c\nB.EQ            loc_68EB8C                                             ; +0x18, 0x68eb70\nLDR             X2, [X0,#0x560]                                        ; +0x1c, 0x68eb74\nCMP             X2, X1                                                 ; +0x20, 0x68eb78\nB.EQ            loc_68EBAC                                             ; +0x24, 0x68eb7c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x28, 0x68eb80\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x2c, 0x68eb84\nRET                                                                    ; +0x30, 0x68eb88\nLDRB            W20, [X2,#0x339]                                       ; +0x34, 0x68eb8c\nSTR             XZR, [X0,#0x558]                                       ; +0x38, 0x68eb90\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x3c, 0x68eb94\nCBZ             W20, loc_68EB80                                        ; +0x40, 0x68eb98\nMOV             X0, X19; this                                          ; +0x44, 0x68eb9c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0x68eba0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0x68eba4\nB               _ZN8EditorUI21updateEditColorButtonEv; EditorUI::updateEditColorButton(void) ; +0x50, 0x68eba8\nLDRB            W20, [X2,#0x2BA]                                       ; +0x54, 0x68ebac\nSTR             XZR, [X0,#0x560]                                       ; +0x58, 0x68ebb0\nBL              _ZN8EditorUI25resetSelectedObjectsColorEv; EditorUI::resetSelectedObjectsColor(void) ; +0x5c, 0x68ebb4\nB               loc_68EB98                                             ; +0x60, 0x68ebb8", "xrefs": ["`non-virtual thunk to'EditorUI::colorSelectClosed @ 0x68ebc0", "<???> @ 0x9e4f0", "<???> @ 0x1156bb0"], "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"}