{"type": "func", "start": 6442736912, "end": 6442737076, "name": "cocos2d::CCLabelAtlas::create", "pseudocode": "// \n// cocos2d::CCLabelAtlas::create from 0x180045d10 to 0x180045db4 (164 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1740\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCLabelAtlas *__fastcall cocos2d::CCLabelAtlas::create(\n        const char *a1,\n        const char *a2,\n        unsigned int a3,\n        unsigned int a4,\n        unsigned int a5)\n{\n  cocos2d::CCLabelAtlas *v9; // rax\n  cocos2d::CCLabelAtlas *v10; // rbx\n\n  v9 = (cocos2d::CCLabelAtlas *)operator new(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, a1, a2, a3, a4, a5) )\n    {\n      cocos2d::CCObject::autorelease(v10);\n      return v10;\n    }\n    ((void (__fastcall *)(cocos2d::CCLabelAtlas *, __int64))v10->~CCLabelAtlas)(v10, 1);\n  }\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCLabelAtlas::create from 0x180045d10 to 0x180045db4 (164 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1740\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180045d10\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180045d15\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180045d1a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x180045d1f\npush    r14                                                            ; +0x14, 0x180045d24\nsub     rsp, 40h                                                       ; +0x16, 0x180045d26\nmov     edi, r9d                                                       ; +0x1a, 0x180045d2a\nmov     esi, r8d                                                       ; +0x1d, 0x180045d2d\nmov     rbp, rdx                                                       ; +0x20, 0x180045d30\nmov     r14, rcx                                                       ; +0x23, 0x180045d33\nmov     ecx, 1C8h; Size                                                ; +0x26, 0x180045d36\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x180045d3b\nmov     [rsp+48h+var_18], rax                                          ; +0x30, 0x180045d40\ntest    rax, rax                                                       ; +0x35, 0x180045d45\njz      short loc_180045D57                                            ; +0x38, 0x180045d48\nmov     rcx, rax; this                                                 ; +0x3a, 0x180045d4a\ncall    ??0CCLabelAtlas@cocos2d@@QEAA@XZ; cocos2d::CCLabelAtlas::CCLabelAtlas(void) ; +0x3d, 0x180045d4d\nmov     rbx, rax                                                       ; +0x42, 0x180045d52\njmp     short loc_180045D59                                            ; +0x45, 0x180045d55\nxor     ebx, ebx                                                       ; +0x47, 0x180045d57\ntest    rbx, rbx                                                       ; +0x49, 0x180045d59\njz      short loc_180045D97                                            ; +0x4c, 0x180045d5c\nmov     eax, [rsp+48h+arg_20]                                          ; +0x4e, 0x180045d5e\nmov     [rsp+48h+var_20], eax; unsigned int                            ; +0x52, 0x180045d62\nmov     [rsp+48h+var_28], edi; unsigned int                            ; +0x56, 0x180045d66\nmov     r9d, esi; unsigned int                                         ; +0x5a, 0x180045d6a\nmov     r8, rbp; char *                                                ; +0x5d, 0x180045d6d\nmov     rdx, r14; char *                                               ; +0x60, 0x180045d70\nmov     rcx, rbx; this                                                 ; +0x63, 0x180045d73\ncall    ?initWithString@CCLabelAtlas@cocos2d@@QEAA_NPEBD0III@Z; cocos2d::CCLabelAtlas::initWithString(char const *,char const *,uint,uint,uint) ; +0x66, 0x180045d76\nmov     rcx, rbx; this                                                 ; +0x6b, 0x180045d7b\ntest    al, al                                                         ; +0x6e, 0x180045d7e\njz      short loc_180045D8C                                            ; +0x70, 0x180045d80\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x72, 0x180045d82\nmov     rax, rbx                                                       ; +0x77, 0x180045d87\njmp     short loc_180045D99                                            ; +0x7a, 0x180045d8a\nmov     rax, [rbx]                                                     ; +0x7c, 0x180045d8c\nmov     edx, 1                                                         ; +0x7f, 0x180045d8f\ncall    qword ptr [rax+8]                                              ; +0x84, 0x180045d94\nxor     eax, eax                                                       ; +0x87, 0x180045d97\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x89, 0x180045d99\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x8e, 0x180045d9e\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x93, 0x180045da3\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x98, 0x180045da8\nadd     rsp, 40h                                                       ; +0x9d, 0x180045dad\npop     r14                                                            ; +0xa1, 0x180045db1\nretn                                                                   ; +0xa3, 0x180045db3", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b1740"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}