//
// tinyxml2::XMLUtil::ReadBOM from 0x7f86a4 to 0x7f86c2 (30 bytes)
//
// 2 xrefs:
// > tinyxml2::XMLDocument::LoadFile @ 0x7f9a7a
// > tinyxml2::XMLDocument::Parse @ 0x7f9b28
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:12 +0000
//
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;
}