//
// EditorUI::deactivateTransformControl from 0x1006111a0 to 0x100611246 (166 bytes)
//
// 2 xrefs:
// > EditorUI::alignObjectsOnAxis @ 0x1006110d0
// > EditorUI::alignObjects @ 0x1006116be
//
// This function is hookable on this platform (idp: pc, 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 12:34:34 +0000
//
__int64 __fastcall EditorUI::deactivateTransformControl(__int64 a1)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) )
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0);
sub_100645530(*(_QWORD *)(a1 + 792));
}
EditorUI::updateEditButtonColor(a1, 47, 0xFFFFFF);
EditorUI::activateTransformControl(a1, 47);
}
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) )
{
*(_BYTE *)(a1 + 776) = 1;
EditorUI::activateRotationControl(a1);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1);
return EditorUI::updateButtons(a1);
}