//
// cocos2d::CCFadeOut::copyWithZone from 0xd33010 to 0xd330c4 (180 bytes)
//
// 2 xrefs:
// > ??> @ 0xcf3a0
// > ??> @ 0x15143b0
//
// This function is hookable on this platform (idp: arm, 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 13:07:21 +0000
//
cocos2d::CCAction *__fastcall cocos2d::CCFadeOut::copyWithZone(cocos2d::CCFadeOut *this, cocos2d::CCZone *a2)
{
__int64 v3; // x19
cocos2d::CCAction *v5; // x19
cocos2d::CCZone *v6; // x20
if ( a2 && (v3 = *(_QWORD *)a2) != 0 )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
return (cocos2d::CCAction *)v3;
}
else
{
v5 = (cocos2d::CCAction *)operator new(0x60u);
*(_QWORD *)v5 = 0;
*((_QWORD *)v5 + 1) = 0;
*((_QWORD *)v5 + 2) = 0;
*((_QWORD *)v5 + 3) = 0;
*((_QWORD *)v5 + 4) = 0;
*((_QWORD *)v5 + 5) = 0;
*((_QWORD *)v5 + 6) = 0;
*((_QWORD *)v5 + 7) = 0;
*((_QWORD *)v5 + 8) = 0;
*((_QWORD *)v5 + 9) = 0;
*((_QWORD *)v5 + 10) = 0;
*((_QWORD *)v5 + 11) = 0;
cocos2d::CCAction::CCAction(v5);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = &off_15143B0;
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
cocos2d::CCActionInterval::copyWithZone(this, v6);
operator delete(v6);
return v5;
}
}