INT64 __fastcall RtlpFcQueryAllFeatureConfigurationsFromBuffers(INT64 a1, VOID *a2, UINT64 *a3){
unsigned int v4;
UINT8 *v5;
UINT64 v6;
UINT64 v7;
v4 = 0;
v5 = *(UINT8 **)(a1 + 8);
if( v5 )
{
v6 = *(unsigned int *)v5;
v7 = *a3;
*a3 = v6;
if( v6 <= v7 )
memmove((UINT8 *)a2, v5 + 4, 12i64 * *(unsigned int *)v5);
else
return(unsigned int)-2147483643;
}
else
{
*a3 = 0i64;
}
return v4;
}