//
// EditorUI::undoLastAction from 0x140111820 to 0x140111886 (102 bytes)
//
// 3 xrefs:
// > EditorUI::keyDown @ 0x140125426
// > EditorUI::init @ 0x1400e01b9
// > ??> @ 0x1406c8fa0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::undoLastAction(EditorUI *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer::handleAction(a1->m_editorLayer, 1, a1->m_editorLayer->m_undoObjects);
EditorUI::updateButtons(a1);
if ( a1->m_rotationControl->isVisible(a1->m_rotationControl) )
{
a1->m_canActivateControls = 1;
EditorUI::activateRotationControl(a1, nullptr);
}
EditorUI::updateObjectInfoLabel(a1);
a1->updateScaleControl(&a1->GJScaleControlDelegate);
}