//
// cocos2d::CCOrbitCamera::copyWithZone from 0x180024f60 to 0x180025054 (244 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ed668
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b92f8
//
// This function is hookable on this platform (idp: pc, 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 11:21:29 +0000
//
// Hidden C++ exception states: #wind=2
struct cocos2d::CCObject *__fastcall cocos2d::CCOrbitCamera::copyWithZone(
cocos2d::CCOrbitCamera *this,
cocos2d::CCOrbitCamera **a2)
{
tinyxml2::XMLHandle *v2; // rax
tinyxml2::XMLHandle *v4; // rdi
cocos2d::CCOrbitCamera *v5; // rbx
cocos2d::CCOrbitCamera *v6; // rax
tinyxml2::XMLHandle *v7; // rax
v2 = (tinyxml2::XMLHandle *)a2;
v4 = nullptr;
if ( !a2 || (v5 = *a2) == nullptr )
{
v6 = (cocos2d::CCOrbitCamera *)sub_1800E4AC0(0xB0u);
if ( v6 )
v5 = cocos2d::CCOrbitCamera::CCOrbitCamera(v6);
else
v5 = nullptr;
v7 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u);
if ( v7 )
v2 = tinyxml2::XMLHandle::XMLHandle(v7, v5);
else
v2 = nullptr;
v4 = v2;
}
cocos2d::CCActionInterval::copyWithZone(this, v2);
cocos2d::CCOrbitCamera::initWithDuration(
v5,
*((float *)this + 20),
*((float *)this + 34),
*((float *)this + 35),
*((float *)this + 36),
*((float *)this + 37),
*((float *)this + 38),
*((float *)this + 39));
if ( v4 )
j_j_free_0(v4);
return v5;
}