//
// lws_add_http_header_by_token from 0x8598a8 to 0x8598dc (52 bytes)
//
// 3 xrefs:
// > lws_add_http_header_content_length @ 0x859906
// > lws_return_http_status @ 0x8599d8
// > lws_return_http_status @ 0x8599ee
//
// 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_by_token(int a1, unsigned int a2, void *a3, size_t a4, void **a5, unsigned int a6)
{
char *v9; // r1
v9 = lws_token_to_string(a2);
if ( v9 )
return lws_add_http_header_by_name(a1, v9, a3, a4, a5, a6);
else
return 1;
}