//
// GJEffectManager::createPlayerFollowCommand from 0x14025cbf0 to 0x14025cd09 (281 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x1404a6f09
// > ??> @ 0x1406cfe64
//
// 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::createPlayerFollowCommand(
GJEffectManager *a1,
float a2,
float a3,
int a4,
float a5,
float a6,
int a7,
int a8,
int a9)
{
std::_Vector_val>::pointer v12; // rbx
double v13; // xmm2_8
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;
}
v12 = a1->m_unkVector560._Mypair._Myval2._Mylast - 1;
GroupCommandObject2::reset(v12);
v12->m_targetGroupID = a7;
v12->m_triggerUniqueID = a8;
v12->m_controlID = a9;
v12->m_commandType = 3;
v13 = fmin(a2, 500.0);
if ( v13 < 0.0 )
v13 = 0.0;
v12->m_followYOffset = a4;
v12->m_followYDelay = a3;
v12->m_followYSpeed = v13;
v12->m_duration = a6;
v12->m_followYMaxSpeed = a5;
if ( v13 <= 0.0 )
{
v12->m_finished = 1;
v12->m_finishRelated = 1;
}
}