{"type": "func", "start": 6442742752, "end": 6442742916, "name": "cocos2d::CCLabelAtlas::create", "pseudocode": "// \n// cocos2d::CCLabelAtlas::create from 0x1800473e0 to 0x180047484 (164 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb9b0\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:41 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCLabelAtlas *__fastcall cocos2d::CCLabelAtlas::create(\n        const char *Str,\n        const char *a2,\n        unsigned int a3,\n        unsigned int a4,\n        unsigned int a5)\n{\n  cocos2d::CCLabelAtlas *v9; // rax\n  cocos2d::CCObject *v10; // rbx\n\n  v9 = (cocos2d::CCLabelAtlas *)sub_1800E4AC0(0x1C8u);\n  if ( v9 )\n    v10 = cocos2d::CCLabelAtlas::CCLabelAtlas(v9);\n  else\n    v10 = nullptr;\n  if ( v10 )\n  {\n    if ( cocos2d::CCLabelAtlas::initWithString(v10, Str, a2, a3, a4, a5) )\n    {\n      cocos2d::CCObject::autorelease(v10);\n      return v10;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v10 + 8LL))(v10, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelAtlas::create from 0x1800473e0 to 0x180047484 (164 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb9b0\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:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800473e0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800473e5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800473ea\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x1800473ef\npush    r14                                                            ; +0x14, 0x1800473f4\nsub     rsp, 40h                                                       ; +0x16, 0x1800473f6\nmov     edi, r9d                                                       ; +0x1a, 0x1800473fa\nmov     esi, r8d                                                       ; +0x1d, 0x1800473fd\nmov     rbp, rdx                                                       ; +0x20, 0x180047400\nmov     r14, rcx                                                       ; +0x23, 0x180047403\nmov     ecx, 1C8h; Size                                                ; +0x26, 0x180047406\ncall    sub_1800E4AC0                                                  ; +0x2b, 0x18004740b\nmov     [rsp+48h+var_18], rax                                          ; +0x30, 0x180047410\ntest    rax, rax                                                       ; +0x35, 0x180047415\njz      short loc_180047427                                            ; +0x38, 0x180047418\nmov     rcx, rax; this                                                 ; +0x3a, 0x18004741a\ncall    ??0CCLabelAtlas@cocos2d@@QEAA@XZ; cocos2d::CCLabelAtlas::CCLabelAtlas(void) ; +0x3d, 0x18004741d\nmov     rbx, rax                                                       ; +0x42, 0x180047422\njmp     short loc_180047429                                            ; +0x45, 0x180047425\nxor     ebx, ebx                                                       ; +0x47, 0x180047427\ntest    rbx, rbx                                                       ; +0x49, 0x180047429\njz      short loc_180047467                                            ; +0x4c, 0x18004742c\nmov     eax, [rsp+48h+arg_20]                                          ; +0x4e, 0x18004742e\nmov     [rsp+48h+var_20], eax; unsigned int                            ; +0x52, 0x180047432\nmov     [rsp+48h+var_28], edi; unsigned int                            ; +0x56, 0x180047436\nmov     r9d, esi; unsigned int                                         ; +0x5a, 0x18004743a\nmov     r8, rbp; char *                                                ; +0x5d, 0x18004743d\nmov     rdx, r14; Str                                                  ; +0x60, 0x180047440\nmov     rcx, rbx; this                                                 ; +0x63, 0x180047443\ncall    ?initWithString@CCLabelAtlas@cocos2d@@QEAA_NPEBD0III@Z; cocos2d::CCLabelAtlas::initWithString(char const *,char const *,uint,uint,uint) ; +0x66, 0x180047446\nmov     rcx, rbx; this                                                 ; +0x6b, 0x18004744b\ntest    al, al                                                         ; +0x6e, 0x18004744e\njz      short loc_18004745C                                            ; +0x70, 0x180047450\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x72, 0x180047452\nmov     rax, rbx                                                       ; +0x77, 0x180047457\njmp     short loc_180047469                                            ; +0x7a, 0x18004745a\nmov     rax, [rbx]                                                     ; +0x7c, 0x18004745c\nmov     edx, 1                                                         ; +0x7f, 0x18004745f\ncall    qword ptr [rax+8]                                              ; +0x84, 0x180047464\nxor     eax, eax                                                       ; +0x87, 0x180047467\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x89, 0x180047469\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x8e, 0x18004746e\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x93, 0x180047473\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x98, 0x180047478\nadd     rsp, 40h                                                       ; +0x9d, 0x18004747d\npop     r14                                                            ; +0xa1, 0x180047481\nretn                                                                   ; +0xa3, 0x180047483", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bb9b0"], "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"}