//
// EditorUI::redoLastAction from 0x1000081c0 to 0x100008260 (160 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10060c59d
// > EditorUI::init @ 0x100005fd2
//
// 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 12:18:48 +0000
//
__int64 __fastcall EditorUI::redoLastAction(__int64 a1)
{
__int64 v1; // rax
v1 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v1, 181);
LevelEditorLayer::redoLastAction(*(_QWORD *)(a1 + 1440));
EditorUI::updateButtons(a1);
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) )
{
*(_BYTE *)(a1 + 776) = 1;
EditorUI::activateRotationControl(a1, 0);
}
if ( !*(_QWORD *)(a1 + 1496) && !(unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) )
{
EditorUI::deactivateRotationControl(a1);
EditorUI::deactivateScaleControl(a1);
sub_100611790(a1);
}
EditorUI::updateObjectInfoLabel(a1);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1);
}