//
// tinyxml2::XMLAttribute::QueryUnsignedValue from 0x18009c0e0 to 0x18009c119 (57 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::QueryUnsignedAttribute @ 0x1800d12a9
// > tinyxml2::XMLElement::UnsignedAttribute @ 0x1800d156e
// > tinyxml2::XMLAttribute::UnsignedValue @ 0x1800d1591
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b71f4
//
// 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
//
__int64 __fastcall tinyxml2::XMLAttribute::QueryUnsignedValue(__int64 a1)
{
char *Str; // rax
int v2; // eax
unsigned int v3; // ecx
Str = (char *)tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(a1 + 32));
v2 = sub_18009D490(Str, "%u");
v3 = 2;
if ( v2 == 1 )
return 0;
return v3;
}