//
// GJEffectManager::createPlayerFollowCommand from 0x1000109d4 to 0x100010a94 (192 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x100385fd4
//
// 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::createPlayerFollowCommand(
GJEffectManager *a1,
float a2,
float a3,
int a4,
float a5,
float a6,
int a7,
int a8,
int a9)
{
GroupCommandObject2 *end; // x24
GroupCommandObject2 *v19; // x24
end = a1->m_unkVector560.__end_;
if ( end >= a1->m_unkVector560.__end_cap_.__value_ )
{
v19 = (GroupCommandObject2 *)sub_1000193AC(&a1->m_unkVector560);
}
else
{
j_GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560.__end_);
v19 = end + 1;
a1->m_unkVector560.__end_ = v19;
}
a1->m_unkVector560.__end_ = v19;
GroupCommandObject2::reset(v19 - 1);
v19[-1].m_targetGroupID = a7;
v19[-1].m_triggerUniqueID = a8;
v19[-1].m_controlID = a9;
GroupCommandObject2::runPlayerFollowCommand(v19 - 1, a2, a3, a4, a5, a6);
}