//
// pugi::xml_attribute::as_float from 0x811c90 to 0x811cb4 (36 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:38 +0000
//
int __fastcall pugi::xml_attribute::as_float(pugi::xml_attribute *this, float a2)
{
char *v2; // r0
double v3; // r0
float v4; // s15
if ( *(_DWORD *)this && (v2 = *(char **)(*(_DWORD *)this + 8)) != nullptr )
{
LODWORD(v3) = sub_993ED0(v2);
v4 = v3;
}
else
{
v4 = a2;
}
return LODWORD(v4);
}