//
// cocos2d::CCEaseElasticOut::copyWithZone from 0x10030a9a4 to 0x10030aa60 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092bf68
//
// 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:03:10 +0000
//
_OWORD *__fastcall cocos2d::CCEaseElasticOut::copyWithZone(__int64 a1, void **a2)
{
_OWORD *v3; // x19
_QWORD *v4; // x21
__int64 v5; // x0
__int64 v6; // x0
int v7; // s8
if ( a2 && (v3 = *a2) != nullptr )
{
v4 = nullptr;
}
else
{
v3 = operator new(0x70u);
*v3 = 0u;
v3[1] = 0u;
v3[2] = 0u;
v3[3] = 0u;
v3[4] = 0u;
v3[5] = 0u;
v3[6] = 0u;
cocos2d::CCAction::CCAction((__int64)v3);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &off_10092BF68;
v4 = operator new(8u);
cocos2d::CCZone::CCZone(v4, (__int64)v3);
}
v5 = sub_10008EA20(*(__int64 (__fastcall ****)(_QWORD, _QWORD))(a1 + 96));
v6 = cocos2d::CCObject::autorelease(v5);
v7 = *(_DWORD *)(a1 + 104);
if ( (unsigned int)cocos2d::CCActionEase::initWithAction((__int64)v3, v6) )
*((_DWORD *)v3 + 26) = v7;
if ( v4 )
operator delete(v4);
return v3;
}