//
// cocos2d::CCActionInstant::copyWithZone from 0x100242724 to 0x1002427ac (136 bytes)
//
// 6 xrefs:
// > cocos2d::CCShow::copyWithZone @ 0x1002428e8
// > cocos2d::CCShow::copyWithZone @ 0x10024292c
// > cocos2d::CCHide::copyWithZone @ 0x1002429a8
// > cocos2d::CCHide::copyWithZone @ 0x1002429ec
// > cocos2d::CCCallFunc::copyWithZone @ 0x100242bfc
// > ??> @ 0x100906140
//
// 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:24 +0000
//
_DWORD *__fastcall cocos2d::CCActionInstant::copyWithZone(__int64 a1, void **a2)
{
_DWORD *v3; // x19
void *v4; // x21
if ( a2 && (v3 = *a2) != nullptr )
{
cocos2d::CCAction::copyWithZone(a1, a2);
}
else
{
v3 = operator new(0x58u);
cocos2d::CCAction::CCAction();
v3[20] = 0;
*(_QWORD *)v3 = &off_100906140;
v4 = operator new(8u);
cocos2d::CCZone::CCZone(v4, v3);
cocos2d::CCAction::copyWithZone(a1, v4);
operator delete(v4);
}
return v3;
}