//
// cocos2d::CCOrbitCamera::startWithTarget from 0x180025440 to 0x180025514 (212 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800ed6b8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9334
//
// 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
//
void __fastcall cocos2d::CCOrbitCamera::startWithTarget(cocos2d::CCOrbitCamera *this, struct cocos2d::CCNode *a2)
{
float v3; // [rsp+30h] [rbp+8h] BYREF
float v4; // [rsp+40h] [rbp+18h] BYREF
float v5; // [rsp+48h] [rbp+20h] BYREF
cocos2d::CCActionInterval::startWithTarget(this, a2);
cocos2d::CCOrbitCamera::sphericalRadius(this, &v3, &v4, &v5);
if ( isnan(*((float *)this + 34)) )
*((float *)this + 34) = v3;
if ( isnan(*((float *)this + 36)) )
*((float *)this + 36) = v4 * 57.29578;
if ( isnan(*((float *)this + 38)) )
*((float *)this + 38) = v5 * 57.29578;
*((float *)this + 40) = *((float *)this + 36) * 0.017453292;
*((float *)this + 42) = *((float *)this + 38) * 0.017453292;
}