//
// sub_60AC90 from 0x60ac90 to 0x60acf2 (98 bytes)
//
// 1 xrefs:
// > pugi::xpath_query::xpath_query @ 0x60b266
//
// 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
//
int __fastcall sub_60AC90(unsigned __int8 *a1, unsigned __int8 *a2, int *a3, unsigned __int8 *a4)
{
int result; // r0
int *v8; // [sp+0h] [bp-14Ch] BYREF
unsigned __int8 *v9[16]; // [sp+4h] [bp-148h] BYREF
jmp_buf env; // [sp+44h] [bp-108h] BYREF
v8 = a3;
v9[0] = a1;
v9[2] = nullptr;
v9[3] = nullptr;
sub_600224(v9);
v9[5] = a1;
v9[6] = a2;
v9[7] = a4;
if ( setjmp(env) )
return 0;
result = sub_60AC78(&v8);
if ( v9[4] != (_BYTE *)&dword_18 + 2 )
sub_600BDC((int)&v8, (int)"Incorrect query");
return result;
}