//
// pugi::xml_node::prepend_copy from 0xb554a4 to 0xb55530 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x48ed0
//
// 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::prepend_copy(pugi::xml_node *this, pugi::xml_node *a2)
{
unsigned int v4; // w0
pugi::xml_node v6; // [xsp+30h] [xbp+30h] BYREF
v4 = pugi::xml_node::type(a2);
v6._root = pugi::xml_node::prepend_child(this, v4);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&v6) )
sub_B54BF0(&v6, a2, &v6);
return v6._root;
}