//
// GroupCommandObject2::step from 0x6d0368 to 0x6d041e (182 bytes)
//
// 4 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x5cdafa
// > GJEffectManager::prepareMoveActions @ 0x5cdd6c
// > GJEffectManager::prepareMoveActions @ 0x5cde26
// > GroupCommandObject2::stepTransformCommand @ 0x6d042c
//
// 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:57:02 +0000
//
int __fastcall GroupCommandObject2::step(int this, float a2)
{
int v2; // r4
int v3; // r3
double v4; // d7
int v5; // r1
double v6; // d6
float v7; // s15
float v8; // r3
int v9; // r1
float v10; // s15
float v11; // s14
v2 = this;
if ( !*(_BYTE *)(this + 113) )
{
v3 = *(unsigned __int8 *)(this + 112);
v4 = a2 + *(double *)(this + 32);
*(double *)(this + 32) = v4;
if ( !v3 )
{
if ( *(_BYTE *)(this + 432) )
*(_BYTE *)(this + 432) = 0;
else
*(float *)(this + 428) = *(float *)(this + 428) + a2;
v5 = *(_DWORD *)(this + 400);
if ( v5 )
{
v7 = *(double *)(this + 408);
this = GroupCommandObject2::updateAction((GroupCommandObject2 *)this, v5, v7, 0.0);
v9 = *(_DWORD *)(v2 + 404);
if ( v9 )
{
v10 = *(double *)(v2 + 416);
this = GroupCommandObject2::updateAction((GroupCommandObject2 *)v2, v9, v10, v8);
}
v11 = *(float *)(v2 + 428);
if ( v11 > 0.0 && v11 >= *(double *)(v2 + 24) )
goto LABEL_9;
}
else
{
v6 = *(double *)(this + 24);
if ( v4 >= v6 && v6 != -1.0 )
LABEL_9:
*(_BYTE *)(v2 + 112) = 1;
}
}
}
return this;
}