//
// cocos2d::CCReverseTime::copyWithZone from 0x180032f10 to 0x180033017 (263 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800efeb8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba5ac
// > ??> @ 0x1801ba5b8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:34 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCObject *__fastcall cocos2d::CCReverseTime::copyWithZone(
cocos2d::CCObject **this,
struct cocos2d::CCZone *a2)
{
struct cocos2d::CCZone *v2; // rax
struct cocos2d::CCZone *v4; // rdi
cocos2d::CCAction *v5; // rbx
cocos2d::CCAction *v6; // rax
cocos2d::CCObject *v7; // rax
float *v8; // rsi
float v9; // xmm1_4
cocos2d::CCObject *v10; // rcx
v2 = a2;
v4 = nullptr;
if ( !a2 || (v5 = *(cocos2d::CCAction **)a2) == nullptr )
{
v6 = (cocos2d::CCAction *)sub_1800E4AC0(0x68u);
v5 = v6;
if ( v6 )
{
cocos2d::CCAction::CCAction(v6);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = &cocos2d::CCReverseTime::`vftable';
*((_QWORD *)v5 + 12) = 0;
}
else
{
v5 = nullptr;
}
v2 = (struct cocos2d::CCZone *)sub_1800E4AC0(8u);
if ( v2 )
v2 = tinyxml2::XMLHandle::XMLHandle(v2, v5);
v4 = v2;
}
cocos2d::CCActionInterval::copyWithZone((cocos2d::CCActionInterval *)this, (struct cocos2d::CCObject **)v2);
v7 = cocos2d::CCObject::copy(*(this + 12));
v8 = (float *)cocos2d::CCObject::autorelease(v7);
v9 = v8[20];
*((float *)v5 + 20) = v9;
if ( v9 == 0.0 )
*((_DWORD *)v5 + 20) = 872415232;
*((_DWORD *)v5 + 22) = 0;
*((_BYTE *)v5 + 92) = 1;
v10 = *((cocos2d::CCObject **)v5 + 12);
if ( v10 )
cocos2d::CCObject::release(v10);
*((_QWORD *)v5 + 12) = v8;
cocos2d::CCObject::retain((cocos2d::CCObject *)v8);
if ( v4 )
j_j_free_0(v4);
return v5;
}