//
// cocos2d::CCOrbitCamera::initWithDuration from 0x180025140 to 0x1800251f8 (184 bytes)
//
// 4 xrefs:
// > cocos2d::CCOrbitCamera::copyWithZone @ 0x18002502a
// > cocos2d::CCOrbitCamera::create @ 0x1800250ef
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9310
//
// 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
//
char __fastcall cocos2d::CCOrbitCamera::initWithDuration(
cocos2d::CCOrbitCamera *this,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8)
{
if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )
return 0;
*((float *)this + 37) = a6;
*((float *)this + 39) = a8;
*((float *)this + 36) = a5;
*((float *)this + 41) = a6 * 0.017453292;
*((float *)this + 43) = a8 * 0.017453292;
*((float *)this + 34) = a3;
*((float *)this + 35) = a4;
*((float *)this + 38) = a7;
return 1;
}