//
// cocos2d::CCBezierBy::copyWithZone from 0xd34bbc to 0xd34cc4 (264 bytes)
//
// 4 xrefs:
// > cocos2d::CCBezierTo::copyWithZone @ 0xd34ce4
// > cocos2d::CCBezierTo::copyWithZone @ 0xd34dc8
// > ??> @ 0xa8250
// > ??> @ 0x1514050
//
// 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::CCActionInterval *__fastcall cocos2d::CCBezierBy::copyWithZone(cocos2d::CCBezierBy *this, cocos2d::CCZone *a2)
{
cocos2d::CCActionInterval *v3; // x19
_QWORD *v5; // x0
_DWORD *v6; // x19
cocos2d::CCZone *v7; // x21
if ( a2 && (v3 = *(cocos2d::CCActionInterval **)a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
cocos2d::CCBezierBy::initWithDuration(v3, (__int64)this + 92, *((float *)this + 20));
return v3;
}
else
{
v5 = (_QWORD *)operator new(0x88u);
v5[16] = 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;
v5[14] = 0;
v5[15] = 0;
v6 = v5;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
v6[20] = 0;
*(_QWORD *)v6 = &off_1514050;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 23));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 25));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 27));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 29));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 31));
v7 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v7, (cocos2d::CCObject *)v6);
cocos2d::CCActionInterval::copyWithZone(this, v7);
cocos2d::CCBezierBy::initWithDuration((cocos2d::CCActionInterval *)v6, (__int64)this + 92, *((float *)this + 20));
operator delete(v7);
return (cocos2d::CCActionInterval *)v6;
}
}