//
// pugi::xml_attribute::as_float from 0x6025c8 to 0x6025ec (36 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall pugi::xml_attribute::as_float(pugi::xml_attribute *this, float a2)
{
const char *v2; // r0
float v3; // s15
if ( this->_attr && (v2 = *((const char **)this->_attr + 2)) != nullptr )
v3 = strtod(v2, nullptr);
else
v3 = a2;
return LODWORD(v3);
}