//
// UndoObject::initWithTransformObjects from 0x463b4a to 0x463b88 (62 bytes)
//
// 1 xrefs:
// > UndoObject::createWithTransformObjects @ 0x463ba0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:54 +0000
//
int __fastcall UndoObject::initWithTransformObjects(int a1, cocos2d::CCArray *a2, int a3)
{
unsigned int v6; // r5
GameObjectCopy *v7; // r0
GameObject *v8; // r1
int *v9; // r0
v6 = 0;
*(_DWORD *)(a1 + 60) = cocos2d::CCArray::create((cocos2d::CCArray *)a1);
while ( v6 < cocos2d::CCArray::count(a2) )
{
v7 = (GameObjectCopy *)cocos2d::CCArray::objectAtIndex(a2, v6++);
v9 = GameObjectCopy::create(v7, v8);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 60), (cocos2d::CCObject *)v9);
}
cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 60));
*(_DWORD *)(a1 + 56) = a3;
return 1;
}