//
// cocos2d::extension::WebSocket::WebSocket from 0x1800198d0 to 0x18001992d (93 bytes)
//
// 1 xrefs:
// > ??> @ 0x18002fdf8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::extension::WebSocket *__fastcall cocos2d::extension::WebSocket::WebSocket(cocos2d::extension::WebSocket *this)
{
*(_QWORD *)this = &cocos2d::extension::WebSocket::`vftable';
*((_DWORD *)this + 2) = 0;
*((_OWORD *)this + 1) = 0;
*((_QWORD *)this + 4) = 0;
*((_QWORD *)this + 5) = 15;
*((_BYTE *)this + 16) = 0;
*((_DWORD *)this + 12) = 80;
*(_OWORD *)((char *)this + 56) = 0;
*((_QWORD *)this + 9) = 0;
*((_QWORD *)this + 10) = 15;
*((_BYTE *)this + 56) = 0;
*((_QWORD *)this + 11) = 0;
*((_QWORD *)this + 12) = 0;
*((_QWORD *)this + 13) = 0;
*((_QWORD *)this + 14) = 0;
*((_DWORD *)this + 30) = 0;
*((_QWORD *)this + 16) = 0;
return this;
}