//
// GJEffectManager::createFollowCommand from 0xa160dc to 0xa161a0 (196 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::triggerFollowCommand @ 0x78d1ac
// > EffectGameObject::triggerObject @ 0x898808
// > ??> @ 0xb3f98
//
// 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 12:59:33 +0000
//
__int64 __fastcall GJEffectManager::createFollowCommand(
GJEffectManager *this,
float a2,
float a3,
float a4,
int a5,
int a6,
int a7,
int a8)
{
char *v9; // x20
GroupCommandObject2 *v11; // x0
char *v18; // x19
v9 = (char *)this + 1232;
v11 = *((GroupCommandObject2 **)this + 155);
if ( (unsigned __int64)v11 >= *((_QWORD *)this + 156) )
{
std::vector::__emplace_back_slow_path<>((void **)v9);
v18 = *((char **)this + 155);
}
else
{
if ( v11 )
{
GroupCommandObject2::GroupCommandObject2(v11);
v11 = *((GroupCommandObject2 **)v9 + 1);
}
v18 = (char *)v11 + 520;
*((_QWORD *)v9 + 1) = (char *)v11 + 520;
}
GroupCommandObject2::reset((GroupCommandObject2 *)(v18 - 520));
*((_DWORD *)v18 - 120) = a5;
*((_DWORD *)v18 - 119) = a6;
*((_DWORD *)v18 - 44) = a7;
*((_DWORD *)v18 - 43) = a8;
return GroupCommandObject2::runFollowCommand((GroupCommandObject2 *)(v18 - 520), a2, a3, a4);
}