{"type": "func", "start": 6442553840, "end": 6442553976, "name": "cocos2d::extension::WebSocket::WebSocket", "pseudocode": "// \n// cocos2d::extension::WebSocket::WebSocket from 0x1800191f0 to 0x180019278 (136 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004cb48\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// Hidden C++ exception states: #wind=1\ncocos2d::extension::WebSocket *__fastcall cocos2d::extension::WebSocket::WebSocket(\n        cocos2d::extension::WebSocket *this,\n        const struct cocos2d::extension::WebSocket *a2)\n{\n  *(_QWORD *)this = &cocos2d::extension::WebSocket::`vftable';\n  *((_DWORD *)this + 2) = *((_DWORD *)a2 + 2);\n  sub_1800039B0((__int64)this + 16, (__int64)a2 + 16);\n  *((_DWORD *)this + 12) = *((_DWORD *)a2 + 12);\n  sub_1800039B0((__int64)this + 56, (__int64)a2 + 56);\n  *((_QWORD *)this + 11) = *((_QWORD *)a2 + 11);\n  *((_QWORD *)this + 12) = *((_QWORD *)a2 + 12);\n  *((_QWORD *)this + 13) = *((_QWORD *)a2 + 13);\n  *((_QWORD *)this + 14) = *((_QWORD *)a2 + 14);\n  *((_DWORD *)this + 30) = *((_DWORD *)a2 + 30);\n  *((_QWORD *)this + 16) = *((_QWORD *)a2 + 16);\n  return this;\n}", "assembly": "; \n; cocos2d::extension::WebSocket::WebSocket from 0x1800191f0 to 0x180019278 (136 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004cb48\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_8], rbx                                               ; +0x0, 0x1800191f0\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1800191f5\npush    rdi                                                            ; +0xa, 0x1800191fa\nsub     rsp, 20h                                                       ; +0xb, 0x1800191fb\nmov     rbx, rdx                                                       ; +0xf, 0x1800191ff\nmov     rdi, rcx                                                       ; +0x12, 0x180019202\nlea     rax, ??_7WebSocket@extension@cocos2d@@6B@; const cocos2d::extension::WebSocket::`vftable' ; +0x15, 0x180019205\nmov     [rcx], rax                                                     ; +0x1c, 0x18001920c\nmov     eax, [rdx+8]                                                   ; +0x1f, 0x18001920f\nmov     [rcx+8], eax                                                   ; +0x22, 0x180019212\nadd     rdx, 10h                                                       ; +0x25, 0x180019215\nadd     rcx, 10h                                                       ; +0x29, 0x180019219\ncall    sub_1800039B0                                                  ; +0x2d, 0x18001921d\nnop                                                                    ; +0x32, 0x180019222\nmov     eax, [rbx+30h]                                                 ; +0x33, 0x180019223\nmov     [rdi+30h], eax                                                 ; +0x36, 0x180019226\nlea     rdx, [rbx+38h]                                                 ; +0x39, 0x180019229\nlea     rcx, [rdi+38h]                                                 ; +0x3d, 0x18001922d\ncall    sub_1800039B0                                                  ; +0x41, 0x180019231\nmov     rax, [rbx+58h]                                                 ; +0x46, 0x180019236\nmov     [rdi+58h], rax                                                 ; +0x4a, 0x18001923a\nmov     rax, [rbx+60h]                                                 ; +0x4e, 0x18001923e\nmov     [rdi+60h], rax                                                 ; +0x52, 0x180019242\nmov     rax, [rbx+68h]                                                 ; +0x56, 0x180019246\nmov     [rdi+68h], rax                                                 ; +0x5a, 0x18001924a\nmov     rax, [rbx+70h]                                                 ; +0x5e, 0x18001924e\nmov     [rdi+70h], rax                                                 ; +0x62, 0x180019252\nmov     eax, [rbx+78h]                                                 ; +0x66, 0x180019256\nmov     [rdi+78h], eax                                                 ; +0x69, 0x180019259\nmov     rax, [rbx+80h]                                                 ; +0x6c, 0x18001925c\nmov     [rdi+80h], rax                                                 ; +0x73, 0x180019263\nmov     rax, rdi                                                       ; +0x7a, 0x18001926a\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x7d, 0x18001926d\nadd     rsp, 20h                                                       ; +0x82, 0x180019272\npop     rdi                                                            ; +0x86, 0x180019276\nretn                                                                   ; +0x87, 0x180019277", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004cb48"], "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"}