//
// cocos2d::CCSpeed::copyWithZone from 0x7b669c to 0x7b6702 (102 bytes)
//
// 0 xrefs:
//
// 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:11 +0000
//
cocos2d::CCAction *__fastcall cocos2d::CCSpeed::copyWithZone(cocos2d::CCSpeed *this, cocos2d::CCZone *a2)
{
cocos2d::CCZone *v3; // r5
cocos2d::CCAction *v4; // r4
cocos2d::CCZone *v5; // r6
cocos2d::CCObject *v6; // r0
cocos2d::CCActionInterval *v7; // r0
v3 = a2;
if ( a2 && (v4 = *(cocos2d::CCAction **)a2) != nullptr )
{
v5 = nullptr;
}
else
{
v4 = (cocos2d::CCAction *)operator new(0x4Cu);
cocos2d::CCAction::CCAction(v4);
*(_DWORD *)v4 = &off_D02430;
*((_DWORD *)v4 + 17) = 0;
*((_DWORD *)v4 + 18) = 0;
v3 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v3, v4);
v5 = v3;
}
cocos2d::CCAction::copyWithZone(this, (cocos2d::CCAction **)v3);
v6 = (cocos2d::CCObject *)cocos2d::CCObject::copy(*((cocos2d::CCObject **)this + 18));
v7 = (cocos2d::CCActionInterval *)cocos2d::CCObject::autorelease(v6);
cocos2d::CCSpeed::initWithAction(v4, v7, *((float *)this + 17));
if ( v5 )
operator delete(v5);
return v4;
}