//
// pugi::xml_node::insert_copy_before from 0xb555c4 to 0xb55658 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xa3b48
//
// 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::insert_copy_before(
pugi::xml_node *this,
pugi::xml_node *a2,
pugi::xml_node *a3)
{
unsigned int v5; // w0
pugi::xml_node v8; // [xsp+40h] [xbp+40h] BYREF
v5 = pugi::xml_node::type(a2);
v8._root = pugi::xml_node::insert_child_before(this, v5, (__int64 *)a3);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&v8) )
sub_B54BF0(&v8, a2, &v8);
return v8._root;
}