//
// GJEffectManager::createRotateCommand from 0x14025c9b0 to 0x14025cad6 (294 bytes)
//
// 3 xrefs:
// > EffectGameObject::triggerObject @ 0x1404a688c
// > ??> @ 0x1406cfe40
// > ??> @ 0x1406cfe4c
//
// 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 GJEffectManager::createRotateCommand(
GJEffectManager *a1,
float a2,
float a3,
int a4,
int a5,
int a6,
float a7,
bool a8,
bool a9,
bool a10,
int a11,
int a12)
{
std::_Vector_val>::pointer Mylast; // rcx
if ( a1->m_unkVector560._Mypair._Myval2._Mylast == a1->m_unkVector560._Mypair._Myval2._Myend )
{
sub_14026B310(&a1->m_unkVector560);
}
else
{
GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560._Mypair._Myval2._Mylast);
++a1->m_unkVector560._Mypair._Myval2._Mylast;
}
Mylast = a1->m_unkVector560._Mypair._Myval2._Mylast;
Mylast[-1].m_centerGroupID = a5;
Mylast[-1].m_triggerUniqueID = a11;
Mylast[-1].m_duration = a3;
Mylast[-1].m_controlID = a12;
Mylast[-1].m_easingType = a6;
Mylast[-1].m_targetGroupID = a4;
Mylast[-1].m_commandType = 1;
Mylast[-1].m_lockObjectRotation = a8;
Mylast[-1].m_targetPlayer = 0;
Mylast[-1].m_easingRate = a7;
Mylast[-1].m_rotationOffset = a2;
if ( a2 == 0.0 )
{
Mylast[-1].m_finished = 1;
Mylast[-1].m_finishRelated = 1;
}
else
{
Mylast[-1].m_actionValue1 = a2;
Mylast[-1].m_actionType1 = 3;
}
}