//
// LevelEditorLayer::addToRedoList from 0x10035bc34 to 0x10035bc9c (104 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::handleAction @ 0x10035bfc4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelEditorLayer::addToRedoList(LevelEditorLayer *a1, UndoObject *a2)
{
unsigned int v3; // w21
if ( a1->m_increaseMaxUndoRedo )
v3 = 1000;
else
v3 = 200;
if ( (unsigned int)sub_10024A36C((__int64)a1->m_redoObjects) >= v3 )
sub_10024A44C((__int64)a1->m_redoObjects, 0, 1);
sub_10024A2D0((__int64)a1->m_redoObjects);
}