ST_STORE::StDmPageError

__int64 __fastcall ST_STORE::StDmPageError(__int64 a1, void *a2, void *a3, ULONG_PTR a4, __int64 a5, int a6){
  UINT64 v10; 
  UINT64 *v11; 
  __int64 v12; 
  unsigned int v13; 
  __int64 result; 
  void *BugCheckParameter4; 
  v11 = SmEtwEnabled((unsigned __int8)*(_DWORD *)(a1 + 776) == 0 ? 2 : 0);
  if( v11 )
  {
    if( a6 != -1073741116 )
      v10 = 1i64;
    LOWORD(BugCheckParameter4) = *(_WORD *)(v12 + 4);
    SmEtwLogStoreCorruption(v11, v10, (PVOID)a1, (UINT16)a2, BugCheckParameter4);
  }
  v13 = (*(_DWORD *)(a1 + 832) >> 5) & 3;
  if( v13 >= 2 && (_BYTE)KdDebuggerEnabled )
    __debugbreak();
  if( (*(_DWORD *)(a1 + 776) & 0x40000) == 0
    || a6 != -1073741116
    || (result = ST_STORE::StDmHandleDecompressionFailure(a1, a2, a3, a4, a5), !(_DWORD)result) )
  {
    if( v13 >= 3 )
      KeBugCheckEx(0x12Bu, a6, *(unsigned __int16 *)(a4 + 4), (ULONG_PTR)a2, (ULONG_PTR)a3);
    return 0i64;
  }
  return result;
}

Referenced by:

No references.