//
// cocos2d::extension::WebSocket::WebSocket from 0x1800191f0 to 0x180019278 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0x180032408
// > ??> @ 0x18004cb48
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:15:42 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::extension::WebSocket *__fastcall cocos2d::extension::WebSocket::WebSocket(
cocos2d::extension::WebSocket *this,
const struct cocos2d::extension::WebSocket *a2)
{
*(_QWORD *)this = &cocos2d::extension::WebSocket::`vftable';
*((_DWORD *)this + 2) = *((_DWORD *)a2 + 2);
sub_1800039B0((__int64)this + 16, (__int64)a2 + 16);
*((_DWORD *)this + 12) = *((_DWORD *)a2 + 12);
sub_1800039B0((__int64)this + 56, (__int64)a2 + 56);
*((_QWORD *)this + 11) = *((_QWORD *)a2 + 11);
*((_QWORD *)this + 12) = *((_QWORD *)a2 + 12);
*((_QWORD *)this + 13) = *((_QWORD *)a2 + 13);
*((_QWORD *)this + 14) = *((_QWORD *)a2 + 14);
*((_DWORD *)this + 30) = *((_DWORD *)a2 + 30);
*((_QWORD *)this + 16) = *((_QWORD *)a2 + 16);
return this;
}