//
// tinyxml2::XMLAttribute::QueryDoubleValue from 0x18009fb60 to 0x18009fb99 (57 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::DoubleAttribute @ 0x1800d52ef
// > tinyxml2::XMLAttribute::DoubleValue @ 0x1800d5312
// > tinyxml2::XMLElement::QueryDoubleAttribute @ 0x1800d55e9
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c144c
//
// 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::QueryDoubleValue(__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, "%lf");
v3 = 2;
if ( v2 == 1 )
return 0;
return v3;
}