//
// tinyxml2::XMLElement::Attribute from 0x5ee3f0 to 0x5ee420 (48 bytes)
//
// 1 xrefs:
// > tinyxml2::XMLElement::ParseAttributes @ 0x5eed10
//
// 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
//
int __fastcall tinyxml2::XMLElement::Attribute(
tinyxml2::XMLElement *this,
tinyxml2::XMLUtil *a2,
tinyxml2::XMLUtil *a3)
{
int Attribute; // r0
tinyxml2::StrPair *v5; // r4
tinyxml2::XMLUtil *Str; // r0
int v7; // r3
Attribute = tinyxml2::XMLElement::FindAttribute(this, a2);
if ( Attribute
&& ((v5 = (tinyxml2::StrPair *)(Attribute + 16), !a3)
|| (Str = (tinyxml2::XMLUtil *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(Attribute + 16)),
tinyxml2::XMLUtil::StringEqual(Str, a3, (const char *)0x7FFFFFFF, v7))) )
{
return tinyxml2::StrPair::GetStr(v5);
}
else
{
return 0;
}
}