//
// LevelEditorLayer::redoLastAction from 0x46f420 to 0x46f456 (54 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::handleAction @ 0x46f3fe
// > EditorUI::redoLastAction @ 0x48c978
//
// 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:03 +0000
//
int __fastcall LevelEditorLayer::redoLastAction(cocos2d::CCArray **this)
{
int v2; // r0
v2 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this);
if ( !*(_BYTE *)((*(int (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2) + 93) )
{
*(this + 3031) = (cocos2d::CCArray *)((char *)*(this + 3031) + 1);
EditorBuildStats::noteAction((EditorBuildStats *)(this + 3026));
}
return LevelEditorLayer::handleAction(this, 0, *(this + 2966));
}