//
// tinyxml2::XMLElement::~XMLElement from 0xd95240 to 0xd952b8 (120 bytes)
//
// 4 xrefs:
// > tinyxml2::XMLElement::~XMLElement @ 0xd952c8
// > ??> @ 0x43570
// > ??> @ 0x982a8
// > ??> @ 0x152f670
//
// This function is hookable on this platform (idp: arm, 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 13:08:21 +0000
//
// Alternative name is '_ZN8tinyxml210XMLElementD2Ev'
void __fastcall tinyxml2::XMLElement::~XMLElement(tinyxml2::XMLElement *this)
{
__int64 v2; // x1
__int64 v3; // x20
__int64 v4; // x19
v2 = *((_QWORD *)this + 12);
*(_QWORD *)this = off_152F5F0;
if ( v2 )
{
do
{
v3 = *(_QWORD *)(v2 + 64);
v4 = *(_QWORD *)(v2 + 56);
(**(void (__fastcall ***)(__int64))v2)(v2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 32LL))(v3, *((_QWORD *)this + 12));
*((_QWORD *)this + 12) = v4;
v2 = v4;
}
while ( v4 );
}
tinyxml2::XMLNode::~XMLNode((tinyxml2::XMLNode **)this);
}