//
// lws_finalize_http_header from 0x859880 to 0x8598a8 (40 bytes)
//
// 1 xrefs:
// > lws_return_http_status @ 0x8599fc
//
// 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_finalize_http_header(int a1, _BYTE **a2, int a3)
{
_BYTE *v3; // r3
_BYTE *v4; // r3
v3 = *a2;
if ( a3 - (int)*a2 <= 2 )
return 1;
*a2 = v3 + 1;
*v3 = 13;
v4 = (*a2)++;
*v4 = 10;
return 0;
}