//
// pugi::xml_text::as_double from 0xb57068 to 0xb5709c (52 bytes)
//
// 1 xrefs:
// > ??> @ 0xa0110
//
// 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_text::as_double(pugi::xml_text *this, double a2)
{
_QWORD *v2; // x0
double result; // d0
const char *v4; // x0
v2 = pugi::xml_text::_data(this);
result = a2;
if ( v2 )
{
v4 = (const char *)v2[3];
if ( v4 )
return strtod(v4, nullptr);
}
return result;
}