📄 w.java
字号:
(p1 = new p(-1, s2, "", "", "", s1, "", 2, (String[][])null, b.y)).t = "";
if (pica.j.a(p1))
Pica.a(p1);
Pica.e.a(p1, false);
}
catch (Exception e)
{
Pica.l.a(1);
Pica.j.setCurrent(Pica.l);
return;
}
finally
{
Pica.l.a(1);
}
Pica.l.a(1);
Pica.j.setCurrent(Pica.l);
return;
} else
{
Pica.m.c(u);
ah.a(null, u);
return;
}
// Pica.j.setCurrent(Pica.l);
// throw exception;
}
private static boolean c(boolean flag)
{
String s1 = null;
String s2 = null;
if (!flag)
if ((s2 = a.c()).length() == 0)
s1 = "昵称不能为空";
else
if (s2.indexOf("=") >= 0 || s2.indexOf("&") >= 0 || s2.indexOf(" ") >= 0 || s2.indexOf(";") >= 0)
s1 = "昵称只能包含字母、汉字或数字及其组合";
if ((s2 = o.c()).length() == 0)
s1 = "请输入年龄!";
else
if (Integer.parseInt(s2) > 99 || Integer.parseInt(s2) < 10)
s1 = "你输入的年龄不正确!";
if (s1 != null)
{
a(s1, 2000, Pica.l);
return true;
} else
{
return false;
}
}
private static void ab()
{
// Exception exception;
String s1 = a(o);
String s2 = p.c();
ws = "";
if (s1 == null || s1.length() == 0)
ws = "手机号码不能为空";
else
if (!h(s1))
ws = "手机号不正确请重新输入";
else
if (s2 == null || s2.length() == 0)
ws = "内容不能为空";
if (ws.length() > 0)
{
a(ws, 1, Pica.l);
return;
}
try
{
k(s1);
s1 = s1 + "@freesms.pica";
Pica.h.b(s1, null, s2, null, null);
p p1;
if (pica.j.a(p1 = new p(-1, s1, "", "", "", s2, "", 2, (String[][])null, null)))
Pica.a(p1);
Pica.e.a(p1, false);
}
catch (Exception e)
{
Pica.l.a(1);
Pica.j.setCurrent(Pica.l);
return;
}
finally
{
Pica.l.a(1);
}
Pica.l.a(1);
Pica.j.setCurrent(Pica.l);
return;
// Pica.j.setCurrent(Pica.l);
// throw exception;
}
private static void k(String s1)
throws Exception
{
RecordStore recordstore;
if ((recordstore = RecordStore.openRecordStore("PhoneBook", true)).getNumRecords() > 0)
{
ByteArrayInputStream bytearrayinputstream = new ByteArrayInputStream(recordstore.getRecord(1));
DataInputStream datainputstream;
String s2;
if ((s2 = (datainputstream = new DataInputStream(bytearrayinputstream)).readUTF()).length() > 0)
{
int i1 = utils.b.a(s2, '#').length;
if (s2.indexOf(s1) < 0)
{
if (i1 == 10)
s2 = s2.substring(s2.indexOf('#'));
byte abyte0[] = l(s2 = s2 + s1 + "#");
recordstore.setRecord(1, abyte0, 0, abyte0.length);
}
}
} else
{
byte abyte1[] = l(s1 + "#");
recordstore.addRecord(abyte1, 0, abyte1.length);
}
if (recordstore != null)
recordstore.closeRecordStore();
}
private static byte[] l(String s1)
throws IOException
{
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
DataOutputStream dataoutputstream;
(dataoutputstream = new DataOutputStream(bytearrayoutputstream)).writeUTF(s1);
dataoutputstream.flush();
byte abyte0[];
return abyte0 = bytearrayoutputstream.toByteArray();
}
private static void c(d d1)
{
int i1 = 0;
String s1 = "";
try
{
for (int j1 = Pica.e.q() - 1; j1 >= 0 && i1 < 10; j1--)
{
p p1;
if ((p1 = Pica.e.c(j1)) == null || p1.b.indexOf(u) < 0)
continue;
if (p1.u == 2)
{
s1 = s1 + "发送:[";
} else
{
s1 = s1 + "接收:[";
Pica.e.b(p1);
}
s1 = s1 + utils.b.a(p1.vd).substring(5, 16) + "]\n";
s1 = s1 + (p1.r.length() <= 0 ? p1.s.startsWith("ptt://") ? "语音信息" : "" : p1.r);
if (p1.s.length() > 0 && !p1.s.startsWith("ptt://"))
if (p1.b.equals("pica") && p1.u != 2)
s1 = s1 + "下载地址:" + p1.s;
else
s1 = s1 + "附件:" + p1.s;
s1 = s1 + " \n \n";
i1++;
if (p1.u != 2)
Pica.e.b(p1);
}
if (s1.length() == 0)
s1 = "无聊天记录!";
}
catch (Exception e)
{
s1 = "无聊天记录!";
}
b(d1, s1);
}
private static void m(String s1)
{
int i1;
// Exception exception;
i1 = E;
try
{
Pica.h.a(s1, ((o) (D)).j, D.vss[i1][2], D.vss[i1][3] != null ? D.vss[i1][3] : "", D.vss[i1][4] != null ? D.vss[i1][4] : "");
}
catch (Exception e) { }
if (s1 == "sms")
try
{
(new y()).start();
return;
}
catch (Exception e)
{
return;
}
if (s1 == "wap")
{
try
{
if (D.t == 11)
{
if (D.q != null && D.q.equals("s"))
{
if (D.b != null && D.b.length() > 0)
Pica.a().a(D.vss[i1][3] + "username=" + ls + "&password=" + m, true);
else
Pica.a().a(D.vss[i1][3], true);
} else
if (D.q == null || D.q.length() == 0)
if (D.b != null && D.b.length() > 0)
Pica.a().a(D.vss[i1][3] + "username=" + ls + "&password=" + m, false);
else
Pica.a().a(D.vss[i1][3], false);
} else
if (D.b != null && D.b.length() > 0)
Pica.a().a(D.vss[i1][3] + "username=" + ls + "&password=" + m, (byte)-1);
else
Pica.a().a(D.vss[i1][3], (byte)-1);
}
catch (Exception e)
{
Pica.j.setCurrent(Pica.l);
return;
}
finally
{
Pica.j.setCurrent(Pica.l);
}
Pica.j.setCurrent(Pica.l);
return;
}
// break MISSING_BLOCK_LABEL_496;
// throw exception;
// Exception exception1;
if (s1 == "ivr")
{
try
{
Pica.a().c(D.vss[i1][4]);
}
catch (Exception e)
{
Pica.l.a();
Pica.j.setCurrent(Pica.l);
return;
}
finally
{
Pica.l.a();
}
Pica.l.a();
Pica.j.setCurrent(Pica.l);
return;
} else
{
return;
}
// Pica.j.setCurrent(Pica.l);
// throw exception1;
}
public static void a(String s1, int i1, Displayable displayable)
{
Alert alert = null;
if (i1 == 1)
alert = new Alert("错误", s1, null, AlertType.ERROR);
else
alert = new Alert("提示", s1, null, AlertType.INFO);
if (i1 != 1 && i1 != 2)
alert.setTimeout(i1);
Pica.j.setCurrent(alert, displayable);
}
public static void p()
{
try
{
try
{
RecordStore.deleteRecordStore("accounts");
}
catch (Exception e) { }
RecordStore recordstore;
if ((recordstore = RecordStore.openRecordStore("accounts", true)).getNumRecords() > 0)
{
recordstore.closeRecordStore();
RecordStore.deleteRecordStore("accounts");
recordstore = RecordStore.openRecordStore("accounts", true);
}
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
DataOutputStream dataoutputstream;
(dataoutputstream = new DataOutputStream(bytearrayoutputstream)).writeInt(h);
dataoutputstream.writeInt(i);
dataoutputstream.writeUTF(ls);
dataoutputstream.writeUTF(m);
dataoutputstream.writeInt(j);
dataoutputstream.writeUTF(kbb ? "true" : "false");
dataoutputstream.writeUTF(Pica.az);
dataoutputstream.writeUTF(Pica.aA);
dataoutputstream.writeUTF(Pica.aC);
dataoutputstream.writeUTF(Pica.aB);
dataoutputstream.writeUTF(Pica.aE ? "true" : "false");
dataoutputstream.writeUTF(Pica.aD ? "true" : "false");
dataoutputstream.writeInt(Pica.l.o);
dataoutputstream.writeInt(Pica.aX);
byte abyte0[] = bytearrayoutputstream.toByteArray();
recordstore.addRecord(abyte0, 0, abyte0.length);
if (recordstore != null)
try
{
recordstore.closeRecordStore();
}
catch (Exception e) { }
return;
}
catch (Exception e)
{
return;
}
}
private static void ac()
{
RecordStore recordstore = null;
try
{
if ((recordstore = RecordStore.openRecordStore("accounts", false)) != null && recordstore.getNumRecords() > 0)
{
byte abyte0[] = recordstore.getRecord(1);
DataInputStream datainputstream;
h = (datainputstream = new DataInputStream(new ByteArrayInputStream(abyte0))).readInt();
i = datainputstream.readInt();
ls = datainputstream.readUTF();
m = datainputstream.readUTF();
j = datainputstream.readInt();
if (j > 2)
j = 0;
kbb = datainputstream.readUTF().equals("true");
Pica.az = datainputstream.readUTF();
Pica.aA = datainputstream.readUTF();
Pica.aC = datainputstream.readUTF();
Pica.aB = datainputstream.readUTF();
Pica.aE = datainputstream.readUTF().equals("true");
Pica.aD = datainputstream.readUTF().equals("true");
Pica.l.o = datainputstream.readInt();
Pica.aX = datainputstream.readInt();
}
}
catch (Exception e) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
return;
}
catch (Exception e) { }
}
private static void ad()
{
d d1 = new d("注册PICA", (byte)22);
o = new f("*PICA密码: ", null, "", 12, 0x10004, 80, (byte)0, Pica.l);
d1.a(o);
d1.a(t);
d1.a();
Pica.l.b(d1);
}
public final void run()
{
G = "re.pica.com";
H = "/picaregdisp";
String s1 = null;
System.out.println("runstart:"+s1);
try {
if (!(s1 = utils.b.a(G, H, "")).startsWith("http://"))
s1 = utils.b.a(G, H, "");
} catch (IOException ex) {
ex.printStackTrace();
} catch (Exception ex) {
ex.printStackTrace();
}
System.out.println("https1:"+s1);
if (s1 == null || s1.length() == 0)
{
new Exception();
} else
{
x = s1.substring(7);
int i1 = x.indexOf('/');
G = x.substring(0, i1);
H = x.substring(i1);
}
x = "password=" + o(J) + "&age=18®ion=广东&sex=女&icon=" + (5 + Math.abs((new Random()).nextInt() % 4)) + "&source=" + Pica.d + "+" + pica.Pica.b;
String s2 = null;
try{
n(s2 = utils.b.a(G, H, x));
}catch(Exception ex) {
ex.printStackTrace();
// System.out.println("EX: "+ex.toString());
}
System.out.println("https2:"+s2);
// break MISSING_BLOCK_LABEL_259;
// JVM INSTR dup ;
// Exception exception;
// exception;
// getMessage();
// "error:404";
// equals();
// JVM INSTR ifeq 253;
// goto _L1 _L2
//_L1:
// break MISSING_BLOCK_LABEL_221;
//_L2:
// break MISSING_BLOCK_LABEL_253;
G = "re.pica.com";
H = "/picaregjava";
String s3 = null;
try{
n(s3 = utils.b.a(G, H, x));
}catch(Exception ex) {
ex.printStackTrace();
// System.out.println("EX: "+ex.toString());
}
System.out.println("https3:"+s3);
// break MISSING_BLOCK_LABEL_259;
// new Exception();
// System.gc();
// return;
// JVM INSTR pop ;
Pica.l.a();
a("服务器忙,请稍候再试!", 3000, Pica.l);
System.gc();
return;
// Exception exception1;
// exception1;
// System.gc();
// throw exception1;
}
private static void n(String s1)
throws Exception
{
if (s1 != null && s1.startsWith("PICAID="))
{
int i1;
if ((i1 = s1.indexOf(";")) > 0)
{
String s2 = s1.substring(7, i1);
String s4 = s1.substring(i1 + 6);
if (s2.equals("-1"))
s();
else
if (!s2.equals("-3"))
{
Pica.l.a();
G = null;
H = null;
x = null;
}
a(s4, -2, Pica.l);
} else
{
I = s1.substring(7);
String s3 = "注册成功,您的PICA号:" + I + ",密码:" + J + ",登录后可以在主菜单的'个人设置'中修改您的密码和个人资料!";
Alert alert;
(alert = new Alert("提示", s3, null, AlertType.INFO)).setTimeout(-2);
e e1 = new e();
alert.setCommandListener(e1);
alert.addCommand(new Command("确定", 1, 1));
Pica.j.setCurrent(alert, Pica.l);
Pica.l.a();
G = null;
H = null;
x = null;
}
return;
} else
{
new Exception();
return;
}
}
private static String o(String s1)
{
if (s1 == null || s1.length() == 0)
return "";
int i1 = 0;
int j1 = s1.indexOf('&', 0);
StringBuffer stringbuffer = new StringBuffer();
for (; j1 >= 0; j1 = s1.indexOf('&', i1))
{
stringbuffer.append(s1.substring(i1, j1));
stringbuffer.append(">{!<?|");
i1 = j1 + 1;
}
if (i1 < s1.length())
stringbuffer.append(s1.substring(i1));
return stringbuffer.toString();
}
//登录函数
public static void b(boolean flag)
{
Pica.aR = false;
Pica.Z = false;
Pica.aa = false;
Pica.ac = false;
Pica.ab = false;
Pica.aF = 15;
Pica.aG = 15;
Pica.L = false;
g = null;
Pica.W = false;
if (I.length() > 0)
{
ls = I;
m = J;
I = "";
J = "";
} else
{
ls = o.c();
m = p.c();
}
i = !q.d() ? -1 : 0;
h = !a.d() ? -1 : 0;
if (q.d())
{
Pica.H = 100;
Pica.i = "iv";
} else
{
Pica.H = 0;
}
if (ls == null || ls.length() == 0 || m == null || m.length() == 0)
{
a("登录帐户不正确", 1, Pica.l);
return;
}
Pica.k = null;
Pica.k = new ae();//登录进度界面
Pica.k.setFullScreenMode(true);
Pica.k.a();//登录线程开始
Pica.j.setCurrent(Pica.k);
Pica.g = null;
Pica.g = new s();//登录主要信息展示处理界面
Vector vector = null;
if (!flag)
vector = Pica.h.i;
Pica.h = null;
Pica.h = new q(Pica.g);
if (!flag)
Pica.h.i = vector;
Pica.h.start();
}
static List q()
{
return B;
}
static f r()
{
return o;
}
// Unreferenced inner class pica/a
static class a
implements CommandListener
{
public final void commandAction(Command command, Displayable displayable)
{
if (command.getLabel() == "确定")
w.r().a(w.q().getString(w.q().getSelectedIndex()));
Pica.j.setCurrent(Pica.l);
}
a()
{
}
}
// Unreferenced inner class pica/e
static class e
implements CommandListener
{
public final void commandAction(Command command, Displayable displayable)
{
pica.w.b(true);
}
e()
{
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -