📄 d.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;
import javax.microedition.lcdui.Image;
public class d
{
private final Image a_javax_microedition_lcdui_Image;
private final short a_short_array1d[];
private final byte a_byte_array1d[];
private final int a_int;
private int b_int;
private final int c;
private int d;
private int e;
private int f;
private short b_short_array1d[];
private final int a_int_array1d[];
private final byte b_byte_array1d[];
private int g;
public d(Image image, int ai[], short aword0[], byte abyte0[], int i, int j, int k)
{
a_javax_microedition_lcdui_Image = image;
a_int_array1d = ai;
b_byte_array1d = abyte0;
c = j;
b_short_array1d = new short[20];
b_int = k;
a_short_array1d = new short[ai.length];
a_byte_array1d = new byte[ai.length];
short word0 = 0;
int l = 0;
short word1 = 0;
for (int i1 = 0; i1 < ai.length; i1++)
{
int j1 = ai[i1];
if (j1 == -1)
continue;
if (j1 == -2)
{
if (word0 > l)
l = word0;
b_short_array1d[word1] = word0;
word0 = 0;
a_byte_array1d[i1] = -2;
word1++;
if (word1 >= b_short_array1d.length)
b_short_array1d = a(b_short_array1d, (byte)10);
} else
{
a_short_array1d[i1] = aword0[j1];
byte byte0 = abyte0[j1];
a_byte_array1d[i1] = byte0;
word0 += byte0;
}
}
b_short_array1d[word1] = word0;
if (word0 > l)
l = word0;
f = word1 + 1;
d = f * (i + k) - k;
e = l;
a_int = i;
}
public void a(int i, int j, Graphics g1)
{
int k = g1.getClipX();
int l = g1.getClipY();
int i1 = g1.getClipWidth();
int j1 = g1.getClipHeight();
int k1 = k + i1;
int l1 = i;
boolean flag = g == 8;
boolean flag1 = g == 1;
if (flag1)
i = l1 - b_short_array1d[0] / 2;
else
if (flag)
i = l1 - b_short_array1d[0];
int i2 = 0;
for (int j2 = 0; j2 < a_short_array1d.length; j2++)
{
byte byte0 = a_byte_array1d[j2];
if (byte0 == 0)
continue;
if (byte0 < 0)
{
i2++;
if (flag1)
i = l1 - b_short_array1d[i2] / 2;
else
if (flag)
i = l1 - b_short_array1d[i2];
else
i = l1;
j += a_int + b_int;
continue;
}
if (i < k1)
{
g1.clipRect(i, j, byte0, a_int);
int k2 = i - a_short_array1d[j2];
g1.drawImage(a_javax_microedition_lcdui_Image, k2, j, 20);
i += byte0;
g1.setClip(k, l, i1, j1);
}
}
}
public void a(int i, int j, int k, int l)
{
g = l;
b_int = k;
int i1 = 0;
short word0 = 0;
int j1 = 0;
int k1 = -1;
int l1 = 0;
int i2 = 0;
for (int j2 = 0; j2 < a_byte_array1d.length; j2++)
{
byte byte0 = a_byte_array1d[j2];
if (byte0 == -3)
{
byte0 = b_byte_array1d[a_int_array1d[j2]];
a_byte_array1d[j2] = byte0;
} else
if (byte0 == -2)
{
b_short_array1d[i1] = word0;
if (word0 > j1)
j1 = word0;
i2 = j2 + 1;
if (++i1 >= b_short_array1d.length)
b_short_array1d = a(b_short_array1d, (byte)10);
word0 = 0;
continue;
}
int k2 = a_int_array1d[j2];
if (k2 == c)
{
k1 = j2;
l1 = word0;
}
word0 += byte0;
if (word0 > i && k1 > i2)
{
a_byte_array1d[k1] = -3;
i2 = k1 + 1;
b_short_array1d[i1] = (short)l1;
if (l1 > j1)
j1 = (short)l1;
word0 -= l1 + b_byte_array1d[c];
if (++i1 >= b_short_array1d.length)
b_short_array1d = a(b_short_array1d, (byte)10);
}
i = j;
}
b_short_array1d[i1] = word0;
if (word0 > j1)
j1 = word0;
f = i1 + 1;
e = j1;
d = f * (a_int + k) - k;
}
private short[] a(short aword0[], byte byte0)
{
short aword1[] = new short[aword0.length + byte0];
System.arraycopy(aword0, 0, aword1, 0, aword0.length);
return aword1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -