📄 b.java
字号:
W.a(s1, true);
W.a(aobj, s3, (byte)1);
} catch (Exception ex) {
ex.printStackTrace();
}
return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
}
final synchronized void a(String s1, String s2, String s3, int i1, String s4)
{
byte byte0 = 0;
if (s4.equals("enter"))
byte0 = 3;
else
if (s4.equals("leave"))
byte0 = 2;
else
if (s4.equals("exit"))
byte0 = 1;
Object aobj[] = {
new Byte((byte)3), s1, new Byte(byte0), s2, s3, new Integer(i1), s4
};
Object aobj1[];
if ((aobj1 = X.b(s1)) != null)
X.a(((Object) (aobj1)));
X.a(aobj, true);
}
final synchronized void a(String s1, String s2, String s3, String s4, String s5)
{
try {
Object aobj[];
Object aobj1[];
byte byte0 = 2;
if (s5.equals("member"))
byte0 = 2;
else
if (s5.equals("owner"))
byte0 = 1;
else
if (s5.equals("pending"))
byte0 = 3;
aobj = (new Object[] {
new Byte((byte)2), s1, new Byte(byte0), null, s2, s4, new Byte((byte)3)
});
aobj1 = W.a(s1);
if (aobj1 != null)
W.a(s1, true);
W.a(aobj, s3, (byte)2);
} catch (Exception ex) {
ex.printStackTrace();
}
return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
}
final synchronized void f(String s1)
{
try {
W.a(s1, true);
} catch (Exception ex) {
ex.printStackTrace();
}
return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
}
final synchronized void a(String s1, String s2, String s3, String s4, String s5, String s6, Date date,
String as[][], String s7, String s8, String s9, String s10, Vector vector)
{
s1 = s1.indexOf('/') != -1 ? s1.substring(0, s1.indexOf('/')) : s1;
String s11 = null;
Object aobj[];
if (s8 != null)
s11 = s8;
else
if ((aobj = a(s1)) != null)
s11 = (String)aobj[4];
else
if (s1.equals("freesms.pica"))
s11 = "PICA短信";
else
if (s1.indexOf("@") > 0)
s11 = s1.substring(0, s1.indexOf("@"));
else
if (s1.endsWith("pica"))
s11 = "系统消息";
aobj = (new Object[] {
new Byte((byte)3), new Integer(-1), s1, s11, s2, s3, s4, s5, s6, date != null ? date : new Date(),
new Byte((byte)0), as, s7, null, s9, s10, vector
});
if (s1.indexOf("cluster") != -1 || s1.indexOf("@game.pica") != -1)
{
Object aobj1[];
if (s8 != null)
aobj[3] = s8;
else
if ((aobj1 = c(s1)) != null)
aobj[3] = aobj1[3];
else
if (s1.indexOf("%") == -1)
aobj[3] = "公告";
else
aobj[3] = s1.substring(0, s1.indexOf("%"));
if (A != null && s1.indexOf(A) != -1)
{
if (s3 == null || s3.length() == 0)
{
aobj[10] = new Byte((byte)1);
z.addElement(((Object) (aobj)));
} else
if (!s1.startsWith(a))
z.addElement(((Object) (aobj)));
if (z.size() > 15)
z.removeElementAt(0);
}
if (!s1.startsWith(a))
{
R.a(44, ((Object) (aobj)));
return;
}
} else
{
if (s1.equals("pica") || s1.endsWith("@pica") || s1.endsWith("@qq.pica") || s1.endsWith("@msn.pica") || s1.endsWith("@cluster.qq.pica"))
{
T.a(aobj, false);
b(aobj);
if (T.b() > 15)
a(T.a(0));
if (s1.indexOf("@pica") > 0 && a(s1) == null)
{
a(s1, (byte)2, s1.substring(0, s1.indexOf("@")), 0, "", "陌生人", (byte)3);
R.a(8, null);
}
R.a(43, ((Object) (aobj)));
return;
}
V.a(aobj, false);
if (V.b() > 10)
V.b(10);
}
}
public final synchronized void a(Object aobj[])
{
T.a(((Object) (aobj)));
a(((Integer)aobj[1]).intValue());
if (((Byte)aobj[10]).byteValue() == 0)
y--;
}
public final synchronized void b(Object aobj[])
{
try {
String s1;
RecordStore recordstore;
s1 = "Msg-" + a;
recordstore = null;
recordstore = RecordStore.openRecordStore(s1, true);
if (((Byte)aobj[10]).byteValue() == 3)
{
recordstore.deleteRecord(((Integer)aobj[1]).intValue());
} else
{
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
DataOutputStream dataoutputstream = new DataOutputStream(bytearrayoutputstream);
boolean flag = true;
try
{
recordstore.getRecord(((Integer)aobj[1]).intValue());
}
catch (Exception e)
{
flag = false;
}
if (!flag)
aobj[1] = new Integer(recordstore.getNextRecordID());
dataoutputstream.writeUTF(aobj[2] != null ? (String)aobj[2] : "");
dataoutputstream.writeUTF(aobj[3] != null ? (String)aobj[3] : "");
dataoutputstream.writeUTF(aobj[4] != null ? (String)aobj[4] : "");
dataoutputstream.writeUTF(aobj[5] != null ? (String)aobj[5] : "");
dataoutputstream.writeUTF(aobj[6] != null ? (String)aobj[6] : "");
dataoutputstream.writeUTF(aobj[7] != null ? (String)aobj[7] : "");
dataoutputstream.writeUTF(aobj[8] != null ? (String)aobj[8] : "");
dataoutputstream.writeLong(((Date)aobj[9]).getTime());
dataoutputstream.writeByte(((Byte)aobj[10]).byteValue());
dataoutputstream.writeUTF(aobj[14] != null ? (String)aobj[14] : "");
dataoutputstream.writeUTF(aobj[15] != null ? (String)aobj[15] : "");
byte abyte0[] = bytearrayoutputstream.toByteArray();
if (flag)
{
recordstore.setRecord(((Integer)aobj[1]).intValue(), abyte0, 0, abyte0.length);
y--;
} else
{
recordstore.addRecord(abyte0, 0, abyte0.length);
if (((Byte)aobj[10]).byteValue() == 0)
y++;
}
dataoutputstream.close();
bytearrayoutputstream.close();
}
recordstore.closeRecordStore();
recordstore = null;
} catch (RecordStoreNotOpenException ex) {
ex.printStackTrace();
} catch (InvalidRecordIDException ex) {
ex.printStackTrace();
} catch (RecordStoreException ex) {
ex.printStackTrace();
} catch (Exception ex) {
ex.printStackTrace();
}
return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
// if (recordstore != null)
// try
// {
// recordstore.closeRecordStore();
// return;
// }
// catch (Exception e) { }
// return;
}
private synchronized void a(int i1)
{
String s1 = "Msg-" + a;
RecordStore recordstore = null;
try
{
(recordstore = RecordStore.openRecordStore(s1, true)).deleteRecord(i1);
recordstore.closeRecordStore();
return;
}
catch (Exception e) { }
if (recordstore != null)
try
{
recordstore.closeRecordStore();
return;
}
catch (Exception e) { }
}
public final synchronized void u()
{
T.a();
y = 0;
String s1 = "Msg-" + a;
try
{
RecordStore.deleteRecordStore(s1);
return;
}
catch (Exception e)
{
return;
}
}
public final synchronized void v()
{
try{
String s1;
RecordStore recordstore;
RecordEnumeration recordenumeration;
s1 = "Msg-" + a;
recordstore = null;
recordenumeration = null;
if ((recordstore = RecordStore.openRecordStore(s1, false)) != null && recordstore.getNumRecords() > 0)
{
DataInputStream datainputstream;
for (recordenumeration = recordstore.enumerateRecords(null, null, true); recordenumeration.hasNextElement(); datainputstream.close())
{
int i1 = recordenumeration.nextRecordId();
byte abyte0[] = recordstore.getRecord(i1);
String s2 = (datainputstream = new DataInputStream(new ByteArrayInputStream(abyte0))).readUTF();
String s3 = datainputstream.readUTF();
String s4 = datainputstream.readUTF();
String s5 = datainputstream.readUTF();
String s6 = datainputstream.readUTF();
String s7 = datainputstream.readUTF();
String s8 = datainputstream.readUTF();
long l1 = datainputstream.readLong();
byte byte0 = datainputstream.readByte();
String s9 = datainputstream.readUTF();
String s10 = datainputstream.readUTF();
System.out.println("rid=" + i1);
c(new Object[] {
new Byte((byte)3), new Integer(i1), s2, s3, s4, s5, s6, s7, s8, new Date(l1),
new Byte(byte0), null, null, null, s9, s10, null
});
}
recordenumeration.destroy();
}
recordstore.closeRecordStore();
} catch (RecordStoreNotOpenException ex) {
ex.printStackTrace();
} catch (RecordStoreException ex) {
ex.printStackTrace();
} catch (Exception ex) {
ex.printStackTrace();
}
return;
// JVM INSTR dup ;
// Exception exception;
// exception;
// printStackTrace();
// if (recordenumeration != null)
// recordenumeration.destroy();
// if (recordstore != null)
// try
// {
// recordstore.closeRecordStore();
// }
// catch (Exception e) { }
// try
// {
// RecordStore.deleteRecordStore(s1);
// return;
// }
// catch (Exception e)
// {
// return;
// }
}
private void c(Object aobj[])
{
if (((Byte)aobj[10]).byteValue() == 0)
y++;
for (int i1 = 0; i1 < T.b(); i1++)
{
Object aobj1[];
if (((Integer)(aobj1 = (Object[])T.a(i1))[1]).intValue() > ((Integer)aobj[1]).intValue())
{
T.a(aobj, i1);
return;
}
}
T.a(aobj, false);
}
public final f w()
{
return S;
}
public final f x()
{
return Y;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -