{"type": "func", "start": 6442777456, "end": 6442777628, "name": "cocos2d::CCLabelTTF::create", "pseudocode": "// \n// cocos2d::CCLabelTTF::create from 0x18004fb70 to 0x18004fc1c (172 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCMenuItemFont::initWithString @ 0x18005d1ec\n// > cocos2d::CCMenuItemFont::recreateLabel @ 0x18005d3bb\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbea8\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\nstruct cocos2d::CCLabelTTF *__fastcall cocos2d::CCLabelTTF::create(const char *a1, const char *a2, float a3)\n{\n  cocos2d::CCLabelTTF *v5; // rax\n  cocos2d::CCObject *v6; // rbx\n\n  v5 = (cocos2d::CCLabelTTF *)sub_1800E4AC0(0x2C0u);\n  if ( v5 )\n    v6 = cocos2d::CCLabelTTF::CCLabelTTF(v5);\n  else\n    v6 = nullptr;\n  if ( v6 )\n  {\n    if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithString(v6, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v6);\n      return v6;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelTTF::create from 0x18004fb70 to 0x18004fc1c (172 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCMenuItemFont::initWithString @ 0x18005d1ec\n; > cocos2d::CCMenuItemFont::recreateLabel @ 0x18005d3bb\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbea8\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_0], rbx                                               ; +0x0, 0x18004fb70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18004fb75\npush    rdi                                                            ; +0xa, 0x18004fb7a\nsub     rsp, 50h                                                       ; +0xb, 0x18004fb7b\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0xf, 0x18004fb7f\nmovaps  xmm6, xmm2                                                     ; +0x14, 0x18004fb84\nmov     rdi, rdx                                                       ; +0x17, 0x18004fb87\nmov     rsi, rcx                                                       ; +0x1a, 0x18004fb8a\nmov     ecx, 2C0h; Size                                                ; +0x1d, 0x18004fb8d\ncall    sub_1800E4AC0                                                  ; +0x22, 0x18004fb92\nmov     [rsp+58h+arg_18], rax                                          ; +0x27, 0x18004fb97\ntest    rax, rax                                                       ; +0x2c, 0x18004fb9c\njz      short loc_18004FBAE                                            ; +0x2f, 0x18004fb9f\nmov     rcx, rax; this                                                 ; +0x31, 0x18004fba1\ncall    ??0CCLabelTTF@cocos2d@@QEAA@XZ; cocos2d::CCLabelTTF::CCLabelTTF(void) ; +0x34, 0x18004fba4\nmov     rbx, rax                                                       ; +0x39, 0x18004fba9\njmp     short loc_18004FBB0                                            ; +0x3c, 0x18004fbac\nxor     ebx, ebx                                                       ; +0x3e, 0x18004fbae\ntest    rbx, rbx                                                       ; +0x40, 0x18004fbb0\njz      short loc_18004FC05                                            ; +0x43, 0x18004fbb3\nmov     [rsp+58h+var_28], 0                                            ; +0x45, 0x18004fbb5\nmov     [rsp+58h+var_30], 1                                            ; +0x4d, 0x18004fbbd\nlea     rax, dword_1801B23E0                                           ; +0x55, 0x18004fbc5\nmov     [rsp+58h+var_38], rax                                          ; +0x5c, 0x18004fbcc\nmovaps  xmm3, xmm6                                                     ; +0x61, 0x18004fbd1\nmov     r8, rdi                                                        ; +0x64, 0x18004fbd4\nmov     rdx, rsi                                                       ; +0x67, 0x18004fbd7\nmov     rcx, rbx                                                       ; +0x6a, 0x18004fbda\ncall    ?initWithString@CCLabelTTF@cocos2d@@QEAA_NPEBD0MAEBVCCSize@2@W4CCTextAlignment@2@W4CCVerticalTextAlignment@2@@Z; cocos2d::CCLabelTTF::initWithString(char const *,char const *,float,cocos2d::CCSize const &,cocos2d::CCTextAlignment,cocos2d::CCVerticalTextAlignment) ; +0x6d, 0x18004fbdd\ntest    al, al                                                         ; +0x72, 0x18004fbe2\njz      short loc_18004FBF3                                            ; +0x74, 0x18004fbe4\nmov     rcx, rbx; this                                                 ; +0x76, 0x18004fbe6\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x79, 0x18004fbe9\nmov     rax, rbx                                                       ; +0x7e, 0x18004fbee\njmp     short loc_18004FC07                                            ; +0x81, 0x18004fbf1\nmov     rcx, [rbx]                                                     ; +0x83, 0x18004fbf3\nmov     r8, [rcx+8]                                                    ; +0x86, 0x18004fbf6\nmov     edx, 1                                                         ; +0x8a, 0x18004fbfa\nmov     rcx, rbx                                                       ; +0x8f, 0x18004fbff\ncall    r8                                                             ; +0x92, 0x18004fc02\nxor     eax, eax                                                       ; +0x95, 0x18004fc05\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x97, 0x18004fc07\nmov     rsi, [rsp+58h+arg_8]                                           ; +0x9c, 0x18004fc0c\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xa1, 0x18004fc11\nadd     rsp, 50h                                                       ; +0xa6, 0x18004fc16\npop     rdi                                                            ; +0xaa, 0x18004fc1a\nretn                                                                   ; +0xab, 0x18004fc1b", "xrefs": ["cocos2d::CCMenuItemFont::initWithString @ 0x18005d1ec", "cocos2d::CCMenuItemFont::recreateLabel @ 0x18005d3bb", "<???> @ 0x18014cf68", "<???> @ 0x1801bbea8"], "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"}