//
// pugi::xml_text::as_double from 0x813984 to 0x8139a4 (32 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_double(pugi::xml_text *this, double a2)
{
int v3; // r4
_DWORD *v4; // r0
char *v5; // r0
v3 = LODWORD(a2);
v4 = pugi::xml_text::_data(this);
if ( v4 && (v5 = (char *)v4[3]) != nullptr )
return sub_993ED0(v5);
else
return v3;
}