{"type": "func", "start": 4296379172, "end": 4296379284, "name": "GJScaleControl::updateLabelXY", "pseudocode": "// \n// GJScaleControl::updateLabelXY from 0x100158b24 to 0x100158b94 (112 bytes)\n// \n// 4 xrefs:\n// > GJScaleControl::loadValues @ 0x1001588ec\n// > GJScaleControl::ccTouchMoved @ 0x10015915c\n// > sub_10015944C @ 0x10015956c\n// > sub_10015944C @ 0x10015966c\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::updateLabelXY(__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 + 496);\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::updateLabelXY from 0x100158b24 to 0x100158b94 (112 bytes)\n; \n; 4 xrefs:\n; > GJScaleControl::loadValues @ 0x1001588ec\n; > GJScaleControl::ccTouchMoved @ 0x10015915c\n; > sub_10015944C @ 0x10015956c\n; > sub_10015944C @ 0x10015966c\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, 0x100158b24\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100158b28\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100158b2c\nADD             X29, SP, #0x30                                         ; +0xc, 0x100158b30\nLDR             X19, [X0,#0x1F0]                                       ; +0x10, 0x100158b34\nCBZ             X19, loc_100158B84                                     ; +0x14, 0x100158b38\nLDRB            W8, [X19,#0x1CC]                                       ; +0x18, 0x100158b3c\nTBNZ            W8, #0, loc_100158B84                                  ; +0x1c, 0x100158b40\nFCVT            D0, S0                                                 ; +0x20, 0x100158b44\nSTR             D0, [SP,#0x30+var_30]                                  ; +0x24, 0x100158b48\nADRL            X0, a2f; \"%.2f\"                                        ; +0x28, 0x100158b4c\nBL              sub_1003065B0                                          ; +0x30, 0x100158b54\nBL              cocos2d__CCString__getCString                          ; +0x34, 0x100158b58\nMOV             X1, X0; __s                                            ; +0x38, 0x100158b5c\nADD             X0, SP, #0x30+__p; int                                 ; +0x3c, 0x100158b60\nBL              sub_100009900                                          ; +0x40, 0x100158b64\nADD             X1, SP, #0x30+__p                                      ; +0x44, 0x100158b68\nMOV             X0, X19                                                ; +0x48, 0x100158b6c\nBL              CCTextInputNode__setString                             ; +0x4c, 0x100158b70\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x100158b74\nTBZ             W8, #0x1F, loc_100158B84                               ; +0x54, 0x100158b78\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x100158b7c\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x100158b80\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x100158b84\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x100158b88\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x100158b8c\nRET                                                                    ; +0x6c, 0x100158b90", "xrefs": ["GJScaleControl::loadValues @ 0x1001588ec", "GJScaleControl::ccTouchMoved @ 0x10015915c", "sub_10015944C @ 0x10015956c", "sub_10015944C @ 0x10015966c"], "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"}