//
// lws_add_http_header_status from 0x859924 to 0x85997e (90 bytes)
//
// 1 xrefs:
// > lws_return_http_status @ 0x8599bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:02:38 +0000
//
int __fastcall lws_add_http_header_status(int a1, int a2, void **a3, unsigned int a4)
{
const char *v7; // r3
size_t v8; // r0
_BYTE v10[64]; // [sp+Ch] [bp-40h] BYREF
if ( (unsigned int)(a2 - 400) > 0x11 )
v7 = &byte_BF4ECA;
else
v7 = off_C75A58[a2 - 322];
if ( (unsigned int)(a2 - 500) <= 5 )
v7 = off_C75A58[a2 - 404];
v8 = sub_993BD0(v10, "HTTP/1.0 %u %s", a2, v7);
return lws_add_http_header_by_name(a1, nullptr, v10, v8, a3, a4);
}