//
// cocos2d::CCAction::copyWithZone from 0xd259a4 to 0xd25a28 (132 bytes)
//
// 11 xrefs:
// > cocos2d::CCFollow::copyWithZone @ 0xd25a48
// > cocos2d::CCFollow::copyWithZone @ 0xd25ad4
// > cocos2d::CCSpeed::copyWithZone @ 0xd25c74
// > cocos2d::CCSpeed::copyWithZone @ 0xd25cf0
// > cocos2d::CCActionInstant::copyWithZone @ 0xd2f5f4
// > cocos2d::CCActionInstant::copyWithZone @ 0xd2f638
// > cocos2d::CCActionInterval::copyWithZone @ 0xd32dbc
// > cocos2d::CCActionInterval::copyWithZone @ 0xd32e3c
// > ??> @ 0x94648
// > ??> @ 0x1510bc0
// > ??> @ 0x1510c40
//
// 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 13:07:14 +0000
//
cocos2d::CCAction *__fastcall cocos2d::CCAction::copyWithZone(cocos2d::CCAction *this, cocos2d::CCZone *a2)
{
__int64 v2; // x19
cocos2d::CCAction *v5; // x19
cocos2d::CCZone *v6; // x21
if ( a2 && (v2 = *(_QWORD *)a2) != 0 )
{
*(_DWORD *)(v2 + 72) = *((_DWORD *)this + 18);
return (cocos2d::CCAction *)v2;
}
else
{
v5 = (cocos2d::CCAction *)operator new(0x50u);
cocos2d::CCAction::CCAction(v5);
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
*((_DWORD *)v5 + 18) = *((_DWORD *)this + 18);
operator delete(v6);
return v5;
}
}