//
// tinyxml2::XMLUtil::ReadBOM from 0xd93ff8 to 0xd94034 (60 bytes)
//
// 3 xrefs:
// > tinyxml2::XMLDocument::LoadFile @ 0xd981c4
// > tinyxml2::XMLDocument::Parse @ 0xd98340
// > ??> @ 0x92380
//
// 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:20 +0000
//
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;
}