//
// GJEffectManager::getTempGroupCommand from 0xa02700 to 0xa027d8 (216 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::processDynamicObjectActions @ 0x9d8414
// > GJEffectManager::prepareMoveActions @ 0xa114cc
// > GJEffectManager::prepareMoveActions @ 0xa11574
// > GJEffectManager::createKeyframeCommand @ 0xa16ea0
// > ??> @ 0xba760
//
// 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:20 +0000
//
__int64 __fastcall GJEffectManager::getTempGroupCommand(GJEffectManager *this)
{
__int64 v2; // x0
__int64 *v3; // x1
__int64 result; // x0
GroupCommandObject2 *v5; // x21
__int64 v6; // [xsp+30h] [xbp+30h] BYREF
v2 = *((_QWORD *)this + 149);
if ( *((_QWORD *)this + 148) == v2 )
{
v5 = (GroupCommandObject2 *)operator new(0x208u);
GroupCommandObject2::GroupCommandObject2(v5);
v6 = (__int64)v5;
}
else
{
v6 = *(_QWORD *)(v2 - 8);
*((_QWORD *)this + 149) = v2 - 8;
}
v3 = *((__int64 **)this + 146);
if ( v3 == *((__int64 **)this + 147) )
{
std::vector::__push_back_slow_path((__int64)this + 1160, &v6);
return v6;
}
else
{
result = v6;
if ( v3 )
{
*v3 = v6;
v3 = *((__int64 **)this + 146);
result = v6;
}
*((_QWORD *)this + 146) = v3 + 1;
}
return result;
}