//
// EditorUI::updateControlsAfterAlign from 0x70f006 to 0x70f056 (80 bytes)
//
// 2 xrefs:
// > EditorUI::alignObjectsOnAxis @ 0x70f1fa
// > EditorUI::alignObjects @ 0x70f608
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:43 +0000
//
int __fastcall EditorUI::updateControlsAfterAlign(EditorUI *this)
{
int v2; // r2
if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 149) + 176))(*((_DWORD *)this + 149)) )
{
EditorUI::deactivateTransformControl(this);
EditorUI::activateTransformControl((cocos2d::CCArray **)this, nullptr);
}
if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 144) + 176))(*((_DWORD *)this + 144)) )
{
*((_BYTE *)this + 588) = 1;
EditorUI::activateRotationControl((cocos2d::CCArray **)this, nullptr, v2, 1);
}
(*(void (__fastcall **)(EditorUI *))(*(_DWORD *)this + 676))(this);
return EditorUI::updateButtons((cocos2d::CCArray **)this);
}