{"type": "func", "start": 6442571264, "end": 6442571403, "name": "sub_18001D600", "pseudocode": "// \n// sub_18001D600 from 0x18001d600 to 0x18001d68b (139 bytes)\n// \n// 5 xrefs:\n// > cocos2d::extension::CCControl::operator= @ 0x18001af9f\n// > cocos2d::extension::CCScrollView::operator= @ 0x18001c34c\n// > <???> @ 0x180031f04\n// > <???> @ 0x180031f14\n// > <???> @ 0x18004cf80\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 12:15:44 +0000\n// \n\n_QWORD *__fastcall sub_18001D600(_QWORD *a1, _QWORD *a2)\n{\n  _QWORD *v4; // rsi\n  _QWORD *v5; // rdi\n  void *v6; // rcx\n\n  if ( a1 != a2 )\n  {\n    v4 = (_QWORD *)*a1;\n    v5 = *(_QWORD **)(*a1 + 8LL);\n    while ( !*((_BYTE *)v5 + 25) )\n    {\n      sub_180005020((__int64)a1, (__int64)a1, v5[2]);\n      v6 = v5;\n      v5 = (_QWORD *)*v5;\n      j_j_free(v6);\n    }\n    v4[1] = v4;\n    *v4 = v4;\n    v4[2] = v4;\n    a1[1] = 0;\n    sub_18001DA70(a1, a2);\n  }\n  return a1;\n}", "assembly": "; \n; sub_18001D600 from 0x18001d600 to 0x18001d68b (139 bytes)\n; \n; 5 xrefs:\n; > cocos2d::extension::CCControl::operator= @ 0x18001af9f\n; > cocos2d::extension::CCScrollView::operator= @ 0x18001c34c\n; > <???> @ 0x180031f04\n; > <???> @ 0x180031f14\n; > <???> @ 0x18004cf80\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 12:15:44 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18001d600\npush    rbp                                                            ; +0x5, 0x18001d605\nsub     rsp, 20h                                                       ; +0x6, 0x18001d606\nmov     rbp, rdx                                                       ; +0xa, 0x18001d60a\nmov     rbx, rcx                                                       ; +0xd, 0x18001d60d\ncmp     rcx, rdx                                                       ; +0x10, 0x18001d610\njz      short loc_18001D67D                                            ; +0x13, 0x18001d613\nmov     [rsp+28h+arg_0], rsi                                           ; +0x15, 0x18001d615\nmov     rsi, [rcx]                                                     ; +0x1a, 0x18001d61a\nmov     [rsp+28h+arg_8], rdi                                           ; +0x1d, 0x18001d61d\nmov     rdi, [rsi+8]                                                   ; +0x22, 0x18001d622\ncmp     byte ptr [rdi+19h], 0                                          ; +0x26, 0x18001d626\njnz     short loc_18001D655                                            ; +0x2a, 0x18001d62a\nnop     dword ptr [rax+00h]                                            ; +0x2c, 0x18001d62c\nmov     r8, [rdi+10h]                                                  ; +0x30, 0x18001d630\nmov     rdx, rbx                                                       ; +0x34, 0x18001d634\nmov     rcx, rbx                                                       ; +0x37, 0x18001d637\ncall    sub_180005020                                                  ; +0x3a, 0x18001d63a\nmov     rcx, rdi; Block                                                ; +0x3f, 0x18001d63f\nmov     edx, 28h ; '('                                                 ; +0x42, 0x18001d642\nmov     rdi, [rdi]                                                     ; +0x47, 0x18001d647\ncall    j_j_free                                                       ; +0x4a, 0x18001d64a\ncmp     byte ptr [rdi+19h], 0                                          ; +0x4f, 0x18001d64f\njz      short loc_18001D630                                            ; +0x53, 0x18001d653\nmov     [rsi+8], rsi                                                   ; +0x55, 0x18001d655\nmov     rdx, rbp                                                       ; +0x59, 0x18001d659\nmov     [rsi], rsi                                                     ; +0x5c, 0x18001d65c\nmov     rcx, rbx                                                       ; +0x5f, 0x18001d65f\nmov     [rsi+10h], rsi                                                 ; +0x62, 0x18001d662\nmov     qword ptr [rbx+8], 0                                           ; +0x66, 0x18001d666\ncall    sub_18001DA70                                                  ; +0x6e, 0x18001d66e\nmov     rdi, [rsp+28h+arg_8]                                           ; +0x73, 0x18001d673\nmov     rsi, [rsp+28h+arg_0]                                           ; +0x78, 0x18001d678\nmov     rax, rbx                                                       ; +0x7d, 0x18001d67d\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x80, 0x18001d680\nadd     rsp, 20h                                                       ; +0x85, 0x18001d685\npop     rbp                                                            ; +0x89, 0x18001d689\nretn                                                                   ; +0x8a, 0x18001d68a", "xrefs": ["cocos2d::extension::CCControl::operator= @ 0x18001af9f", "cocos2d::extension::CCScrollView::operator= @ 0x18001c34c", "<???> @ 0x180031f04", "<???> @ 0x180031f14", "<???> @ 0x18004cf80"], "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"}