//
// cocos2d::CCAction::copyWithZone from 0xab3e6c to 0xab3ef0 (132 bytes)
//
// 11 xrefs:
// > cocos2d::CCFollow::copyWithZone @ 0xab3f10
// > cocos2d::CCFollow::copyWithZone @ 0xab3f9c
// > cocos2d::CCSpeed::copyWithZone @ 0xab413c
// > cocos2d::CCSpeed::copyWithZone @ 0xab41b8
// > cocos2d::CCActionInstant::copyWithZone @ 0xabd8ec
// > cocos2d::CCActionInstant::copyWithZone @ 0xabd930
// > cocos2d::CCActionInterval::copyWithZone @ 0xac10d0
// > cocos2d::CCActionInterval::copyWithZone @ 0xac1150
// > ??> @ 0x6df20
// > ??> @ 0x11fb2b0
// > ??> @ 0x11fb330
//
// 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 *cocos2d::CCAction::copyWithZone(cocos2d::CCAction *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v2; // x19
cocos2d::CCAction *v5; // x19
cocos2d::CCZone *v6; // x21
if ( a2 && (v2 = *(cocos2d::CCObject **)a2) != nullptr )
{
v2[1].m_nTag = a1->m_nTag;
return v2;
}
else
{
v5 = (cocos2d::CCAction *)operator new(0x50u);
cocos2d::CCAction::CCAction(v5);
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
v5->m_nTag = a1->m_nTag;
operator delete(v6);
return v5;
}
}