//
// tinyxml2::XMLElement::Attribute from 0x7f9448 to 0x7f9478 (48 bytes)
//
// 1 xrefs:
// > tinyxml2::XMLElement::ParseAttributes @ 0x7f9d68
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:13 +0000
//
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;
}
}