/* Class487 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class487
{
    public long aLong6694;
    public Class487 aClass487_6695;
    public Class487 aClass487_6696;
    
    public boolean method5994() {
	if (aClass487_6696 == null)
	    return false;
	return true;
    }
    
    public void method5995(short i) {
	if (null != aClass487_6696) {
	    aClass487_6696.aClass487_6695 = aClass487_6695;
	    aClass487_6695.aClass487_6696 = aClass487_6696;
	    aClass487_6695 = null;
	    aClass487_6696 = null;
	}
    }
    
    public boolean method5996(byte i) {
	if (aClass487_6696 == null)
	    return false;
	return true;
    }
    
    public void method5997() {
	if (null != aClass487_6696) {
	    aClass487_6696.aClass487_6695 = aClass487_6695;
	    aClass487_6695.aClass487_6696 = aClass487_6696;
	    aClass487_6695 = null;
	    aClass487_6696 = null;
	}
    }
    
    public boolean method5998() {
	if (aClass487_6696 == null)
	    return false;
	return true;
    }
    
    public boolean method5999() {
	if (aClass487_6696 == null)
	    return false;
	return true;
    }
    
    static final void method6000(Class612 class612, int i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	Class203 class203 = ((Class625) class625).aClass203_8100;
	Class579.method7061(class211, class203, class612, -1862660060);
    }
    
    static final void method6001(Class612 class612, int i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = Class447.aClass487_Sub42_5156.aClass637_Sub16_10514
		  .method9739(1277789178);
    }
    
    public static int method6002(CharSequence charsequence, int i, int i_0_) {
	return Class355.method4444(charsequence, i, true, 398874483);
    }
    
    static final void method6003(Class612 class612, int i) {
	((Class612) class612).anInt8022 -= 402182018;
	Class366.method4509((((Class612) class612).anIntArray8021
			     [-40654783 * ((Class612) class612).anInt8022]),
			    (((Class612) class612).anIntArray8021
			     [1 + (-40654783
				   * ((Class612) class612).anInt8022)]),
			    0, (byte) 0);
    }
    
    static void method6004(int[] is, double d) {
	if (d != Class137.aDouble1573) {
	    for (int i = 0; i < 256; i++) {
		int i_1_ = (int) (Math.pow((double) i / 255.0, d) * 255.0);
		Class137.anIntArray1572[i] = i_1_ > 255 ? 255 : i_1_;
	    }
	    Class137.aDouble1573 = d;
	}
	for (int i = 0; i < is.length; i++) {
	    int i_2_ = Class137.anIntArray1572[is[i] >> 16 & 0xff];
	    int i_3_ = Class137.anIntArray1572[is[i] >> 8 & 0xff];
	    int i_4_ = Class137.anIntArray1572[is[i] >> 0 & 0xff];
	    is[i] = is[i] & ~0xffffff | i_2_ << 16 | i_3_ << 8 | i_4_;
	}
    }
}
