//
// cocos2d::CCActionInstant::copyWithZone from 0xd2f5d4 to 0xd2f658 (132 bytes)
//
// 19 xrefs:
// > cocos2d::CCShow::copyWithZone @ 0xd2f678
// > cocos2d::CCShow::copyWithZone @ 0xd2f6cc
// > cocos2d::CCHide::copyWithZone @ 0xd2f70c
// > cocos2d::CCHide::copyWithZone @ 0xd2f760
// > cocos2d::CCToggleVisibility::copyWithZone @ 0xd2f7a0
// > cocos2d::CCToggleVisibility::copyWithZone @ 0xd2f7f4
// > cocos2d::CCCallFunc::copyWithZone @ 0xd2f844
// > cocos2d::CCRemoveSelf::copyWithZone @ 0xd2fc5c
// > cocos2d::CCRemoveSelf::copyWithZone @ 0xd2fcbc
// > cocos2d::CCFlipX::copyWithZone @ 0xd2fda0
// > cocos2d::CCFlipX::copyWithZone @ 0xd2fe04
// > cocos2d::CCFlipY::copyWithZone @ 0xd2fee8
// > cocos2d::CCFlipY::copyWithZone @ 0xd2ff4c
// > cocos2d::CCPlace::copyWithZone @ 0xd30038
// > cocos2d::CCPlace::copyWithZone @ 0xd300a0
// > ??> @ 0xf6340
// > ??> @ 0x1512510
// > ??> @ 0x15125a0
// > ??> @ 0x1512e60
//
// 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:19 +0000
//
cocos2d::CCActionInstant *__fastcall cocos2d::CCActionInstant::copyWithZone(
cocos2d::CCActionInstant *this,
cocos2d::CCZone *a2)
{
__int64 v3; // x19
cocos2d::CCActionInstant *v5; // x19
cocos2d::CCZone *v6; // x20
if ( a2 && (v3 = *(_QWORD *)a2) != 0 )
{
cocos2d::CCAction::copyWithZone(this, a2);
return (cocos2d::CCActionInstant *)v3;
}
else
{
v5 = (cocos2d::CCActionInstant *)operator new(0x58u);
cocos2d::CCActionInstant::CCActionInstant(v5);
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
cocos2d::CCAction::copyWithZone(this, v6);
operator delete(v6);
return v5;
}
}