//
// tinyxml2::XMLPrinter::~XMLPrinter from 0x180097a20 to 0x180097a8b (107 bytes)
//
// 9 xrefs:
// > sub_1800980F0 @ 0x18009814e
// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e2ff7
// > sub_1800E3000 @ 0x1800e3007
// > sub_1800980F0 @ 0x18009810c
// > ??> @ 0x18013ea67
// > ??> @ 0x18013ea6d
// > ??> @ 0x18013eaa7
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6ac8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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';
}