//
// cocos2d::CCHide::copyWithZone from 0x1007ac740 to 0x1007ac7c0 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100991ef0
//
// 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::CCHide::copyWithZone(cocos2d::CCHide *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v2; // rbx
cocos2d::CCZone *v3; // r15
if ( a2 && (v2 = *(cocos2d::CCObject **)a2) != nullptr )
{
cocos2d::CCActionInstant::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_100991EF0;
v3 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
cocos2d::CCActionInstant::copyWithZone(a1, v3);
operator delete(v3);
}
return v2;
}