//
// GameObjectCopy::init from 0x78f6f4 to 0x78f7b4 (192 bytes)
//
// 2 xrefs:
// > GameObjectCopy::create @ 0x78f80c
// > ??> @ 0x86320
//
// This function is hookable on this platform (idp: arm, 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:53:28 +0000
//
__int64 __fastcall GameObjectCopy::init(GameObjectCopy *this, GameObject *a2)
{
__int64 v3; // x0
long double v4; // q0
float v5; // s0
__int64 v6; // x1
float v7; // s0
__int64 v8; // x1
__int64 v9; // x1
*((_QWORD *)this + 7) = a2;
cocos2d::CCObject::retain(a2);
v3 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 7) + 192LL))(*((_QWORD *)this + 7));
*(__n128 *)&v4 = cocos2d::CCPoint::operator=((char *)this + 64, v3);
v5 = (*(float (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 7) + 384LL))(*((_QWORD *)this + 7), v4);
v6 = *((_QWORD *)this + 7);
*((float *)this + 18) = v5;
v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v6 + 400LL))(v6);
v8 = *((_QWORD *)this + 7);
*((float *)this + 19) = v7;
*((_BYTE *)this + 80) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1424LL))(v8);
*((_BYTE *)this + 81) = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 7) + 1432LL))(*((_QWORD *)this + 7));
v9 = *((_QWORD *)this + 7);
*((_DWORD *)this + 21) = *(_DWORD *)(v9 + 1152);
*((_DWORD *)this + 22) = *(_DWORD *)(v9 + 1156);
return 1;
}