//
// tinyxml2::XMLAttribute::QueryIntValue from 0x18009c020 to 0x18009c059 (57 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::IntAttribute @ 0x1800d103e
// > tinyxml2::XMLAttribute::IntValue @ 0x1800d1061
// > tinyxml2::XMLElement::QueryIntAttribute @ 0x1800d1279
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b71dc
//
// 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::QueryIntValue(__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, "%d");
v3 = 2;
if ( v2 == 1 )
return 0;
return v3;
}