//
// cocos2d::CCDelayTime::copyWithZone from 0x10018d1a8 to 0x10018d240 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a5f08
//
// 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::CCDelayTime::copyWithZone(cocos2d::CCDelayTime *a1, cocos2d::CCZone *a2)
{
_OWORD *v3; // x19
cocos2d::CCZone *v4; // x21
if ( a2 && (v3 = *(_OWORD **)a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(a1, a2);
}
else
{
v3 = operator new(0x60u);
*v3 = 0u;
v3[1] = 0u;
v3[2] = 0u;
v3[3] = 0u;
v3[4] = 0u;
v3[5] = 0u;
cocos2d::CCAction::CCAction();
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &off_1007A5F08;
v4 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v4, v3);
cocos2d::CCActionInterval::copyWithZone(a1, v4);
operator delete(v4);
}
return (cocos2d::CCObject *)v3;
}