//
// pugi::xml_node::insert_copy_before from 0xdc8808 to 0xdc88bc (180 bytes)
//
// 1 xrefs:
// > ??> @ 0x60568
//
// 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::insert_copy_before(
pugi::xml_node *this,
const pugi::xml_attribute *a2,
const pugi::xml_attribute *a3)
{
char *v5; // x0
char *v6; // x0
__int64 *inserted; // [xsp+40h] [xbp+40h] BYREF
if ( pugi::xml_attribute::operator!(a2) )
{
pugi::xml_attribute::xml_attribute(&inserted);
}
else
{
v5 = pugi::xml_attribute::name(a2);
inserted = pugi::xml_node::insert_attribute_before(this, v5, a3);
v6 = pugi::xml_attribute::value(a2);
pugi::xml_attribute::set_value(&inserted, v6);
}
return inserted;
}