{"type": "func", "start": 6442777664, "end": 6442777844, "name": "cocos2d::CCLabelTTF::create", "pseudocode": "// \n// cocos2d::CCLabelTTF::create from 0x18004fc40 to 0x18004fcf4 (180 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCLabelTTF::create @ 0x18004fc34\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bbec0\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\ncocos2d::CCObject *__fastcall cocos2d::CCLabelTTF::create(__int64 a1, __int64 a2)\n{\n  cocos2d::CCLabelTTF *v4; // rax\n  cocos2d::CCObject *v5; // rbx\n\n  v4 = (cocos2d::CCLabelTTF *)sub_1800E4AC0(0x2C0u);\n  if ( v4 )\n    v5 = cocos2d::CCLabelTTF::CCLabelTTF(v4);\n  else\n    v5 = nullptr;\n  if ( v5 )\n  {\n    if ( (unsigned __int8)cocos2d::CCLabelTTF::initWithString(v5, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v5);\n      return v5;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelTTF::create from 0x18004fc40 to 0x18004fcf4 (180 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCLabelTTF::create @ 0x18004fc34\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bbec0\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, 0x18004fc40\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18004fc45\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18004fc4a\npush    rdi                                                            ; +0xf, 0x18004fc4f\nsub     rsp, 60h                                                       ; +0x10, 0x18004fc50\nmovaps  [rsp+68h+var_18], xmm6                                         ; +0x14, 0x18004fc54\nmov     rdi, r9                                                        ; +0x19, 0x18004fc59\nmovaps  xmm6, xmm2                                                     ; +0x1c, 0x18004fc5c\nmov     rsi, rdx                                                       ; +0x1f, 0x18004fc5f\nmov     rbp, rcx                                                       ; +0x22, 0x18004fc62\nmov     ecx, 2C0h; Size                                                ; +0x25, 0x18004fc65\ncall    sub_1800E4AC0                                                  ; +0x2a, 0x18004fc6a\nmov     [rsp+68h+var_28], rax                                          ; +0x2f, 0x18004fc6f\ntest    rax, rax                                                       ; +0x34, 0x18004fc74\njz      short loc_18004FC86                                            ; +0x37, 0x18004fc77\nmov     rcx, rax; this                                                 ; +0x39, 0x18004fc79\ncall    ??0CCLabelTTF@cocos2d@@QEAA@XZ; cocos2d::CCLabelTTF::CCLabelTTF(void) ; +0x3c, 0x18004fc7c\nmov     rbx, rax                                                       ; +0x41, 0x18004fc81\njmp     short loc_18004FC88                                            ; +0x44, 0x18004fc84\nxor     ebx, ebx                                                       ; +0x46, 0x18004fc86\ntest    rbx, rbx                                                       ; +0x48, 0x18004fc88\njz      short loc_18004FCD5                                            ; +0x4b, 0x18004fc8b\nmov     eax, [rsp+68h+arg_28]                                          ; +0x4d, 0x18004fc8d\nmov     [rsp+68h+var_38], eax                                          ; +0x54, 0x18004fc94\nmov     eax, [rsp+68h+arg_20]                                          ; +0x58, 0x18004fc98\nmov     [rsp+68h+var_40], eax                                          ; +0x5f, 0x18004fc9f\nmov     [rsp+68h+var_48], rdi                                          ; +0x63, 0x18004fca3\nmovaps  xmm3, xmm6                                                     ; +0x68, 0x18004fca8\nmov     r8, rsi                                                        ; +0x6b, 0x18004fcab\nmov     rdx, rbp                                                       ; +0x6e, 0x18004fcae\nmov     rcx, rbx                                                       ; +0x71, 0x18004fcb1\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) ; +0x74, 0x18004fcb4\nmov     rcx, rbx; this                                                 ; +0x79, 0x18004fcb9\ntest    al, al                                                         ; +0x7c, 0x18004fcbc\njz      short loc_18004FCCA                                            ; +0x7e, 0x18004fcbe\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x80, 0x18004fcc0\nmov     rax, rbx                                                       ; +0x85, 0x18004fcc5\njmp     short loc_18004FCD7                                            ; +0x88, 0x18004fcc8\nmov     rax, [rbx]                                                     ; +0x8a, 0x18004fcca\nmov     edx, 1                                                         ; +0x8d, 0x18004fccd\ncall    qword ptr [rax+8]                                              ; +0x92, 0x18004fcd2\nxor     eax, eax                                                       ; +0x95, 0x18004fcd5\nmov     rbx, [rsp+68h+arg_0]                                           ; +0x97, 0x18004fcd7\nmov     rbp, [rsp+68h+arg_8]                                           ; +0x9c, 0x18004fcdc\nmov     rsi, [rsp+68h+arg_10]                                          ; +0xa1, 0x18004fce1\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0xa9, 0x18004fce9\nadd     rsp, 60h                                                       ; +0xae, 0x18004fcee\npop     rdi                                                            ; +0xb2, 0x18004fcf2\nretn                                                                   ; +0xb3, 0x18004fcf3", "xrefs": ["cocos2d::CCLabelTTF::create @ 0x18004fc34", "<???> @ 0x18014cf68", "<???> @ 0x1801bbec0"], "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"}