//
// lws_finalize_http_header from 0x649800 to 0x649828 (40 bytes)
//
// 1 xrefs:
// > lws_return_http_status @ 0x64997c
//
// 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_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;
}