{"type": "func", "start": 4295304448, "end": 4295304536, "name": "GJScaleControl::updateLabelXY", "pseudocode": "// \n// GJScaleControl::updateLabelXY from 0x100052500 to 0x100052558 (88 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\nvoid __fastcall GJScaleControl::updateLabelXY(GJScaleControl *a1, float a2)\n{\n  cocos2d::CCLabelBMFont *m_scaleLabel; // r14\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  char v5; // [rsp+0h] [rbp-10h]\n\n  m_scaleLabel = a1->m_scaleLabel;\n  v3 = (cocos2d::CCString *)sub_1007AB580(\"Scale: %.02f\", v5);\n  CString = cocos2d::CCString::getCString(v3);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *, double))m_scaleLabel->setString)(\n    m_scaleLabel,\n    CString,\n    a2);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_scaleLabel, 100.0, 0.0, 0.0);\n}", "assembly": "; \n; GJScaleControl::updateLabelXY from 0x100052500 to 0x100052558 (88 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                                                            ; +0x0, 0x100052500\nmov     rbp, rsp                                                       ; +0x1, 0x100052501\npush    r14                                                            ; +0x4, 0x100052504\npush    rbx; char                                                      ; +0x6, 0x100052506\nmov     rbx, rdi                                                       ; +0x7, 0x100052507\nmov     r14, [rdi+1E0h]                                                ; +0xa, 0x10005250a\ncvtss2sd xmm0, xmm0                                                    ; +0x11, 0x100052511\nlea     rdi, aScale02f; \"Scale: %.02f\"                                 ; +0x15, 0x100052515\nmov     al, 1                                                          ; +0x1c, 0x10005251c\ncall    sub_1007AB580                                                  ; +0x1e, 0x10005251e\nmov     rdi, rax                                                       ; +0x23, 0x100052523\ncall    cocos2d__CCString__getCString                                  ; +0x26, 0x100052526\nmov     rcx, [r14]                                                     ; +0x2b, 0x10005252b\nmov     rdi, r14                                                       ; +0x2e, 0x10005252e\nmov     rsi, rax                                                       ; +0x31, 0x100052531\ncall    qword ptr [rcx+390h]                                           ; +0x34, 0x100052534\nmov     rdi, [rbx+1E0h]                                                ; +0x3a, 0x10005253a\nmovss   xmm0, cs:dword_100815014                                       ; +0x41, 0x100052541\nxorps   xmm1, xmm1                                                     ; +0x49, 0x100052549\nxorps   xmm2, xmm2                                                     ; +0x4c, 0x10005254c\npop     rbx                                                            ; +0x4f, 0x10005254f\npop     r14                                                            ; +0x50, 0x100052550\npop     rbp                                                            ; +0x52, 0x100052552\njmp     cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x53, 0x100052553", "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"}