{"type": "func", "start": 6442553984, "end": 6442554148, "name": "cocos2d::extension::WebSocket::operator=", "pseudocode": "// \n// cocos2d::extension::WebSocket::operator= from 0x180019280 to 0x180019324 (164 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004cb54\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:42 +0000\n// \n\n__int64 __fastcall cocos2d::extension::WebSocket::operator=(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r8\n  void **v4; // rcx\n  void *v6; // rdx\n  void *v7; // rdx\n\n  v2 = a2 + 16;\n  *(_DWORD *)(a1 + 8) = *(_DWORD *)(a2 + 8);\n  v4 = (void **)(a1 + 16);\n  if ( v4 != (void **)(a2 + 16) )\n  {\n    v6 = (void *)(a2 + 16);\n    if ( *(_QWORD *)(v2 + 24) > 0xFu )\n      v6 = *(void **)v2;\n    sub_1800035E0(v4, v6, *(_QWORD *)(v2 + 16));\n  }\n  *(_DWORD *)(a1 + 48) = *(_DWORD *)(a2 + 48);\n  if ( a1 + 56 != a2 + 56 )\n  {\n    v7 = (void *)(a2 + 56);\n    if ( *(_QWORD *)(a2 + 80) > 0xFu )\n      v7 = *(void **)(a2 + 56);\n    sub_1800035E0((void **)(a1 + 56), v7, *(_QWORD *)(a2 + 72));\n  }\n  *(_QWORD *)(a1 + 88) = *(_QWORD *)(a2 + 88);\n  *(_QWORD *)(a1 + 96) = *(_QWORD *)(a2 + 96);\n  *(_QWORD *)(a1 + 104) = *(_QWORD *)(a2 + 104);\n  *(_QWORD *)(a1 + 112) = *(_QWORD *)(a2 + 112);\n  *(_DWORD *)(a1 + 120) = *(_DWORD *)(a2 + 120);\n  *(_QWORD *)(a1 + 128) = *(_QWORD *)(a2 + 128);\n  return a1;\n}", "assembly": "; \n; cocos2d::extension::WebSocket::operator= from 0x180019280 to 0x180019324 (164 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004cb54\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:42 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180019280\npush    rdi                                                            ; +0x5, 0x180019285\nsub     rsp, 20h                                                       ; +0x6, 0x180019286\nmov     eax, [rdx+8]                                                   ; +0xa, 0x18001928a\nlea     r8, [rdx+10h]                                                  ; +0xd, 0x18001928d\nmov     [rcx+8], eax                                                   ; +0x11, 0x180019291\nmov     rbx, rcx                                                       ; +0x14, 0x180019294\nadd     rcx, 10h; void *                                               ; +0x17, 0x180019297\nmov     rdi, rdx                                                       ; +0x1b, 0x18001929b\ncmp     rcx, r8                                                        ; +0x1e, 0x18001929e\njz      short loc_1800192B9                                            ; +0x21, 0x1800192a1\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x23, 0x1800192a3\nmov     rdx, r8                                                        ; +0x28, 0x1800192a8\njbe     short loc_1800192B0                                            ; +0x2b, 0x1800192ab\nmov     rdx, [r8]; Src                                                 ; +0x2d, 0x1800192ad\nmov     r8, [r8+10h]; Size                                             ; +0x30, 0x1800192b0\ncall    sub_1800035E0                                                  ; +0x34, 0x1800192b4\nmov     eax, [rdi+30h]                                                 ; +0x39, 0x1800192b9\nlea     r8, [rdi+38h]                                                  ; +0x3c, 0x1800192bc\nlea     rcx, [rbx+38h]; void *                                         ; +0x40, 0x1800192c0\nmov     [rbx+30h], eax                                                 ; +0x44, 0x1800192c4\ncmp     rcx, r8                                                        ; +0x47, 0x1800192c7\njz      short loc_1800192E2                                            ; +0x4a, 0x1800192ca\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x4c, 0x1800192cc\nmov     rdx, r8                                                        ; +0x51, 0x1800192d1\njbe     short loc_1800192D9                                            ; +0x54, 0x1800192d4\nmov     rdx, [r8]; Src                                                 ; +0x56, 0x1800192d6\nmov     r8, [r8+10h]; Size                                             ; +0x59, 0x1800192d9\ncall    sub_1800035E0                                                  ; +0x5d, 0x1800192dd\nmov     rax, [rdi+58h]                                                 ; +0x62, 0x1800192e2\nmov     [rbx+58h], rax                                                 ; +0x66, 0x1800192e6\nmov     rax, [rdi+60h]                                                 ; +0x6a, 0x1800192ea\nmov     [rbx+60h], rax                                                 ; +0x6e, 0x1800192ee\nmov     rax, [rdi+68h]                                                 ; +0x72, 0x1800192f2\nmov     [rbx+68h], rax                                                 ; +0x76, 0x1800192f6\nmov     rax, [rdi+70h]                                                 ; +0x7a, 0x1800192fa\nmov     [rbx+70h], rax                                                 ; +0x7e, 0x1800192fe\nmov     eax, [rdi+78h]                                                 ; +0x82, 0x180019302\nmov     [rbx+78h], eax                                                 ; +0x85, 0x180019305\nmov     rax, [rdi+80h]                                                 ; +0x88, 0x180019308\nmov     [rbx+80h], rax                                                 ; +0x8f, 0x18001930f\nmov     rax, rbx                                                       ; +0x96, 0x180019316\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x99, 0x180019319\nadd     rsp, 20h                                                       ; +0x9e, 0x18001931e\npop     rdi                                                            ; +0xa2, 0x180019322\nretn                                                                   ; +0xa3, 0x180019323", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004cb54"], "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"}