//
// cocos2d::CCOrbitCamera::copyWithZone from 0xd26314 to 0xd26444 (304 bytes)
//
// 2 xrefs:
// > ??> @ 0x86f50
// > ??> @ 0x1510ea0
//
// 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:14 +0000
//
cocos2d::CCOrbitCamera *__fastcall cocos2d::CCOrbitCamera::copyWithZone(
cocos2d::CCOrbitCamera *this,
cocos2d::CCZone *a2)
{
cocos2d::CCOrbitCamera *v3; // x19
cocos2d::CCAction *v5; // x19
cocos2d::CCZone *v6; // x21
if ( a2 && (v3 = *(cocos2d::CCOrbitCamera **)a2) != nullptr )
{
cocos2d::CCActionInterval::copyWithZone(this, a2);
cocos2d::CCOrbitCamera::initWithDuration(
v3,
*((float *)this + 20),
*((float *)this + 32),
*((float *)this + 33),
*((float *)this + 34),
*((float *)this + 35),
*((float *)this + 36),
*((float *)this + 37));
return v3;
}
else
{
v5 = (cocos2d::CCAction *)operator new(0xA8u);
cocos2d::CCAction::CCAction(v5);
*((_DWORD *)v5 + 20) = 0;
*((_DWORD *)v5 + 23) = 0;
*((_DWORD *)v5 + 24) = 0;
*((_DWORD *)v5 + 25) = 0;
*((_DWORD *)v5 + 26) = 0;
*((_DWORD *)v5 + 27) = 0;
*((_DWORD *)v5 + 28) = 0;
*((_DWORD *)v5 + 29) = 0;
*((_DWORD *)v5 + 30) = 0;
*((_DWORD *)v5 + 31) = 0;
*((_DWORD *)v5 + 32) = 0;
*(_QWORD *)v5 = &off_1510EA0;
*((_DWORD *)v5 + 33) = 0;
*((_DWORD *)v5 + 34) = 0;
*((_DWORD *)v5 + 35) = 0;
*((_DWORD *)v5 + 36) = 0;
*((_DWORD *)v5 + 37) = 0;
*((_DWORD *)v5 + 38) = 0;
*((_DWORD *)v5 + 39) = 0;
*((_DWORD *)v5 + 40) = 0;
*((_DWORD *)v5 + 41) = 0;
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, v5);
cocos2d::CCActionInterval::copyWithZone(this, v6);
cocos2d::CCOrbitCamera::initWithDuration(
v5,
*((float *)this + 20),
*((float *)this + 32),
*((float *)this + 33),
*((float *)this + 34),
*((float *)this + 35),
*((float *)this + 36),
*((float *)this + 37));
operator delete(v6);
return v5;
}
}