//
// pugi::xpath_query::evaluate_string from 0x60b52c to 0x60b5fe (210 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
//
size_t __fastcall pugi::xpath_query::evaluate_string(int **this, char *a2, size_t a3, void (**a4)())
{
size_t v6; // r6
size_t v7; // r5
const char *v9; // [sp+4h] [bp-2134h] BYREF
_DWORD v10[11]; // [sp+Ch] [bp-212Ch] BYREF
int v11; // [sp+1010h] [bp-1128h] BYREF
_DWORD v12[3]; // [sp+2014h] [bp-124h] BYREF
_DWORD v13[5]; // [sp+2020h] [bp-118h] BYREF
_BYTE v14[204]; // [sp+2034h] [bp-104h] BYREF
v11 = 0;
v12[0] = v10;
v12[1] = 0;
v13[0] = &v11;
v13[1] = 0;
v13[3] = v12;
v10[0] = 0;
v13[4] = v13;
v13[2] = v14;
v12[2] = v14;
sub_609A58((int)&v9, *this, a4, (int)v10);
v6 = strlen(v9) + 1;
if ( a3 )
{
if ( a3 >= v6 )
a3 = v6;
v7 = a3 - 1;
memcpy(a2, v9, v7);
a2[v7] = 0;
}
sub_6014F0((int)v10);
return v6;
}