//
// GJEffectManager::createFollowCommand from 0x100010910 to 0x1000109cc (188 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100386058
//
// 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::createFollowCommand(
GJEffectManager *a1,
float a2,
float a3,
float a4,
int a5,
int a6,
int a7,
int a8)
{
GroupCommandObject2 *end; // x24
GroupCommandObject2 *v17; // x24
end = a1->m_unkVector560.__end_;
if ( end >= a1->m_unkVector560.__end_cap_.__value_ )
{
v17 = (GroupCommandObject2 *)sub_1000193AC(&a1->m_unkVector560);
}
else
{
j_GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560.__end_);
v17 = end + 1;
a1->m_unkVector560.__end_ = v17;
}
a1->m_unkVector560.__end_ = v17;
GroupCommandObject2::reset(v17 - 1);
v17[-1].m_targetGroupID = a5;
v17[-1].m_centerGroupID = a6;
v17[-1].m_triggerUniqueID = a7;
v17[-1].m_controlID = a8;
GroupCommandObject2::runFollowCommand(v17 - 1, a2, a3, a4);
}