{"type": "func", "start": 5370430896, "end": 5370431037, "name": "GJScaleControl::updateLabelY", "pseudocode": "// \n// GJScaleControl::updateLabelY from 0x1401a45b0 to 0x1401a463d (141 bytes)\n// \n// 5 xrefs:\n// > GJScaleControl::loadValues @ 0x1401a3ab4\n// > GJScaleControl::ccTouchMoved @ 0x1401a4294\n// > GJScaleControl::onApplyScale @ 0x1401a4a7a\n// > GJScaleControl::onApplyScale @ 0x1401a4c28\n// > <???> @ 0x140919aa8\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 11:27:49 +0000\n// \n\nvoid __fastcall GJScaleControl::updateLabelY(__int64 a1, float a2)\n{\n  __int64 v2; // rax\n  cocos2d::CCString *v4; // rax\n  const char *CString; // rax\n  size_t v6; // r8\n  __int128 v7; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v8; // [rsp+30h] [rbp-18h]\n  __int64 v9; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 496);\n  if ( v2 && !*(_BYTE *)(v2 + 468) )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%.2f\", a2);\n    CString = cocos2d::CCString::getCString(v4);\n    v7 = 0;\n    v8 = 0;\n    v6 = -1;\n    v9 = 0;\n    do\n      ++v6;\n    while ( CString[v6] );\n    sub_14003D230(&v7, CString, v6);\n    CCTextInputNode::setString(*(_QWORD **)(a1 + 496), &v7);\n  }\n}", "assembly": "; \n; GJScaleControl::updateLabelY from 0x1401a45b0 to 0x1401a463d (141 bytes)\n; \n; 5 xrefs:\n; > GJScaleControl::loadValues @ 0x1401a3ab4\n; > GJScaleControl::ccTouchMoved @ 0x1401a4294\n; > GJScaleControl::onApplyScale @ 0x1401a4a7a\n; > GJScaleControl::onApplyScale @ 0x1401a4c28\n; > <???> @ 0x140919aa8\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 11:27:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401a45b0\nsub     rsp, 40h                                                       ; +0x2, 0x1401a45b2\nmov     rax, [rcx+1F0h]                                                ; +0x6, 0x1401a45b6\nmov     rbx, rcx                                                       ; +0xd, 0x1401a45bd\ntest    rax, rax                                                       ; +0x10, 0x1401a45c0\njz      short loc_1401A4637                                            ; +0x13, 0x1401a45c3\ncmp     byte ptr [rax+1D4h], 0                                         ; +0x15, 0x1401a45c5\njnz     short loc_1401A4637                                            ; +0x1c, 0x1401a45cc\ncvtss2sd xmm1, xmm1                                                    ; +0x1e, 0x1401a45ce\nlea     rcx, a2f; \"%.2f\"                                               ; +0x22, 0x1401a45d2\nmovq    rdx, xmm1                                                      ; +0x29, 0x1401a45d9\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2e, 0x1401a45de\nmov     rcx, rax                                                       ; +0x34, 0x1401a45e4\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x37, 0x1401a45e7\nxor     ecx, ecx                                                       ; +0x3d, 0x1401a45ed\nxorps   xmm0, xmm0                                                     ; +0x3f, 0x1401a45ef\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x42, 0x1401a45f2\nmov     [rsp+48h+var_18], rcx                                          ; +0x47, 0x1401a45f7\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4c, 0x1401a45fc\nmov     [rsp+48h+var_10], rcx                                          ; +0x53, 0x1401a4603\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x58, 0x1401a4608\ninc     r8                                                             ; +0x60, 0x1401a4610\ncmp     [rax+r8], cl                                                   ; +0x63, 0x1401a4613\njnz     short loc_1401A4610                                            ; +0x67, 0x1401a4617\nmov     rdx, rax                                                       ; +0x69, 0x1401a4619\nlea     rcx, [rsp+48h+var_28]                                          ; +0x6c, 0x1401a461c\ncall    sub_14003D230                                                  ; +0x71, 0x1401a4621\nmov     rcx, [rbx+1F0h]                                                ; +0x76, 0x1401a4626\nlea     rdx, [rsp+48h+var_28]                                          ; +0x7d, 0x1401a462d\ncall    CCTextInputNode__setString                                     ; +0x82, 0x1401a4632\nadd     rsp, 40h                                                       ; +0x87, 0x1401a4637\npop     rbx                                                            ; +0x8b, 0x1401a463b\nretn                                                                   ; +0x8c, 0x1401a463c", "xrefs": ["GJScaleControl::loadValues @ 0x1401a3ab4", "GJScaleControl::ccTouchMoved @ 0x1401a4294", "GJScaleControl::onApplyScale @ 0x1401a4a7a", "GJScaleControl::onApplyScale @ 0x1401a4c28", "<???> @ 0x140919aa8"], "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"}