//
// cocos2d::CCShow::copyWithZone from 0xabd950 to 0xabd9e4 (148 bytes)
//
// 2 xrefs:
// > ??> @ 0x57b40
// > ??> @ 0x11fd5e0
//
// 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::CCShow::copyWithZone(cocos2d::CCShow *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v3; // x19
cocos2d::CCActionInstant *v5; // x19
cocos2d::CCZone *v6; // x20
if ( a2 && (v3 = *(cocos2d::CCObject **)a2) != nullptr )
{
cocos2d::CCActionInstant::copyWithZone(a1, a2);
return v3;
}
else
{
v5 = (cocos2d::CCActionInstant *)operator new(0x58u);
cocos2d::CCActionInstant::CCActionInstant(v5);
v5->__vftable = (cocos2d::CCActionInstant_vtbl *)&off_11FD5E0;
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
cocos2d::CCActionInstant::copyWithZone(a1, v6);
operator delete(v6);
return v5;
}
}