//
// GameObjectCopy::create from 0x1000b2d90 to 0x1000b2e74 (228 bytes)
//
// 4 xrefs:
// > UndoObject::create @ 0x1000af473
// > LevelEditorLayer::handleAction @ 0x1000b2532
// > UndoObject::init_1 @ 0x1000d6794
// > UndoObject::initWithTransformObjects @ 0x1000d68de
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:20:20 +0000
//
char *__fastcall GameObjectCopy::create(__int64 a1)
{
char *v1; // rbx
__int64 v2; // rsi
v1 = (char *)operator new(0x60u);
*(_OWORD *)v1 = 0;
*((_OWORD *)v1 + 1) = 0;
*((_OWORD *)v1 + 2) = 0;
*((_OWORD *)v1 + 3) = 0;
*((_OWORD *)v1 + 4) = 0;
*((_OWORD *)v1 + 5) = 0;
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100AC4120;
sub_1002782A0(v1 + 64);
*((_QWORD *)v1 + 7) = a1;
cocos2d::CCObject::retain(a1);
v2 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 192LL))(*((_QWORD *)v1 + 7));
sub_100278300(v1 + 64, v2);
*((float *)v1 + 18) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 384LL))(*((_QWORD *)v1 + 7));
*((float *)v1 + 19) = (*(float (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 400LL))(*((_QWORD *)v1 + 7));
v1[80] = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 1424LL))(*((_QWORD *)v1 + 7));
v1[81] = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)v1 + 7) + 1432LL))(*((_QWORD *)v1 + 7));
*(_QWORD *)(v1 + 84) = *(_QWORD *)(*((_QWORD *)v1 + 7) + 1152LL);
cocos2d::CCObject::autorelease(v1);
return v1;
}