//
// pugi::xml_text::as_float from 0x8139a4 to 0x8139cc (40 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:39 +0000
//
int __fastcall pugi::xml_text::as_float(pugi::xml_text *this, float a2)
{
_DWORD *v3; // r0
char *v4; // r0
double v5; // r0
float v6; // s15
v3 = pugi::xml_text::_data(this);
if ( v3 && (v4 = (char *)v3[3]) != nullptr )
{
LODWORD(v5) = sub_993ED0(v4);
v6 = v5;
}
else
{
v6 = a2;
}
return LODWORD(v6);
}