//
// GameObjectCopy::init from 0x100100a60 to 0x100100aec (140 bytes)
//
// 0 xrefs:
//
// 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 __fastcall GameObjectCopy::init(GameObjectCopy *a1, GameObject *a2)
{
__int64 v2; // rsi
double v3; // xmm0_8
a1->m_object = a2;
cocos2d::CCObject::retain(a2);
v2 = ((__int64 (__fastcall *)(GameObject *))a1->m_object->getPosition)(a1->m_object);
v3 = sub_10028CC90();
a1->m_rotationX = ((float (__fastcall *)(GameObject *, __int64, double))a1->m_object->getRotationX)(
a1->m_object,
v2,
v3);
a1->m_rotationY = ((float (__fastcall *)(GameObject *))a1->m_object->getRotationY)(a1->m_object);
a1->m_isFlipX = ((__int64 (__fastcall *)(GameObject *))a1->m_object->isFlipX)(a1->m_object);
a1->m_isFlipY = ((__int64 (__fastcall *)(GameObject *))a1->m_object->isFlipY)(a1->m_object);
*(_QWORD *)&a1->m_customScaleX = *(_QWORD *)&a1->m_object->m_scaleX;
return 1;
}