//
// cocos2d::CCOrbitCamera::startWithTarget from 0xd265bc to 0xd26688 (204 bytes)
//
// 2 xrefs:
// > ??> @ 0xe48e0
// > ??> @ 0x1510ef8
//
// 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
//
__int64 __fastcall cocos2d::CCOrbitCamera::startWithTarget(cocos2d::CCOrbitCamera *this, cocos2d::CCNode *a2)
{
float v3; // s9
float v4; // s8
float v6; // [xsp+3Ch] [xbp+3Ch] BYREF
float v7; // [xsp+40h] [xbp+40h] BYREF
float v8; // [xsp+44h] [xbp+44h] BYREF
cocos2d::CCActionInterval::startWithTarget(this, a2);
cocos2d::CCOrbitCamera::sphericalRadius(this, &v6, &v7, &v8);
if ( __isnanf(*((float *)this + 32)) )
*((float *)this + 32) = v6;
v3 = *((float *)this + 34);
if ( __isnanf(v3) )
{
v3 = v7 * 57.296;
*((float *)this + 34) = v7 * 57.296;
}
v4 = *((float *)this + 36);
if ( __isnanf(v4) )
{
v4 = v8 * 57.296;
*((float *)this + 36) = v8 * 57.296;
}
*((float *)this + 38) = v3 * 0.017453;
*((float *)this + 40) = v4 * 0.017453;
return _stack_chk_guard;
}