//
// sub_B5C5F0 from 0xb5c5f0 to 0xb5c680 (144 bytes)
//
// 4 xrefs:
// > sub_B61A2C @ 0xb61b38
// > sub_B61A2C @ 0xb61b98
// > sub_B61A2C @ 0xb61cac
// > sub_B61A2C @ 0xb61cf8
//
// 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
//
char *__fastcall sub_B5C5F0(pugi::xpath_node *a1)
{
__int64 v3; // [xsp+28h] [xbp+28h] BYREF
pugi::xml_attribute v4; // [xsp+30h] [xbp+30h] BYREF
v3 = pugi::xpath_node::attribute(a1);
if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v3) )
{
v4._attr = (pugi::xml_attribute_struct *)pugi::xpath_node::attribute(a1);
return pugi::xml_attribute::name(&v4);
}
else
{
v4._attr = pugi::xpath_node::node(a1);
return pugi::xml_node::name((pugi::xml_node *)&v4);
}
}