//
// tinyxml2::XMLUtil::ReadBOM from 0x18009fde0 to 0x18009fe00 (32 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 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 11:22:13 +0000
//
const char *__fastcall tinyxml2::XMLUtil::ReadBOM(const char *a1, bool *a2)
{
*a2 = 0;
if ( *(_WORD *)a1 != 0xBBEF || a1[2] != -65 )
return a1;
*a2 = 1;
return a1 + 3;
}