{"type": "func", "start": 4296379032, "end": 4296379144, "name": "GJScaleControl::updateLabelX", "pseudocode": "// \n// GJScaleControl::updateLabelX from 0x100158a98 to 0x100158b08 (112 bytes)\n// \n// 4 xrefs:\n// > GJScaleControl::loadValues @ 0x1001588e0\n// > GJScaleControl::ccTouchMoved @ 0x100159138\n// > sub_10015944C @ 0x100159560\n// > sub_10015944C @ 0x100159660\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:42 +0000\n// \n\nvoid __fastcall GJScaleControl::updateLabelX(__int64 a1, float a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x0\n  char *CString; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 488);\n  if ( v2 && (*(_BYTE *)(v2 + 460) & 1) == 0 )\n  {\n    v3 = sub_1003065B0(\"%.2f\", a2);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n    sub_100009900(__p, CString);\n    CCTextInputNode::setString(v2, __p);\n    if ( v6 < 0 )\n      operator delete(__p[0]);\n  }\n}", "assembly": "; \n; GJScaleControl::updateLabelX from 0x100158a98 to 0x100158b08 (112 bytes)\n; \n; 4 xrefs:\n; > GJScaleControl::loadValues @ 0x1001588e0\n; > GJScaleControl::ccTouchMoved @ 0x100159138\n; > sub_10015944C @ 0x100159560\n; > sub_10015944C @ 0x100159660\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:42 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100158a98\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100158a9c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100158aa0\nADD             X29, SP, #0x30                                         ; +0xc, 0x100158aa4\nLDR             X19, [X0,#0x1E8]                                       ; +0x10, 0x100158aa8\nCBZ             X19, loc_100158AF8                                     ; +0x14, 0x100158aac\nLDRB            W8, [X19,#0x1CC]                                       ; +0x18, 0x100158ab0\nTBNZ            W8, #0, loc_100158AF8                                  ; +0x1c, 0x100158ab4\nFCVT            D0, S0                                                 ; +0x20, 0x100158ab8\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x24, 0x100158abc\nADRL            X0, a2f; \"%.2f\"                                        ; +0x28, 0x100158ac0\nBL              sub_1003065B0                                          ; +0x30, 0x100158ac8\nBL              cocos2d__CCString__getCString                          ; +0x34, 0x100158acc\nMOV             X1, X0; __s                                            ; +0x38, 0x100158ad0\nADD             X0, SP, #0x30+__p; int                                 ; +0x3c, 0x100158ad4\nBL              sub_100009900                                          ; +0x40, 0x100158ad8\nADD             X1, SP, #0x30+__p                                      ; +0x44, 0x100158adc\nMOV             X0, X19                                                ; +0x48, 0x100158ae0\nBL              CCTextInputNode__setString                             ; +0x4c, 0x100158ae4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x100158ae8\nTBZ             W8, #0x1F, loc_100158AF8                               ; +0x54, 0x100158aec\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x100158af0\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x100158af4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x100158af8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x100158afc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x100158b00\nRET                                                                    ; +0x6c, 0x100158b04", "xrefs": ["GJScaleControl::loadValues @ 0x1001588e0", "GJScaleControl::ccTouchMoved @ 0x100159138", "sub_10015944C @ 0x100159560", "sub_10015944C @ 0x100159660"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}