//
// tinyxml2::XMLNode::DeleteChildren from 0xd950c0 to 0xd95130 (112 bytes)
//
// 6 xrefs:
// > tinyxml2::XMLNode::~XMLNode @ 0xd95150
// > tinyxml2::XMLDocument::~XMLDocument @ 0xd95348
// > tinyxml2::XMLDocument::LoadFile @ 0xd9812c
// > tinyxml2::XMLDocument::LoadFile @ 0xd98258
// > tinyxml2::XMLDocument::Parse @ 0xd982e8
// > ??> @ 0x9c520
//
// 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
//
tinyxml2::XMLNode **__fastcall tinyxml2::XMLNode::DeleteChildren(tinyxml2::XMLNode **this)
{
tinyxml2::XMLNode *v1; // x21
tinyxml2::XMLNode *i; // x19
__int64 v3; // x20
v1 = (tinyxml2::XMLNode *)this;
for ( i = *(this + 6); i; i = *((tinyxml2::XMLNode **)v1 + 6) )
{
tinyxml2::XMLNode::Unlink(v1, i);
v3 = *((_QWORD *)i + 10);
(*(void (__fastcall **)(tinyxml2::XMLNode *))(*(_QWORD *)i + 128LL))(i);
this = (tinyxml2::XMLNode **)(*(__int64 (__fastcall **)(__int64, tinyxml2::XMLNode *))(*(_QWORD *)v3 + 32LL))(v3, i);
}
*((_QWORD *)v1 + 7) = 0;
*((_QWORD *)v1 + 6) = 0;
return this;
}