//
// GroupCommandObject2::runPlayerFollowCommand from 0xba2440 to 0xba24dc (156 bytes)
//
// 2 xrefs:
// > GJEffectManager::createPlayerFollowCommand @ 0xa1625c
// > ??> @ 0xfeb00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:02:47 +0000
//
__int64 __fastcall GroupCommandObject2::runPlayerFollowCommand(
__int64 this,
double a2,
double a3,
int a4,
double a5,
double a6)
{
*(_DWORD *)(this + 208) = 3;
if ( a2 > 500.0 )
{
*(_DWORD *)(this + 328) = a4;
*(_QWORD *)(this + 312) = 0x407F400000000000LL;
*(double *)(this + 320) = a3;
*(double *)(this + 336) = a5;
*(double *)(this + 24) = a6;
return this;
}
if ( a2 <= 0.0 )
{
*(_DWORD *)(this + 328) = a4;
*(double *)(this + 320) = a3;
*(double *)(this + 336) = a5;
*(double *)(this + 24) = a6;
*(_QWORD *)(this + 312) = 0;
LABEL_5:
*(_BYTE *)(this + 112) = 1;
*(_BYTE *)(this + 114) = 1;
return this;
}
if ( a2 > 500.0 )
{
*(_QWORD *)(this + 312) = 0x407F400000000000LL;
*(_DWORD *)(this + 328) = a4;
*(double *)(this + 320) = a3;
*(double *)(this + 336) = a5;
*(double *)(this + 24) = a6;
return this;
}
*(_DWORD *)(this + 328) = a4;
*(double *)(this + 312) = a2;
*(double *)(this + 320) = a3;
*(double *)(this + 336) = a5;
*(double *)(this + 24) = a6;
if ( a2 <= 0.0 )
goto LABEL_5;
return this;
}