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