⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 a.java

📁 J2ME游戏,FIFA2005 反编译后可运行
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
					i2 += 2;
					for (int i5 = 0; i5 < 2; i5++) {
						l1--;
						i2--;
						g1.fillRect(l1, i2, j9, k9 << 1);
						if (l4 != 0) {
							g1.drawLine(l1, i2 + k9, l1 - (j9 >> 2), i2 + k9);
							g1.drawLine(l1 - (j9 >> 2), (i2 + k9)
									- (ag[(l4 - 1) * 4 + 2] * k9 >> 1), l1
									- (j9 >> 2), i2 + k9
									+ (ag[(l4 - 1) * 4 + 2] * k9 >> 1));
						}
						if (l4 != 3)
							g1.drawLine(l1 + j9, i2 + k9, l1 + j9 + (j9 >> 2),
									i2 + k9);
						g1.setColor(0x999900);
					}

					if (ao >= l4) {
						g1.setGrayScale(255);
						int i7 = a(0, at[l5] & 0xff);
						a(g1, i7, l1 + 1, i2 + 1, 20);
						i7 = a(0, at[l5 + 1] & 0xff);
						a(g1, i7, l1 + 1, i2 + 1 + k9, 20);
					}
					l5 += 2;
					i2 += ag[l4 * 4 + 2] * k9;
				}

				l1 += j9 + (j9 >> 1);
			}

			l1 -= j9 >> 1;
			i2 = (-au * (ae[0] + 2) + (ag[13] * k9 >> 1) + 1) - k9 / 2;
			byte byte2 = 52;
			for (int j5 = 0; j5 < 3; j5++) {
				int l7 = a(h, a(3, j5), 0, true);
				if (ao >= 4) {
					int j7 = a(0, at[byte2 + j5]);
					l7 = a(h, j7, l7, true);
				}
				g1.setGrayScale(255);
				a(g1, as, 0, l7, l1 + 4, i2 + k9 * j5, 20);
			}

			return 1;
		}
		if (j1 >= 75 && j1 <= 106) {
			int i6 = j1 - 75 << 1;
			a(g1, a(0, j[i6 + 0]), l1, i2, 20);
			int i8 = a(j[i6 + 1], 0, 2, false, false);
			a(g1, as, 0, i8, l1 + aC[0], i2, 20);
			k6 = 1;
		}
		if (j1 >= 65 && j1 <= 70) {
			g1.setColor(0x800000);
			g1.fillRect(1, i2, 87, ae[2]);
			g1.setColor(128);
			g1.fillRect(89, i2, 87, ae[2]);
			g1.setGrayScale(255);
			int l3 = g[2].stringWidth(ap) >> 1;
			int j6 = j1 - 65 << 1;
			int j8 = a(aA[j6 + 0], 0, 3, false, false);
			if (j1 == 70) {
				as[j8] = 37;
				j8++;
			}
			a(g1, as, 0, j8, l1 - l3, i2, 24);
			j8 = a(aA[j6 + 1], 0, 3, false, false);
			if (j1 == 70) {
				as[j8] = 37;
				j8++;
			}
			a(g1, as, 0, j8, l1 + l3, i2, 20);
			return 1;
		}
		if (j1 >= 73 && j1 <= 74) {
			int i4;
			if (j1 == 73)
				i4 = H;
			else
				i4 = af;
			a(g1, a(0, i4), l1, i2, 20);
			int k8 = a(aA[j1 - 73], 0, 2, false, false);
			a(g1, as, 0, k8, l1 + aC[0], i2, 20);
			k6 = 1;
		}
		return k6;
	}

	private static int a(int i1, int j1, int k1, boolean flag, boolean flag1) {
		if (i1 < 0) {
			as[j1++] = 45;
			i1 = -i1;
		}
		for (int l1 = 0; l1 < k1; l1++) {
			C[k1 - 1 - l1] = (byte) (i1 % 10);
			i1 /= 10;
		}

		for (int i2 = 0; i2 < k1; i2++)
			if (flag1 || C[i2] > 0 || i2 == k1 - 1) {
				as[j1++] = (byte) (C[i2] + 48);
				flag1 = true;
			}

		if (flag)
			as[j1++] = 32;
		as[j1] = 0;
		return j1;
	}

	private static int a(byte abyte0[], int i1, int j1, boolean flag) {
		int l1 = abyte0[i1 + 0] & 0xff | (abyte0[i1 + 1] & 0xff) << 8;
		i1 += 2;
		for (int k1 = 0; k1 < l1;) {
			as[j1] = abyte0[i1];
			k1++;
			j1++;
			i1++;
		}

		if (flag)
			as[j1++] = 32;
		as[j1] = 0;
		return j1;
	}

	private static int a(byte abyte0[], int i1) {
		return (abyte0[i1 + 0] & 0xff) << 24 | (abyte0[i1 + 1] & 0xff) << 16
				| (abyte0[i1 + 2] & 0xff) << 8 | abyte0[i1 + 3] << 0 & 0xff;
	}

	private static void a(byte abyte0[], int i1, int j1) {
		abyte0[i1 + 0] = (byte) (j1 >> 24 & 0xff);
		abyte0[i1 + 1] = (byte) (j1 >> 16 & 0xff);
		abyte0[i1 + 2] = (byte) (j1 >> 8 & 0xff);
		abyte0[i1 + 3] = (byte) (j1 >> 0 & 0xff);
	}

	private static int c() {
		RecordStore recordstore = null;
		boolean flag = false;
		try {
			recordstore = RecordStore.openRecordStore("eafifa05", false);
			byte abyte0[] = new byte[1024];
			RecordEnumeration recordenumeration = recordstore.enumerateRecords(
					(RecordFilter) null, (RecordComparator) null, false);
			int i1 = recordenumeration.nextRecordId();
			recordstore.getRecord(i1, abyte0, 0);
			int j1 = 704;
			System.arraycopy(abyte0, j1, e, 0, 15);
			j1 += 15;
			System.arraycopy(abyte0, j1, at, 0, 56);
			j1 += 56;
			j1 += 32;
			v = a(abyte0, j1 + 0);
			ai = a(abyte0, j1 + 4);
			d = a(abyte0, j1 + 8);
			p = a(abyte0, j1 + 12);
			z = a(abyte0, j1 + 16);
			ao = a(abyte0, j1 + 20);
			x = a(abyte0, j1 + 24);
			n = a(abyte0, j1 + 28);
			T = a(abyte0, j1 + 32);
			j1 += 36;
			for (int k1 = 0; k1 < 4;) {
				b _tmp = V;
				src.b.bt[k1] = a(abyte0, j1);
				k1++;
				j1 += 4;
			}

		} catch (Exception exception) {
		}
		if (recordstore != null) {
			try {
				recordstore.closeRecordStore();
			} catch (Exception exception1) {
			}
			return 1;
		} else {
			return 0;
		}
	}

	private static void h() {
		RecordStore recordstore = null;
		System.gc();
		byte abyte0[] = new byte[1024];
		int i1 = 704;
		System.arraycopy(e, 0, abyte0, i1, 15);
		i1 += 15;
		System.arraycopy(at, 0, abyte0, i1, 56);
		i1 += 56;
		i1 += 32;
		a(abyte0, i1 + 0, v);
		a(abyte0, i1 + 4, ai);
		a(abyte0, i1 + 8, d);
		a(abyte0, i1 + 12, p);
		a(abyte0, i1 + 16, z);
		a(abyte0, i1 + 20, ao);
		a(abyte0, i1 + 24, x);
		a(abyte0, i1 + 28, n);
		a(abyte0, i1 + 32, T);
		i1 += 36;
		for (int j1 = 0; j1 < 4;) {
			b _tmp = V;
			a(abyte0, i1, src.b.bt[j1]);
			j1++;
			i1 += 4;
		}

		try {
			RecordStore.deleteRecordStore("eafifa05");
		} catch (Exception exception) {
		}
		try {
			recordstore = RecordStore.openRecordStore("eafifa05", true);
			recordstore.addRecord(abyte0, 0, 1024);
		} catch (Exception exception1) {
		}
		if (recordstore != null)
			try {
				recordstore.closeRecordStore();
			} catch (Exception exception2) {
			}
	}

	public static void b(Graphics g1, int i1) {
		int j1;
		for (j1 = 0; R[i1][j1++] != 0;)
			;
		b _tmp = V;
		b _tmp1 = V;
		src.b.a(g1, R[i1], 0, j1, 2, 204 - src.b.aS[265] - 2, 20);
	}

	public static void a(Graphics g1) {
		g1.setClip(141, 194, 32, 8);
		g1.setColor(0xa0a0a);
		g1.fillRect(141, 194, 32, 8);
		g1.setColor(0x5755b3);
		g1.fillRect(142, 195, 13, 6);
		g1.setColor(0xfcc000);
		g1.fillRect(155, 195, 17, 6);
		b _tmp = V;
		if (src.b.bu > 5) {
			g1.setColor(0xff350d);
			b _tmp1 = V;
			g1.fillRect(142, 195, 30 * ((src.b.bu << 16) / 70) >> 16, 6);
		} else {
			b _tmp2 = V;
			if (src.b.ap > 5) {
				g1.setColor(0xff350d);
				b _tmp3 = V;
				g1.fillRect(142, 195, 30 * ((src.b.ap << 16) / 70) >> 16, 6);
			}
		}
	}

	public static void a(Graphics g1, int i1, int j1, int k1) {
		if (j1 > 1 && k1 < 15)
			i1 = 1;
		b _tmp = V;
		src.b.a(g1, Z[i1], 1, Z[i1][0] & 0xff, 88, 102, 17);
	}

	public static void d() {
		for (int i1 = 0; i1 < 15; i1++)
			A[i1] = 0;

		F = false;
		if (t == 0) {
			if (f(d, S) > 0)
				e(21, 29);
			else
				e(21, 7);
			d = S;
			ao++;
		} else if (t == 3)
			e(28, 0);
		else if (t == 2)
			e(3, 0);
		else
			e(21, 0);
		h();
	}

	private static int f(int i1, int j1) {
		int l3;
		switch (ao) {
		case 0: // '\0'
		default:
			l3 = 36;
			break;

		case 1: // '\001'
			l3 = 44;
			break;

		case 2: // '\002'
			l3 = 48;
			break;

		case 3: // '\003'
			l3 = 52;
			break;
		}
		int l2 = 0;
		int i2 = at[0] & 0xff;
		label0: for (int k1 = 0; k1 < i2; k1++) {
			int k2 = k1 + 1;
			if (k2 <= i1 || k2 > j1)
				continue;
			int j2 = at[(k1 << 2) + 6] & 0xff;
			int i4 = at[5 + (k1 << 2)] >> 4 & 0xf;
			int l1 = 0;
			int j4 = j2;
			do {
				if (l1 >= i4)
					continue label0;
				if (at[j4 + 0] == v || at[j4 + 1] == v) {
					j[l2 + 0] = at[j4 + 0];
					j[l2 + 2] = at[j4 + 1];
					int i3;
					if (at[j4 + 0] == v)
						i3 = 0;
					else
						i3 = 1;
					j[l2 + 1] = (byte) aA[i3];
					j[l2 + 3] = (byte) aA[i3 ^ 1];
				} else {
					a(at[j4 + 0], at[j4 + 1], l2);
				}
				int j3 = l2 + 0;
				int k3 = l2 + 2;
				if (j[l2 + 1] < j[l2 + 3]) {
					j3 = l2 + 2;
					k3 = l2 + 0;
				}
				at[l3] = j[j3];
				if (ao == 3) {
					l3++;
					at[l3] = j[k3];
				}
				if (ao == 2)
					at[l3 + 2] = j[k3];
				l3++;
				l2 += 4;
				l1++;
				j4 += 2;
			} while (true);
		}

		I = l2 >> 2;
		return I;
	}

	private static void a(int i1, int j1, int k1) {
		j[k1 + 0] = (byte) i1;
		j[k1 + 1] = 0;
		j[k1 + 2] = (byte) j1;
		j[k1 + 3] = 0;
		for (int l1 = 0; l1 < 5; l1++) {
			B[0][l1] = N[i1 * 307 + 4 + l1];
			B[1][l1] = N[j1 * 307 + 4 + l1];
		}

		b _tmp = V;
		int k3 = 7 + (src.b.e() & 7);
		for (int j2 = 0; j2 < 2; j2++) {
			int l3 = j2;
			int i4 = 2;
			for (int i2 = 0; i2 < k3; i2++) {
				b _tmp1 = V;
				int k2 = B[l3][i4] + (src.b.e() >> 7 & 7) + 2;
				b _tmp2 = V;
				int i3 = B[l3 ^ 1][4 - i4] + (src.b.e() & 7);
				if (k2 >= i3) {
					if (++i4 != 5)
						continue;
					b _tmp3 = V;
					if ((src.b.e() >> 9 & 0xff) > 64) {
						j[k1 + (l3 << 1) + 1]++;
						i4 = 2;
					} else {
						i4 = 1;
					}
					l3 ^= 1;
					continue;
				}
				l3 ^= 1;
				i4 = 4 - i4;
				if (i4 <= 0)
					i4 = 1;
			}

		}

		if (j[k1 + 1] == j[k1 + 3]) {
			b _tmp4 = V;
			int l2 = B[0][4] + (src.b.e() >> 7 & 7);
			b _tmp5 = V;
			int j3 = B[1][4] + (src.b.e() & 7);
			if (l2 > j3)
				j[k1 + 1]++;
			else
				j[k1 + 3]++;
		}
	}

	private static int a(int i1) {
		int j2 = i1;
		int l1 = at[0] & 0xff;
		ax = ao;
		for (int j1 = 0; j1 < l1; j1++) {
			int k2 = j1 + 1;
			if (k2 != i1 + 1)
				continue;
			int i2 = at[(j1 << 2) + 6] & 0xff;
			int l2 = at[5 + (j1 << 2)] >> 4 & 0xf;
			boolean flag = false;
			int k1 = 0;
			for (int i3 = i2; k1 < l2; i3 += 2) {
				if (at[i3 + 0] == v || at[i3 + 1] == v) {
					H = at[i3 + 0] & 0xff;
					af = at[i3 + 1] & 0xff;
					if (ao == 3 && k1 != 0)
						ax++;
					flag = true;
				}
				k1++;
			}

			if (!flag)
				continue;
			j2 = k2;
			break;
		}

		S = j2;
		return j2;
	}

	private static void a(Font font, String s1) {
		int j1 = 0;
		int i1 = 0;
		boolean flag = false;
		for (; i1 < s1.length(); i1++)
			if (s1.charAt(i1) != 'x') {
				if (!flag) {
					aC[j1++] = font.substringWidth(s1, 0, i1);
					flag = true;
				}
			} else {
				flag = false;
			}

	}

	private static Image al;

	private static Image aE;

	public static byte h[];

	private static byte as[];

	private static byte C[];

	private static char aq[];

	private static int G[];

	private static int aC[];

	private static int an;

	private static int P;

	private static int m;

	private static boolean K;

	private static boolean av;

	private static boolean O;

	private static boolean F;

	public static byte R[][];

	private static byte az[][];

	public static byte w[][];

	private static byte Z[][];

	private static String ap = "xxxx";

	private static String J = "xxx8txxxxxxxxxxxxxxxx88x88x88x88x88x88x88";

	private static String aw = "xxx8txxxxxxxxxxxxxxxxx88x88x88x88x88x88x88";

	private static String o = "xxxxxxxxxxxxxx8";

	private static String ar = "xxxxxxxxxxxxx88888i";

	private static String u = "xxxxxxxxxxxxx88x";

	private static byte N[];

	private static byte at[];

	private static byte e[];

	private static int v;

	private static int ai;

	private static int d;

	private static int p;

	private static int z;

	private static int ao;

	private static int x;

	private static byte y[];

	private static byte U[];

	private static int s;

	private static byte j[];

	private static int H;

	private static int af;

	private static int S;

	private static int ax;

	private static int L;

	private static int t;

	private static int I;

	private static byte b[];

	private static b V;

	private static int B[][];

	private static int ab;

	public static byte A[];

	private static byte M[];

	private static Font g[];

	private static int ae[];

	private static int Q;

	private static int i;

	private static int aa;

	private static int au;

	private static int ad;

	private static int Y;

	private static int aj;

	private static int D;

	private static int ah;

	private static int r;

	private static int E;

	private static short c[];

	private static int ay;

	private static int aB;

	private static Image ac;

	private static Image W[];

	private static int am;

	private static int ak;

	public static int X;

	public static int aA[];

	public static int n;

	public static int T;

	public static int q;

	private static int l[][] = { { 0, 0, 0 }, { 0, 0, 0 } };

	public static int f;

	private static int a[] = { 0x875688, 0x5c7b8f, 0x5c7b8f, 0x5c7b8f,
			0x9d8f6c, 0x9d8f6c, 0x9d8f6c, 0x817366, 0x817366, 0x817366,
			0x669673 };

	private static int ag[] = { 8, 0, 3, 20, 4, 3, 6, 36, 2, 9, 12, 44, 1, 21,
			0, 48 };

	private static int k[][] = { { 4, 4, 1, 2, 8, 4, -1 },
			{ 4, 4, 4, 4, 8, 4, -1 }, { 1, 1, 1, 1, 2, 4, -1 } };

	private static int aD[] = new int[3];

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -