//
// lws_client_connect_extended from 0xe373f8 to 0xe3744c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x76e88
//
// This function is hookable on this platform (idp: arm, 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 13:09:58 +0000
//
__int64 __fastcall lws_client_connect_extended(
__int64 a1,
_BYTE *a2,
unsigned int a3,
int a4,
_BYTE *a5,
_BYTE *a6,
_BYTE *a7,
_BYTE *a8,
int a9,
__int64 a10)
{
__int64 result; // x0
char v11; // w1
result = lws_client_connect(a1, a2, a3, a4, a5, a6, a7, a8, a9);
if ( result && a10 && !*(_QWORD *)(result + 144) )
{
v11 = *(_BYTE *)(result + 76);
*(_QWORD *)(result + 144) = a10;
*(_BYTE *)(result + 76) = v11 | 2;
}
return result;
}