//
// GroupCommandObject2::stepTransformCommand from 0xba27dc to 0xba287c (160 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::processDynamicObjectActions @ 0x9d8508
// > GJBaseGameLayer::processDynamicObjectActions @ 0x9d8814
// > GJEffectManager::prepareMoveActions @ 0xa10d68
// > GJEffectManager::prepareMoveActions @ 0xa10f1c
// > ??> @ 0x81fe8
//
// 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 13:02:47 +0000
//
__int64 __fastcall GroupCommandObject2::stepTransformCommand(
GroupCommandObject2 *this,
double a2,
unsigned __int8 a3,
char a4)
{
int v5; // w19
double v7; // d1
__int64 result; // x0
double v9; // d0
__int64 v10; // x1
double v11; // d1
v5 = a3;
if ( *((_BYTE *)this + 114) )
{
result = *((_QWORD *)this + 20);
v10 = *((_QWORD *)this + 21);
*((_QWORD *)this + 34) = result;
*((_QWORD *)this + 35) = v10;
*((_QWORD *)this + 21) = result;
return result;
}
if ( a4 )
{
v7 = *((double *)this + 20);
result = *((_QWORD *)this + 21);
v9 = v7 + *((double *)this + 19);
*((double *)this + 34) = v7;
*((double *)this + 20) = v9;
*((_QWORD *)this + 35) = result;
if ( a3 )
return result;
goto LABEL_4;
}
GroupCommandObject2::step(this, a2);
v11 = *((double *)this + 20);
result = *((_QWORD *)this + 21);
v9 = v11 + *((double *)this + 19);
*((double *)this + 34) = v11;
*((double *)this + 20) = v9;
*((_QWORD *)this + 35) = result;
if ( !v5 )
LABEL_4:
*((double *)this + 21) = v9;
return result;
}