//
// GJEffectManager::createRotateCommand from 0x4a52d0 to 0x4a535c (140 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::triggerRotateCommand @ 0x3687ec
// > GJBaseGameLayer::triggerRotateCommand @ 0x481ee0
//
// 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)
{
int v15; // r5
std::vector *p_m_unkVector560; // r4
GroupCommandObject2 *v17; // r0
if ( a9 )
{
v15 = 1;
}
else if ( a10 )
{
v15 = 2;
}
else
{
v15 = 0;
}
p_m_unkVector560 = &a1->m_unkVector560;
std::vector::emplace_back<>((int)&a1->m_unkVector560);
v17 = (GroupCommandObject2 *)std::vector::back((int)p_m_unkVector560);
v17->m_targetGroupID = a4;
v17->m_centerGroupID = a5;
v17->m_triggerUniqueID = a11;
v17->m_controlID = a12;
GroupCommandObject2::runRotateCommand(v17, a2, a3, a6, a7, a8, v15);
}