// // GroupCommandObject2::updateAction from 0x1402579d0 to 0x140257b35 (357 bytes) // // 3 xrefs: // > GroupCommandObject2::step @ 0x140257987 // > GroupCommandObject2::step @ 0x1402579a5 // > @ 0x1406cfa68 // // 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::updateAction(GroupCommandObject2 *a1, int a2, float a3) { double v5; // xmm1_8 double v6; // xmm0_8 float v7; // xmm6_4 int v8; // edi int v9; // edi double v10; // xmm0_8 double v11; // xmm1_8 double v12; // xmm0_8 double v13; // xmm1_8 double v14; // xmm1_8 double v15; // xmm0_8 double v16; // xmm1_8 v5 = a1->m_deltaTimeInFloat / fmax(a1->m_duration, 0.0000001192092895507812); if ( v5 > 1.0 ) goto LABEL_4; v6 = 0.0; if ( v5 < 0.0 ) goto LABEL_6; if ( v5 <= 1.0 ) v6 = v5; else LABEL_4: v6 = 1.0; LABEL_6: v7 = a3 - (float)((float)(1.0 - GameToolbox::getEasedValue(v6, a1->m_easingType, a1->m_easingRate)) * a3); v8 = a2 - 1; if ( v8 ) { v9 = v8 - 1; if ( v9 ) { if ( (unsigned int)(v9 - 1) <= 1 ) { v10 = v7 - a1->m_currentRotateOrTransformValue; a1->m_currentRotateOrTransformValue = v7; a1->m_currentRotateOrTransformDelta = v10 + a1->m_currentRotateOrTransformDelta; } } else if ( !a1->m_lockedInY ) { v11 = v7 - a1->m_currentYOffset; a1->m_currentYOffset = v7; v12 = v11 + a1->m_deltaY; v13 = v11 + a1->m_deltaY_3; a1->m_deltaY = v12; a1->m_deltaY_3 = v13; } } else if ( !a1->m_lockedInX ) { v14 = v7 - a1->m_currentXOffset; a1->m_currentXOffset = v7; v15 = v14 + a1->m_deltaX; v16 = v14 + a1->m_deltaX_3; a1->m_deltaX = v15; a1->m_deltaX_3 = v16; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source