//
// EditorUI::deactivateTransformControl from 0x387908 to 0x38794e (70 bytes)
//
// 8 xrefs:
// > EditorUI::deleteObject @ 0x387988
// > EditorUI::activateScaleControl @ 0x39c77e
// > EditorUI::activateRotationControl @ 0x39c8f8
// > EditorUI::activateTransformControl @ 0x39d852
// > EditorUI::init @ 0x3a122c
// > EditorUI::deselectAll @ 0x3a2ce6
// > EditorUI::selectAll @ 0x3a5ac2
// > EditorUI::selectAllWithDirection @ 0x3a5bc0
//
// 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 EditorUI::deactivateTransformControl(EditorUI *a1)
{
if ( ((int (__fastcall *)(GJTransformControl *))a1->m_transformControl->isVisible)(a1->m_transformControl) )
{
a1->m_transformControl->setVisible(a1->m_transformControl, 0);
GJTransformControl::finishTouch(a1->m_transformControl);
}
EditorUI::updateEditButtonColor(a1, 31, (cocos2d::ccColor3B)-1);
}