//
// cocos2d::CCOrbitCamera::initWithDuration from 0x180024bc0 to 0x180024c78 (184 bytes)
//
// 4 xrefs:
// > cocos2d::CCOrbitCamera::copyWithZone @ 0x180024aaa
// > cocos2d::CCOrbitCamera::create @ 0x180024b6f
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af22c
//
// 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
//
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;
}