//
// GJEffectManager::createFollowCommand from 0x5d0c66 to 0x5d0cf8 (146 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::triggerFollowCommand @ 0x46223a
// > EffectGameObject::triggerObject @ 0x4f4e8a
//
// 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::createFollowCommand(
GJEffectManager *this,
float a2,
float a3,
float a4,
int a5,
int a6,
int a7,
int a8)
{
GroupCommandObject2 *v10; // r0
int v13; // r4
v10 = *((GroupCommandObject2 **)this + 181);
if ( (unsigned int)v10 >= *((_DWORD *)this + 182) )
{
std::vector::__emplace_back_slow_path<>((const GroupCommandObject2 **)this + 180);
}
else
{
if ( v10 )
GroupCommandObject2::GroupCommandObject2(v10);
*((_DWORD *)this + 181) += 488;
}
v13 = *((_DWORD *)this + 181);
GroupCommandObject2::reset((GroupCommandObject2 *)(v13 - 488));
*(_DWORD *)(v13 - 448) = a5;
*(_DWORD *)(v13 - 444) = a6;
*(_DWORD *)(v13 - 144) = a7;
*(_DWORD *)(v13 - 140) = a8;
return GroupCommandObject2::runFollowCommand((GroupCommandObject2 *)(v13 - 488), a2, a3, a4);
}