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

public class Class146
{
    Class141_Sub3[] aClass141_Sub3Array1721;
    static final int anInt1722 = 128;
    static final int anInt1723 = 128;
    static final int anInt1724 = 16;
    boolean aBool1725;
    Class141_Sub3[] aClass141_Sub3Array1726 = null;
    Class141_Sub2 aClass141_Sub2_1727;
    Class141_Sub2 aClass141_Sub2_1728 = null;
    static final int anInt1729 = 4000;
    Class141_Sub2 aClass141_Sub2_1730;
    static Object anObject1731;
    static Object anObject1732;
    static Object anObject1733;
    
    static void method3526(Class87_Sub1 class87_sub1) {
	if (anObject1731 == null) {
	    Class327_Sub1_Sub1 class327_sub1_sub1 = new Class327_Sub1_Sub1();
	    byte[] is = class327_sub1_sub1.method16852(128, 128, 16);
	    anObject1731 = Class510.method11543(is, false, 1145942979);
	}
	if (anObject1732 == null) {
	    Class327_Sub2_Sub1 class327_sub2_sub1 = new Class327_Sub2_Sub1();
	    byte[] is = class327_sub2_sub1.method16849(128, 128, 16);
	    anObject1732 = Class510.method11543(is, false, 1145942979);
	}
	Class153 class153 = ((Class87_Sub1) class87_sub1).aClass153_8870;
	if (class153.method3665() && anObject1733 == null) {
	    byte[] is = Class592.method13017(128, 128, 16, 8,
					     new Class247_Sub1(419684), 4.0F,
					     4.0F, 16.0F, 0.5F, 0.6F);
	    anObject1733 = Class510.method11543(is, false, 1145942979);
	}
    }
    
    Class146(Class87_Sub1 class87_sub1) {
	((Class146) this).aClass141_Sub3Array1721 = null;
	((Class146) this).aClass141_Sub2_1727 = null;
	((Class146) this).aClass141_Sub2_1730 = null;
	((Class146) this).aBool1725 = ((Class87_Sub1) class87_sub1).aBool8875;
	method3526(class87_sub1);
	if (!((Class146) this).aBool1725) {
	    ((Class146) this).aClass141_Sub3Array1726 = new Class141_Sub3[16];
	    for (int i = 0; i < 16; i++) {
		byte[] is = Class43.method1224(anObject1731, i * 32768, 32768,
					       -755515570);
		((Class146) this).aClass141_Sub3Array1726[i]
		    = new Class141_Sub3(class87_sub1, 3553,
					Class173.aClass173_2136,
					Class90.aClass90_1040, 128, 128, true,
					is, Class173.aClass173_2136, false);
	    }
	    ((Class146) this).aClass141_Sub3Array1721 = new Class141_Sub3[16];
	    for (int i = 0; i < 16; i++) {
		byte[] is = Class43.method1224(anObject1732, i * 32768, 32768,
					       1894570808);
		((Class146) this).aClass141_Sub3Array1721[i]
		    = new Class141_Sub3(class87_sub1, 3553,
					Class173.aClass173_2136,
					Class90.aClass90_1040, 128, 128, true,
					is, Class173.aClass173_2136, false);
	    }
	} else {
	    byte[] is = Class536.method11925(anObject1731, false, 134734234);
	    ((Class146) this).aClass141_Sub2_1728
		= new Class141_Sub2(class87_sub1, Class173.aClass173_2136,
				    Class90.aClass90_1040, 128, 128, 16, is,
				    Class173.aClass173_2136);
	    is = Class536.method11925(anObject1732, false, 631798874);
	    ((Class146) this).aClass141_Sub2_1727
		= new Class141_Sub2(class87_sub1, Class173.aClass173_2136,
				    Class90.aClass90_1040, 128, 128, 16, is,
				    Class173.aClass173_2136);
	    Class153 class153 = ((Class87_Sub1) class87_sub1).aClass153_8870;
	    if (class153.method3665()) {
		is = Class536.method11925(anObject1733, false, 56086590);
		((Class146) this).aClass141_Sub2_1730
		    = new Class141_Sub2(class87_sub1, Class173.aClass173_2131,
					Class90.aClass90_1040, 128, 128, 16);
		Class141_Sub2 class141_sub2
		    = new Class141_Sub2(class87_sub1, Class173.aClass173_2130,
					Class90.aClass90_1040, 128, 128, 16,
					is, Class173.aClass173_2130);
		if (!class153.method3666(((Class146) this).aClass141_Sub2_1730,
					 class141_sub2, 2.0F)) {
		    ((Class146) this).aClass141_Sub2_1730.method3495();
		    ((Class146) this).aClass141_Sub2_1730 = null;
		} else
		    ((Class146) this).aClass141_Sub2_1730.method3507();
		class141_sub2.method3495();
	    }
	}
    }
}
