//
// cocos2d::CCAction::copyWithZone from 0x7b653c to 0x7b6574 (56 bytes)
//
// 4 xrefs:
// > cocos2d::CCFollow::copyWithZone @ 0x7b65d4
// > cocos2d::CCSpeed::copyWithZone @ 0x7b66de
// > cocos2d::CCActionInstant::copyWithZone @ 0x7bbe30
// > cocos2d::CCActionInterval::copyWithZone @ 0x7be008
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:11 +0000
//
cocos2d::CCAction *__fastcall cocos2d::CCAction::copyWithZone(cocos2d::CCAction *this, cocos2d::CCAction **a2)
{
cocos2d::CCAction *v3; // r4
cocos2d::CCZone *v4; // r5
if ( a2 && (v3 = *a2) != nullptr )
{
v4 = nullptr;
}
else
{
v3 = (cocos2d::CCAction *)operator new(0x44u);
cocos2d::CCAction::CCAction(v3);
v4 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v4, v3);
}
*((_DWORD *)v3 + 15) = *((_DWORD *)this + 15);
if ( v4 )
operator delete(v4);
return v3;
}