//
// cocos2d::CCOrbitCamera::initWithDuration from 0x1003679d0 to 0x100367a78 (168 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCOrbitCamera::initWithDuration(
cocos2d::CCOrbitCamera *a1,
float a2,
float a3,
float a4,
float a5,
float a6,
float a7,
float a8)
{
bool result; // al
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.017453292;
*((float *)&a1[1].m_pTarget + 1) = a8 * 0.017453292;
}
return result;
}