//
// cocos2d::CCAnimation::copyWithZone from 0x7eff5e to 0x7effa6 (72 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:03 +0000
//
cocos2d::CCAnimation *__fastcall cocos2d::CCAnimation::copyWithZone(
cocos2d::CCAnimation *this,
cocos2d::CCAnimation **a2)
{
cocos2d::CCAnimation *v3; // r4
_DWORD *v4; // r6
if ( a2 && (v3 = *a2) != nullptr )
{
v4 = nullptr;
}
else
{
v3 = (cocos2d::CCAnimation *)operator new(0x4Cu);
cocos2d::CCAnimation::CCAnimation(v3);
v4 = (_DWORD *)operator new(4u);
cocos2d::CCZone::CCZone(v4, v3);
}
cocos2d::CCAnimation::initWithAnimationFrames(
v3,
*((cocos2d::CCArray **)this + 16),
*((float *)this + 14),
*((_DWORD *)this + 18));
*((_BYTE *)v3 + 68) = *((_BYTE *)this + 68);
if ( v4 )
operator delete(v4);
return v3;
}