//
// cocos2d::CCOrbitCamera::initWithDuration from 0xd2618c to 0xd26210 (132 bytes)
//
// 4 xrefs:
// > cocos2d::CCOrbitCamera::create @ 0xd262d0
// > cocos2d::CCOrbitCamera::copyWithZone @ 0xd26358
// > cocos2d::CCOrbitCamera::copyWithZone @ 0xd26424
// > ??> @ 0xee660
//
// 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
//
float __fastcall cocos2d::CCOrbitCamera::initWithDuration(
cocos2d::CCOrbitCamera *this,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8)
{
float result; // s0
if ( (unsigned __int8)cocos2d::CCActionInterval::initWithDuration(this, a2) )
{
*((float *)this + 32) = a3;
*((float *)this + 33) = a4;
*((float *)this + 34) = a5;
*((float *)this + 35) = a6;
*((float *)this + 36) = a7;
*((float *)this + 37) = a8;
*((float *)this + 39) = a6 * 0.017453;
*((float *)this + 41) = a8 * 0.017453;
return a8 * 0.017453;
}
return result;
}