//
// EditorUI::undoLastAction from 0x10000c090 to 0x10000c0ea (90 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x100009e19
//
// 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 __fastcall EditorUI::undoLastAction(EditorUI *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer::undoLastAction(a1->m_editorLayer);
EditorUI::updateButtons(a1);
if ( ((unsigned __int8 (__fastcall *)(GJRotationControl *, cocos2d::CCObject *))a1->m_rotationControl->isVisible)(
a1->m_rotationControl,
a2) )
{
a1->m_canActivateControls = 1;
EditorUI::activateRotationControl(a1, a2);
}
EditorUI::updateObjectInfoLabel(a1);
((void (__fastcall *)(EditorUI *))a1->updateScaleControl)(a1);
}