//
// UndoObject::initWithTransformObjects from 0x36a3ca to 0x36a408 (62 bytes)
//
// 1 xrefs:
// > UndoObject::createWithTransformObjects @ 0x36a420
//
// 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 UndoObject::initWithTransformObjects(UndoObject *a1, cocos2d::CCArray *a2, UndoCommand a3)
{
unsigned int v6; // r5
GameObject *v7; // r0
GameObjectCopy *v8; // r0
v6 = 0;
a1->m_objects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
while ( v6 < cocos2d::CCArray::count(a2) )
{
v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6++);
v8 = GameObjectCopy::create(v7);
cocos2d::CCArray::addObject(a1->m_objects, v8);
}
cocos2d::CCObject::retain(a1->m_objects);
a1->m_command = a3;
return 1;
}