//
// pugi::xml_node::insert_copy_before from 0xdc9394 to 0xdc9428 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xd7308
//
// 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_node *a2,
const pugi::xml_node *a3)
{
unsigned int v5; // w0
__int64 inserted; // [xsp+40h] [xbp+40h] BYREF
v5 = pugi::xml_node::type(a2);
inserted = pugi::xml_node::insert_child_before(this, v5, (__int64)a3);
if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&inserted) )
sub_DC8994((pugi::xml_node *)&inserted, a2, &inserted);
return inserted;
}