//
// GroupCommandObject2::runRotateCommand from 0x58a438 to 0x58a494 (92 bytes)
//
// 1 xrefs:
// > GJEffectManager::createRotateCommand @ 0x4a5358
//
// 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)
{
double v7; // d7
v7 = 0.0;
a1->m_targetPlayer = a7;
if ( !a7 )
v7 = a2;
a1->m_duration = a3;
a1->m_easingType = a4;
a1->m_commandType = 1;
a1->m_rotationOffset = v7;
a1->m_easingRate = a5;
a1->m_lockObjectRotation = a6;
if ( v7 != 0.0 || a7 )
{
a1->m_actionValue1 = v7;
a1->m_actionType1 = 3;
}
else
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
}
}