//
// pugi::xml_node::set_name from 0xdc8048 to 0xdc80a4 (92 bytes)
//
// 12 xrefs:
// > pugi::xml_node::append_child @ 0xdc8988
// > sub_DC8994 @ 0xdc8a00
// > sub_DC8994 @ 0xdc8a58
// > sub_DC8994 @ 0xdc8b34
// > pugi::xml_node::prepend_child @ 0xdc8cb0
// > pugi::xml_node::insert_child_before @ 0xdc8e8c
// > pugi::xml_node::insert_child_after @ 0xdc9038
// > pugi::xml_node::append_child @ 0xdc90a0
// > pugi::xml_node::prepend_child @ 0xdc9100
// > pugi::xml_node::insert_child_after @ 0xdc9160
// > pugi::xml_node::insert_child_before @ 0xdc91c0
// > ??> @ 0xf5260
//
// 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::set_name(pugi::xml_node *this, char *a2)
{
unsigned int v4; // w0
v4 = pugi::xml_node::type(this);
if ( v4 == 2 || v4 >= 2 && v4 - 6 <= 1 )
return sub_DBFD44((const char **)(*(_QWORD *)this + 16LL), *(__int64 **)this, 16, a2);
else
return 0;
}