//
// cocos2d::CCEaseBackInOut::copyWithZone from 0x1005187c0 to 0x10051888b (203 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6c770
//
// 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 12:31:40 +0000
//
_OWORD *__fastcall cocos2d::CCEaseBackInOut::copyWithZone(__int64 a1, void **a2)
{
_OWORD *v2; // rbx
_QWORD *v3; // r15
__int64 v4; // rax
__int64 v5; // r14
if ( a2 && (v2 = *a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = operator new(0x68u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
*((_QWORD *)v2 + 12) = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100B6C770;
v3 = operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
}
v4 = sub_1004800C0(*(__int64 (__fastcall ****)(_QWORD, _QWORD))(a1 + 96));
v5 = cocos2d::CCObject::autorelease(v4);
if ( cocos2d::CCActionInterval::initWithDuration((__int64)v2, (__m128)*(unsigned int *)(v5 + 80)) )
{
*((_QWORD *)v2 + 12) = v5;
cocos2d::CCObject::retain(v5);
}
if ( v3 )
operator delete(v3);
return v2;
}