//
// pugi::xml_node::first_attribute from 0x602c44 to 0x602c76 (50 bytes)
//
// 6 xrefs:
// > sub_602C7C @ 0x602c98
// > sub_602D1C @ 0x602d36
// > sub_6036D4 @ 0x60371a
// > sub_6036D4 @ 0x6037c4
// > sub_607BBC @ 0x607f6a
// > sub_607BBC @ 0x607fc8
//
// 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_attribute_struct *a2)
{
pugi::xml_attribute v3[2]; // [sp+0h] [bp-8h] BYREF
v3[0]._attr = (pugi::xml_attribute_struct *)this;
v3[1]._attr = a2;
if ( this->_root )
pugi::xml_attribute::xml_attribute(v3, *((_DWORD *)this->_root + 7));
else
pugi::xml_attribute::xml_attribute(v3);
return v3[0]._attr;
}