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

📄 ab.java

📁 j2me武林传之刀剑江湖录[中篇]反编译的源代码
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 

import javax.microedition.lcdui.Graphics;

public final class ab extends z
{

	public static final short a[][] = {
		{
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			0, 0, 1, 2
		}, {
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			6, 6, 7, 8, 36, 36, 37, 38
		}, {
			12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 
			19, 20
		}, {
			9, 9, 10, 11
		}, {
			24, 24, 25, 26, 27, 27, 28, 29
		}, {
			3, 3, 4, 5
		}, {
			33, 33, 34, 35
		}, {
			30, 30, 31, 32
		}, {
			21, 21, 22, 23
		}
	};
	public static final short b[][] = {
		{
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			0, 0, 1, 2
		}, {
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			6, 6, 7, 8, 21, 21, 21, 21
		}, {
			12, 12, 13, 14, 15, 15, 16, 17
		}, {
			9, 9, 10, 11
		}, {
			18, 18, 19, 20
		}, {
			3, 3, 4, 5
		}, {
			0, 0, 1, 2
		}, {
			0, 0, 1, 2
		}, new short[0]
	};
	public static final short c[][] = {
		{
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			0, 0, 1, 2
		}, {
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			6, 6, 7, 8
		}, {
			12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 
			19, 20
		}, {
			9, 9, 10, 11
		}, {
			24, 24, 25, 26, 27, 27, 28, 29
		}, {
			3, 3, 4, 5
		}, {
			33, 33, 34, 35
		}, {
			30, 30, 31, 32
		}, {
			21, 21, 22, 23
		}
	};
	public static final short V[][] = {
		{
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			0, 0, 1, 2
		}, {
			0, 0, 1, 2
		}, {
			3, 3, 4, 5
		}, {
			6, 6, 7, 8
		}, {
			12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 
			19, 20
		}, {
			9, 9, 10, 11
		}, {
			24, 24, 25, 26, 27, 27, 28, 29
		}, {
			3, 3, 4, 5
		}, {
			33, 33, 34, 35
		}, {
			30, 30, 31, 32
		}, {
			21, 21, 22, 23
		}
	};
	private int W;
	private int X;
	private int Y;

	public ab(int j)
	{
		W = j;
	}

	public final void a()
	{
		super.f = new short[36];
		super.e[14] = super.e[14];
		super.f[2] = super.e[16];
		super.f[5] = super.e[15];
		super.f[4] = super.e[15];
		super.f[8] = super.e[24];
		super.f[27] = super.e[39];
		super.f[24] = super.e[23];
		super.f[25] = super.e[22];
		super.f[22] = super.e[19];
		super.f[23] = super.e[18];
		super.f[28] = super.e[40];
		super.f[9] = super.e[25];
		super.f[29] = super.e[28];
		super.f[21] = super.e[33];
		super.f[26] = super.e[26];
		super.f[35] = super.e[41];
		super.f[19] = super.e[42];
		super.f[11] = super.e[31];
		super.f[10] = super.e[32];
		super.f[20] = super.e[43];
		switch (super.e[35])
		{
		case 0: // '\0'
			super.f[12] = super.e[34];
			super.f[14] = -1;
			super.f[13] = -1;
			break;

		case 2: // '\002'
			super.f[12] = -1;
			super.f[14] = super.e[34];
			super.f[13] = -1;
			break;

		case 1: // '\001'
			super.f[12] = -1;
			super.f[14] = -1;
			super.f[13] = super.e[34];
			break;
		}
		super.f[18] = super.e[36];
		switch (super.e[37])
		{
		case 5: // '\005'
			super.f[17] = super.e[38];
			super.f[15] = -1;
			super.f[16] = -1;
			return;

		case 4: // '\004'
			super.f[16] = super.e[38];
			super.f[15] = -1;
			super.f[17] = -1;
			return;

		case 3: // '\003'
			super.f[15] = super.e[38];
			super.f[16] = -1;
			super.f[17] = -1;
			break;
		}
	}

	public final boolean b()
	{
		if (X > 0)
			X--;
		if (super.b())
			return true;
		switch (super.e[3])
		{
		case 10: // '\n'
			K();
			return true;

		case 9: // '\t'
			J();
			return true;

		case 11: // '\013'
			L();
			return true;

		case 12: // '\f'
			I();
			return true;
		}
		return false;
	}

	public final void b(short word0)
	{
		super.b(word0);
	}

