//
// GroupCommandObject2::stepTransformCommand from 0x6d041e to 0x6d046a (76 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::processDynamicObjectActions @ 0x5ad8a2
// > GJBaseGameLayer::processDynamicObjectActions @ 0x5ad8c2
// > GJEffectManager::prepareMoveActions @ 0x5cdcd0
//
// 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::stepTransformCommand(__int64 this, int a2, int a3)
{
int v4; // r4
double v5; // d7
double v6; // d6
double v7; // d7
__int64 v8; // r2
v4 = this;
if ( *(_BYTE *)(this + 114) )
{
v8 = *(_QWORD *)(this + 160);
*(_QWORD *)(this + 272) = v8;
this = *(_QWORD *)(this + 168);
*(_QWORD *)(v4 + 168) = v8;
*(_QWORD *)(v4 + 280) = this;
}
else
{
if ( !a3 )
LODWORD(this) = GroupCommandObject2::step(this, *((float *)&this + 1));
v5 = *(double *)(v4 + 160);
v6 = *(double *)(v4 + 152);
*(_QWORD *)(v4 + 280) = *(_QWORD *)(v4 + 168);
*(double *)(v4 + 272) = v5;
v7 = v5 + v6;
*(double *)(v4 + 160) = v7;
if ( !a2 )
*(double *)(v4 + 168) = v7;
}
return this;
}