//
// EditorUI::deselectObject_1 from 0x1003e9d5c to 0x1003e9dac (80 bytes)
//
// 4 xrefs:
// > EditorUI::deselectTargetPortals @ 0x1003e9bd4
// > EditorUI::deselectObject @ 0x1003e9c7c
// > EditorUI::deselectAll @ 0x1003e9ce0
// > EditorUI::ccTouchEnded @ 0x1003f95a8
//
// 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::deselectObject_1(EditorUI *a1)
{
GameObject *m_selectedObject; // x0
cocos2d::CCNode::stopActionByTag(a1, 124);
m_selectedObject = a1->m_selectedObject;
if ( m_selectedObject )
GameObject::deselectObject(m_selectedObject);
a1->m_selectedObject = nullptr;
EditorUI::toggleEditObjectButton(a1);
a1->m_canActivateControls = 1;
sub_1000229D0(&a1->m_lastTouchPoint, (double *)&dword_10086E8B0);
}