//
// EditorUI::deactivateTransformControl from 0xc022b8 to 0xc02320 (104 bytes)
//
// 12 xrefs:
// > LevelEditorLayer::handleAction @ 0x7a1c28
// > EditorUI::deleteObject @ 0x7c1c44
// > EditorUI::init @ 0x7cef34
// > EditorUI::updateSpecialUIElements @ 0x7d17a8
// > EditorUI::deselectAll @ 0xbdc694
// > EditorUI::selectAll @ 0xbdd2ec
// > EditorUI::selectAllWithDirection @ 0xbdd41c
// > EditorUI::activateRotationControl @ 0xc023a4
// > EditorUI::activateScaleControl @ 0xc027c0
// > EditorUI::activateTransformControl @ 0xc02a1c
// > EditorUI::updateControlsAfterAlign @ 0xc02ab4
// > ??> @ 0xf7f78
//
// 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:49 +0000
//
__int64 __fastcall EditorUI::deactivateTransformControl(EditorUI *this)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**((_QWORD **)this + 99) + 352LL))(*((_QWORD *)this + 99)) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 99) + 344LL))(*((_QWORD *)this + 99), 0);
GJTransformControl::finishTouch(*((GJTransformControl **)this + 99));
}
return EditorUI::updateEditButtonColor((__int64)this, (_BYTE *)&qword_28 + 7, 0xFFFFFF);
}