Advertisement
Guest User

Untitled

a guest
Oct 31st, 2011
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.42 KB | None | 0 0
  1. package I;
  2.  
  3. import java.io.InputStream;
  4.  
  5. public class I
  6. {
  7.   private static byte[] a;
  8.   private static String[] b = new String[256];
  9.   private static int[] c = new int[256];
  10.  
  11.   public static final synchronized String I(int paramInt)
  12.   {
  13.     int i = paramInt & 0xFF;
  14.     if (c[i] != paramInt)
  15.     {
  16.       c[i] = paramInt;
  17.       if (paramInt < 0)
  18.         paramInt &= 65535;
  19.       paramInt = new String(a, paramInt, a[(paramInt - 1)] & 0xFF).intern();
  20.       b[i] = paramInt;
  21.     }
  22.     return b[i];
  23.   }
  24.  
  25.   static
  26.   {
  27.     try
  28.     {
  29.       InputStream localInputStream;
  30.       if ((localInputStream = new I().getClass().getResourceAsStream('I' + '.' + 'g' + 'i' + 'f')) != null)
  31.       {
  32.         int i;
  33.         a = new byte[i = localInputStream.read() << 16 | localInputStream.read() << 8 | localInputStream.read()];
  34.         int j = 0;
  35.         int k = (byte)i;
  36.         byte[] arrayOfByte = a;
  37.         while (i != 0)
  38.         {
  39.           int m;
  40.           if ((m = localInputStream.read(arrayOfByte, j, i)) == -1)
  41.             break;
  42.           i -= m;
  43.           m += j;
  44.           while (j < m)
  45.           {
  46.             int tmp142_141 = j;
  47.             byte[] tmp142_139 = arrayOfByte;
  48.             tmp142_139[tmp142_141] = (byte)(tmp142_139[tmp142_141] ^ k);
  49.             j++;
  50.           }
  51.         }
  52.         localInputStream.close();
  53.       }
  54.       return;
  55.     }
  56.     catch (Exception localException)
  57.     {
  58.     }
  59.   }
  60. }
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement