//
// cocos2d::CCFadeOut::copyWithZone from 0x1800326a0 to 0x180032777 (215 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800efc60
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba558
//
// 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
//
struct cocos2d::CCObject *__fastcall cocos2d::CCFadeOut::copyWithZone(
cocos2d::CCFadeOut *this,
struct cocos2d::CCObject **a2)
{
struct cocos2d::CCObject *v3; // rbx
struct tinyxml2::XMLNode *v5; // rax
struct tinyxml2::XMLNode *v6; // rbx
struct cocos2d::CCObject **v7; // rdi
tinyxml2::XMLHandle *v8; // rax
if ( a2 && (v3 = *a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
return v3;
}
else
{
v5 = (struct tinyxml2::XMLNode *)sub_1800E4AC0(0x60u);
v6 = v5;
if ( v5 )
{
*(_OWORD *)v5 = 0;
*((_OWORD *)v5 + 1) = 0;
*((_OWORD *)v5 + 2) = 0;
*((_OWORD *)v5 + 3) = 0;
*((_OWORD *)v5 + 4) = 0;
*((_OWORD *)v5 + 5) = 0;
cocos2d::CCAction::CCAction(v5);
v7 = nullptr;
*((_DWORD *)v6 + 20) = 0;
*(_QWORD *)v6 = &cocos2d::CCFadeOut::`vftable';
}
else
{
v7 = nullptr;
v6 = nullptr;
}
v8 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u);
if ( v8 )
v7 = (struct cocos2d::CCObject **)tinyxml2::XMLHandle::XMLHandle(v8, v6);
cocos2d::CCActionInterval::copyWithZone(this, v7);
if ( v7 )
j_j_free_0(v7);
return v6;
}
}