//
// GJEffectManager::createPlayerFollowCommand from 0x5d0cf8 to 0x5d0d8e (150 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::triggerPlayerFollowCommand @ 0x462282
// > EffectGameObject::triggerObject @ 0x4f4ec6
//
// 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:54:04 +0000
//
int __fastcall GJEffectManager::createPlayerFollowCommand(
GJEffectManager *this,
float a2,
float a3,
int a4,
float a5,
float a6,
int a7,
int a8,
int a9)
{
GroupCommandObject2 *v12; // r0
int v14; // r4
v12 = *((GroupCommandObject2 **)this + 181);
if ( (unsigned int)v12 >= *((_DWORD *)this + 182) )
{
std::vector::__emplace_back_slow_path<>((const GroupCommandObject2 **)this + 180);
}
else
{
if ( v12 )
GroupCommandObject2::GroupCommandObject2(v12);
*((_DWORD *)this + 181) += 488;
}
v14 = *((_DWORD *)this + 181);
GroupCommandObject2::reset((GroupCommandObject2 *)(v14 - 488));
*(_DWORD *)(v14 - 448) = a7;
*(_DWORD *)(v14 - 144) = a8;
*(_DWORD *)(v14 - 140) = a9;
return GroupCommandObject2::runPlayerFollowCommand((GroupCommandObject2 *)(v14 - 488), a2, a3, a4, a5, a6);
}