📄 m.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 class m
{
private static int a_int_static;
private static int b_int_static;
private static int c;
private static int a_int_array1d_static[];
private static int d;
private static int e;
private static int f;
private static int g;
private static int h;
private static int i;
private static int j;
private static int k;
private static int l;
private static int m;
private static int n;
private static int o;
private static int p;
private static int q;
private static int r;
private static int s;
private static int t;
private static int u;
private static int v;
private static int w;
private static int x;
private static int y;
private static int z;
private static int A;
public static u a_u_static;
private static boolean a_boolean_static;
private static int B;
private static int C;
private static int D;
private static int E;
private static v a_v_static;
private static v b_v_static;
public m()
{
}
public static void a(int i1, int j1)
{
a_int_static = i1;
b_int_static = j1;
f = g = h = i = j = k = l = m = n = o = a_int_array1d_static[0];
d = e = a_int_array1d_static[1];
if (a_u_static == null)
a_u_static = new u("/shining.ani");
o.d();
r = 45;
s = 45;
v = 45;
w = 45;
x.a_javax_microedition_lcdui_Image_static = t.a("/status_Icon.png");
x.b = t.a("/equip.png");
x.e = t.a("/equip_Icon.png");
x.d = t.a("/stone_Small.png");
x.c = t.a("/equip_Shadow.png");
}
public static void a()
{
c = 0;
a_v_static = null;
b_v_static = null;
x.b = null;
x.a_javax_microedition_lcdui_Image_static = null;
x.e = null;
x.d = null;
x.c = null;
a_u_static = null;
}
public static void a(Graphics g1)
{
g1.setClip(0, 0, e.a, e.b);
g1.setColor(n.a_int_array2d_static[n.g][0]);
g1.fillRect(0, 0, e.a, e.b);
i(g1);
n.b(g1);
c(g1);
d(g1);
f(g1);
e(g1);
g(g1);
h(g1);
b(g1);
}
private static void b(Graphics g1)
{
if (c == 6)
{
a(g1, b_v_static, A, e.b / 2);
a(g1, a_v_static, z, e.b / 2);
a_u_static.a(g1, null);
}
}
private static void a(Graphics g1, v v1, int i1, int j1)
{
if (v1.a_byte != 0)
{
g1.setClip(i1 - 16, j1 - 13, 32, 25);
switch (v1.a_byte)
{
case 1: // '\001'
case 2: // '\002'
case 3: // '\003'
case 4: // '\004'
case 5: // '\005'
case 6: // '\006'
case 7: // '\007'
g1.drawImage(x.b, i1 - 16 - (v1.d - 1) * 32, j1 - 13 - (v1.a_byte - 1) * 25, 0);
break;
case 8: // '\b'
case 9: // '\t'
case 10: // '\n'
case 11: // '\013'
g1.drawImage(x.b, i1 - 16 - ((v1.a_byte - 8) % 5) * 32, j1 - 13 - (7 + (v1.a_byte - 8) / 5) * 25, 0);
break;
case 12: // '\f'
case 13: // '\r'
case 14: // '\016'
case 15: // '\017'
case 16: // '\020'
g1.drawImage(x.b, i1 - 16 - ((v1.a_byte - 12) % 5) * 32, j1 - 13 - (8 + (v1.a_byte - 12) / 5) * 25, 0);
break;
}
}
}
private static void c(Graphics g1)
{
if (e > a_int_array1d_static[2] && e < a_int_array1d_static[0])
{
byte byte0 = 112;
byte byte1 = 121;
int i1 = (e + e.a / 2) - byte0 / 2;
int j1 = e.b / 2 - byte1 / 2;
n.a(g1, i1 + byte0 / 2, j1 + byte1 / 2, byte0, byte1, true);
x.b(g1, i1 - 2, j1 - 2, byte0 + 4, byte1 + 4, x.a_int_array1d_static[0], x.a_int_array1d_static[1]);
x.a(g1, i1 + 49, j1, 76, 2, p, s);
}
}
private static void d(Graphics g1)
{
if (g > a_int_array1d_static[2] && g < a_int_array1d_static[0])
{
byte byte0 = 112;
byte byte1 = 121;
int i1 = (g + e.a / 2) - byte0 / 2;
int j1 = e.b / 2 - byte1 / 2;
n.a(g1, i1 + byte0 / 2, j1 + byte1 / 2, byte0, byte1, true);
x.b(g1, i1 - 2, j1 - 2, byte0 + 4, byte1 + 4, x.a_int_array1d_static[0], x.a_int_array1d_static[1]);
x.a(g1, i1 + 49, j1, 76, 2, t, w);
}
}
private static void e(Graphics g1)
{
if (k > a_int_array1d_static[2] && k < a_int_array1d_static[0])
{
byte byte0 = 80;
int i1 = e.d * 2;
int j1 = (k + e.a / 2) - byte0 / 2;
int k1 = 32;
n.a(g1, j1 + byte0 / 2, k1 + i1 / 2, byte0, i1, true);
if (a_v_static.a_byte >= 12)
{
n.a(g1, n.a_p_static.a("socketRes.adjust_2"), 4, 17, j1 + byte0 / 2, k1 + 1, 0, 0xffffff, false, 0);
for (int l1 = 9; l1 < 14; l1++)
if (b_v_static.a_byte_array1d[l1] != 0 && b_v_static.b != l1)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((l1 - 5) * 2, (l1 - 5) * 2 + 2), b_v_static.a_byte_array1d[l1], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
} else
{
n.a(g1, n.a_p_static.a("socketRes.adjust_1"), 4, 17, j1 + byte0 / 2, k1 + 1, 1, 0xffffff, false, 0);
for (int i2 = 5; i2 < 9; i2++)
if (b_v_static.a_byte_array1d[i2] != 0 && b_v_static.b != i2)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((i2 - 5) * 2, (i2 - 5) * 2 + 2), b_v_static.a_byte_array1d[i2], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
}
byte0 = 80;
i1 = e.d * 2;
j1 = (k + e.a / 2) - byte0 / 2;
k1 = e.b / 2;
n.a(g1, j1 + byte0 / 2, k1 + i1 / 2, byte0, i1, true);
n.a(g1, n.a_p_static.a("socketRes.adjust_3"), 4, 17, j1 + byte0 / 2, k1 + 1, 0, 0xffffff, false, 0);
for (int j2 = 5; j2 < 14; j2++)
if (a_v_static.a_byte_array1d[j2] != 0)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((j2 - 5) * 2, (j2 - 5) * 2 + 2), a_v_static.a_byte_array1d[j2], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
n.a(g1, k + e.a / 2, e.b / 2 + e.d * 4, e.c * 4 + 2, e.d * 2, true);
n.a(g1, (k + e.a / 2) - e.c * 2, e.b / 2 + e.d * 3 + 1 + C, e.c * 4, e.d);
n.a(g1, n.a_p_static.a("socketRes.adjust_4"), 4, 17, k + e.a / 2, e.b / 2 + e.d * 3 + 1, 1, 0xffffff, false, 0);
n.a(g1, n.a_p_static.a("socketRes.adjust_5"), 4, 17, k + e.a / 2, (e.b / 2 + e.d * 4) - 1, 1, 0xffffff, false, 0);
}
}
private static void f(Graphics g1)
{
if (i > a_int_array1d_static[2] && i < a_int_array1d_static[0])
{
byte byte0 = 80;
int i1 = e.d * 2;
int j1 = (i + e.a / 2) - byte0 / 2;
int k1 = 32;
n.a(g1, j1 + byte0 / 2, k1 + i1 / 2, byte0, i1, true);
if (a_v_static.a_byte >= 12)
{
n.a(g1, n.a_p_static.a("socketRes.adjust_2"), 4, 17, j1 + byte0 / 2, k1 + 1, 0, 0xffffff, false, 0);
for (int l1 = 9; l1 < 14; l1++)
if (b_v_static.a_byte_array1d[l1] != 0 && b_v_static.b != l1)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((l1 - 5) * 2, (l1 - 5) * 2 + 2), b_v_static.a_byte_array1d[l1], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
} else
{
n.a(g1, n.a_p_static.a("socketRes.adjust_1"), 4, 17, j1 + byte0 / 2, k1 + 1, 1, 0xffffff, false, 0);
for (int i2 = 5; i2 < 9; i2++)
if (b_v_static.a_byte_array1d[i2] != 0 && b_v_static.b != i2)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((i2 - 5) * 2, (i2 - 5) * 2 + 2), b_v_static.a_byte_array1d[i2], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
}
byte0 = 80;
i1 = e.d * 2;
j1 = (i + e.a / 2) - byte0 / 2;
k1 = e.b / 2;
n.a(g1, j1 + byte0 / 2, k1 + i1 / 2, byte0, i1, true);
n.a(g1, n.a_p_static.a("socketRes.cover_3"), 4, 17, j1 + byte0 / 2, k1 + 1, 0, 0xffffff, false, 0);
for (int j2 = 5; j2 < 14; j2++)
if (a_v_static.a_byte_array1d[j2] != 0)
n.a(g1, n.a_p_static.a("statusRes.item_Eff").substring((j2 - 5) * 2, (j2 - 5) * 2 + 2), a_v_static.a_byte_array1d[j2], j1 + 1, k1 + e.d, byte0 - 2, 0xffffff, 2, 1);
n.a(g1, i + e.a / 2, e.b / 2 + e.d * 4, e.c * 4 + 2, e.d * 2, true);
n.a(g1, (i + e.a / 2) - e.c * 2, e.b / 2 + e.d * 3 + 1 + E, e.c * 4, e.d);
n.a(g1, n.a_p_static.a("socketRes.cover_4"), 4, 17, i + e.a / 2, e.b / 2 + e.d * 3 + 1, 1, 0xffffff, false, 0);
n.a(g1, n.a_p_static.a("socketRes.adjust_5"), 4, 17, i + e.a / 2, (e.b / 2 + e.d * 4) - 1, 1, 0xffffff, false, 0);
}
}
private static void g(Graphics g1)
{
if (m > a_int_array1d_static[2])
if (m >= a_int_array1d_static[0]);
}
private static void h(Graphics g1)
{
if (o > a_int_array1d_static[2] && o < a_int_array1d_static[0])
{
n.a(g1, o + e.a / 2, e.b / 2, e.c * 4 + 2, e.d * 2, true);
n.a(g1, (o + e.a / 2) - e.c * 2, (e.b / 2 - e.d) + 2 + y, e.c * 4, e.d);
n.a(g1, n.a_p_static.a("socketRes.continue"), 4, 17, o + e.a / 2, (e.b / 2 - e.d) + 2, 1, 0xffffff, false, 0);
n.a(g1, n.a_p_static.a("socketRes.end"), 4, 17, o + e.a / 2, e.b / 2, 1, 0xffffff, false, 0);
}
}
private static void i(Graphics g1)
{
int i1 = e.c * 11;
int j1 = e.a / 2 - i1 / 2;
int k1 = 0;
int l1;
String s1;
switch (c)
{
case 3: // '\003'
l1 = 0xffffff;
switch (j.a[p].a_byte)
{
case 8: // '\b'
case 9: // '\t'
case 10: // '\n'
case 11: // '\013'
s1 = n.a_p_static.a("socketRes.title_" + c + "_1");
break;
default:
s1 = n.a_p_static.a("socketRes.title_" + c + "_2");
break;
}
break;
case 4: // '\004'
l1 = 65280;
s1 = n.a_p_static.a("socketRes.title_" + c);
break;
default:
l1 = 0xffffff;
s1 = n.a_p_static.a("socketRes.title_" + c);
break;
}
n.a(g1, s1, 20, 17, j1 + i1 / 2, k1 + 1, 0, l1, false, 0);
}
public static void b()
{
g();
switch (c)
{
case 0: // '\0'
e();
break;
case 1: // '\001'
f();
break;
case 6: // '\006'
d();
break;
}
}
private static void d()
{
a_u_static.a();
if (z == A)
{
if (a_u_static.a == -1 && !a_boolean_static)
{
a_u_static.a(0, e.a / 2, e.b / 2);
a_boolean_static = true;
}
if (a_u_static.a == -1 && a_boolean_static)
{
a_boolean_static = false;
c = 4;
l = a_int_array1d_static[1];
for (int i1 = 0; i1 < 14; i1++)
{
if (a_v_static.a_byte_array1d[i1] <= 0)
continue;
if (t < 3)
j.b[t].a_byte_array1d[i1] = a_v_static.a_byte_array1d[i1];
else
j.a[t - 3].a_byte_array1d[i1] = a_v_static.a_byte_array1d[i1];
}
j.a[p - 3] = new v();
}
}
}
private static void e()
{
if (r + p * e.d < 45)
r += e.d;
if (r + p * e.d > 121 - e.d)
r -= e.d;
}
private static void f()
{
if (v + t * e.d < 45)
v += e.d;
if (v + t * e.d > 121 - e.d)
v -= e.d;
}
private static void g()
{
if (e < d)
{
int i1 = (d - e) / 2;
if (i1 < 1)
i1 = 1;
e += i1;
}
if (e > d)
{
int j1 = (e - d) / 2;
if (j1 < 1)
j1 = 1;
e -= j1;
}
if (g < f)
{
int k1 = (f - g) / 2;
if (k1 < 1)
k1 = 1;
g += k1;
}
if (g > f)
{
int l1 = (g - f) / 2;
if (l1 < 1)
l1 = 1;
g -= l1;
}
if (i < h)
{
int i2 = (h - i) / 2;
if (i2 < 1)
i2 = 1;
i += i2;
}
if (i > h)
{
int j2 = (i - h) / 2;
if (j2 < 1)
j2 = 1;
i -= j2;
}
if (k < j)
{
int k2 = (j - k) / 2;
if (k2 < 1)
k2 = 1;
k += k2;
}
if (k > j)
{
int l2 = (k - j) / 2;
if (l2 < 1)
l2 = 1;
k -= l2;
}
if (m < l)
{
int i3 = (l - m) / 2;
if (i3 < 1)
i3 = 1;
m += i3;
}
if (m > l)
{
int j3 = (m - l) / 2;
if (j3 < 1)
j3 = 1;
m -= j3;
}
if (o < n)
{
int k3 = (n - o) / 2;
if (k3 < 1)
k3 = 1;
o += k3;
}
if (o > n)
{
int l3 = (o - n) / 2;
if (l3 < 1)
l3 = 1;
o -= l3;
}
if (q < p * e.d)
{
int i4 = (p * e.d - q) / 2;
if (i4 < 1)
i4 = 1;
q += i4;
}
if (q > p * e.d)
{
int j4 = (q - p * e.d) / 2;
if (j4 < 1)
j4 = 1;
q -= j4;
}
if (u < t * e.d)
{
int k4 = (t * e.d - u) / 2;
if (k4 < 1)
k4 = 1;
u += k4;
}
if (u > t * e.d)
{
int l4 = (u - t * e.d) / 2;
if (l4 < 1)
l4 = 1;
u -= l4;
}
if (s < r)
{
int i5 = (r - s) / 2;
if (i5 < 1)
i5 = 1;
s += i5;
}
if (s > r)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -