// // GJValueTween::step from 0x46cb7c to 0x46cbf0 (116 bytes) // // 3 xrefs: // > GJGameState::updateTweenActions @ 0x488540 // > GJShaderState::timesyncShaderAction @ 0x54fa68 // > GJShaderState::updateTweenActions @ 0x5507ec // // 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 GJValueTween::step(GJValueTween *a1, float a2) { int m_easingType; // r1 float v5; // s15 float m_duration; // s14 float EasedValue; // s15 float v8; // s14 float v9; // s15 if ( !a1->m_finished && !a1->m_disabled ) { m_easingType = a1->m_easingType; v5 = a2 + a1->m_deltaTime; m_duration = a1->m_duration; a1->m_deltaTime = v5; if ( v5 >= m_duration ) EasedValue = 1.0; else EasedValue = v5 / m_duration; if ( m_easingType > 0 ) EasedValue = GameToolbox::getEasedValue(EasedValue, m_easingType, a1->m_easingRate); v8 = a1->m_fromValue + (float)((float)(a1->m_toValue - a1->m_fromValue) * EasedValue); v9 = a1->m_duration; a1->m_currentValue = v8; a1->m_finished = a1->m_deltaTime >= v9; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source