//
// tinyxml2::XMLPrinter::PushDeclaration from 0x7fa62c to 0x7fa66e (66 bytes)
//
// 2 xrefs:
// > tinyxml2::XMLPrinter::PushHeader @ 0x7fa69a
// > tinyxml2::XMLPrinter::Visit @ 0x7fa6d6
//
// 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:14 +0000
//
int __fastcall tinyxml2::XMLPrinter::PushDeclaration(tinyxml2::XMLPrinter *this, const char *a2)
{
if ( *((_BYTE *)this + 4) )
tinyxml2::XMLPrinter::SealElement(this);
if ( *((int *)this + 4) < 0 && !*((_BYTE *)this + 5) && !*((_BYTE *)this + 21) )
{
tinyxml2::XMLPrinter::Print(this, "\n");
tinyxml2::XMLPrinter::PrintSpace((int)this, *((_DWORD *)this + 3));
}
*((_BYTE *)this + 5) = 0;
return tinyxml2::XMLPrinter::Print(this, "%s?>", a2);
}