//
// UndoObject::initWithTransformObjects from 0x1001008d0 to 0x100100947 (119 bytes)
//
// 1 xrefs:
// > UndoObject::createWithTransformObjects @ 0x100100884
//
// 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 v4; // r12d
GameObject *v5; // rax
GameObjectCopy *v6; // rax
a1->m_objects = (cocos2d::CCArray *)sub_10071F9E0(a1, a2);
if ( (unsigned int)sub_100720070(a2) )
{
v4 = 0;
do
{
v5 = (GameObject *)sub_1007200C0(a2, v4);
v6 = GameObjectCopy::create(v5);
sub_10071FCD0(a1->m_objects, v6);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(a2) );
}
cocos2d::CCObject::retain(a1->m_objects);
a1->m_command = a3;
return 1;
}