//
// lws_add_http_header_content_length from 0xe35c50 to 0xe35cf0 (160 bytes)
//
// 2 xrefs:
// > lws_serve_http_file @ 0xe39ed4
// > ??> @ 0x9ce20
//
// 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:57 +0000
//
__int64 __fastcall lws_add_http_header_content_length(__int64 a1, __int64 a2, void **a3, unsigned __int64 a4)
{
int v4; // w22
int v6; // w0
__int64 result; // x0
char s[24]; // [xsp+40h] [xbp+40h] BYREF
v4 = a2;
v6 = sprintf(s, "%lu", a2);
result = lws_add_http_header_by_token(a1, 0x1Bu, s, v6, a3, a4);
if ( (_DWORD)result )
return 1;
*(_DWORD *)(a1 + 192) = v4;
*(_DWORD *)(a1 + 196) = v4;
return result;
}