//
// tinyxml2::XMLPrinter::~XMLPrinter from 0x18009b370 to 0x18009b3db (107 bytes)
//
// 9 xrefs:
// > sub_18009BA40 @ 0x18009ba9e
// > sub_1800E85F0 @ 0x1800e85f7
// > sub_1800E8600 @ 0x1800e8607
// > sub_18009BA40 @ 0x18009ba5c
// > ??> @ 0x180147d4f
// > ??> @ 0x180147d55
// > ??> @ 0x180147d8f
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0d68
//
// 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
//
void __fastcall tinyxml2::XMLPrinter::~XMLPrinter(tinyxml2::XMLPrinter *this)
{
char *v2; // rcx
char *v3; // rcx
char *v4; // rcx
*(_QWORD *)this = &tinyxml2::XMLPrinter::`vftable';
v2 = *((char **)this + 38);
if ( v2 != (char *)this + 312 )
j_j_free_0(v2);
v3 = *((char **)this + 33);
if ( v3 != (char *)this + 272 )
j_j_free_0(v3);
v4 = *((char **)this + 21);
if ( v4 != (char *)this + 176 )
j_j_free_0(v4);
*(_QWORD *)this = &tinyxml2::XMLVisitor::`vftable';
}