//
// lws_finalize_http_header from 0xe35bb0 to 0xe35bf0 (64 bytes)
//
// 3 xrefs:
// > lws_return_http_status @ 0xe35e88
// > lws_serve_http_file @ 0xe39f14
// > ??> @ 0xdb0a0
//
// 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:57 +0000
//
__int64 __fastcall lws_finalize_http_header(__int64 a1, _BYTE **a2, __int64 a3)
{
_BYTE *v3; // x3
__int64 result; // x0
_BYTE *v5; // x2
v3 = *a2;
result = 1;
if ( a3 - (__int64)*a2 > 2 )
{
*a2 = v3 + 1;
*v3 = 13;
v5 = (*a2)++;
*v5 = 10;
return 0;
}
return result;
}