	public final void c()
	{
		if (super.e[3] == 2)
		{
			aa aa1 = z.d[super.e[6]];
			short word0 = super.e[7];
			byte byte2 = aa1.c[word0];
			super.p[1] = 0;
			super.p[0] = (short)(byte2 - 1);
			return;
		}
		byte byte0 = 0;
		switch (super.e[3])
		{
		case 6: // '\006'
			if (W == 3 && super.x == 2)
				super.x = 1;
			byte0 = super.x;
			break;

		case 5: // '\005'
			byte0 = super.w;
			break;

		case 8: // '\b'
			byte0 = super.y;
			break;
		}
		switch (W)
		{
		case 0: // '\0'
			super.d(a[super.e[3]][(byte0 << 2) + super.e[14]]);
			break;

		case 3: // '\003'
			super.d(b[super.e[3]][(byte0 << 2) + super.e[14]]);
			break;

		case 1: // '\001'
			super.d(c[super.e[3]][(byte0 << 2) + super.e[14]]);
			break;

		case 2: // '\002'
			super.d(V[super.e[3]][(byte0 << 2) + super.e[14]]);
			break;
		}
		if (super.e[3] == 6 && super.x == 2)
		{
			byte byte1 = 0;
			switch (super.e[14])
			{
			case 2: // '\002'
				byte1 = 3;
				break;

			case 3: // '\003'
				byte1 = 2;
				break;

			case 1: // '\001'
				byte1 = 0;
				break;

			case 0: // '\0'
				byte1 = 1;
				break;
			}
			int ai[] = z.b(byte1, super.e[8], super.e[9], z.d(super.e[6], super.e[7]));
			super.j = ai[0];
			super.k = ai[1];
		}
	}

	public final void d()
	{
		if (Y > 0)
		{
			Y--;
			return;
		}
		if (super.P[2])
			return;
		if (N())
		{
			b((short)9);
			return;
		} else
		{
			b((short)1);
			return;
		}
	}

	public final void e()
	{
		boolean flag;
		if (!(flag = f(super.e[14])))
		{
			c(w());
			Y = 10;
			b((short)0);
		}
		if (N())
		{
			b((short)9);
			return;
		}
		if (t())
		{
			int j = v.b(4);
			c((short)j);
			Y = 10;
			b((short)0);
		}
	}

	public final void n()
	{
		super.o++;
		boolean flag = false;
		switch (super.x)
		{
		case 0: // '\0'
			F();
			break;

		case 1: // '\001'
			G();
			break;

		case 2: // '\002'
			if (z())
			{
				byte byte0 = 0;
				switch (super.e[14])
				{
				case 2: // '\002'
					byte0 = 3;
					break;

				case 3: // '\003'
					byte0 = 2;
					break;

				case 1: // '\001'
					byte0 = 0;
					break;

				case 0: // '\0'
					byte0 = 1;
					break;
				}
				a(byte0, z.d[super.e[6]].d(super.e[7], super.p[0]), super.j, super.k);
			}
			if (super.p[0] + 1 >= z.d[super.e[6]].c[super.e[7]] && super.p[1] > 20 && v.a(1, 100))
				flag = true;
			break;
		}
		if (flag || super.o > 1 && t())
		{
			if (super.x == 2)
				if ((i.a(super.e[8], super.e[9]) & 4) == 4)
				{
					a(128);
					k.s.d(this);
					b((short)8);
					super.l = k.m();
					return;
				} else
				{
					b((short)12);
					return;
				}
			Y = 10;
			b((short)0);
		}
	}

	public final void I()
	{
		if (t())
			b((short)11);
	}

	public final void m()
	{
		if (z())
		{
			E();
			if (D() && !O())
				super.p[1] += B();
		}
		if (t())
		{
			X = super.f[27];
			b((short)0);
		}
	}

	public final void o()
	{
		short word0 = super.f[2];
		super.f[2] = (short)z.d[super.e[6]].d(super.e[7], super.p[0]);
		f(w());
		super.f[2] = word0;
		if (t())
		{
			if (v.a(super.f[29]))
			{
				switch (W)
				{
				case 0: // '\0'
				case 3: // '\003'
					super.w = 0;
					break;

				case 1: // '\001'
				case 2: // '\002'
					super.w = 0;
					break;
				}
				b((short)5);
				return;
			}
			b((short)0);
		}
	}

