//
// tinyxml2::XMLAttribute::QueryDoubleValue from 0x18009bea0 to 0x18009bed9 (57 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::DoubleAttribute @ 0x1800d0f1f
// > tinyxml2::XMLAttribute::DoubleValue @ 0x1800d0f42
// > tinyxml2::XMLElement::QueryDoubleAttribute @ 0x1800d1219
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b71ac
//
// 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::QueryDoubleValue(__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, "%lf");
v3 = 2;
if ( v2 == 1 )
return 0;
return v3;
}