// // EditorUI::colorSelectClosed from 0x1003f5c98 to 0x1003f5d08 (112 bytes) // // 2 xrefs: // > sub_1003F5D94 @ 0x1003f5d98 // > @ 0x100814048 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall EditorUI::colorSelectClosed(EditorUI *a1, cocos2d::CCNode *a2) { ColorSelectLiveOverlay *m_colorOverlay; // x8 HSVLiveOverlay *m_hsvOverlay; // x8 _BOOL4 m_unkBool3; // w20 bool m_closeButtonPressed; // w20 m_colorOverlay = a1->m_colorOverlay; if ( m_colorOverlay == a2 ) { m_closeButtonPressed = m_colorOverlay->m_closeButtonPressed; a1->m_colorOverlay = nullptr; EditorUI::resetSelectedObjectsColor(a1); if ( !m_closeButtonPressed ) return; LABEL_6: EditorUI::updateEditColorButton(a1); return; } m_hsvOverlay = a1->m_hsvOverlay; if ( m_hsvOverlay == a2 ) { m_unkBool3 = m_hsvOverlay->m_unkBool3; a1->m_hsvOverlay = nullptr; EditorUI::resetSelectedObjectsColor(a1); if ( m_unkBool3 ) goto LABEL_6; } }