//
// GameObjectCopy::create from 0x463a88 to 0x463aea (98 bytes)
//
// 3 xrefs:
// > UndoObject::init @ 0x463afa
// > UndoObject::initWithTransformObjects @ 0x463b6e
// > LevelEditorLayer::handleAction @ 0x46f08e
//
// 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 GameObjectCopy::create(GameObjectCopy *this, GameObject *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x54u);
memset(v3, 0, 0x54u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v3);
*v3 = (int)&off_C94B80;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v3 + 14));
if ( GameObjectCopy::init((GameObjectCopy *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}