{"type": "func", "start": 6442753664, "end": 6442753813, "name": "cocos2d::CCLabelBMFont::getLetterPosXRight", "pseudocode": "// \n// cocos2d::CCLabelBMFont::getLetterPosXRight from 0x180049e80 to 0x180049f15 (149 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCLabelBMFont::updateLabel @ 0x18004ed23\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbb84\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:21:42 +0000\n// \n\nfloat __fastcall cocos2d::CCLabelBMFont::getLetterPosXRight(\n        cocos2d::CCLabelBMFont *this,\n        struct cocos2d::CCSprite *a2,\n        float a3)\n{\n  float v5; // xmm6_4\n  float *v6; // rbx\n\n  v5 = *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 320LL))(a2);\n  if ( v5 <= 0.0 )\n    v5 = a3 * 1.5;\n  v6 = (float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 200LL))(a2);\n  return (float)((float)(*((float *)this + 16) * v5)\n               * *(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)a2 + 296LL))(a2))\n       + (float)(*((float *)this + 16) * *v6);\n}", "assembly": "; \n; cocos2d::CCLabelBMFont::getLetterPosXRight from 0x180049e80 to 0x180049f15 (149 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCLabelBMFont::updateLabel @ 0x18004ed23\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbb84\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:21:42 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180049e80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180049e85\npush    rdi                                                            ; +0xa, 0x180049e8a\nsub     rsp, 40h                                                       ; +0xb, 0x180049e8b\nmov     rax, [rdx]                                                     ; +0xf, 0x180049e8f\nmov     rsi, rcx                                                       ; +0x12, 0x180049e92\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x15, 0x180049e95\nmov     rcx, rdx                                                       ; +0x1a, 0x180049e9a\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x1d, 0x180049e9d\nmov     rdi, rdx                                                       ; +0x22, 0x180049ea2\nmovaps  xmm7, xmm2                                                     ; +0x25, 0x180049ea5\ncall    qword ptr [rax+140h]                                           ; +0x28, 0x180049ea8\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x180049eae\nmovss   xmm6, dword ptr [rax]                                          ; +0x31, 0x180049eb1\ncomiss  xmm0, xmm6                                                     ; +0x35, 0x180049eb5\njb      short loc_180049EC5                                            ; +0x38, 0x180049eb8\nmovaps  xmm6, xmm7                                                     ; +0x3a, 0x180049eba\nmulss   xmm6, cs:dword_1800F29F4                                       ; +0x3d, 0x180049ebd\nmov     rax, [rdi]                                                     ; +0x45, 0x180049ec5\nmov     rcx, rdi                                                       ; +0x48, 0x180049ec8\ncall    qword ptr [rax+0C8h]                                           ; +0x4b, 0x180049ecb\nmov     rcx, [rdi]                                                     ; +0x51, 0x180049ed1\nmov     rbx, rax                                                       ; +0x54, 0x180049ed4\nmov     rdx, [rcx+128h]                                                ; +0x57, 0x180049ed7\nmov     rcx, rdi                                                       ; +0x5e, 0x180049ede\ncall    rdx                                                            ; +0x61, 0x180049ee1\nmovss   xmm1, dword ptr [rsi+40h]                                      ; +0x63, 0x180049ee3\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x68, 0x180049ee8\nmovaps  xmm0, xmm1                                                     ; +0x6d, 0x180049eed\nmulss   xmm1, dword ptr [rbx]                                          ; +0x70, 0x180049ef0\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x74, 0x180049ef4\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x79, 0x180049ef9\nmulss   xmm0, xmm6                                                     ; +0x7e, 0x180049efe\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x82, 0x180049f02\nmulss   xmm0, dword ptr [rax]                                          ; +0x87, 0x180049f07\naddss   xmm0, xmm1                                                     ; +0x8b, 0x180049f0b\nadd     rsp, 40h                                                       ; +0x8f, 0x180049f0f\npop     rdi                                                            ; +0x93, 0x180049f13\nretn                                                                   ; +0x94, 0x180049f14", "xrefs": ["cocos2d::CCLabelBMFont::updateLabel @ 0x18004ed23", "<???> @ 0x18014cf68", "<???> @ 0x1801bbb84"], "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"}