//
// cocos2d::CCActionInstant::copyWithZone from 0x1007ac400 to 0x1007ac480 (128 bytes)
//
// 14 xrefs:
// > cocos2d::CCShow::copyWithZone @ 0x1007ac637
// > cocos2d::CCShow::copyWithZone @ 0x1007ac685
// > cocos2d::CCHide::copyWithZone @ 0x1007ac757
// > cocos2d::CCHide::copyWithZone @ 0x1007ac7a5
// > cocos2d::CCToggleVisibility::copyWithZone @ 0x1007ac887
// > cocos2d::CCToggleVisibility::copyWithZone @ 0x1007ac8d5
// > cocos2d::CCRemoveSelf::copyWithZone @ 0x1007aca73
// > cocos2d::CCFlipX::copyWithZone @ 0x1007acc27
// > cocos2d::CCFlipY::copyWithZone @ 0x1007acdd7
// > cocos2d::CCPlace::copyWithZone @ 0x1007acf5f
// > cocos2d::CCCallFunc::copyWithZone @ 0x1007ad2c9
// > ??> @ 0x1008dc568
// > ??> @ 0x1008dc608
// > ??> @ 0x100991c58
//
// 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 *__fastcall cocos2d::CCActionInstant::copyWithZone(cocos2d::CCActionInstant *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v2; // rbx
cocos2d::CCZone *v3; // r15
if ( a2 && (v2 = *(cocos2d::CCObject **)a2) != nullptr )
{
cocos2d::CCAction::copyWithZone(a1, a2);
}
else
{
v2 = (cocos2d::CCObject *)operator new(0x58u);
cocos2d::CCAction::CCAction((__int64)v2);
v2[1].m_uAutoReleaseCount = 0;
v2->__vftable = (cocos2d::CCObject_vtbl *)off_100991C58;
v3 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
cocos2d::CCAction::copyWithZone(a1, v3);
operator delete(v3);
}
return v2;
}