{"type": "func", "start": 4295304544, "end": 4295304606, "name": "GJScaleControl::scaleFromValue", "pseudocode": "// \n// GJScaleControl::scaleFromValue from 0x100052560 to 0x10005259e (62 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::scaleFromValue(GJScaleControl *a1, float a2)\n{\n  cocos2d::CCString *v2; // rax\n  char savedregs; // [rsp+0h] [rbp+0h]\n\n  v2 = (cocos2d::CCString *)sub_1007AB580(\"%.02f\", savedregs);\n  return cocos2d::CCString::floatValue(v2);\n}", "assembly": "; \n; GJScaleControl::scaleFromValue from 0x100052560 to 0x10005259e (62 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; char                                                      ; +0x0, 0x100052560\nmov     rbp, rsp                                                       ; +0x1, 0x100052561\nmovss   xmm1, dword ptr [rdi+1F0h]                                     ; +0x4, 0x100052564\nmovss   xmm2, dword ptr [rdi+1F4h]                                     ; +0xc, 0x10005256c\nsubss   xmm1, xmm2                                                     ; +0x14, 0x100052574\nmulss   xmm1, xmm0                                                     ; +0x18, 0x100052578\naddss   xmm1, xmm2                                                     ; +0x1c, 0x10005257c\nxorps   xmm0, xmm0                                                     ; +0x20, 0x100052580\ncvtss2sd xmm0, xmm1                                                    ; +0x23, 0x100052583\nlea     rdi, a02f; \"%.02f\"                                             ; +0x27, 0x100052587\nmov     al, 1                                                          ; +0x2e, 0x10005258e\ncall    sub_1007AB580                                                  ; +0x30, 0x100052590\nmov     rdi, rax                                                       ; +0x35, 0x100052595\npop     rbp                                                            ; +0x38, 0x100052598\njmp     cocos2d__CCString__floatValue                                  ; +0x39, 0x100052599", "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"}