//
// cocos2d::CCReverseTime::copyWithZone from 0x5b8f66 to 0x5b8fb8 (82 bytes)
//
// 0 xrefs:
//
// 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::CCReverseTime::copyWithZone(cocos2d::CCReverseTime *a1, cocos2d::CCZone *a2)
{
cocos2d::CCZone *v3; // r5
cocos2d::CCReverseTime *v4; // r4
cocos2d::CCZone *v5; // r6
cocos2d::CCObject *v6; // r0
cocos2d::CCFiniteTimeAction *v7; // r0
v3 = a2;
if ( a2 && (v4 = *(cocos2d::CCReverseTime **)a2) != nullptr )
{
v5 = nullptr;
}
else
{
v4 = (cocos2d::CCReverseTime *)operator new(0x54u);
cocos2d::CCReverseTime::CCReverseTime(v4);
v3 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v3, v4);
v5 = v3;
}
cocos2d::CCActionInterval::copyWithZone(a1, v3);
v6 = (cocos2d::CCObject *)cocos2d::CCObject::copy((cocos2d::CCObject *)a1[1].__vftable);
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCObject::autorelease(v6);
cocos2d::CCReverseTime::initWithAction(v4, v7);
if ( v5 )
operator delete(v5);
return v4;
}