//
// tinyxml2::XMLPrinter::XMLPrinter from 0x18009ad50 to 0x18009ae52 (258 bytes)
//
// 6 xrefs:
// > tinyxml2::XMLDocument::Print @ 0x18009ec8b
// > tinyxml2::XMLDocument::SaveFile @ 0x18009fe27
// > tinyxml2::XMLDocument::SaveFile @ 0x18009fe46
// > tinyxml2::XMLPrinter::`default constructor closure' @ 0x1800d5255
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0c30
//
// 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:11 +0000
//
// Hidden C++ exception states: #wind=4
tinyxml2::XMLPrinter *__fastcall tinyxml2::XMLPrinter::XMLPrinter(
tinyxml2::XMLPrinter *this,
struct _iobuf *a2,
char a3)
{
_QWORD *v4; // rcx
*(_QWORD *)this = &tinyxml2::XMLPrinter::`vftable';
*((_WORD *)this + 4) = 256;
*((_QWORD *)this + 2) = a2;
*((_DWORD *)this + 6) = 0;
*((_DWORD *)this + 7) = -1;
*((_BYTE *)this + 32) = 1;
*((_BYTE *)this + 33) = a3;
*((_QWORD *)this + 21) = (char *)this + 176;
*((_QWORD *)this + 32) = 10;
v4 = (_QWORD *)((char *)this + 264);
*v4 = v4 + 1;
*(_QWORD *)((char *)v4 + 28) = 20;
*((_QWORD *)this + 38) = (char *)this + 312;
*(_QWORD *)((char *)this + 332) = 20;
*(_QWORD *)((char *)this + 34) = 0;
*(_QWORD *)((char *)this + 98) = 0;
*(_QWORD *)((char *)this + 42) = 0;
*(_QWORD *)((char *)this + 106) = 0;
*(_QWORD *)((char *)this + 50) = 0;
*(_QWORD *)((char *)this + 114) = 0;
*(_QWORD *)((char *)this + 58) = 0;
*(_QWORD *)((char *)this + 122) = 0;
*((_WORD *)this + 33) = 0;
*(_QWORD *)((char *)this + 130) = 0;
*(_DWORD *)((char *)this + 69) = 0x1000000;
*(_QWORD *)((char *)this + 74) = 0;
*(_QWORD *)((char *)this + 138) = 0;
*(_QWORD *)((char *)this + 82) = 0;
*(_QWORD *)((char *)this + 146) = 0;
*(_DWORD *)((char *)this + 90) = 0;
*(_QWORD *)((char *)this + 154) = 0;
*(_DWORD *)((char *)this + 94) = 65537;
*((_BYTE *)this + 68) = 1;
*((_BYTE *)this + 73) = 1;
*((_BYTE *)this + 136) = 1;
*((_BYTE *)this + 158) = 1;
*((_BYTE *)this + 160) = 1;
tinyxml2::DynArray::Push();
return this;
}