{"type": "func", "start": 6442749536, "end": 6442749718, "name": "cocos2d::CCLabelBMFont::limitLabelWidth", "pseudocode": "// \n// cocos2d::CCLabelBMFont::limitLabelWidth from 0x180048e60 to 0x180048f16 (182 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1974\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 cocos2d::CCLabelBMFont::limitLabelWidth(cocos2d::CCLabelBMFont *this, float a2, float a3, float a4)\n{\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *))this->setScale_0)(this);\n  ((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))this->getContentSize)(this);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *))this->getScale)(this);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *))this->setScale_0)(this);\n}", "assembly": "; \n; cocos2d::CCLabelBMFont::limitLabelWidth from 0x180048e60 to 0x180048f16 (182 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1974\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    rbx                                                            ; +0x0, 0x180048e60\nsub     rsp, 60h                                                       ; +0x2, 0x180048e62\nmov     rax, [rcx]                                                     ; +0x6, 0x180048e66\nmov     rbx, rcx                                                       ; +0x9, 0x180048e69\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0xc, 0x180048e6c\nmovaps  xmm6, xmm3                                                     ; +0x11, 0x180048e71\nmovaps  [rsp+68h+var_28], xmm7                                         ; +0x14, 0x180048e74\nmovaps  xmm7, xmm2                                                     ; +0x19, 0x180048e79\nmovaps  [rsp+68h+var_38], xmm8                                         ; +0x1c, 0x180048e7c\nmovaps  xmm8, xmm1                                                     ; +0x22, 0x180048e82\nmovss   xmm1, cs:flt_1800E61A8                                         ; +0x26, 0x180048e86\nmovaps  [rsp+68h+var_48], xmm9                                         ; +0x2e, 0x180048e8e\ncall    qword ptr [rax+0A0h]                                           ; +0x34, 0x180048e94\nmov     rax, [rbx]                                                     ; +0x3a, 0x180048e9a\nmov     rcx, rbx                                                       ; +0x3d, 0x180048e9d\ncall    qword ptr [rax+130h]                                           ; +0x40, 0x180048ea0\nmov     rcx, rbx                                                       ; +0x46, 0x180048ea6\nmovss   xmm9, dword ptr [rax]                                          ; +0x49, 0x180048ea9\nmov     rax, [rbx]                                                     ; +0x4e, 0x180048eae\ncall    qword ptr [rax+0A8h]                                           ; +0x51, 0x180048eb1\ncomiss  xmm9, xmm8                                                     ; +0x57, 0x180048eb7\nxorps   xmm1, xmm1                                                     ; +0x5b, 0x180048ebb\njbe     short loc_180048ECF                                            ; +0x5e, 0x180048ebe\ncomiss  xmm8, xmm1                                                     ; +0x60, 0x180048ec0\njbe     short loc_180048ECF                                            ; +0x64, 0x180048ec4\nmovaps  xmm0, xmm8                                                     ; +0x66, 0x180048ec6\ndivss   xmm0, xmm9                                                     ; +0x6a, 0x180048eca\nucomiss xmm7, xmm1                                                     ; +0x6f, 0x180048ecf\njp      short loc_180048ED6                                            ; +0x72, 0x180048ed2\njz      short loc_180048EDD                                            ; +0x74, 0x180048ed4\nminss   xmm7, xmm0                                                     ; +0x76, 0x180048ed6\nmovaps  xmm0, xmm7                                                     ; +0x7a, 0x180048eda\nucomiss xmm6, xmm1                                                     ; +0x7d, 0x180048edd\njp      short loc_180048EE4                                            ; +0x80, 0x180048ee0\njz      short loc_180048EEB                                            ; +0x82, 0x180048ee2\nmaxss   xmm6, xmm0                                                     ; +0x84, 0x180048ee4\nmovaps  xmm0, xmm6                                                     ; +0x88, 0x180048ee8\nmov     rax, [rbx]                                                     ; +0x8b, 0x180048eeb\nmovaps  xmm1, xmm0                                                     ; +0x8e, 0x180048eee\nmov     rcx, rbx                                                       ; +0x91, 0x180048ef1\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x94, 0x180048ef4\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0x99, 0x180048ef9\nmovaps  xmm8, [rsp+68h+var_38]                                         ; +0x9e, 0x180048efe\nmovaps  xmm9, [rsp+68h+var_48]                                         ; +0xa4, 0x180048f04\nadd     rsp, 60h                                                       ; +0xaa, 0x180048f0a\npop     rbx                                                            ; +0xae, 0x180048f0e\njmp     qword ptr [rax+0A0h]                                           ; +0xaf, 0x180048f0f", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b1974"], "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"}