//
// GJScaleControl::skewFromValue from 0x1000525a0 to 0x1000525e1 (65 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
//
float __fastcall GJScaleControl::skewFromValue(GJScaleControl *a1, float a2)
{
__m128 m_upperBound_low; // xmm1
__m128 v3; // xmm0
m_upperBound_low = (__m128)LODWORD(a1->m_upperBound);
m_upperBound_low.f32[0] = (float)((float)(m_upperBound_low.f32[0] - a1->m_lowerBound) * a2) + a1->m_lowerBound;
v3 = _mm_or_ps(_mm_and_ps((__m128)xmmword_1008150B0, m_upperBound_low), (__m128)xmmword_1008150C0);
v3.f32[0] = v3.f32[0] + m_upperBound_low.f32[0];
return _mm_round_ss(v3, v3, 11).f32[0];
}