//
// pugi::xml_document::reset from 0x605ad8 to 0x605b22 (74 bytes)
//
// 0 xrefs:
//
// 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 pugi::xml_document::reset(pugi::xml_document *this, pugi::xml_document *a2))()
{
pugi::xml_node_struct *v4; // r1
void (*result)(); // r0
pugi::xml_node_struct *v6; // r1
pugi::xml_node v7[2]; // [sp+0h] [bp-8h] BYREF
v7[1]._root = (pugi::xml_node_struct *)a2;
pugi::xml_document::reset(this);
for ( v7[0]._root = pugi::xml_node::first_child(a2, v4); ; v7[0]._root = pugi::xml_node::next_sibling(v7, v6) )
{
result = pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())v7);
if ( !result )
break;
pugi::xml_node::append_copy(this, v7);
}
return result;
}