//
// tinyxml2::XMLUtil::ReadBOM from 0xb23450 to 0xb2348c (60 bytes)
//
// 3 xrefs:
// > tinyxml2::XMLDocument::LoadFile @ 0xb27620
// > tinyxml2::XMLDocument::Parse @ 0xb2779c
// > ??> @ 0x6c3c0
//
// 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 ( __PAIR64__(*(this + 1), *this) == 0xBB000000EFLL && *(this + 2) == 191 )
{
*a2 = 1;
this += 3;
}
return this;
}