//
// UndoObject::initWithTransformObjects from 0x100369334 to 0x1003693b8 (132 bytes)
//
// 1 xrefs:
// > UndoObject::createWithTransformObjects @ 0x100369300
//
// 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::initWithTransformObjects(UndoObject *a1, cocos2d::CCArray *a2, UndoCommand a3)
{
unsigned int v6; // w22
GameObject *v7; // x0
a1->m_objects = (cocos2d::CCArray *)sub_10024A15C();
if ( (unsigned int)sub_10024A36C((__int64)a2) )
{
v6 = 0;
do
{
v7 = (GameObject *)sub_10024A388((__int64)a2, v6);
GameObjectCopy::create(v7);
sub_10024A2D0((__int64)a1->m_objects);
++v6;
}
while ( v6 < (unsigned int)sub_10024A36C((__int64)a2) );
}
cocos2d::CCObject::retain(a1->m_objects);
a1->m_command = a3;
return 1;
}