//
// cocos2d::CCActionInstant::copyWithZone from 0xabd8cc to 0xabd950 (132 bytes)
//
// 19 xrefs:
// > cocos2d::CCShow::copyWithZone @ 0xabd970
// > cocos2d::CCShow::copyWithZone @ 0xabd9c4
// > cocos2d::CCHide::copyWithZone @ 0xabda04
// > cocos2d::CCHide::copyWithZone @ 0xabda58
// > cocos2d::CCToggleVisibility::copyWithZone @ 0xabda98
// > cocos2d::CCToggleVisibility::copyWithZone @ 0xabdaec
// > cocos2d::CCCallFunc::copyWithZone @ 0xabdb3c
// > cocos2d::CCRemoveSelf::copyWithZone @ 0xabdf54
// > cocos2d::CCRemoveSelf::copyWithZone @ 0xabdfb4
// > cocos2d::CCFlipX::copyWithZone @ 0xabe098
// > cocos2d::CCFlipX::copyWithZone @ 0xabe0fc
// > cocos2d::CCFlipY::copyWithZone @ 0xabe1e0
// > cocos2d::CCFlipY::copyWithZone @ 0xabe244
// > cocos2d::CCPlace::copyWithZone @ 0xabe330
// > cocos2d::CCPlace::copyWithZone @ 0xabe398
// > ??> @ 0xbcc88
// > ??> @ 0x11fcc00
// > ??> @ 0x11fcc90
// > ??> @ 0x11fd550
//
// 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 *cocos2d::CCActionInstant::copyWithZone(cocos2d::CCActionInstant *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v3; // x19
cocos2d::CCActionInstant *v5; // x19
cocos2d::CCZone *v6; // x20
if ( a2 && (v3 = *(cocos2d::CCObject **)a2) != nullptr )
{
cocos2d::CCAction::copyWithZone(a1, a2);
return 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(a1, v6);
operator delete(v6);
return v5;
}
}