//
// tinyxml2::XMLUtil::ReadBOM from 0x5ed65c to 0x5ed67a (30 bytes)
//
// 2 xrefs:
// > tinyxml2::XMLDocument::LoadFile @ 0x5eea22
// > tinyxml2::XMLDocument::Parse @ 0x5eead0
//
// 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 __int8 *__fastcall tinyxml2::XMLUtil::ReadBOM(unsigned __int8 *this, char *a2, bool *a3)
{
*a2 = 0;
if ( *this == 239 && *(this + 1) == 187 && *(this + 2) == 191 )
{
*a2 = 1;
this += 3;
}
return this;
}