//
// GameObjectCopy::create from 0x10035c1d8 to 0x10035c240 (104 bytes)
//
// 3 xrefs:
// > UndoObject::create @ 0x100359bd4
// > LevelEditorLayer::handleAction @ 0x10035c028
// > UndoObject::initWithTransformObjects @ 0x100369374
//
// 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
//
GameObjectCopy *__fastcall GameObjectCopy::create(GameObject *a1)
{
GameObjectCopy *v2; // x19
v2 = (GameObjectCopy *)operator new(0x60u);
*(_OWORD *)&v2->__vftable = 0u;
*(_OWORD *)&v2->m_nTag = 0u;
*(_OWORD *)&v2->m_uIndexInArray = 0u;
*(_OWORD *)&v2->m_uOrderOfArrival = 0u;
*(_OWORD *)&v2->m_position.x = 0u;
*(_OWORD *)&v2->m_isFlipX = 0u;
cocos2d::CCObject::CCObject((__int64)v2);
v2->__vftable = (GameObjectCopy_vtbl *)off_1007F45D0;
sub_1000229B0(&v2->m_position);
GameObjectCopy::init(v2, a1);
cocos2d::CCObject::autorelease(v2);
return v2;
}