VslRevertHotPatch

NTSTATUS __stdcall VslRevertHotPatch(INT64 a1, UINT64 a2, UINT64 a3){
  INT64 v3; 
  INT64 v5; 
  NTSTATUS result; 
  volatile signed __int32 *v7; 
  INT64 v8[14]; 

  v3 = (unsigned int)a2;
  v5 = (unsigned int)a3;
  memset(v8, 0i64, 0x68u);
  _InterlockedIncrement((_DWORD *)&stru_140C452E0 + 1963);
  v8[1] = a1;
  v8[2] = v3;
  v8[3] = v5;
  result = VslpEnterIumSecureMode(2u, 71, 0i64, (INT64)v8);
  v7 = (volatile signed __int32 *)((char *)&stru_140C452E0 + 7856);
  if( result < 0 )
    v7 = (volatile signed __int32 *)((char *)&stru_140C452E0 + 7860);
  _InterlockedIncrement(v7);
  return result;
}

Referenced by:

MiUnapplyDriverHotPatch
MiUnloadHotPatch