//
// LevelEditorLayer::addToRedoList from 0x1000b2380 to 0x1000b23e3 (99 bytes)
//
// 0 xrefs:
//
// 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:20:20 +0000
//
__int64 __fastcall LevelEditorLayer::addToRedoList(__int64 a1, __int64 a2)
{
unsigned int v2; // r15d
v2 = 200;
if ( *(_BYTE *)(a1 + 14007) )
v2 = 1000;
if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 14264)) >= v2 )
sub_1007FF150(*(_QWORD *)(a1 + 14264), 0, 1);
return sub_1007FEBF0(*(_QWORD *)(a1 + 14264), a2);
}