//
// cocos2d::CCOrbitCamera::initWithDuration from 0xab464c to 0xab46d0 (132 bytes)
//
// 4 xrefs:
// > cocos2d::CCOrbitCamera::create @ 0xab4790
// > cocos2d::CCOrbitCamera::copyWithZone @ 0xab4818
// > cocos2d::CCOrbitCamera::copyWithZone @ 0xab48e4
// > ??> @ 0xb6820
//
// 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
//
bool cocos2d::CCOrbitCamera::initWithDuration(
cocos2d::CCOrbitCamera *a1,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8)
{
bool result; // w0
result = cocos2d::CCActionInterval::initWithDuration(a1, a2);
if ( result )
{
*(float *)&a1[1].m_uIndexInArray = a3;
*(float *)&a1[1].m_uUnknown = a4;
*(float *)&a1[1].m_unknown2 = a5;
*(float *)&a1[1].m_nZOrder = a6;
*(float *)&a1[1].m_uOrderOfArrival = a7;
*(float *)&a1[1].m_unknown5 = a8;
*((float *)&a1[1].m_pOriginalTarget + 1) = a6 * 0.017453;
*((float *)&a1[1].m_pTarget + 1) = a8 * 0.017453;
}
return result;
}