//
// GroupCommandObject2::updateAction from 0x10000ac0c to 0x10000ac9c (144 bytes)
//
// 2 xrefs:
// > GroupCommandObject2::step @ 0x10000aba8
// > GroupCommandObject2::step @ 0x10000abc0
//
// 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::updateAction(GroupCommandObject2 *a1, int a2, float a3)
{
double m_duration; // d1
double v7; // d1
float v8; // s0
float m_easingRate; // s1
float v10; // s0
m_duration = a1->m_duration;
if ( m_duration < 0.00000011920929 )
m_duration = 0.00000011920929;
v7 = a1->m_deltaTimeInFloat / m_duration;
v8 = 1.0;
if ( v7 < 1.0 )
{
v8 = 0.0;
if ( v7 > 0.0 )
v8 = v7;
}
m_easingRate = a1->m_easingRate;
v10 = a3 - (float)(a3 * (float)(1.0 - GameToolbox::getEasedValue(v8, a1->m_easingType, m_easingRate)));
GroupCommandObject2::updateEffectAction(a1, v10, a2);
}