// // GroupCommandObject2::updateEffectAction from 0x1004ed540 to 0x1004ed5f2 (178 bytes) // // 0 xrefs: // // 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::updateEffectAction(GroupCommandObject2 *a1, float a2, int a3) { double v3; // xmm0_8 double v4; // xmm0_8 double v5; // xmm1_8 double v6; // xmm0_8 double v7; // xmm1_8 switch ( a3 ) { case 1: if ( !a1->m_lockedInX ) { v4 = a2; v5 = v4 - a1->m_currentXOffset; a1->m_deltaX = a1->m_deltaX + v5; a1->m_deltaX_3 = v5 + a1->m_deltaX_3; a1->m_currentXOffset = v4; } break; case 2: if ( !a1->m_lockedInY ) { v6 = a2; v7 = v6 - a1->m_currentYOffset; a1->m_deltaY = a1->m_deltaY + v7; a1->m_deltaY_3 = v7 + a1->m_deltaY_3; a1->m_currentYOffset = v6; } break; case 3: case 4: v3 = a2; a1->m_currentRotateOrTransformDelta = v3 - a1->m_currentRotateOrTransformValue + a1->m_currentRotateOrTransformDelta; a1->m_currentRotateOrTransformValue = v3; break; default: return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source