PfSnVolumeKeyQuery

__int64 __fastcall PfSnVolumeKeyQuery(__int64 a1, __int64 a2, __int64 a3){
  __int64 v3; 
  _QWORD *v4; 
  _QWORD *v5; 
  _QWORD *v9; 
  int v12; 
  v3 = *(unsigned int *)(a1 + 596);
  v4 = (_QWORD *)(a1 + 584);
  v5 = *(_QWORD **)(a1 + 584);
  v9 = &v5[v3];
  while( v5 < v9 )
  {
    if( *v5 == a2 )
      return 0;
    ++v5;
  }
  if( (unsigned int)PfSnArrayGrow((unsigned int)v3, (UINT64 *)a2, (PVOID *)a3) )
  {
    *(_QWORD *)(*v4 + 8i64 * (unsigned int)(*(_DWORD *)(a1 + 596))++) = a2;
    v12 = (*(__int64(__fastcall **)(_QWORD, __int64))(qword_140C50138 + 24))(*(_QWORD *)(a1 + 352), a3);
    if( v12 >= 0 )
      return 0;
    return(unsigned int)v12;
  }
  else
  {
    PfSnFailProcessTrace(a1);
    return(unsigned int)-1073741670;
  }
}

Referenced by:

PfSnNameQueryWorker