//
// tinyxml2::XMLAttribute::~XMLAttribute from 0x18009b150 to 0x18009b1b8 (104 bytes)
//
// 4 xrefs:
// > sub_18009B6E0 @ 0x18009b742
// > sub_18009B6E0 @ 0x18009b6fc
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0d38
//
// 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::XMLAttribute::~XMLAttribute(void **this)
{
*this = &tinyxml2::XMLAttribute::`vftable';
if ( (*(_DWORD *)(this + 4) & 0x200) != 0 )
j_j_free_0(*(this + 5));
*((_DWORD *)this + 8) = 0;
*(this + 5) = nullptr;
*(this + 6) = nullptr;
if ( (*(_DWORD *)(this + 1) & 0x200) != 0 )
j_j_free_0(*(this + 2));
*((_DWORD *)this + 2) = 0;
*(this + 2) = nullptr;
*(this + 3) = nullptr;
}