{"type": "func", "start": 4301532320, "end": 4301532385, "name": "GJScaleControl::skewFromValue", "pseudocode": "// \n// GJScaleControl::skewFromValue from 0x100642ca0 to 0x100642ce1 (65 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:34:43 +0000\n// \n\n__int64 __fastcall GJScaleControl::skewFromValue(__int64 a1, float a2)\n{\n  __m128 v2; // xmm1\n  __m128 v3; // xmm0\n\n  v2 = (__m128)*(unsigned int *)(a1 + 584);\n  v2.f32[0] = (float)((float)(v2.f32[0] - *(float *)(a1 + 588)) * a2) + *(float *)(a1 + 588);\n  v3 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, v2), (__m128)xmmword_100A03600);\n  v3.f32[0] = v3.f32[0] + v2.f32[0];\n  return (unsigned int)(int)_mm_round_ss(v3, v3, 11).f32[0];\n}", "assembly": "; \n; GJScaleControl::skewFromValue from 0x100642ca0 to 0x100642ce1 (65 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:34:43 +0000\n; \npush    rbp                                                            ; +0x0, 0x100642ca0\nmov     rbp, rsp                                                       ; +0x1, 0x100642ca1\nmovss   xmm1, dword ptr [rdi+248h]                                     ; +0x4, 0x100642ca4\nmovss   xmm2, dword ptr [rdi+24Ch]                                     ; +0xc, 0x100642cac\nsubss   xmm1, xmm2                                                     ; +0x14, 0x100642cb4\nmulss   xmm1, xmm0                                                     ; +0x18, 0x100642cb8\naddss   xmm1, xmm2                                                     ; +0x1c, 0x100642cbc\nmovaps  xmm0, cs:xmmword_100A035F0                                     ; +0x20, 0x100642cc0\nandps   xmm0, xmm1                                                     ; +0x27, 0x100642cc7\norps    xmm0, cs:xmmword_100A03600                                     ; +0x2a, 0x100642cca\naddss   xmm0, xmm1                                                     ; +0x31, 0x100642cd1\nroundss xmm0, xmm0, 0Bh                                                ; +0x35, 0x100642cd5\ncvttss2si eax, xmm0                                                    ; +0x3b, 0x100642cdb\npop     rbp                                                            ; +0x3f, 0x100642cdf\nretn                                                                   ; +0x40, 0x100642ce0", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}