//
// GJEffectManager::createRotateCommand from 0x100010708 to 0x1000107f4 (236 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerRotateCommand @ 0x1001ef2d8
//
// 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 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)
{
_BOOL4 v13; // w25
_BOOL4 v14; // w23
std::__vector_base::pointer end; // x27
GroupCommandObject2 *v24; // x0
int v25; // w8
int v26; // w3
v13 = a10;
v14 = a9;
end = a1->m_unkVector560.__end_;
if ( end >= a1->m_unkVector560.__end_cap_.__value_ )
{
v24 = (GroupCommandObject2 *)sub_1000193AC(&a1->m_unkVector560);
}
else
{
j_GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560.__end_);
v24 = end + 1;
a1->m_unkVector560.__end_ = end + 1;
}
if ( v13 )
v25 = 2;
else
v25 = 0;
if ( v14 )
v26 = 1;
else
v26 = v25;
a1->m_unkVector560.__end_ = v24;
v24[-1].m_targetGroupID = a4;
v24[-1].m_centerGroupID = a5;
v24[-1].m_triggerUniqueID = a11;
v24[-1].m_controlID = a12;
GroupCommandObject2::runRotateCommand(v24 - 1, a2, a3, a6, a7, a8, v26);
}