//
// cocos2d::CCEaseInOut::copyWithZone from 0x10026c3b0 to 0x10026c46c (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d2f68
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCEaseInOut::copyWithZone(cocos2d::CCEaseInOut *a1, cocos2d::CCZone *a2)
{
_OWORD *v3; // x19
_QWORD *v4; // x21
cocos2d::CCObject *v5; // x0
cocos2d::CCActionInterval *v6; // x0
unsigned int m_uID; // s8
if ( a2 && (v3 = *(_OWORD **)a2) != nullptr )
{
v4 = nullptr;
}
else
{
v3 = operator new(0x70u);
*v3 = 0u;
v3[1] = 0u;
v3[2] = 0u;
v3[3] = 0u;
v3[4] = 0u;
v3[5] = 0u;
v3[6] = 0u;
cocos2d::CCAction::CCAction((__int64)v3);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &off_1007D2F68;
v4 = operator new(8u);
cocos2d::CCZone::CCZone(v4, (__int64)v3);
}
v5 = (cocos2d::CCObject *)sub_10008496C(a1[1].__vftable);
v6 = (cocos2d::CCActionInterval *)cocos2d::CCObject::autorelease(v5);
m_uID = a1[1].m_uID;
if ( cocos2d::CCActionEase::initWithAction((cocos2d::CCActionEase *)v3, v6) )
*((_DWORD *)v3 + 26) = m_uID;
if ( v4 )
operator delete(v4);
return (cocos2d::CCObject *)v3;
}