//
// EditorUI::deactivateTransformControl from 0x10015f88c to 0x10015f8e4 (88 bytes)
//
// 11 xrefs:
// > EditorUI::activateRotationControl @ 0x10015d2e4
// > EditorUI::updateControlsAfterAlign @ 0x10015f3ec
// > EditorUI::activateTransformControl @ 0x10015f93c
// > EditorUI::activateScaleControl @ 0x10015ff30
// > EditorUI::deselectAll @ 0x1001a5ce4
// > EditorUI::selectAll @ 0x1001a6478
// > EditorUI::selectAllWithDirection @ 0x1001a659c
// > LevelEditorLayer::handleAction @ 0x1003fbf38
// > EditorUI::init @ 0x10046e770
// > EditorUI::updateSpecialUIElements @ 0x100474868
// > EditorUI::deleteObject @ 0x100476514
//
// 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 10:59:45 +0000
//
__int64 __fastcall EditorUI::deactivateTransformControl(__int64 a1)
{
if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0);
GJTransformControl::finishTouch(*(_QWORD *)(a1 + 792));
}
return EditorUI::updateEditButtonColor(a1, 47, 0xFFFFFF);
}