//
// pugi::xpath_query::evaluate_boolean from 0x81a44c to 0x81a516 (202 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:44 +0000
//
unsigned __int8 **__fastcall pugi::xpath_query::evaluate_boolean(unsigned __int8 ***this, const pugi::xpath_node *a2)
{
unsigned __int8 **v2; // r4
int v3; // r0
int v4; // r1
_DWORD v7[4]; // [sp+Ch] [bp-213Ch] BYREF
_DWORD v8[11]; // [sp+1Ch] [bp-212Ch] BYREF
int v9; // [sp+1020h] [bp-1128h] BYREF
_DWORD v10[3]; // [sp+2024h] [bp-124h] BYREF
_DWORD v11[3]; // [sp+2030h] [bp-118h] BYREF
int *v12[2]; // [sp+203Ch] [bp-10Ch] BYREF
struct __jmp_buf_tag v13; // [sp+2044h] [bp-104h] BYREF
v2 = *this;
if ( *this )
{
v3 = *(_DWORD *)a2;
v4 = *((_DWORD *)a2 + 1);
v7[0] = v3;
v7[1] = v4;
v7[2] = 1;
v7[3] = 1;
v10[0] = v8;
v10[1] = 0;
v11[0] = &v9;
v11[1] = 0;
v9 = 0;
v8[0] = 0;
v12[0] = v10;
v12[1] = v11;
v11[2] = &v13;
v10[2] = &v13;
if ( setjmp(&v13) )
v2 = nullptr;
else
v2 = (unsigned __int8 **)sub_8179AC(**this, (pugi::xpath_node *)v7, v12);
sub_810AB4((int)v8);
}
return v2;
}