	public final void p()
	{
		if (super.l != -1 && k.j(super.l))
		{
			k.i(super.l);
			super.l = -1;
			b(16);
		}
		if (t() && i.a(super.e[8], super.e[9]) == 0)
		{
			int j = (super.e[8] / i.d()) * i.d() + 1;
			int l = (super.e[9] / i.e()) * i.e() + 1;
			int i1 = (j + i.d()) - 2;
			int j1 = (l + i.d()) - 2;
			u u1;
			if (v.a(super.e[29]) && super.e[30] >= 0)
				(u1 = u.a((byte)-1, super.e[30])).a((short)j, (short)l);
			if (v.a(super.e[29]) && super.f[11] > 0)
				(u1 = u.a((byte)2, super.f[11])).a((short)i1, (short)j1);
		}
		super.p();
	}

	public final void J()
	{
		super.o++;
		if ((super.o == 1 || t()) && super.A == 0)
		{
			c(c(k.s));
			super.A = (byte)super.f[35];
		}
		boolean flag = f(super.e[14]);
		if (!N() || !flag)
		{
			Y = 15;
			b((short)0);
		}
		if (M() && X == 0)
		{
			if (v.a(super.f[26]) && (W == 0 || W == 3))
			{
				super.w = 1;
				b((short)5);
				return;
			}
			super.w = 0;
			b((short)5);
		}
	}

	public final void K()
	{
		if (t())
			b((short)0);
	}

	public final void L()
	{
		if (t())
			b((short)10);
	}

	public final boolean M()
	{
		int j = 0;
		int l = 0;
		int i1 = 0;
		int j1 = 0;
		switch (super.e[14])
		{
		case 2: // '\002'
			j = super.e[8] - (super.f[24] >> 1);
			l = super.e[9] - super.f[25];
			i1 = j + super.f[24];
			j1 = l + super.f[25];
			break;

		case 0: // '\0'
			j = super.e[8] - super.f[25];
			l = super.e[9] - (super.f[24] >> 1);
			i1 = j + super.f[25];
			j1 = l + super.f[24];
			break;

		case 3: // '\003'
			j = super.e[8] - (super.f[24] >> 1);
			l = super.e[9];
			i1 = j + super.f[24];
			j1 = l + super.f[25];
			break;

		case 1: // '\001'
			j = super.e[8];
			l = super.e[9] - (super.f[24] >> 1);
			i1 = j + super.f[25];
			j1 = l + super.f[24];
			break;
		}
		for (int k1 = 0; k1 < k.q.length; k1++)
			if (v.a(((z) (k.q[k1])).e[8], ((z) (k.q[k1])).e[9], j, l, i1, j1))
				return true;

		return false;
	}

	public final boolean N()
	{
		return v.a(z.j(super.e[14]), super.e[8], super.e[9], super.f[22], super.f[23], ((z) (k.s)).e[8], ((z) (k.s)).e[9]);
	}

	public final boolean O()
	{
		boolean flag = false;
		for (int j = 0; j < k.q.length; j++)
			if (v.a(x(), k.q[j].y()) && k.q[j].a(this))
				flag = true;

		return flag;
	}

	public final boolean a(z z1)
	{
		if (super.e[3] == 7 || super.e[3] == 2 || super.e[3] == 6 && super.z > 0 || super.e[3] == 11 && z1.w != 3)
			return false;
		int j = 0;
		if (c(k.s) == super.e[14])
			j = super.f[28];
		else
		if (w() == c(k.s))
			j = super.f[28] / 3;
		else
			j = (super.f[28] / 3) * 2;
		if (v.a(j) && super.e[3] != 11 && !super.P[2])
		{
			c(c(z1));
			b((short)7);
			if (z1.w == 6 && z1.e[3] != 22)
				z1.b((short)22);
			return false;
		}
		if (super.e[3] == 11)
		{
			g(-super.f[4] - 1);
			a(super.f[4], null);
			a(0, "一击必杀");
			if (c(128))
			{
				k.s.d(this);
				super.y = 1;
				b((short)8);
			}
			return true;
		} else
		{
			return super.a(z1);
		}
	}

	public final byte[][] g()
	{
		return (new byte[][] {
			z.L, new byte[0]
		});
	}

	public final void a(Graphics g1, int j, int l)
	{
		if (super.l != -1)
		{
			k.b(g1, super.l, j, l);
			return;
		} else
		{
			super.a(g1, j, l);
			return;
		}
	}

}

⌨️ 快捷键说明

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