//
// cocos2d::CCOrbitCamera::startWithTarget from 0x180024ec0 to 0x180024f94 (212 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e7650
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af250
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}