// // GroupCommandObject2::stepTransformCommand from 0x1004ed0b0 to 0x1004ed1e9 (313 bytes) // // 3 xrefs: // > GJBaseGameLayer::processDynamicObjectActions @ 0x1001449f9 // > GJBaseGameLayer::processDynamicObjectActions @ 0x100144aff // > GJEffectManager::prepareMoveActions @ 0x1002e654a // // 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::stepTransformCommand(GroupCommandObject2 *a1, float a2, bool a3, bool a4) { __m128 v4; // xmm0 double v5; // xmm1_8 int m_actionType1; // eax bool v7; // r14 float m_actionValue1; // xmm0_4 int m_actionType2; // esi float m_actionValue2; // xmm0_4 float m_deltaTimeInFloat; // xmm0_4 double m_duration; // xmm0_8 __int128 v13; // xmm1 double v14; // xmm0_8 if ( a1->m_finishRelated ) { v4 = *(__m128 *)&a1->m_someInterpValue1RelatedOne; *(__m128 *)&a1->m_someInterpValue1RelatedZero = v4; _mm_storel_ps(&a1->m_someInterpValue2RelatedOne, v4); return; } if ( !a4 && !a1->m_disabled ) { v5 = a2 + a1->m_deltaTime; a1->m_deltaTime = v5; if ( !a1->m_finished ) { if ( a1->m_alreadyUpdated ) { a1->m_alreadyUpdated = 0; m_actionType1 = a1->m_actionType1; if ( m_actionType1 ) goto LABEL_8; } else { a1->m_deltaTimeInFloat = a2 + a1->m_deltaTimeInFloat; m_actionType1 = a1->m_actionType1; if ( m_actionType1 ) { LABEL_8: v7 = a3; 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; a3 = v7; if ( m_deltaTimeInFloat <= 0.0 || m_deltaTimeInFloat < a1->m_duration ) goto LABEL_17; LABEL_16: a1->m_finished = 1; goto LABEL_17; } } m_duration = a1->m_duration; if ( v5 < m_duration || m_duration == -1.0 ) goto LABEL_17; goto LABEL_16; } } LABEL_17: v13 = *(_OWORD *)&a1->m_someInterpValue1RelatedOne; v14 = a1->m_currentRotateOrTransformDelta + *(double *)&v13; a1->m_someInterpValue1RelatedOne = v14; *(_OWORD *)&a1->m_someInterpValue1RelatedZero = v13; if ( !a3 ) a1->m_someInterpValue2RelatedOne = v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source