//
// pugi::xml_attribute::as_bool from 0x811cb4 to 0x811ce0 (44 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
//
bool __fastcall pugi::xml_attribute::as_bool(pugi::xml_attribute *this, int a2)
{
unsigned __int8 *v2; // r3
int v3; // r0
if ( !*(_DWORD *)this )
return a2;
v2 = *(unsigned __int8 **)(*(_DWORD *)this + 8);
if ( !v2 )
return a2;
v3 = *v2;
return v3 == 49 || (v3 & 0xDF) == 0x54 || v3 == 121 || v3 == 89;
}