//
// cocos2d::CCActionInterval::copyWithZone from 0x10021d198 to 0x10021d250 (184 bytes)
//
// 21 xrefs:
// > cocos2d::CCSequence::copyWithZone @ 0x10021d5e8
// > cocos2d::CCRepeatForever::copyWithZone @ 0x10021da10
// > cocos2d::CCSpawn::copyWithZone @ 0x10021de68
// > cocos2d::CCRotateTo::copyWithZone @ 0x10021e1c8
// > cocos2d::CCRotateBy::copyWithZone @ 0x10021e548
// > cocos2d::CCMoveBy::copyWithZone @ 0x10021e814
// > cocos2d::CCBezierBy::copyWithZone @ 0x10021ee78
// > cocos2d::CCScaleTo::copyWithZone @ 0x10021f4c8
// > cocos2d::CCBlink::copyWithZone @ 0x10021fa14
// > cocos2d::CCFadeIn::copyWithZone @ 0x10021fbc4
// > cocos2d::CCFadeIn::copyWithZone @ 0x10021fc18
// > cocos2d::CCFadeOut::copyWithZone @ 0x10021fd74
// > cocos2d::CCFadeOut::copyWithZone @ 0x10021fdc8
// > cocos2d::CCFadeTo::copyWithZone @ 0x10021ff8c
// > cocos2d::CCTintTo::copyWithZone @ 0x100220204
// > cocos2d::CCDelayTime::copyWithZone @ 0x1002203cc
// > cocos2d::CCDelayTime::copyWithZone @ 0x100220420
// > cocos2d::CCAnimate::copyWithZone @ 0x100220754
// > cocos2d::CCActionEase::copyWithZone @ 0x100309bfc
// > ??> @ 0x1008fbc40
// > ??> @ 0x100965de0
//
// 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 11:01:06 +0000
//
_OWORD *__fastcall cocos2d::CCActionInterval::copyWithZone(__int64 a1, void **a2)
{
_OWORD *v3; // x19
void *v4; // x21
float v5; // s0
if ( a2 && (v3 = *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_1008FBC40;
v4 = operator new(8u);
cocos2d::CCZone::CCZone(v4, v3);
cocos2d::CCAction::copyWithZone(a1, v4);
operator delete(v4);
}
v5 = *(float *)(a1 + 80);
if ( v5 == 0.0 )
v5 = 0.00000011921;
*((float *)v3 + 20) = v5;
*((_DWORD *)v3 + 21) = 0;
*((_BYTE *)v3 + 88) = 1;
return v3;
}