//
// EditorUI::updateControlsAfterAlign from 0x140201cf0 to 0x140201d5e (110 bytes)
//
// 2 xrefs:
// > EditorUI::alignObjectsOnAxis @ 0x140201777
// > ??> @ 0x14091ae4c
//
// 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 11:28:13 +0000
//
__int64 __fastcall EditorUI::updateControlsAfterAlign(__int64 a1)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 344LL))(*(_QWORD *)(a1 + 840)) )
{
EditorUI::deactivateTransformControl(a1);
EditorUI::activateTransformControl(a1, 0);
}
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 808) + 344LL))(*(_QWORD *)(a1 + 808)) )
{
*(_BYTE *)(a1 + 824) = 1;
EditorUI::activateRotationControl(a1, 0);
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 432) + 40LL))(a1 + 432);
return EditorUI::updateButtons(a1);
}