{"type": "func", "start": 4301532256, "end": 4301532318, "name": "GJScaleControl::scaleFromValue", "pseudocode": "// \n// GJScaleControl::scaleFromValue from 0x100642c60 to 0x100642c9e (62 bytes)\n// \n// 1 xrefs:\n// > GJScaleControl::ccTouchBegan @ 0x100642fc5\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\nfloat __fastcall GJScaleControl::scaleFromValue(__int64 a1, float a2)\n{\n  float v2; // xmm1_4\n  __int64 v3; // rax\n  char savedregs; // [rsp+0h] [rbp+0h]\n\n  v2 = (float)((float)(*(float *)(a1 + 584) - *(float *)(a1 + 588)) * a2) + *(float *)(a1 + 588);\n  v3 = sub_10088E820(\"%.02f\", savedregs);\n  return cocos2d::CCString::floatValue(v3, v2);\n}", "assembly": "; \n; GJScaleControl::scaleFromValue from 0x100642c60 to 0x100642c9e (62 bytes)\n; \n; 1 xrefs:\n; > GJScaleControl::ccTouchBegan @ 0x100642fc5\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; char                                                      ; +0x0, 0x100642c60\nmov     rbp, rsp                                                       ; +0x1, 0x100642c61\nmovss   xmm1, dword ptr [rdi+248h]                                     ; +0x4, 0x100642c64\nmovss   xmm2, dword ptr [rdi+24Ch]                                     ; +0xc, 0x100642c6c\nsubss   xmm1, xmm2                                                     ; +0x14, 0x100642c74\nmulss   xmm1, xmm0                                                     ; +0x18, 0x100642c78\naddss   xmm1, xmm2                                                     ; +0x1c, 0x100642c7c\nxorps   xmm0, xmm0                                                     ; +0x20, 0x100642c80\ncvtss2sd xmm0, xmm1                                                    ; +0x23, 0x100642c83\nlea     rdi, a02f; \"%.02f\"                                             ; +0x27, 0x100642c87\nmov     al, 1                                                          ; +0x2e, 0x100642c8e\ncall    sub_10088E820                                                  ; +0x30, 0x100642c90\nmov     rdi, rax                                                       ; +0x35, 0x100642c95\npop     rbp                                                            ; +0x38, 0x100642c98\njmp     cocos2d__CCString__floatValue                                  ; +0x39, 0x100642c99", "xrefs": ["GJScaleControl::ccTouchBegan @ 0x100642fc5"], "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"}