//
// cocos2d::CCOrbitCamera::startWithTarget from 0x7b6cf8 to 0x7b6d82 (138 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
//
int __fastcall cocos2d::CCOrbitCamera::startWithTarget(cocos2d::CCOrbitCamera *this, cocos2d::CCNode *a2)
{
int result; // r0
int v4; // [sp+0h] [bp-14h] BYREF
float v5; // [sp+4h] [bp-10h] BYREF
float v6; // [sp+8h] [bp-Ch] BYREF
cocos2d::CCActionInterval::startWithTarget(this, a2);
cocos2d::CCOrbitCamera::sphericalRadius(this, (float *)&v4, &v5, &v6);
if ( _isnanf(*((float *)this + 29)) )
*((_DWORD *)this + 29) = v4;
if ( _isnanf(*((float *)this + 31)) )
*((float *)this + 31) = v5 * 57.296;
result = _isnanf(*((float *)this + 33));
if ( result )
*((float *)this + 33) = v6 * 57.296;
*((float *)this + 35) = *((float *)this + 31) * 0.017453;
*((float *)this + 37) = *((float *)this + 33) * 0.017453;
return result;
}