// // EditorUI::undoLastAction from 0x100008120 to 0x1000081c0 (160 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x10060c66d // > EditorUI::init @ 0x100005f29 // // 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::undoLastAction(__int64 a1) { __int64 v1; // rax v1 = EditorSFXManager::sharedState(a1); EditorSFXManager::playAction_1(v1, 180); LevelEditorLayer::undoLastAction(*(_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); }