//
// lws_add_http_header_status from 0xe35cf0 to 0xe35dc8 (216 bytes)
//
// 3 xrefs:
// > lws_return_http_status @ 0xe35e14
// > lws_serve_http_file @ 0xe39e70
// > ??> @ 0xc88f0
//
// 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_add_http_header_status(int a1, int a2, void **a3, unsigned __int64 a4)
{
unsigned int v5; // w1
const char *v8; // x3
int v9; // w0
unsigned __int64 v11; // [xsp+30h] [xbp+30h]
char s[64]; // [xsp+48h] [xbp+48h] BYREF
v5 = a2 - 400;
if ( v5 > 0x11 )
v8 = &byte_11B8890;
else
v8 = off_13FCC70[v5];
if ( (unsigned int)(a2 - 500) <= 5 )
v8 = off_13FCD00[a2 - 500];
v11 = a4;
v9 = sprintf(s, "HTTP/1.0 %u %s", a2, v8);
return lws_add_http_header_by_name(a1, nullptr, s, v9, a3, v11);
}