//
// LevelEditorLayer::addToRedoList from 0x1003fbbbc to 0x1003fbc24 (104 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::handleAction @ 0x1003fbf50
//
// 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 11:04:36 +0000
//
__int64 __fastcall LevelEditorLayer::addToRedoList(__int64 a1)
{
unsigned int v2; // w21
if ( *(_BYTE *)(a1 + 14007) )
v2 = 1000;
else
v2 = 200;
if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 14264)) >= v2 )
sub_1002E7664(*(_QWORD *)(a1 + 14264), 0, 1);
return sub_1002E74E0(*(_QWORD *)(a1 + 14264));
}