//
// pugi::xml_node::last_attribute from 0xb52458 to 0xb524c4 (108 bytes)
//
// 2 xrefs:
// > pugi::xml_attribute_iterator::operator-- @ 0xb57c70
// > ??> @ 0xa0380
//
// 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_attribute_struct *__fastcall pugi::xml_node::last_attribute(pugi::xml_node *this)
{
pugi::xml_node_struct *root; // x0
__int64 v2; // x0
pugi::xml_attribute v4; // [xsp+20h] [xbp+20h] BYREF
root = this->_root;
if ( root && (v2 = *((_QWORD *)root + 7)) != 0 )
pugi::xml_attribute::xml_attribute(&v4, *(_QWORD *)(v2 + 24));
else
pugi::xml_attribute::xml_attribute(&v4);
return v4._attr;
}