{"type": "func", "start": 6442517472, "end": 6442517581, "name": "cocos2d::CCString::copyWithZone", "pseudocode": "// \n// cocos2d::CCString::copyWithZone from 0x1800103e0 to 0x18001044d (109 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ec6d0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b81a0\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:22 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCObject *__fastcall cocos2d::CCString::copyWithZone(\n        cocos2d::CCString *this,\n        struct cocos2d::CCZone *a2)\n{\n  cocos2d::CCObject *v3; // rax\n  cocos2d::CCObject *v4; // rdi\n  char *v5; // rbx\n\n  v3 = (cocos2d::CCObject *)sub_1800E4AC0(0x58u);\n  v4 = v3;\n  if ( !v3 )\n    return nullptr;\n  v5 = (char *)this + 56;\n  if ( *((_QWORD *)v5 + 3) > 0xFu )\n    v5 = *(char **)v5;\n  cocos2d::CCObject::CCObject(v3);\n  *(_QWORD *)v4 = &cocos2d::CCString::`vftable';\n  sub_180005A10((_QWORD *)v4 + 7, v5);\n  return v4;\n}", "assembly": "; \n; cocos2d::CCString::copyWithZone from 0x1800103e0 to 0x18001044d (109 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ec6d0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b81a0\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:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800103e0\npush    rdi                                                            ; +0x5, 0x1800103e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800103e6\nmov     rbx, rcx                                                       ; +0xa, 0x1800103ea\nmov     ecx, 58h ; 'X'; Size                                           ; +0xd, 0x1800103ed\ncall    sub_1800E4AC0                                                  ; +0x12, 0x1800103f2\nmov     rdi, rax                                                       ; +0x17, 0x1800103f7\nmov     [rsp+28h+arg_10], rax                                          ; +0x1a, 0x1800103fa\ntest    rax, rax                                                       ; +0x1f, 0x1800103ff\njz      short loc_180010440                                            ; +0x22, 0x180010402\nadd     rbx, 38h ; '8'                                                 ; +0x24, 0x180010404\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x28, 0x180010408\njbe     short loc_180010412                                            ; +0x2d, 0x18001040d\nmov     rbx, [rbx]                                                     ; +0x2f, 0x18001040f\nmov     rcx, rdi; this                                                 ; +0x32, 0x180010412\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x35, 0x180010415\nnop                                                                    ; +0x3a, 0x18001041a\nlea     rax, ??_7CCString@cocos2d@@6B@; const cocos2d::CCString::`vftable' ; +0x3b, 0x18001041b\nmov     [rdi], rax                                                     ; +0x42, 0x180010422\nlea     rcx, [rdi+38h]; void *                                         ; +0x45, 0x180010425\nmov     rdx, rbx; Str                                                  ; +0x49, 0x180010429\ncall    sub_180005A10                                                  ; +0x4c, 0x18001042c\nnop                                                                    ; +0x51, 0x180010431\nmov     rax, rdi                                                       ; +0x52, 0x180010432\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x55, 0x180010435\nadd     rsp, 20h                                                       ; +0x5a, 0x18001043a\npop     rdi                                                            ; +0x5e, 0x18001043e\nretn                                                                   ; +0x5f, 0x18001043f\nxor     eax, eax                                                       ; +0x60, 0x180010440\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x180010442\nadd     rsp, 20h                                                       ; +0x67, 0x180010447\npop     rdi                                                            ; +0x6b, 0x18001044b\nretn                                                                   ; +0x6c, 0x18001044c", "xrefs": ["<???> @ 0x1800ec6d0", "<???> @ 0x18014cf68", "<???> @ 0x1801b81a0"], "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"}