//
// llvm::hasUTF16ByteOrderMark from 0xd8d7c8 to 0xd8d824 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0xe4730
//
// 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:08:17 +0000
//
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;
}