//
// tinyxml2::XMLAttribute::QueryBoolValue from 0x18009bde0 to 0x18009be11 (49 bytes)
//
// 5 xrefs:
// > tinyxml2::XMLElement::BoolAttribute @ 0x1800d0eab
// > tinyxml2::XMLAttribute::BoolValue @ 0x1800d0ece
// > tinyxml2::XMLElement::QueryBoolAttribute @ 0x1800d11e9
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b7194
//
// 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::QueryBoolValue(__int64 a1, bool *a2)
{
const char *Str; // rax
bool v4; // al
unsigned int v5; // ecx
Str = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)(a1 + 32));
v4 = tinyxml2::XMLUtil::ToBool(Str, a2);
v5 = 2;
if ( v4 )
return 0;
return v5;
}