//
// lws_http_transaction_completed from 0xe39a44 to 0xe39aa4 (96 bytes)
//
// 3 xrefs:
// > lws_read @ 0xe3178c
// > lws_server_socket_service @ 0xe39da8
// > ??> @ 0x434b0
//
// 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:59 +0000
//
__int64 __fastcall lws_http_transaction_completed(__int64 a1)
{
__int64 result; // x0
if ( *(_DWORD *)(a1 + 188) != 1 )
return 1;
*(_BYTE *)(a1 + 73) = 0;
*(_BYTE *)(a1 + 72) = 0;
*(_DWORD *)(a1 + 192) = 0;
lws_set_timeout(a1, 0, 0);
result = sub_E33F70(a1);
if ( (_DWORD)result )
return 1;
*(_DWORD *)(a1 + 172) = 0;
return result;
}