/* Class497_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.HashMap;

public class Class497_Sub1 extends Class497
{
    static int anInt10442;
    static int anInt10443;
    static boolean aBool10444;
    static int anInt10445;
    public static int anInt10446;
    public static int anInt10447;
    static int anInt10448 = 0;
    public static boolean aBool10449;
    static int anInt10450;
    static int anInt10451;
    public static int anInt10452;
    static boolean aBool10453;
    static int anInt10454;
    static int anInt10455;
    public static int anInt10456;
    static Class152[][] aClass152ArrayArray10457;
    static Class4[][] aClass4ArrayArray10458;
    static HashMap aHashMap10459;
    static HashMap aHashMap10460;
    static int anInt10461;
    public static Class666 aClass666_10462;
    public static boolean aBool10463;
    static boolean aBool10464;
    public static Class666 aClass666_10465;
    static Class647 aClass647_10466;
    static int anInt10467;
    public static boolean aBool10468;
    static int anInt10469;
    public static boolean aBool10470;
    static boolean aBool10471;
    static boolean aBool10472;
    static boolean aBool10473;
    
    static {
	anInt10443 = -1185242485;
	anInt10469 = 669096946;
	anInt10445 = -532611768;
	anInt10456 = 1558141837;
	anInt10447 = 1060350882;
	anInt10446 = 0;
	anInt10450 = 468547289;
	anInt10451 = -1120055591;
	aBool10453 = false;
	anInt10454 = -893511045;
	anInt10455 = -764453327;
	aBool10444 = false;
	aClass152ArrayArray10457 = new Class152[3][5];
	aClass4ArrayArray10458 = new Class4[3][5];
	aHashMap10459 = new HashMap();
	aHashMap10460 = new HashMap();
	anInt10461 = anInt10456 * -1654821175;
	anInt10442 = -1699169551 * anInt10447;
	aBool10473 = false;
	aBool10449 = false;
	aClass666_10465 = new Class666(8);
	aClass666_10462 = new Class666(8);
	aClass647_10466 = new Class647(new Class656());
	aBool10468 = false;
	aBool10463 = false;
	aBool10470 = false;
	aBool10471 = false;
	aBool10472 = false;
	aBool10464 = false;
    }
    
    Class497_Sub1() throws Throwable {
	throw new Error();
    }
    
    static void method9594(int i) {
	anInt10452 = -79152527 * i;
	anInt10450 = 468547289;
	anInt10451 = -1120055591;
	Class479_Sub1.method9033((byte) 51);
    }
    
    static void method9595(int i) {
	anInt10452 = -79152527 * i;
	anInt10450 = 468547289;
	anInt10451 = -1120055591;
	Class479_Sub1.method9033((byte) 45);
    }
    
    public static void method9596(int i) {
	Class60 class60 = (Class60) aHashMap10460.get(Integer.valueOf(i));
	if (class60 == null)
	    class60 = new Class60();
	((Class60) class60).anInt664 = 1023266043 * anInt10461;
	((Class60) class60).anInt663 = 154939357 * anInt10442;
	aHashMap10460.put(Integer.valueOf(i), class60);
    }
    
    public static void method9597(boolean bool) {
	aBool10473 = bool;
    }
    
    public static void method9598(boolean bool) {
	aBool10473 = bool;
    }
    
    static void method9599(int i) {
	anInt10452 = -79152527 * i;
	anInt10450 = 468547289;
	anInt10451 = -1120055591;
	Class479_Sub1.method9033((byte) 22);
    }
    
    public static void method9600(int i) {
	Class60 class60 = (Class60) aHashMap10460.get(Integer.valueOf(i));
	if (class60 == null)
	    class60 = new Class60();
	((Class60) class60).anInt664 = 1023266043 * anInt10461;
	((Class60) class60).anInt663 = 154939357 * anInt10442;
	aHashMap10460.put(Integer.valueOf(i), class60);
    }
    
    static float method9601(float f, float f_0_, float f_1_, float f_2_,
			    float f_3_, float f_4_, int i, byte i_5_) {
	float f_6_ = 0.0F;
	float f_7_ = f_2_ - f;
	float f_8_ = f_3_ - f_0_;
	float f_9_ = f_4_ - f_1_;
	float f_10_ = 0.0F;
	float f_11_ = 0.0F;
	float f_12_ = 0.0F;
	Class502 class502 = client.aClass452_10749.method5545((byte) 0);
	for (/**/; f_6_ < 1.1F; f_6_ += 0.1F) {
	    float f_13_ = f + f_6_ * f_7_;
	    float f_14_ = f_8_ * f_6_ + f_0_;
	    float f_15_ = f_9_ * f_6_ + f_1_;
	    int i_16_ = (int) f_13_ >> 9;
	    int i_17_ = (int) f_15_ >> 9;
	    if (i_16_ > 0 && i_17_ > 0
		&& i_16_ < client.aClass452_10749.method5543(-718634497)
		&& i_17_ < client.aClass452_10749.method5501(180233522)) {
		int i_18_
		    = Class54.aClass590_Sub1_Sub5_Sub1_Sub2_626.aByte10415;
		if (i_18_ < 3 && ((client.aClass452_10749.method5576((byte) 66)
				   .aByteArrayArrayArray5035[1][i_16_][i_17_])
				  & 0x2) != 0)
		    i_18_++;
		int i_19_
		    = class502.aClass132Array6867[i_18_]
			  .method1684((int) f_13_, (int) f_15_, 1526719963);
		if ((float) i_19_ < f_14_) {
		    if (i >= 2)
			return (f_6_ - 0.1F
				+ method9601(f_10_, f_11_, f_12_, f_13_, f_14_,
					     f_15_, i - 1, (byte) -68) * 0.1F);
		    return f_6_;
		}
	    }
	    f_10_ = f_13_;
	    f_11_ = f_14_;
	    f_12_ = f_15_;
	}
	return -1.0F;
    }
}
