SMKM_STORE_MGR::SmReadPickStore

__int64 __fastcall SMKM_STORE_MGR::SmReadPickStore(
        __int64 a1,
        unsigned int *a2,
        unsigned int *a3,
        unsigned __int64 *a4,
        int *a5){
  unsigned int v7; 
  unsigned int v9; 
  unsigned __int64 v10; 
  int *v11; 
  int v12; 
  bool v13; 
  unsigned int v15; 
  __int64 v16[4]; 
  int v17; 
  v15 = *a3;
  v7 = 0;
  v16[0] = 0i64;
  v17 = 0;
  v9 = SMKM_STORE_MGR::SmFeReadInitiate(a1, a2, &v15, v16, &v17);
  if( v9 == 1024 )
    return(unsigned int)-1073741275;
  ++*(_DWORD *)(a1 + 1868);
  if( v16[0] && v16[0] > *(_QWORD *)&KeQueryPerformanceCounter(0i64) + (unsigned __int64)*(unsigned int *)(a1 + 1864) )
    return(unsigned int)-1073741763;
  v10 = SmKmStoreReferenceEx(a1, v9);
  if( !v10 )
  {
    return(unsigned int)-1073741275;
  }
  else
  {
    v11 = a5;
    v12 = 0;
    v13 = v17 == 0;
    *a4 = v10;
    if( !v13 )
      v12 = 1;
    *v11 = v12;
    *a3 = v15;
  }
  return v7;
}

Referenced by:

No references.