//
// pugi::xml_document::reset from 0xb5a0ec to 0xb5a17c (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x635e8
//
// 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
//
__int64 __fastcall pugi::xml_document::reset(pugi::xml_document *this, const pugi::xml_document *a2)
{
pugi::xml_node v5; // [xsp+40h] [xbp+40h] BYREF
pugi::xml_document::reset(this);
for ( v5._root = pugi::xml_node::first_child(&a2->pugi::xml_node);
pugi::xml_node::operator void (*)(pugi::xml_node***)(&v5);
v5._root = pugi::xml_node::next_sibling(&v5) )
{
pugi::xml_node::append_copy(this, &v5);
}
return _stack_chk_guard;
}