//
// GroupCommandObject2::step from 0x10000ab44 to 0x10000ac0c (200 bytes)
//
// 3 xrefs:
// > GroupCommandObject2::stepTransformCommand @ 0x10000acd0
// > GJEffectManager::prepareMoveActions @ 0x1000130d8
// > GJEffectManager::prepareMoveActions @ 0x1000131a4
//
// 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 __fastcall GroupCommandObject2::step(GroupCommandObject2 *a1, float a2)
{
double v3; // d1
int m_actionType1; // w1
float m_actionValue1; // s0
int m_actionType2; // w1
float m_actionValue2; // s0
float m_deltaTimeInFloat; // s0
double m_duration; // d0
if ( a1->m_disabled )
return;
v3 = a1->m_deltaTime + a2;
a1->m_deltaTime = v3;
if ( a1->m_finished )
return;
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_duration = a1->m_duration;
if ( v3 < m_duration || m_duration == -1.0 )
return;
LABEL_16:
a1->m_finished = 1;
return;
}
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 && a1->m_duration <= m_deltaTimeInFloat )
goto LABEL_16;
}