//
// GroupCommandObject2::runRotateCommand from 0xa6b568 to 0xa6b5d8 (112 bytes)
//
// 2 xrefs:
// > GJEffectManager::createRotateCommand @ 0x8b27d4
// > ??> @ 0xa4898
//
// 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
//
void GroupCommandObject2::runRotateCommand(
GroupCommandObject2 *a1,
double a2,
double a3,
int a4,
double a5,
bool a6,
int a7)
{
if ( a7 )
{
a2 = 0.0;
a1->m_easingType = a4;
a1->m_commandType = 1;
a1->m_lockObjectRotation = a6;
a1->m_targetPlayer = a7;
a1->m_duration = a3;
a1->m_easingRate = a5;
a1->m_rotationOffset = 0.0;
}
else
{
a1->m_easingType = a4;
a1->m_commandType = 1;
a1->m_lockObjectRotation = a6;
a1->m_targetPlayer = 0;
a1->m_rotationOffset = a2;
a1->m_duration = a3;
a1->m_easingRate = a5;
if ( a2 == 0.0 )
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
return;
}
}
a1->m_actionType1 = 3;
a1->m_actionValue1 = a2;
}