//
// GroupCommandObject2::runPlayerFollowCommand from 0x10000aeec to 0x10000af34 (72 bytes)
//
// 1 xrefs:
// > GJEffectManager::createPlayerFollowCommand @ 0x100010a90
//
// 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 GroupCommandObject2::runPlayerFollowCommand(
GroupCommandObject2 *a1,
double a2,
double a3,
int a4,
double a5,
double a6)
{
double v6; // d0
a1->m_commandType = 3;
if ( a2 > 500.0 )
a2 = 500.0;
v6 = fmax(a2, 0.0);
a1->m_followYSpeed = v6;
a1->m_followYDelay = a3;
a1->m_followYOffset = a4;
a1->m_followYMaxSpeed = a5;
a1->m_duration = a6;
if ( v6 <= 0.0 )
{
a1->m_finished = 1;
a1->m_finishRelated = 1;
}
}