//
// sub_180019690 from 0x180019690 to 0x1800196d5 (69 bytes)
//
// 2 xrefs:
// > cocos2d::extension::WebSocket::init @ 0x18001a26a
// > ??> @ 0x18004ac44
//
// 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
//
__int64 __fastcall sub_180019690(__int64 a1)
{
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 8LL))(*(_QWORD *)(a1 + 104));
if ( !*(_BYTE *)(a1 + 112) )
{
while ( !(*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 16LL))(*(_QWORD *)(a1 + 104))
&& !*(_BYTE *)(a1 + 112) )
;
}
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 104) + 24LL))(*(_QWORD *)(a1 + 104));
return 0;
}