//
// pugi::xml_node::first_attribute from 0xb51fe8 to 0xb5204c (100 bytes)
//
// 8 xrefs:
// > sub_B5204C @ 0xb52090
// > sub_B54BF0 @ 0xb54cbc
// > sub_B54BF0 @ 0xb54d98
// > sub_B5CF00 @ 0xb5cfa8
// > sub_B5CF00 @ 0xb5d150
// > sub_B5E2F8 @ 0xb5f0bc
// > sub_B5E2F8 @ 0xb5fd78
// > ??> @ 0xbbbc0
//
// 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::first_attribute(pugi::xml_node *this)
{
pugi::xml_node_struct *root; // x0
pugi::xml_attribute v3; // [xsp+20h] [xbp+20h] BYREF
root = this->_root;
if ( root )
pugi::xml_attribute::xml_attribute(&v3, *((_QWORD *)root + 7));
else
pugi::xml_attribute::xml_attribute(&v3);
return v3._attr;
}