//
// pugi::xpath_query::evaluate_boolean from 0x60b2c4 to 0x60b38e (202 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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_608878(**this, (pugi::xpath_node *)v7, v12);
sub_6014F0((int)v8);
}
return v2;
}