{"type": "func", "start": 6442598160, "end": 6442598347, "name": "cocos2d::CCFollow::copyWithZone", "pseudocode": "// \n// cocos2d::CCFollow::copyWithZone from 0x180023f10 to 0x180023fcb (187 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e7410\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af100\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=2\ncocos2d::CCFollow *__fastcall cocos2d::CCFollow::copyWithZone(cocos2d::CCFollow *this, struct cocos2d::CCObject **a2)\n{\n  struct cocos2d::CCObject *v3; // rbx\n  cocos2d::CCFollow *v5; // rax\n  struct cocos2d::CCObject **v6; // rdi\n  cocos2d::CCFollow *v7; // rbx\n  tinyxml2::XMLHandle *v8; // rax\n\n  if ( a2 && (v3 = *a2) != nullptr )\n  {\n    cocos2d::CCAction::copyWithZone(this, a2);\n    v3[1].m_nTag = this->cocos2d::CCAction::m_nTag;\n    return (cocos2d::CCFollow *)v3;\n  }\n  else\n  {\n    v5 = (cocos2d::CCFollow *)operator new(0x80u);\n    v6 = nullptr;\n    if ( v5 )\n      v7 = cocos2d::CCFollow::CCFollow(v5);\n    else\n      v7 = nullptr;\n    v8 = (tinyxml2::XMLHandle *)operator new(8u);\n    if ( v8 )\n      v6 = (struct cocos2d::CCObject **)tinyxml2::XMLHandle::XMLHandle(v8, (struct tinyxml2::XMLNode *)v7);\n    cocos2d::CCAction::copyWithZone(this, v6);\n    v7->cocos2d::CCAction::m_nTag = this->cocos2d::CCAction::m_nTag;\n    if ( v6 )\n      j_j_free_0(v6);\n    return v7;\n  }\n}", "assembly": "; \n; cocos2d::CCFollow::copyWithZone from 0x180023f10 to 0x180023fcb (187 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e7410\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af100\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_8], rbx                                               ; +0x0, 0x180023f10\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180023f15\npush    rdi                                                            ; +0xa, 0x180023f1a\nsub     rsp, 20h                                                       ; +0xb, 0x180023f1b\nmov     rsi, rcx                                                       ; +0xf, 0x180023f1f\ntest    rdx, rdx                                                       ; +0x12, 0x180023f22\njz      short loc_180023F4D                                            ; +0x15, 0x180023f25\nmov     rbx, [rdx]                                                     ; +0x17, 0x180023f27\ntest    rbx, rbx                                                       ; +0x1a, 0x180023f2a\njz      short loc_180023F4D                                            ; +0x1d, 0x180023f2d\ncall    ?copyWithZone@CCAction@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCAction::copyWithZone(cocos2d::CCZone *) ; +0x1f, 0x180023f2f\nmov     ecx, [rsi+48h]                                                 ; +0x24, 0x180023f34\nmov     [rbx+48h], ecx                                                 ; +0x27, 0x180023f37\nmov     rax, rbx                                                       ; +0x2a, 0x180023f3a\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x2d, 0x180023f3d\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x32, 0x180023f42\nadd     rsp, 20h                                                       ; +0x37, 0x180023f47\npop     rdi                                                            ; +0x3b, 0x180023f4b\nretn                                                                   ; +0x3c, 0x180023f4c\nmov     ecx, 80h; Size                                                 ; +0x3d, 0x180023f4d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x42, 0x180023f52\nmov     [rsp+28h+arg_0], rax                                           ; +0x47, 0x180023f57\nxor     edi, edi                                                       ; +0x4c, 0x180023f5c\ntest    rax, rax                                                       ; +0x4e, 0x180023f5e\njz      short loc_180023F70                                            ; +0x51, 0x180023f61\nmov     rcx, rax; this                                                 ; +0x53, 0x180023f63\ncall    ??0CCFollow@cocos2d@@QEAA@XZ; cocos2d::CCFollow::CCFollow(void) ; +0x56, 0x180023f66\nmov     rbx, rax                                                       ; +0x5b, 0x180023f6b\njmp     short loc_180023F73                                            ; +0x5e, 0x180023f6e\nmov     rbx, rdi                                                       ; +0x60, 0x180023f70\nmov     ecx, 8; Size                                                   ; +0x63, 0x180023f73\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x68, 0x180023f78\nmov     [rsp+28h+arg_0], rax                                           ; +0x6d, 0x180023f7d\ntest    rax, rax                                                       ; +0x72, 0x180023f82\njz      short loc_180023F95                                            ; +0x75, 0x180023f85\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x77, 0x180023f87\nmov     rcx, rax; this                                                 ; +0x7a, 0x180023f8a\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x7d, 0x180023f8d\nmov     rdi, rax                                                       ; +0x82, 0x180023f92\nmov     rdx, rdi; struct cocos2d::CCZone *                             ; +0x85, 0x180023f95\nmov     rcx, rsi; this                                                 ; +0x88, 0x180023f98\ncall    ?copyWithZone@CCAction@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCAction::copyWithZone(cocos2d::CCZone *) ; +0x8b, 0x180023f9b\nmov     ecx, [rsi+48h]                                                 ; +0x90, 0x180023fa0\nmov     [rbx+48h], ecx                                                 ; +0x93, 0x180023fa3\ntest    rdi, rdi                                                       ; +0x96, 0x180023fa6\njz      short loc_180023FB8                                            ; +0x99, 0x180023fa9\nmov     edx, 8                                                         ; +0x9b, 0x180023fab\nmov     rcx, rdi; Block                                                ; +0xa0, 0x180023fb0\ncall    j_j_free_0                                                     ; +0xa3, 0x180023fb3\nmov     rax, rbx                                                       ; +0xa8, 0x180023fb8\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xab, 0x180023fbb\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xb0, 0x180023fc0\nadd     rsp, 20h                                                       ; +0xb5, 0x180023fc5\npop     rdi                                                            ; +0xb9, 0x180023fc9\nretn                                                                   ; +0xba, 0x180023fca", "xrefs": ["<???> @ 0x1800e7410", "<???> @ 0x1801438a8", "<???> @ 0x1801af100"], "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"}