//
// cocos2d::CCMoveBy::copyWithZone from 0xd33fec to 0xd340e0 (244 bytes)
//
// 4 xrefs:
// > cocos2d::CCMoveTo::copyWithZone @ 0xd341f4
// > cocos2d::CCMoveTo::copyWithZone @ 0xd342b0
// > ??> @ 0xfe560
// > ??> @ 0x1513cf0
//
// 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:22 +0000
//
cocos2d::CCMoveBy *__fastcall cocos2d::CCMoveBy::copyWithZone(cocos2d::CCMoveBy *this, cocos2d::CCZone *a2)
{
cocos2d::CCMoveBy *v3; // x19
_QWORD *v5; // x0
_DWORD *v6; // x19
cocos2d::CCZone *v7; // x21
if ( a2 && (v3 = *(cocos2d::CCMoveBy **)a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
cocos2d::CCMoveBy::initWithDuration(v3, *((float *)this + 20), (cocos2d::CCMoveBy *)((char *)this + 92));
return v3;
}
else
{
v5 = (_QWORD *)operator new(0x78u);
v5[14] = 0;
*v5 = 0;
v5[1] = 0;
v5[2] = 0;
v5[3] = 0;
v5[4] = 0;
v5[5] = 0;
v5[6] = 0;
v5[7] = 0;
v5[8] = 0;
v5[9] = 0;
v5[10] = 0;
v5[11] = 0;
v5[12] = 0;
v5[13] = 0;
v6 = v5;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
v6[20] = 0;
*(_QWORD *)v6 = &off_1513CF0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 23));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 25));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 27));
v7 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v7, (cocos2d::CCObject *)v6);
cocos2d::CCActionInterval::copyWithZone(this, v7);
cocos2d::CCMoveBy::initWithDuration(
(cocos2d::CCMoveBy *)v6,
*((float *)this + 20),
(cocos2d::CCMoveBy *)((char *)this + 92));
operator delete(v7);
return (cocos2d::CCMoveBy *)v6;
}
}