//
// GJEffectManager::createPlayerFollowCommand from 0xa161a0 to 0xa16278 (216 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::triggerPlayerFollowCommand @ 0x78d1dc
// > EffectGameObject::triggerObject @ 0x897fbc
// > ??> @ 0xd5880
//
// 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::createPlayerFollowCommand(
GJEffectManager *this,
float a2,
float a3,
int a4,
float a5,
float a6,
int a7,
int a8,
int a9)
{
char *v10; // x20
GroupCommandObject2 *v13; // x0
char *v19; // x19
int v21; // [xsp+68h] [xbp+68h]
int v22; // [xsp+68h] [xbp+68h]
int v23; // [xsp+68h] [xbp+68h]
v10 = (char *)this + 1232;
v13 = *((GroupCommandObject2 **)this + 155);
if ( (unsigned __int64)v13 >= *((_QWORD *)this + 156) )
{
v23 = a4;
std::vector::__emplace_back_slow_path<>((void **)v10);
v19 = *((char **)this + 155);
a4 = v23;
}
else
{
if ( v13 )
{
v21 = a4;
GroupCommandObject2::GroupCommandObject2(v13);
v13 = *((GroupCommandObject2 **)v10 + 1);
a4 = v21;
}
v19 = (char *)v13 + 520;
*((_QWORD *)v10 + 1) = (char *)v13 + 520;
}
v22 = a4;
GroupCommandObject2::reset((GroupCommandObject2 *)(v19 - 520));
*((_DWORD *)v19 - 120) = a7;
*((_DWORD *)v19 - 44) = a8;
*((_DWORD *)v19 - 43) = a9;
return GroupCommandObject2::runPlayerFollowCommand((GroupCommandObject2 *)(v19 - 520), a2, a3, v22, a5, a6);
}