//
// lws_add_http_header_status from 0x6498a4 to 0x6498fe (90 bytes)
//
// 1 xrefs:
// > lws_return_http_status @ 0x64993c
//
// 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
//
int __fastcall lws_add_http_header_status(int a1, int a2, void **a3, unsigned int a4)
{
const char *v7; // r3
size_t v8; // r0
char s[64]; // [sp+Ch] [bp-40h] BYREF
if ( (unsigned int)(a2 - 400) > 0x11 )
v7 = &byte_9B1912;
else
v7 = off_A2D5D0[a2 - 322];
if ( (unsigned int)(a2 - 500) <= 5 )
v7 = off_A2D5D0[a2 - 404];
v8 = sprintf(s, "HTTP/1.0 %u %s", a2, v7);
return lws_add_http_header_by_name(a1, nullptr, s, v8, a3, a4);
}