//
// lws_is_final_fragment from 0x85675c to 0x856780 (36 bytes)
//
// 0 xrefs:
//
// 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:36 +0000
//
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;
}