//
// cocos2d::CCEaseBounceInOut::copyWithZone from 0x100516f90 to 0x10051705b (203 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095fa20
//
// 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::CCEaseBounceInOut::copyWithZone(
cocos2d::CCEaseBounceInOut *a1,
cocos2d::CCZone *a2)
{
cocos2d::CCActionInterval *v2; // rbx
_QWORD *v3; // r15
cocos2d::CCObject *v4; // rax
cocos2d::CCObject *v5; // r14
if ( a2 && (v2 = *(cocos2d::CCActionInterval **)a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = (cocos2d::CCActionInterval *)operator new(0x68u);
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2->m_pTarget = 0;
*(_OWORD *)&v2->m_fDuration = 0;
v2[1].__vftable = nullptr;
cocos2d::CCAction::CCAction(v2);
v2->m_fDuration = 0.0;
v2->__vftable = (cocos2d::CCActionInterval_vtbl *)off_10095FA20;
v3 = operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
}
v4 = (cocos2d::CCObject *)sub_10048AAA0(a1[1].__vftable);
v5 = cocos2d::CCObject::autorelease(v4);
if ( cocos2d::CCActionInterval::initWithDuration(v2, *(float *)&v5[1].m_uAutoReleaseCount) )
{
v2[1].__vftable = (cocos2d::CCActionInterval_vtbl *)v5;
cocos2d::CCObject::retain(v5);
}
if ( v3 )
operator delete(v3);
return v2;
}