//
// tinyxml2::XMLAttribute::~XMLAttribute from 0x180097800 to 0x180097868 (104 bytes)
//
// 4 xrefs:
// > sub_180097D90 @ 0x180097df2
// > sub_180097D90 @ 0x180097dac
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b6a98
//
// 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::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;
}