//
// UndoObject::init from 0x1003693b8 to 0x100369408 (80 bytes)
//
// 1 xrefs:
// > UndoObject::createWithArray @ 0x10035bc00
//
// 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
//
bool __fastcall UndoObject::init(UndoObject *a1, cocos2d::CCArray *a2, UndoCommand a3)
{
cocos2d::CCArray *v6; // x0
if ( a2 )
{
v6 = (cocos2d::CCArray *)sub_10024A15C();
a1->m_objects = v6;
sub_10024A360((__int64)v6, (__int64)a2);
cocos2d::CCObject::retain(a1->m_objects);
}
a1->m_command = a3;
return 1;
}