// // UndoObject::initWithTransformObjects from 0x664a94 to 0x664b10 (124 bytes) // // 2 xrefs: // > UndoObject::createWithTransformObjects @ 0x664bc8 // > @ 0x81270 // // 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; // w19 GameObject *v7; // x0 GameObjectCopy *v8; // x0 bool v9; // cf unsigned int v10; // w1 v6 = 0; for ( a1->m_objects = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); ; cocos2d::CCArray::addObject(a1->m_objects, v8) ) { v9 = v6 >= (unsigned int)cocos2d::CCArray::count(a2); v10 = v6++; if ( v9 ) break; v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v10); v8 = GameObjectCopy::create(v7); } cocos2d::CCObject::retain(a1->m_objects); a1->m_command = a3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source