//
// llvm::hasUTF16ByteOrderMark from 0xb1cd80 to 0xb1cddc (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xae870
//
// 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
//
bool __fastcall llvm::hasUTF16ByteOrderMark(llvm *this, const char *a2)
{
int v2; // w1
if ( (unsigned __int64)a2 <= 1 )
return 0;
v2 = *(unsigned __int8 *)this;
if ( v2 == 255 )
return *((unsigned __int8 *)this + 1) == 254;
if ( v2 == 254 )
return *((unsigned __int8 *)this + 1) == 255;
return 0;
}