{"type": "func", "start": 4295304608, "end": 4295304673, "name": "GJScaleControl::skewFromValue", "pseudocode": "// \n// GJScaleControl::skewFromValue from 0x1000525a0 to 0x1000525e1 (65 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat __fastcall GJScaleControl::skewFromValue(GJScaleControl *a1, float a2)\n{\n  __m128 m_upperBound_low; // xmm1\n  __m128 v3; // xmm0\n\n  m_upperBound_low = (__m128)LODWORD(a1->m_upperBound);\n  m_upperBound_low.f32[0] = (float)((float)(m_upperBound_low.f32[0] - a1->m_lowerBound) * a2) + a1->m_lowerBound;\n  v3 = _mm_or_ps(_mm_and_ps((__m128)xmmword_1008150B0, m_upperBound_low), (__m128)xmmword_1008150C0);\n  v3.f32[0] = v3.f32[0] + m_upperBound_low.f32[0];\n  return _mm_round_ss(v3, v3, 11).f32[0];\n}", "assembly": "; \n; GJScaleControl::skewFromValue from 0x1000525a0 to 0x1000525e1 (65 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1000525a0\nmov     rbp, rsp                                                       ; +0x1, 0x1000525a1\nmovss   xmm1, dword ptr [rdi+1F0h]                                     ; +0x4, 0x1000525a4\nmovss   xmm2, dword ptr [rdi+1F4h]                                     ; +0xc, 0x1000525ac\nsubss   xmm1, xmm2                                                     ; +0x14, 0x1000525b4\nmulss   xmm1, xmm0                                                     ; +0x18, 0x1000525b8\naddss   xmm1, xmm2                                                     ; +0x1c, 0x1000525bc\nmovaps  xmm0, cs:xmmword_1008150B0                                     ; +0x20, 0x1000525c0\nandps   xmm0, xmm1                                                     ; +0x27, 0x1000525c7\norps    xmm0, cs:xmmword_1008150C0                                     ; +0x2a, 0x1000525ca\naddss   xmm0, xmm1                                                     ; +0x31, 0x1000525d1\nroundss xmm0, xmm0, 0Bh                                                ; +0x35, 0x1000525d5\ncvttss2si eax, xmm0                                                    ; +0x3b, 0x1000525db\npop     rbp                                                            ; +0x3f, 0x1000525df\nretn                                                                   ; +0x40, 0x1000525e0", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}