//
// cocos2d::CCOrbitCamera::copyWithZone from 0x7b6b34 to 0x7b6bdc (168 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::CCOrbitCamera::copyWithZone(cocos2d::CCOrbitCamera *this, cocos2d::CCZone *a2)
{
cocos2d::CCZone *v3; // r6
cocos2d::CCAction *v4; // r4
cocos2d::CCZone *v5; // r7
v3 = a2;
if ( a2 && (v4 = *(cocos2d::CCAction **)a2) != nullptr )
{
v5 = nullptr;
}
else
{
v4 = (cocos2d::CCAction *)operator new(0x9Cu);
cocos2d::CCAction::CCAction(v4);
*((_DWORD *)v4 + 17) = 0;
*((_DWORD *)v4 + 20) = 0;
*((_DWORD *)v4 + 21) = 0;
*((_DWORD *)v4 + 22) = 0;
*((_DWORD *)v4 + 23) = 0;
*((_DWORD *)v4 + 24) = 0;
*((_DWORD *)v4 + 25) = 0;
*((_DWORD *)v4 + 26) = 0;
*((_DWORD *)v4 + 27) = 0;
*((_DWORD *)v4 + 28) = 0;
*(_DWORD *)v4 = &off_D02518;
*((_DWORD *)v4 + 29) = 0;
*((_DWORD *)v4 + 30) = 0;
*((_DWORD *)v4 + 31) = 0;
*((_DWORD *)v4 + 32) = 0;
*((_DWORD *)v4 + 33) = 0;
*((_DWORD *)v4 + 34) = 0;
*((_DWORD *)v4 + 35) = 0;
*((_DWORD *)v4 + 36) = 0;
*((_DWORD *)v4 + 37) = 0;
*((_DWORD *)v4 + 38) = 0;
v3 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v3, v4);
v5 = v3;
}
cocos2d::CCActionInterval::copyWithZone(this, v3);
cocos2d::CCOrbitCamera::initWithDuration(
v4,
*((float *)this + 17),
*((float *)this + 29),
*((float *)this + 30),
*((float *)this + 31),
*((float *)this + 32),
*((float *)this + 33),
*((float *)this + 34));
if ( v5 )
operator delete(v5);
return v4;
}