//
// pugi::xml_node::append_copy from 0x8131b0 to 0x8131f8 (72 bytes)
//
// 1 xrefs:
// > pugi::xml_document::reset @ 0x815184
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:39 +0000
//
void (*__fastcall pugi::xml_node::append_copy(pugi::xml_node *this, const pugi::xml_node *a2))()
{
_DWORD *v4; // r0
int v5; // r2
void (*v7[2])(); // [sp+0h] [bp-8h] BYREF
v7[1] = (void (*)())a2;
v4 = pugi::xml_node::type(a2);
v7[0] = (void (*)())pugi::xml_node::append_child(this, (unsigned int)v4, v5);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(v7) )
sub_812DAC((pugi::xml_node *)v7, a2, v7);
return v7[0];
}