Same SBoT.jar, decompiled with jad instead of CFR for comparison -- jad is the same decompiler the community used on RSC client dumps back in 2004 (see DeobedMC201.rar). A few methods didn't fully resolve (jad is much less capable than CFR on complex control flow); those are marked inline where jad gave up.
72 lines
1.3 KiB
Java
72 lines
1.3 KiB
Java
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
|
|
// Jad home page: http://www.geocities.com/kpdus/jad.html
|
|
// Decompiler options: packimports(3)
|
|
// Source File Name: d.java
|
|
|
|
import java.io.InputStream;
|
|
import sun.audio.AudioPlayer;
|
|
|
|
public class d extends InputStream
|
|
{
|
|
|
|
public d()
|
|
{
|
|
AudioPlayer.player.start(this);
|
|
}
|
|
|
|
public void a()
|
|
{
|
|
AudioPlayer.player.stop(this);
|
|
}
|
|
|
|
public void a(byte abyte0[], int i, int j)
|
|
{
|
|
a = abyte0;
|
|
b = i;
|
|
c = i + j;
|
|
}
|
|
|
|
public int read(byte abyte0[], int i, int j)
|
|
{
|
|
int k;
|
|
boolean flag1;
|
|
flag1 = q.d;
|
|
boolean flag = false;
|
|
k = 0;
|
|
_L6:
|
|
if(k >= j)
|
|
break; /* Loop/switch isn't completed */
|
|
b;
|
|
if(flag1) goto _L2; else goto _L1
|
|
_L1:
|
|
c;
|
|
JVM INSTR icmpge 60;
|
|
goto _L3 _L4
|
|
_L3:
|
|
break MISSING_BLOCK_LABEL_33;
|
|
_L4:
|
|
break MISSING_BLOCK_LABEL_60;
|
|
abyte0[i + k] = a[b++];
|
|
if(!flag1)
|
|
break MISSING_BLOCK_LABEL_67;
|
|
abyte0[i + k] = -1;
|
|
k++;
|
|
if(!flag1) goto _L6; else goto _L5
|
|
_L5:
|
|
j;
|
|
_L2:
|
|
return;
|
|
}
|
|
|
|
public int read()
|
|
{
|
|
byte abyte0[] = new byte[1];
|
|
read(abyte0, 0, 1);
|
|
return abyte0[0];
|
|
}
|
|
|
|
byte a[];
|
|
int b;
|
|
int c;
|
|
}
|