//
// EditorUI::undoLastAction from 0x48c924 to 0x48c966 (66 bytes)
//
// 1 xrefs:
// > EditorUI::handleEditorAction @ 0x6f19a4
//
// 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:49:31 +0000
//
int __fastcall EditorUI::undoLastAction(cocos2d::CCArray ***this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // r0
v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);
EditorSFXManager::playAction(v3, 180);
LevelEditorLayer::undoLastAction(*(this + 236));
EditorUI::updateButtons((cocos2d::CCArray **)this);
if ( (*((int (__fastcall **)(_DWORD))**(this + 144) + 44))(*(this + 144)) )
{
*((_BYTE *)this + 588) = 1;
EditorUI::activateRotationControl((EditorUI *)this, nullptr);
}
return EditorUI::updateSpecialUIElements((cocos2d::CCArray **)this);
}