//
// tinyxml2::XMLAttribute::QueryIntValue from 0x18009fce0 to 0x18009fd19 (57 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::IntAttribute @ 0x1800d540e
// > tinyxml2::XMLAttribute::IntValue @ 0x1800d5431
// > tinyxml2::XMLElement::QueryIntAttribute @ 0x1800d5649
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c147c
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:13 +0000
//
__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_1800A1120(Str, "%d");
v3 = 2;
if ( v2 == 1 )
return 0;
return v3;
}