{"type": "func", "start": 4295304688, "end": 4295304737, "name": "GJScaleControl::valueFromScale", "pseudocode": "// \n// GJScaleControl::valueFromScale from 0x1000525f0 to 0x100052621 (49 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::valueFromScale(GJScaleControl *a1, float a2)\n{\n  return fmaxf(fminf((float)(a2 - a1->m_lowerBound) / (float)(a1->m_upperBound - a1->m_lowerBound), 1.0), 0.0);\n}", "assembly": "; \n; GJScaleControl::valueFromScale from 0x1000525f0 to 0x100052621 (49 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, 0x1000525f0\nmov     rbp, rsp                                                       ; +0x1, 0x1000525f1\nmovss   xmm1, dword ptr [rdi+1F0h]                                     ; +0x4, 0x1000525f4\nmovss   xmm2, dword ptr [rdi+1F4h]                                     ; +0xc, 0x1000525fc\nsubss   xmm0, xmm2                                                     ; +0x14, 0x100052604\nsubss   xmm1, xmm2                                                     ; +0x18, 0x100052608\ndivss   xmm0, xmm1                                                     ; +0x1c, 0x10005260c\nminss   xmm0, cs:alpha                                                 ; +0x20, 0x100052610\nxorps   xmm1, xmm1                                                     ; +0x28, 0x100052618\nmaxss   xmm0, xmm1                                                     ; +0x2b, 0x10005261b\npop     rbp                                                            ; +0x2f, 0x10005261f\nretn                                                                   ; +0x30, 0x100052620", "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"}