//
// pugi::xml_attribute::as_double from 0xb513c0 to 0xb513dc (28 bytes)
//
// 1 xrefs:
// > ??> @ 0xa1ad8
//
// 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
//
double __fastcall pugi::xml_attribute::as_double(pugi::xml_attribute *this, double a2)
{
pugi::xml_attribute_struct *attr; // x0
const char *v3; // x0
double result; // d0
attr = this->_attr;
if ( attr )
{
v3 = *((const char **)attr + 2);
if ( v3 )
return strtod(v3, nullptr);
}
return result;
}