//
// cocos2d::CCActionInstant::copyWithZone from 0x10088f6a0 to 0x10088f720 (128 bytes)
//
// 14 xrefs:
// > cocos2d::CCShow::copyWithZone @ 0x10088f8d7
// > cocos2d::CCShow::copyWithZone @ 0x10088f925
// > cocos2d::CCHide::copyWithZone @ 0x10088f9f7
// > cocos2d::CCHide::copyWithZone @ 0x10088fa45
// > cocos2d::CCToggleVisibility::copyWithZone @ 0x10088fb27
// > cocos2d::CCToggleVisibility::copyWithZone @ 0x10088fb75
// > cocos2d::CCRemoveSelf::copyWithZone @ 0x10088fd13
// > cocos2d::CCFlipX::copyWithZone @ 0x10088fec7
// > cocos2d::CCFlipY::copyWithZone @ 0x100890077
// > cocos2d::CCPlace::copyWithZone @ 0x1008901ff
// > cocos2d::CCCallFunc::copyWithZone @ 0x100890569
// > ??> @ 0x100ae0808
// > ??> @ 0x100ae08a8
// > ??> @ 0x100ba7390
//
// This function is hookable on this platform (idp: pc, 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 12:37:03 +0000
//
_DWORD *__fastcall cocos2d::CCActionInstant::copyWithZone(__int64 a1, void **a2)
{
_DWORD *v2; // rbx
void **v3; // r15
if ( a2 && (v2 = *a2) != nullptr )
{
cocos2d::CCAction::copyWithZone(a1, a2);
}
else
{
v2 = operator new(0x58u);
cocos2d::CCAction::CCAction((__int64)v2);
v2[20] = 0;
*(_QWORD *)v2 = off_100BA7390;
v3 = (void **)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
cocos2d::CCAction::copyWithZone(a1, v3);
operator delete(v3);
}
return v2;
}