//
// pugi::xml_node::append_attribute from 0xdc8100 to 0xdc81b4 (180 bytes)
//
// 6 xrefs:
// > DS_Dictionary::saveRootSubDictToString @ 0xdb5fa0
// > DS_Dictionary::DS_Dictionary @ 0xdba650
// > pugi::xml_node::append_copy @ 0xdc8658
// > sub_DC8994 @ 0xdc8a7c
// > sub_DC8994 @ 0xdc8b58
// > ??> @ 0x8d9d0
//
// 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::append_attribute(pugi::xml_node *this, char *a2)
{
_QWORD *v5; // x0
__int64 *v6; // [xsp+30h] [xbp+30h] BYREF
if ( (unsigned int)pugi::xml_node::type(this) == 2 || (unsigned int)pugi::xml_node::type(this) == 7 )
{
v5 = sub_DBF364((__int64 *)(*(_QWORD *)this + 56LL), *(__int64 **)(**(_QWORD **)this & 0xFFFFFFFFFFFFFFE0LL));
pugi::xml_attribute::xml_attribute(&v6, (__int64)v5);
pugi::xml_attribute::set_name(&v6, a2);
return v6;
}
else
{
pugi::xml_attribute::xml_attribute(&v6);
return v6;
}
}