//
// pugi::xml_text::as_float from 0xdcad00 to 0xdcad34 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0xb2e70
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:54 +0000
//
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;
}