//
// pugi::xml_node::append_copy from 0xdc91e8 to 0xdc9274 (140 bytes)
//
// 2 xrefs:
// > pugi::xml_document::reset @ 0xdcdd98
// > ??> @ 0x91f00
//
// 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:53 +0000
//
__int64 __fastcall pugi::xml_node::append_copy(pugi::xml_node *this, const pugi::xml_node *a2)
{
unsigned int v4; // w0
__int64 appended; // [xsp+30h] [xbp+30h] BYREF
v4 = pugi::xml_node::type(a2);
appended = pugi::xml_node::append_child(this, v4);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&appended) )
sub_DC8994((pugi::xml_node *)&appended, a2, &appended);
return appended;
}