short[] arrayOfShort1 = jdField_n_of_type_ArrayOfShort;
short[] arrayOfShort2 = jdField_m_of_type_ArrayOfShort;
int[][][] arrayOfInt = jdField_a_of_type_Array3dOfInt;
byte[][] arrayOfByte = jdField_a_of_type_Array2dOfByte;
ag.e(false);
jdField_s_of_type_Int = 0;
t = 0;
int i4 = 0;
int i5 = 0;
for (int i6 = 0; i6 < 1024; i6++)
{
i7 = (arrayOfShort1[i6] & 0x4000) != 0 ? 1 : 0;
i8 = (arrayOfShort2[i6] & 0x4000) != 0 ? 1 : 0;
if (i7 != 0)
{
i9 = (arrayOfShort1[i6] & 0x3FFF) + 1;
jdField_s_of_type_Int += i9;
arrayOfByte[(i5++)] = new byte[i9];
}
if (i8 != 0)
{
i9 = arrayOfShort2[i6] & 0x3FFF;
t += (i9 << 2);
arrayOfInt[i4][0] = new int[i9];
i4++;
}
}
ag.e(false);
i4 = 0;
InputStream localInputStream = App.a("/newPalettes.bin");
App.a("Loading Palettes");
int i11;
for (i6 = 0; i6 < 1024; i6++)
{
i7 = (arrayOfShort2[i6] & 0x4000) != 0 ? 1 : 0;
i8 = (arrayOfShort2[i6] & 0x8000) != 0 ? 1 : 0;
i9 = arrayOfShort2[i6] & 0x3FFF;
if ((i7 != 0) && (i8 == 0))
{
u.a(localInputStream, i9 << 1);
for (i10 = 0; i10 < i9; i10++)
{
i7 = ((i5 = u.a()) & 0x1F) << 3;
i8 = (i5 >> 5 & 0x1F) << 3;
arrayOfInt[i4][0][i10] = ((i5 >> 10 & 0x1F) << 3 << 16 | i8 << 8 | i7);
}
i10 = (short)(i6 | 0x8000);
for (i11 = i6 + 1; i11 < 1024; i11++) {
if (arrayOfShort2[i11] == i10) {
arrayOfShort2[i11] = ((short)(0xC000 | i4));
}
}
arrayOfShort2[i6] = ((short)(0x4000 | i4));
i4++;
}
else if (i8 == 0)
{
u.a(localInputStream, i9 << 1, true);
}
if ((i6 & 0x1E) == 30) {
ag.e(false);
}
}
ag.e(true);
localInputStream.close();
localInputStream = null;
System.gc();
i5 = 0;
i6 = -1;
int i7 = 0;
int i8 = 0;
int i9 = 0;
ag.e(false);
App.a("Loading Texels");
for (int i10 = 0; i10 < 1024; i10++)
{
i11 = (arrayOfShort1[i10] & 0x4000) != 0 ? 1 : 0;
int i1 = (arrayOfShort1[i10] & 0x8000) != 0 ? 1 : 0;
int i3 = (arrayOfShort1[i10] & 0x3FFF) + 1;
int i2;
if ((i11 != 0) && (i1 == 0))
{
if (i9 != i6)
{
if (localInputStream != null)
{
localInputStream.close();
System.gc();
}
String str = "/tex0";
if (i9 >= 10) {
str = "/tex";
}
localInputStream = App.a(str + i9 + ".bin");
i6 = i9;
i7 = 0;
ag.e(false);
}
if (i7 != i8) {
u.a(localInputStream, i8 - i7, true);
}
u.a(localInputStream, arrayOfByte[i5], 0, i3);
i2 = (short)(i10 | 0x8000);
for (i4 = i10 + 1; i4 < 1024; i4++) {
if (arrayOfShort1[i4] == i2) {
arrayOfShort1[i4] = ((short)(0xC000 | i5));
}
}
arrayOfShort1[i10] = ((short)(0x4000 | i5));
i5++;
i7 = i8 += i3;
}
else if (i2 == 0)
{
i8 += i3;
}
if (i8 > 32768)
{
i9++;
i8 = 0;
}
if ((i10 & 0xF) == 15) {
ag.e(false);
}
}
ag.e(false);
if (localInputStream != null)
{
localInputStream.close();
System.gc();
}
ag.e(false);
}
это какая жесть, вряд ли тебе кто-то захочет помагать с этим
эй чувак это реальная жесть просто забудь об этом
Обсуждают сегодня