//
// lws_is_final_fragment from 0x6466dc to 0x646700 (36 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int __fastcall lws_is_final_fragment(int a1)
{
if ( (*(_BYTE *)(a1 + 178) & 1) == 0 )
return *(_BYTE *)(a1 + 178) & 1;
if ( *(_DWORD *)(a1 + 16) )
return 0;
return ((*(unsigned __int8 *)(a1 + 179) ^ 0x40u) >> 6) & 1;
}