//
// pugi::xml_text::as_float from 0xb5709c to 0xb570d0 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x86d60
//
// 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
//
float __fastcall pugi::xml_text::as_float(pugi::xml_text *this, float a2)
{
_QWORD *v2; // x0
float result; // s0
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;
}