//
// pugi::xml_node::append_copy from 0x603ac0 to 0x603b08 (72 bytes)
//
// 1 xrefs:
// > pugi::xml_document::reset @ 0x605b04
//
// 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
//
pugi::xml_node_struct *__fastcall pugi::xml_node::append_copy(pugi::xml_node *this, pugi::xml_node *a2)
{
pugi::xml_node_struct *v4; // r0
pugi::xml_node_struct *v5; // r2
pugi::xml_node v7[2]; // [sp+0h] [bp-8h] BYREF
v7[1]._root = (pugi::xml_node_struct *)a2;
v4 = pugi::xml_node::type(a2);
v7[0]._root = pugi::xml_node::append_child((pugi::xml_node_struct *)this, v4, v5);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())v7) )
sub_6036D4(v7, a2, v7);
return v7[0]._root;
}