//
// cocos2d::CCActionInterval::copyWithZone from 0x10018a20c to 0x10018a2c4 (184 bytes)
//
// 21 xrefs:
// > cocos2d::CCSequence::copyWithZone @ 0x10018a65c
// > cocos2d::CCRepeatForever::copyWithZone @ 0x10018aa84
// > cocos2d::CCSpawn::copyWithZone @ 0x10018aedc
// > cocos2d::CCRotateTo::copyWithZone @ 0x10018b23c
// > cocos2d::CCRotateBy::copyWithZone @ 0x10018b5bc
// > cocos2d::CCMoveBy::copyWithZone @ 0x10018b888
// > cocos2d::CCBezierBy::copyWithZone @ 0x10018beec
// > cocos2d::CCScaleTo::copyWithZone @ 0x10018c53c
// > cocos2d::CCBlink::copyWithZone @ 0x10018c814
// > cocos2d::CCFadeIn::copyWithZone @ 0x10018c9c4
// > cocos2d::CCFadeIn::copyWithZone @ 0x10018ca18
// > cocos2d::CCFadeOut::copyWithZone @ 0x10018cb74
// > cocos2d::CCFadeOut::copyWithZone @ 0x10018cbc8
// > cocos2d::CCFadeTo::copyWithZone @ 0x10018cd8c
// > cocos2d::CCTintTo::copyWithZone @ 0x10018d004
// > cocos2d::CCDelayTime::copyWithZone @ 0x10018d1cc
// > cocos2d::CCDelayTime::copyWithZone @ 0x10018d220
// > cocos2d::CCAnimate::copyWithZone @ 0x10018d554
// > cocos2d::CCActionEase::copyWithZone @ 0x10026bdf8
// > ??> @ 0x1007a55f8
// > ??> @ 0x10080cf30
//
// 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::CCActionInterval::copyWithZone(
cocos2d::CCActionInterval *a1,
cocos2d::CCZone *a2)
{
_OWORD *v3; // x19
cocos2d::CCZone *v4; // x21
float m_fDuration; // s0
if ( a2 && (v3 = *(_OWORD **)a2) != nullptr )
{
cocos2d::CCAction::copyWithZone(a1, a2);
}
else
{
v3 = operator new(0x60u);
*v3 = 0u;
v3[1] = 0u;
v3[2] = 0u;
v3[3] = 0u;
v3[4] = 0u;
v3[5] = 0u;
cocos2d::CCAction::CCAction();
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = off_1007A55F8;
v4 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v4, v3);
cocos2d::CCAction::copyWithZone(a1, v4);
operator delete(v4);
}
m_fDuration = a1->m_fDuration;
if ( m_fDuration == 0.0 )
m_fDuration = 0.00000011921;
*((float *)v3 + 20) = m_fDuration;
*((_DWORD *)v3 + 21) = 0;
*((_BYTE *)v3 + 88) = 1;
return (cocos2d::CCObject *)v3;
}