//
// UndoObject::init from 0x100100950 to 0x100100995 (69 bytes)
//
// 0 xrefs:
//
// 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 *v4; // rax
if ( a2 )
{
v4 = (cocos2d::CCArray *)sub_10071F9E0(a1, a2);
a1->m_objects = v4;
sub_100720050(v4, a2);
cocos2d::CCObject::retain(a1->m_objects);
}
a1->m_command = a3;
return 1;
}