//
// GroupCommandObject2::step from 0x58a740 to 0x58a7f6 (182 bytes)
//
// 4 xrefs:
// > GJEffectManager::prepareMoveActions @ 0x4a04d6
// > GJEffectManager::prepareMoveActions @ 0x4a0724
// > GJEffectManager::prepareMoveActions @ 0x4a07c0
// > GroupCommandObject2::stepTransformCommand @ 0x58a804
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GroupCommandObject2::step(GroupCommandObject2 *a1, float a2)
{
_BOOL4 m_finished; // r3
double v4; // d7
int m_actionType1; // r1
double m_duration; // d6
float m_actionValue1; // s15
int m_actionType2; // r1
float m_actionValue2; // s15
float m_deltaTimeInFloat; // s14
if ( !a1->m_disabled )
{
m_finished = a1->m_finished;
v4 = a2 + a1->m_deltaTime;
a1->m_deltaTime = v4;
if ( !m_finished )
{
if ( a1->m_alreadyUpdated )
a1->m_alreadyUpdated = 0;
else
a1->m_deltaTimeInFloat = a1->m_deltaTimeInFloat + a2;
m_actionType1 = a1->m_actionType1;
if ( m_actionType1 )
{
m_actionValue1 = a1->m_actionValue1;
GroupCommandObject2::updateAction(a1, m_actionType1, m_actionValue1);
m_actionType2 = a1->m_actionType2;
if ( m_actionType2 )
{
m_actionValue2 = a1->m_actionValue2;
GroupCommandObject2::updateAction(a1, m_actionType2, m_actionValue2);
}
m_deltaTimeInFloat = a1->m_deltaTimeInFloat;
if ( m_deltaTimeInFloat > 0.0 && m_deltaTimeInFloat >= a1->m_duration )
goto LABEL_9;
}
else
{
m_duration = a1->m_duration;
if ( v4 >= m_duration && m_duration != -1.0 )
LABEL_9:
a1->m_finished = 1;
}
}
}
}