//
// cocos2d::CCMoveBy::copyWithZone from 0x180032b20 to 0x180032c42 (290 bytes)
//
// 4 xrefs:
// > cocos2d::CCMoveTo::copyWithZone @ 0x180032ce2
// > ??> @ 0x1800ef6b0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba588
//
// 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 11:21:34 +0000
//
// Hidden C++ exception states: #wind=3
struct cocos2d::CCObject *__fastcall cocos2d::CCMoveBy::copyWithZone(
cocos2d::CCMoveBy *this,
struct cocos2d::CCZone *a2)
{
struct cocos2d::CCZone *v2; // rax
struct cocos2d::CCZone *v4; // rdi
__int64 v5; // rbx
float v6; // xmm1_4
v2 = a2;
v4 = nullptr;
if ( !a2 || (v5 = *(_QWORD *)a2) == 0 )
{
v5 = sub_1800E4AC0(0x78u);
if ( v5 )
{
*(_OWORD *)v5 = 0;
*(_OWORD *)(v5 + 16) = 0;
*(_OWORD *)(v5 + 32) = 0;
*(_OWORD *)(v5 + 48) = 0;
*(_OWORD *)(v5 + 64) = 0;
*(_OWORD *)(v5 + 80) = 0;
*(_OWORD *)(v5 + 96) = 0;
*(_QWORD *)(v5 + 112) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
*(_DWORD *)(v5 + 80) = 0;
*(_QWORD *)v5 = &cocos2d::CCMoveBy::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 96));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 104));
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 112));
}
else
{
v5 = 0;
}
v2 = (struct cocos2d::CCZone *)sub_1800E4AC0(8u);
if ( v2 )
v2 = tinyxml2::XMLHandle::XMLHandle(v2, (struct tinyxml2::XMLNode *)v5);
v4 = v2;
}
cocos2d::CCActionInterval::copyWithZone(this, (struct cocos2d::CCObject **)v2);
v6 = *((float *)this + 20);
*(float *)(v5 + 80) = v6;
if ( v6 == 0.0 )
*(_DWORD *)(v5 + 80) = 872415232;
*(_DWORD *)(v5 + 88) = 0;
*(_BYTE *)(v5 + 92) = 1;
cocos2d::CCSize::operator=((_DWORD *)(v5 + 96), (_DWORD *)this + 24);
if ( v4 )
j_j_free_0(v4);
return (struct cocos2d::CCObject *)v5;
}