{"type": "func", "start": 6442742608, "end": 6442742737, "name": "cocos2d::CCLabelAtlas::create", "pseudocode": "// \n// cocos2d::CCLabelAtlas::create from 0x180047350 to 0x1800473d1 (129 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb9a4\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(const char *a1, const char *a2)\n{\n  cocos2d::CCLabelAtlas *v4; // rax\n  cocos2d::CCObject *v5; // rbx\n\n  v4 = (cocos2d::CCLabelAtlas *)sub_1800E4AC0(0x1C8u);\n  if ( v4 )\n    v5 = cocos2d::CCLabelAtlas::CCLabelAtlas(v4);\n  else\n    v5 = nullptr;\n  if ( !v5 )\n    return v5;\n  if ( cocos2d::CCLabelAtlas::initWithString(v5, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v5);\n    return v5;\n  }\n  cocos2d::CCObject::release(v5);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelAtlas::create from 0x180047350 to 0x1800473d1 (129 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb9a4\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, 0x180047350\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180047355\npush    rdi                                                            ; +0xa, 0x18004735a\nsub     rsp, 20h                                                       ; +0xb, 0x18004735b\nmov     rdi, rdx                                                       ; +0xf, 0x18004735f\nmov     rsi, rcx                                                       ; +0x12, 0x180047362\nmov     ecx, 1C8h; Size                                                ; +0x15, 0x180047365\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18004736a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x18004736f\ntest    rax, rax                                                       ; +0x24, 0x180047374\njz      short loc_180047386                                            ; +0x27, 0x180047377\nmov     rcx, rax; this                                                 ; +0x29, 0x180047379\ncall    ??0CCLabelAtlas@cocos2d@@QEAA@XZ; cocos2d::CCLabelAtlas::CCLabelAtlas(void) ; +0x2c, 0x18004737c\nmov     rbx, rax                                                       ; +0x31, 0x180047381\njmp     short loc_180047388                                            ; +0x34, 0x180047384\nxor     ebx, ebx                                                       ; +0x36, 0x180047386\ntest    rbx, rbx                                                       ; +0x38, 0x180047388\njz      short loc_1800473A7                                            ; +0x3b, 0x18004738b\nmov     r8, rdi; char *                                                ; +0x3d, 0x18004738d\nmov     rdx, rsi; char *                                               ; +0x40, 0x180047390\nmov     rcx, rbx; this                                                 ; +0x43, 0x180047393\ncall    ?initWithString@CCLabelAtlas@cocos2d@@QEAA_NPEBD0@Z; cocos2d::CCLabelAtlas::initWithString(char const *,char const *) ; +0x46, 0x180047396\nmov     rcx, rbx; this                                                 ; +0x4b, 0x18004739b\ntest    al, al                                                         ; +0x4e, 0x18004739e\njz      short loc_1800473BA                                            ; +0x50, 0x1800473a0\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x52, 0x1800473a2\nmov     rax, rbx                                                       ; +0x57, 0x1800473a7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5a, 0x1800473aa\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5f, 0x1800473af\nadd     rsp, 20h                                                       ; +0x64, 0x1800473b4\npop     rdi                                                            ; +0x68, 0x1800473b8\nretn                                                                   ; +0x69, 0x1800473b9\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x6a, 0x1800473ba\nxor     eax, eax                                                       ; +0x6f, 0x1800473bf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x71, 0x1800473c1\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x76, 0x1800473c6\nadd     rsp, 20h                                                       ; +0x7b, 0x1800473cb\npop     rdi                                                            ; +0x7f, 0x1800473cf\nretn                                                                   ; +0x80, 0x1800473d0", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bb9a4"], "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"}