//
// cocos2d::CCMoveBy::copyWithZone from 0x7be810 to 0x7be866 (86 bytes)
//
// 1 xrefs:
// > cocos2d::CCMoveTo::copyWithZone @ 0x7be918
//
// 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:00:18 +0000
//
void *__fastcall cocos2d::CCMoveBy::copyWithZone(cocos2d::CCMoveBy *this, void **a2)
{
cocos2d::CCZone *v3; // r5
void *v4; // r4
cocos2d::CCZone *v5; // r6
v3 = (cocos2d::CCZone *)a2;
if ( a2 && (v4 = *a2) != nullptr )
{
v5 = nullptr;
}
else
{
v4 = (void *)operator new(0x68u);
memset(v4, 0, 0x68u);
cocos2d::CCMoveBy::CCMoveBy((cocos2d::CCMoveBy *)v4);
v3 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v3, (cocos2d::CCObject *)v4);
v5 = v3;
}
cocos2d::CCActionInterval::copyWithZone(this, (void **)v3);
cocos2d::CCMoveBy::initWithDuration(
(cocos2d::CCMoveBy *)v4,
*((float *)this + 17),
(cocos2d::CCMoveBy *)((char *)this + 80));
if ( v5 )
operator delete(v5);
return v4;
}