//
// LevelEditorLayer::undoLastAction from 0x7a240c to 0x7a2468 (92 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::handleAction @ 0x7a1c94
// > EditorUI::undoLastAction @ 0x7d1ecc
// > ??> @ 0xe4058
//
// This function is hookable on this platform (idp: arm, 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:53:40 +0000
//
__int64 __fastcall LevelEditorLayer::undoLastAction(cocos2d::CCArray **this)
{
__int64 v2; // x0
v2 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2) + 133) )
{
++*((_DWORD *)this + 3681);
EditorBuildStats::noteAction((EditorBuildStats *)(this + 1838));
}
return LevelEditorLayer::handleAction(this, 1u, *(this + 1782));
}