//
// tinyxml2::XMLPrinter::PushHeader from 0x18009f5a0 to 0x18009f637 (151 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c13c8
//
// 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
//
void __fastcall tinyxml2::XMLPrinter::PushHeader(tinyxml2::XMLPrinter *this, char a2, char a3)
{
if ( a2 )
tinyxml2::XMLPrinter::Print(this, "%s", byte_18010B270);
if ( a3 )
{
if ( *((_BYTE *)this + 8) )
{
*((_BYTE *)this + 8) = 0;
tinyxml2::XMLPrinter::Print(this, ">");
}
if ( *((int *)this + 7) < 0 && !*((_BYTE *)this + 9) && !*((_BYTE *)this + 33) )
{
tinyxml2::XMLPrinter::Print(this, "\n");
tinyxml2::XMLPrinter::PrintSpace(this, *((_DWORD *)this + 6));
}
*((_BYTE *)this + 9) = 0;
tinyxml2::XMLPrinter::Print(this, "%s?>", "xml version=\"1.0\"");
}
}