📄 i.txt
字号:
datainputstream = new DataInputStream(bytearrayinputstream);
for(int k = 0; k < 4; k++)
{
ai[k] = datainputstream.readInt();
}
a("read QQDB record ok:2");
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception2)
{
a("close QQDB record error:2");
a(exception2);
}
break MISSING_BLOCK_LABEL_299;
Object obj2;
obj2;
a("read QQDB record error:2");
a(((Exception) (obj2)));
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception3)
{
a("close QQDB record error:2");
a(exception3);
}
break MISSING_BLOCK_LABEL_299;
obj2;
a("read QQDB record error:2");
a(((Exception) (obj2)));
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception4)
{
a("close QQDB record error:2");
a(exception4);
}
break MISSING_BLOCK_LABEL_299;
Exception exception;
exception;
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception5)
{
a("close QQDB record error:2");
a(exception5);
}
throw exception;
return ai;
}
public static void a(int j)
{
RecordStore recordstore;
DataInputStream datainputstream;
if(j != 3 && j != 4 && j != 6)
{
return;
}
recordstore = null;
Object obj = null;
datainputstream = null;
Object obj1 = null;
byte abyte0[];
recordstore = RecordStore.openRecordStore("QQDB", true);
int k = recordstore.getNumRecords();
if(k < j)
{
break MISSING_BLOCK_LABEL_379;
}
abyte0 = recordstore.getRecord(j);
if(abyte0 == null)
{
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception1)
{
a("close QQDB record error:" + j);
a(exception1);
}
return;
}
String s;
ByteArrayInputStream bytearrayinputstream = new ByteArrayInputStream(abyte0);
datainputstream = new DataInputStream(bytearrayinputstream);
s = datainputstream.readUTF();
if(!s.equals(KQQMIDlet.a_u_static_fld.a()))
{
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception2)
{
a("close QQDB record error:" + j);
a(exception2);
}
return;
}
if(j == 6)
{
for(long l = datainputstream.readLong(); l != 0L; l = datainputstream.readLong())
{
KQQMIDlet.a_ab_static_fld.a(l);
}
} else
{
for(long l1 = datainputstream.readLong(); l1 != 0L; l1 = datainputstream.readLong())
{
String s1 = datainputstream.readUTF();
short word0 = datainputstream.readShort();
if(j == 3)
{
int ai[] = KQQMIDlet.a_ab_static_fld.a(l1);
if(ai != null)
{
KQQMIDlet.a_ab_static_fld.a(ai[0], ai[1], true, s1, word0);
}
continue;
}
if(j == 4)
{
q q1 = new q(l1);
q1.a_java_lang_String_fld = s1;
q1.b = word0;
q1.a_short_fld = 20;
KQQMIDlet.a_ab_static_fld.a(q1, 3);
}
}
}
a("read QQDB record ok:" + j);
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception3)
{
a("close QQDB record error:" + j);
a(exception3);
}
break MISSING_BLOCK_LABEL_651;
Object obj2;
obj2;
a("read QQDB record error:" + j);
a(((Exception) (obj2)));
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception4)
{
a("close QQDB record error:" + j);
a(exception4);
}
break MISSING_BLOCK_LABEL_651;
obj2;
a("read QQDB record error:" + j);
a(((Exception) (obj2)));
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception5)
{
a("close QQDB record error:" + j);
a(exception5);
}
break MISSING_BLOCK_LABEL_651;
Exception exception;
exception;
try
{
if(datainputstream != null)
{
datainputstream.close();
}
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception6)
{
a("close QQDB record error:" + j);
a(exception6);
}
throw exception;
}
public static void a(Vector vector, int j)
{
RecordStore recordstore;
ByteArrayOutputStream bytearrayoutputstream;
DataOutputStream dataoutputstream;
if(j != 3 && j != 4 && j != 6)
{
return;
}
recordstore = null;
bytearrayoutputstream = new ByteArrayOutputStream();
dataoutputstream = new DataOutputStream(bytearrayoutputstream);
Object obj = null;
int k;
recordstore = RecordStore.openRecordStore("QQDB", true);
k = recordstore.getNumRecords();
if(k < j)
{
try
{
dataoutputstream.close();
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception2)
{
a("close QQDB record error:" + j);
a(exception2);
}
return;
}
dataoutputstream.writeUTF(KQQMIDlet.a_u_static_fld.a());
if(j == 6)
{
long l = 0L;
Object obj1 = null;
for(int j1 = 0; j1 < vector.size(); j1++)
{
long l1 = ((Long)vector.elementAt(j1)).longValue();
int ai[] = KQQMIDlet.a_ab_static_fld.a(l1);
if(ai != null && ai[0] != 2)
{
dataoutputstream.writeLong(l1);
}
}
} else
{
for(int i1 = 0; i1 < vector.size(); i1++)
{
q q1 = (q)vector.elementAt(i1);
if(q1.a_short_fld != 0)
{
dataoutputstream.writeLong(q1.a_long_fld);
dataoutputstream.writeUTF(q1.a_java_lang_String_fld);
dataoutputstream.writeShort(q1.b);
}
}
}
dataoutputstream.writeLong(0L);
byte abyte0[] = bytearrayoutputstream.toByteArray();
recordstore.setRecord(j, abyte0, 0, abyte0.length);
a("write QQDB record ok:" + j);
try
{
dataoutputstream.close();
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception3)
{
a("close QQDB record error:" + j);
a(exception3);
}
break MISSING_BLOCK_LABEL_485;
Exception exception;
exception;
a("write QQDB record error:" + j);
a(exception);
try
{
dataoutputstream.close();
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception4)
{
a("close QQDB record error:" + j);
a(exception4);
}
break MISSING_BLOCK_LABEL_485;
Exception exception1;
exception1;
try
{
dataoutputstream.close();
if(recordstore != null)
{
recordstore.closeRecordStore();
recordstore = null;
}
}
catch(Exception exception5)
{
a("close QQDB record error:" + j);
a(exception5);
}
throw exception1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -