//
// cocos2d::CCFadeIn::copyWithZone from 0x10021fba0 to 0x10021fc38 (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008fc370
//
// 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 11:01:07 +0000
//
_OWORD *__fastcall cocos2d::CCFadeIn::copyWithZone(__int64 a1, void **a2)
{
_OWORD *v3; // x19
void **v4; // x21
if ( a2 && (v3 = *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_1008FC370;
v4 = (void **)operator new(8u);
cocos2d::CCZone::CCZone(v4, v3);
cocos2d::CCActionInterval::copyWithZone(a1, v4);
operator delete(v4);
}
return v3;
}