//
// EditorUI::deselectObject from 0xbdc54c to 0xbdc59c (80 bytes)
//
// 5 xrefs:
// > EditorUI::ccTouchEnded @ 0xbd6698
// > EditorUI::deselectObject @ 0xbdc60c
// > EditorUI::deselectAll @ 0xbdc634
// > EditorUI::deselectTargetPortals @ 0xbdc790
// > ??> @ 0x4f090
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:03:43 +0000
//
__n128 __fastcall EditorUI::deselectObject(GameObject **this)
{
GameObject *v2; // x0
cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)this, 124);
v2 = *(this + 187);
if ( v2 )
GameObject::deselectObject(v2);
*(this + 187) = nullptr;
EditorUI::toggleEditObjectButton((EditorUI *)this);
*((_BYTE *)this + 776) = 1;
return cocos2d::CCPoint::operator=(this + 184, &unk_155EA80);
}