//
// GroupCommandObject2::runPlayerFollowCommand from 0x6d0130 to 0x6d019e (110 bytes)
//
// 1 xrefs:
// > GJEffectManager::createPlayerFollowCommand @ 0x5d0d82
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:57:02 +0000
//
int __fastcall GroupCommandObject2::runPlayerFollowCommand(
int this,
double a2,
double a3,
int a4,
double a5,
double a6)
{
double v7; // d7
v7 = 500.0;
*(_DWORD *)(this + 208) = 3;
if ( a2 <= 500.0 )
{
if ( a2 <= 0.0 )
{
v7 = 0.0;
}
else if ( a2 <= 500.0 )
{
v7 = a2;
}
}
*(double *)(this + 320) = a3;
*(double *)(this + 312) = v7;
*(_DWORD *)(this + 328) = a4;
*(double *)(this + 336) = a5;
*(double *)(this + 24) = a6;
if ( v7 <= 0.0 )
{
*(_BYTE *)(this + 112) = 1;
*(_BYTE *)(this + 114) = 1;
}
return this;
}