//
// GroupCommandObject2::runRotateCommand from 0x10000ae4c to 0x10000ae9c (80 bytes)
//
// 1 xrefs:
// > GJEffectManager::createRotateCommand @ 0x1000107f0
//
// 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 __fastcall GroupCommandObject2::runRotateCommand(
GroupCommandObject2 *a1,
double a2,
double a3,
int a4,
double a5,
bool a6,
int a7)
{
a1->m_commandType = 1;
if ( a7 )
a2 = 0.0;
a1->m_rotationOffset = a2;
a1->m_easingType = a4;
a1->m_easingRate = a5;
a1->m_duration = a3;
a1->m_lockObjectRotation = a6;
a1->m_targetPlayer = a7;
if ( a7 || a2 != 0.0 )
{
a1->m_actionType1 = 3;
a1->m_actionValue1 = a2;
}
else
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
}
}