{"type": "func", "start": 6442779888, "end": 6442780027, "name": "cocos2d::CCLabelTTF::setFontName", "pseudocode": "// \n// cocos2d::CCLabelTTF::setFontName from 0x1800504f0 to 0x18005057b (139 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbf68\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:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCLabelTTF::setFontName(cocos2d::CCLabelTTF *this, char *Str)\n{\n  void *v4; // rdi\n  _QWORD *v5; // rax\n\n  v4 = *((void **)this + 78);\n  if ( sub_18004FAF0((const void **)v4, Str) )\n  {\n    if ( v4 )\n    {\n      sub_180005C70((__int64)v4);\n      j_j_free_0(v4);\n    }\n    v5 = (_QWORD *)sub_1800E4AC0(0x20u);\n    if ( v5 )\n      v5 = sub_180005A10(v5, Str);\n    *((_QWORD *)this + 78) = v5;\n    if ( *((_QWORD *)this + 82) )\n      cocos2d::CCLabelTTF::updateTexture(this);\n  }\n}", "assembly": "; \n; cocos2d::CCLabelTTF::setFontName from 0x1800504f0 to 0x18005057b (139 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbf68\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:45 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800504f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800504f5\npush    rdi                                                            ; +0xa, 0x1800504fa\nsub     rsp, 20h                                                       ; +0xb, 0x1800504fb\nmov     rsi, rdx                                                       ; +0xf, 0x1800504ff\nmov     rbx, rcx                                                       ; +0x12, 0x180050502\nmov     rdi, [rcx+270h]                                                ; +0x15, 0x180050505\nmov     rcx, rdi                                                       ; +0x1c, 0x18005050c\ncall    sub_18004FAF0                                                  ; +0x1f, 0x18005050f\ntest    eax, eax                                                       ; +0x24, 0x180050514\njz      short loc_18005056B                                            ; +0x26, 0x180050516\ntest    rdi, rdi                                                       ; +0x28, 0x180050518\njz      short loc_180050532                                            ; +0x2b, 0x18005051b\nmov     rcx, rdi                                                       ; +0x2d, 0x18005051d\ncall    sub_180005C70                                                  ; +0x30, 0x180050520\nmov     edx, 20h ; ' '                                                 ; +0x35, 0x180050525\nmov     rcx, rdi; Block                                                ; +0x3a, 0x18005052a\ncall    j_j_free_0                                                     ; +0x3d, 0x18005052d\nmov     ecx, 20h ; ' '; Size                                           ; +0x42, 0x180050532\ncall    sub_1800E4AC0                                                  ; +0x47, 0x180050537\nmov     [rsp+28h+arg_0], rax                                           ; +0x4c, 0x18005053c\ntest    rax, rax                                                       ; +0x51, 0x180050541\njz      short loc_180050552                                            ; +0x54, 0x180050544\nmov     rdx, rsi; Str                                                  ; +0x56, 0x180050546\nmov     rcx, rax; void *                                               ; +0x59, 0x180050549\ncall    sub_180005A10                                                  ; +0x5c, 0x18005054c\nnop                                                                    ; +0x61, 0x180050551\nmov     [rbx+270h], rax                                                ; +0x62, 0x180050552\ncmp     qword ptr [rbx+290h], 0                                        ; +0x69, 0x180050559\njbe     short loc_18005056B                                            ; +0x71, 0x180050561\nmov     rcx, rbx; this                                                 ; +0x73, 0x180050563\ncall    ?updateTexture@CCLabelTTF@cocos2d@@AEAA_NXZ; cocos2d::CCLabelTTF::updateTexture(void) ; +0x76, 0x180050566\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x7b, 0x18005056b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x80, 0x180050570\nadd     rsp, 20h                                                       ; +0x85, 0x180050575\npop     rdi                                                            ; +0x89, 0x180050579\nretn                                                                   ; +0x8a, 0x18005057a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bbf68"], "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"}