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

import jaggl.OpenGL;

public class Class230_Sub1 extends Class230
{
    static float[] aFloatArray9672;
    static final int anInt9673 = 35632;
    static final int anInt9674 = 13;
    Class151_Sub2_Sub2 aClass151_Sub2_Sub2_9675;
    Class229_Sub1 aClass229_Sub1_9676;
    Map aMap9677;
    Map aMap9678;
    int anInt9679;
    int anInt9680 = 0;
    int anInt9681 = 0;
    static int[] anIntArray9682;
    Map aMap9683;
    boolean aBool9684;
    Map aMap9685;
    Map aMap9686;
    String aString9687;
    static final int anInt9688 = 35633;
    int[] anIntArray9689;
    String aString9690;
    static boolean $assertionsDisabled
	= !Class230_Sub1.class.desiredAssertionStatus();
    
    public boolean method3359() {
	if (((Class230_Sub1) this).aBool9684)
	    return true;
	((Class151_Sub2_Sub2) ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675)
	    .aClass230_Sub1_11209
	    = null;
	((Class230_Sub1) this).anInt9681
	    = method8793(35633, ((Class230_Sub1) this).aString9687,
			 aString2607);
	((Class230_Sub1) this).anInt9679
	    = method8793(35632, ((Class230_Sub1) this).aString9690,
			 aString2606);
	if (((Class230_Sub1) this).anInt9681 == 0
	    || ((Class230_Sub1) this).anInt9679 == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    return false;
	}
	((Class230_Sub1) this).anInt9680 = OpenGL.glCreateProgram();
	if (((Class230_Sub1) this).anInt9681 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9681);
	if (((Class230_Sub1) this).anInt9679 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9679);
	OpenGL.glLinkProgram(((Class230_Sub1) this).anInt9680);
	OpenGL.glGetProgramiv(((Class230_Sub1) this).anInt9680, 35714,
			      anIntArray9682, 0);
	if (anIntArray9682[0] == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9681);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    }
	    if (((Class230_Sub1) this).anInt9679 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9679);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    }
	    OpenGL.glDeleteProgram(((Class230_Sub1) this).anInt9680);
	    return false;
	}
	OpenGL.glUseProgram(((Class230_Sub1) this).anInt9680);
	int i = -1;
	for (int i_0_ = 0; i_0_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3270(1929622727); i_0_++) {
	    if (((Class230_Sub1) this).aClass229_Sub1_9676
		    .method3314(i_0_, -670261326)
		== this) {
		i = i_0_;
		break;
	    }
	}
	if (i == -1)
	    return false;
	for (int i_1_ = 0; i_1_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3321(1013179536); i_1_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3299(i_1_, -128616084);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	for (int i_2_ = 0; i_2_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3306((byte) -104); i_2_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3297(i_2_, (byte) 108);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	((Class230_Sub1) this).aString9687 = null;
	((Class230_Sub1) this).aString9690 = null;
	((Class230_Sub1) this).aBool9684 = true;
	return true;
    }
    
    Class230_Sub1(Class151_Sub2_Sub2 class151_sub2_sub2, Class254 class254) {
	((Class230_Sub1) this).anInt9679 = 0;
	((Class230_Sub1) this).aBool9684 = false;
	((Class230_Sub1) this).anIntArray9689 = new int[13];
	((Class230_Sub1) this).aMap9678 = new HashMap();
	((Class230_Sub1) this).aMap9685 = new HashMap();
	((Class230_Sub1) this).aMap9686 = new HashMap();
	((Class230_Sub1) this).aMap9683 = new HashMap();
	((Class230_Sub1) this).aMap9677 = new HashMap();
	aString2608 = class254.aString2964;
	StringBuilder stringbuilder = new StringBuilder();
	if (class254.aString2961 != null) {
	    aString2607 = class254.aString2961;
	    if (class254.aClass244Array2965 != null) {
		Class244[] class244s = class254.aClass244Array2965;
		for (int i = 0; i < class244s.length; i++) {
		    Class244 class244 = class244s[i];
		    stringbuilder.append(new StringBuilder().append
					     ("#define ").append
					     (class244.aString2820).append
					     (" ").append
					     (class244.aString2819).append
					     ('\n').toString());
		}
	    }
	    stringbuilder.append(new String(class151_sub2_sub2
						.method10227(aString2607)));
	    ((Class230_Sub1) this).aString9687 = stringbuilder.toString();
	}
	if (class254.aString2963 != null) {
	    aString2606 = class254.aString2963;
	    stringbuilder.setLength(0);
	    if (class254.aClass244Array2962 != null) {
		Class244[] class244s = class254.aClass244Array2962;
		for (int i = 0; i < class244s.length; i++) {
		    Class244 class244 = class244s[i];
		    stringbuilder.append(new StringBuilder().append
					     ("#define ").append
					     (class244.aString2820).append
					     (" ").append
					     (class244.aString2819).append
					     ('\n').toString());
		}
	    }
	    stringbuilder.append(new String(class151_sub2_sub2
						.method10227(aString2606)));
	    ((Class230_Sub1) this).aString9690 = stringbuilder.toString();
	}
	Class643.method7645(((Class230_Sub1) this).anIntArray9689, 0,
			    ((Class230_Sub1) this).anIntArray9689.length, -1);
    }
    
    void method3349(int i, float[] fs, int i_3_) {
	OpenGL.glUniform4fv(i, i_3_, fs, 0);
    }
    
    public boolean method3365() {
	if (((Class230_Sub1) this).aBool9684)
	    return true;
	((Class151_Sub2_Sub2) ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675)
	    .aClass230_Sub1_11209
	    = null;
	((Class230_Sub1) this).anInt9681
	    = method8793(35633, ((Class230_Sub1) this).aString9687,
			 aString2607);
	((Class230_Sub1) this).anInt9679
	    = method8793(35632, ((Class230_Sub1) this).aString9690,
			 aString2606);
	if (((Class230_Sub1) this).anInt9681 == 0
	    || ((Class230_Sub1) this).anInt9679 == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    return false;
	}
	((Class230_Sub1) this).anInt9680 = OpenGL.glCreateProgram();
	if (((Class230_Sub1) this).anInt9681 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9681);
	if (((Class230_Sub1) this).anInt9679 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9679);
	OpenGL.glLinkProgram(((Class230_Sub1) this).anInt9680);
	OpenGL.glGetProgramiv(((Class230_Sub1) this).anInt9680, 35714,
			      anIntArray9682, 0);
	if (anIntArray9682[0] == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9681);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    }
	    if (((Class230_Sub1) this).anInt9679 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9679);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    }
	    OpenGL.glDeleteProgram(((Class230_Sub1) this).anInt9680);
	    return false;
	}
	OpenGL.glUseProgram(((Class230_Sub1) this).anInt9680);
	int i = -1;
	for (int i_4_ = 0; i_4_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3270(1488501322); i_4_++) {
	    if (((Class230_Sub1) this).aClass229_Sub1_9676
		    .method3314(i_4_, -1684529919)
		== this) {
		i = i_4_;
		break;
	    }
	}
	if (i == -1)
	    return false;
	for (int i_5_ = 0; i_5_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3321(1112117343); i_5_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3299(i_5_, -1125859582);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	for (int i_6_ = 0; i_6_ < ((Class230_Sub1) this)
				      .aClass229_Sub1_9676
				      .method3306((byte) -101); i_6_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3297(i_6_, (byte) 67);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	((Class230_Sub1) this).aString9687 = null;
	((Class230_Sub1) this).aString9690 = null;
	((Class230_Sub1) this).aBool9684 = true;
	return true;
    }
    
    void method3341(Class487_Sub31_Sub1 class487_sub31_sub1, float f) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		if ((class487_sub31_sub1.method10262(603300654)
		     != Class242.aClass242_2715)
		    && (class487_sub31_sub1.method10262(603300654)
			!= Class242.aClass242_2761))
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform1f(i, f);
	    }
	}
    }
    
    void method3369(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_7_, float f_8_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_7_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_8_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_7_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_8_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_7_, f_8_);
	    }
	}
    }
    
    void method3343(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_9_, float f_10_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_9_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_10_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_9_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_10_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_9_, f_10_);
	    }
	}
    }
    
    void method3344(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_11_, float f_12_, float f_13_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_11_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_12_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i)))
		       .floatValue() != f_13_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_11_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_12_));
		((Class230_Sub1) this).aMap9683.put(Integer.valueOf(i),
						    Float.valueOf(f_13_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2697)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform4f(i, f, f_11_, f_12_, f_13_);
	    }
	}
    }
    
    void method3345(Class487_Sub31_Sub1 class487_sub31_sub1, float[] fs,
		    int i) {
	int i_14_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_14_ != -1)
	    OpenGL.glUniform4fv(i_14_, i, fs, 0);
    }
    
    Class230_Sub1(Class151_Sub2_Sub2 class151_sub2_sub2,
		  Class229_Sub1 class229_sub1, Class254 class254) {
	this(class151_sub2_sub2, class254);
	((Class230_Sub1) this).aClass229_Sub1_9676 = class229_sub1;
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675 = class151_sub2_sub2;
    }
    
    void method3348(Class487_Sub31_Sub1 class487_sub31_sub1, int i,
		    Interface40 interface40) {
	int i_15_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_15_ != -1) {
	    if (interface40 == null)
		interface40 = (((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
			       .anInterface31_8980);
	    if (i
		< ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.anInt9063) {
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i);
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method8314(interface40);
	    } else {
		OpenGL.glActiveTexture(33984 + i);
		OpenGL.glBindTexture((((Class461) (Class461) interface40)
				      .anInt5273),
				     (((Class461) (Class461) interface40)
				      .anInt5272));
	    }
	    if ((((Class230_Sub1) this).aMap9677.get(Integer.valueOf(i_15_))
		 == null)
		|| ((Integer) ((Class230_Sub1) this).aMap9677
				  .get(Integer.valueOf(i_15_)))
		       .intValue() != i) {
		((Class230_Sub1) this).aMap9677.put(Integer.valueOf(i_15_),
						    Integer.valueOf(i));
		OpenGL.glUniform1i(i_15_, i);
	    }
	}
    }
    
    void method3354(int i, float f, float f_16_, float f_17_) {
	OpenGL.glUniform3f(i, f, f_16_, f_17_);
    }
    
    void method3350(int i, float f, float f_18_, float f_19_, float f_20_) {
	OpenGL.glUniform4f(i, f, f_18_, f_19_, f_20_);
    }
    
    public void method80() {
	if (((Class230_Sub1) this).anInt9680 != 0) {
	    ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		.method10223(((Class230_Sub1) this).anInt9680);
	    if (((Class230_Sub1) this).anInt9681 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9679);
	    ((Class230_Sub1) this).anInt9680 = 0;
	    ((Class230_Sub1) this).anInt9681 = 0;
	    ((Class230_Sub1) this).anInt9679 = 0;
	}
    }
    
    void method3352(int i, Class403 class403) {
	OpenGL.glUniform3fv(i, 3, class403.method4885(aFloatArray9672), 0);
    }
    
    void method3368(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_21_, float f_22_, float f_23_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_21_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_22_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i)))
		       .floatValue() != f_23_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_21_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_22_));
		((Class230_Sub1) this).aMap9683.put(Integer.valueOf(i),
						    Float.valueOf(f_23_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2697)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform4f(i, f, f_21_, f_22_, f_23_);
	    }
	}
    }
    
    void method3386(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_24_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_24_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_24_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2716)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform2f(i, f, f_24_);
	    }
	}
    }
    
    void method3355(int i, int i_25_, Interface40 interface40) {
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i_25_);
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
	    .method8314(interface40);
	OpenGL.glUniform1i(i, i_25_);
    }
    
    void method3342(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_26_, float f_27_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_26_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_27_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_26_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_27_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_26_, f_27_);
	    }
	}
    }
    
    public void finalize() {
	method80();
    }
    
    static {
	anIntArray9682 = new int[2];
	aFloatArray9672 = new float[16];
    }
    
    public void method81() {
	if (((Class230_Sub1) this).anInt9680 != 0) {
	    ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		.method10223(((Class230_Sub1) this).anInt9680);
	    if (((Class230_Sub1) this).anInt9681 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9679);
	    ((Class230_Sub1) this).anInt9680 = 0;
	    ((Class230_Sub1) this).anInt9681 = 0;
	    ((Class230_Sub1) this).anInt9679 = 0;
	}
    }
    
    public void method79() {
	if (((Class230_Sub1) this).anInt9680 != 0) {
	    ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		.method10223(((Class230_Sub1) this).anInt9680);
	    if (((Class230_Sub1) this).anInt9681 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method10222((long) ((Class230_Sub1) this).anInt9679);
	    ((Class230_Sub1) this).anInt9680 = 0;
	    ((Class230_Sub1) this).anInt9681 = 0;
	    ((Class230_Sub1) this).anInt9679 = 0;
	}
    }
    
    void method8791() {
	method80();
    }
    
    public boolean method3360() {
	if (((Class230_Sub1) this).aBool9684)
	    return true;
	((Class151_Sub2_Sub2) ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675)
	    .aClass230_Sub1_11209
	    = null;
	((Class230_Sub1) this).anInt9681
	    = method8793(35633, ((Class230_Sub1) this).aString9687,
			 aString2607);
	((Class230_Sub1) this).anInt9679
	    = method8793(35632, ((Class230_Sub1) this).aString9690,
			 aString2606);
	if (((Class230_Sub1) this).anInt9681 == 0
	    || ((Class230_Sub1) this).anInt9679 == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    return false;
	}
	((Class230_Sub1) this).anInt9680 = OpenGL.glCreateProgram();
	if (((Class230_Sub1) this).anInt9681 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9681);
	if (((Class230_Sub1) this).anInt9679 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9679);
	OpenGL.glLinkProgram(((Class230_Sub1) this).anInt9680);
	OpenGL.glGetProgramiv(((Class230_Sub1) this).anInt9680, 35714,
			      anIntArray9682, 0);
	if (anIntArray9682[0] == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9681);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    }
	    if (((Class230_Sub1) this).anInt9679 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9679);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    }
	    OpenGL.glDeleteProgram(((Class230_Sub1) this).anInt9680);
	    return false;
	}
	OpenGL.glUseProgram(((Class230_Sub1) this).anInt9680);
	int i = -1;
	for (int i_28_ = 0; i_28_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3270(1851550185); i_28_++) {
	    if (((Class230_Sub1) this).aClass229_Sub1_9676
		    .method3314(i_28_, 1335630468)
		== this) {
		i = i_28_;
		break;
	    }
	}
	if (i == -1)
	    return false;
	for (int i_29_ = 0; i_29_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3321(908748755); i_29_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3299(i_29_, -1311583176);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	for (int i_30_ = 0; i_30_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3306((byte) -75); i_30_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3297(i_30_, (byte) 84);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	((Class230_Sub1) this).aString9687 = null;
	((Class230_Sub1) this).aString9690 = null;
	((Class230_Sub1) this).aBool9684 = true;
	return true;
    }
    
    public boolean method3346() {
	if (((Class230_Sub1) this).aBool9684)
	    return true;
	((Class151_Sub2_Sub2) ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675)
	    .aClass230_Sub1_11209
	    = null;
	((Class230_Sub1) this).anInt9681
	    = method8793(35633, ((Class230_Sub1) this).aString9687,
			 aString2607);
	((Class230_Sub1) this).anInt9679
	    = method8793(35632, ((Class230_Sub1) this).aString9690,
			 aString2606);
	if (((Class230_Sub1) this).anInt9681 == 0
	    || ((Class230_Sub1) this).anInt9679 == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    if (((Class230_Sub1) this).anInt9679 != 0)
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    return false;
	}
	((Class230_Sub1) this).anInt9680 = OpenGL.glCreateProgram();
	if (((Class230_Sub1) this).anInt9681 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9681);
	if (((Class230_Sub1) this).anInt9679 != 0)
	    OpenGL.glAttachShader(((Class230_Sub1) this).anInt9680,
				  ((Class230_Sub1) this).anInt9679);
	OpenGL.glLinkProgram(((Class230_Sub1) this).anInt9680);
	OpenGL.glGetProgramiv(((Class230_Sub1) this).anInt9680, 35714,
			      anIntArray9682, 0);
	if (anIntArray9682[0] == 0) {
	    if (((Class230_Sub1) this).anInt9681 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9681);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9681);
	    }
	    if (((Class230_Sub1) this).anInt9679 != 0) {
		OpenGL.glDetachShader(((Class230_Sub1) this).anInt9680,
				      ((Class230_Sub1) this).anInt9679);
		OpenGL.glDeleteShader(((Class230_Sub1) this).anInt9679);
	    }
	    OpenGL.glDeleteProgram(((Class230_Sub1) this).anInt9680);
	    return false;
	}
	OpenGL.glUseProgram(((Class230_Sub1) this).anInt9680);
	int i = -1;
	for (int i_31_ = 0; i_31_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3270(1622950059); i_31_++) {
	    if (((Class230_Sub1) this).aClass229_Sub1_9676
		    .method3314(i_31_, -1994539377)
		== this) {
		i = i_31_;
		break;
	    }
	}
	if (i == -1)
	    return false;
	for (int i_32_ = 0; i_32_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3321(1295215842); i_32_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3299(i_32_, 903081001);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	for (int i_33_ = 0; i_33_ < ((Class230_Sub1) this)
					.aClass229_Sub1_9676
					.method3306((byte) -81); i_33_++) {
	    Class487_Sub31_Sub1 class487_sub31_sub1
		= ((Class230_Sub1) this).aClass229_Sub1_9676
		      .method3297(i_33_, (byte) 74);
	    if (class487_sub31_sub1 != null)
		class487_sub31_sub1.method10258(i);
	}
	((Class230_Sub1) this).aString9687 = null;
	((Class230_Sub1) this).aString9690 = null;
	((Class230_Sub1) this).aBool9684 = true;
	return true;
    }
    
    void method3392(int i, float[] fs, int i_34_) {
	OpenGL.glUniform4fv(i, i_34_, fs, 0);
    }
    
    void method3372(Class487_Sub31_Sub1 class487_sub31_sub1, float[] fs,
		    int i) {
	int i_35_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_35_ != -1)
	    OpenGL.glUniform4fv(i_35_, i, fs, 0);
    }
    
    void method3361(Class487_Sub31_Sub1 class487_sub31_sub1, float f) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		if ((class487_sub31_sub1.method10262(603300654)
		     != Class242.aClass242_2715)
		    && (class487_sub31_sub1.method10262(603300654)
			!= Class242.aClass242_2761))
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform1f(i, f);
	    }
	}
    }
    
    void method3384(Class487_Sub31_Sub1 class487_sub31_sub1,
		    Class403 class403) {
	if (!$assertionsDisabled && (class487_sub31_sub1.method10262(603300654)
				     != Class242.aClass242_2734))
	    throw new AssertionError();
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1)
	    OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3388(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_36_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_36_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_36_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2716)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform2f(i, f, f_36_);
	    }
	}
    }
    
    void method3381(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_37_, float f_38_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_37_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_38_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_37_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_38_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_37_, f_38_);
	    }
	}
    }
    
    void method3340(Class487_Sub31_Sub1 class487_sub31_sub1,
		    Class403 class403) {
	if (!$assertionsDisabled && (class487_sub31_sub1.method10262(603300654)
				     != Class242.aClass242_2732))
	    throw new AssertionError();
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1)
	    OpenGL.glUniform2fv(i, 4, class403.method4887(aFloatArray9672), 0);
    }
    
    void method3387(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_39_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_39_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_39_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2716)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform2f(i, f, f_39_);
	    }
	}
    }
    
    void method3362(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_40_, float f_41_, float f_42_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_40_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_41_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i)))
		       .floatValue() != f_42_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_40_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_41_));
		((Class230_Sub1) this).aMap9683.put(Integer.valueOf(i),
						    Float.valueOf(f_42_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2697)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform4f(i, f, f_40_, f_41_, f_42_);
	    }
	}
    }
    
    void method3353(int i, Class403 class403) {
	OpenGL.glUniform2fv(i, 4, class403.method4887(aFloatArray9672), 0);
    }
    
    void method8792() {
	method80();
    }
    
    int method8793(int i, String string, String string_43_) {
	if (string == null)
	    return 0;
	int i_44_ = OpenGL.glCreateShader(i);
	OpenGL.glShaderSource(i_44_, string);
	OpenGL.glCompileShader(i_44_);
	OpenGL.glGetShaderiv(i_44_, 35713, anIntArray9682, 0);
	if (anIntArray9682[0] == 0) {
	    OpenGL.glDeleteShader(i_44_);
	    i_44_ = 0;
	}
	return i_44_;
    }
    
    void method3371(Class487_Sub31_Sub1 class487_sub31_sub1, float[] fs,
		    int i) {
	int i_45_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_45_ != -1)
	    OpenGL.glUniform4fv(i_45_, i, fs, 0);
    }
    
    void method3389(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_46_, float f_47_, float f_48_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_46_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_47_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9683.get(Integer.valueOf(i)))
		       .floatValue() != f_48_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_46_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_47_));
		((Class230_Sub1) this).aMap9683.put(Integer.valueOf(i),
						    Float.valueOf(f_48_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2697)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform4f(i, f, f_46_, f_47_, f_48_);
	    }
	}
    }
    
    void method3373(Class487_Sub31_Sub1 class487_sub31_sub1,
		    Class403 class403) {
	if (!$assertionsDisabled && (class487_sub31_sub1.method10262(603300654)
				     != Class242.aClass242_2732))
	    throw new AssertionError();
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1)
	    OpenGL.glUniform2fv(i, 4, class403.method4887(aFloatArray9672), 0);
    }
    
    void method3374(Class487_Sub31_Sub1 class487_sub31_sub1,
		    Class403 class403) {
	if (!$assertionsDisabled && (class487_sub31_sub1.method10262(603300654)
				     != Class242.aClass242_2734))
	    throw new AssertionError();
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1)
	    OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3375(Class487_Sub31_Sub1 class487_sub31_sub1,
		    Class403 class403) {
	if (!$assertionsDisabled && (class487_sub31_sub1.method10262(603300654)
				     != Class242.aClass242_2734))
	    throw new AssertionError();
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1)
	    OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3357(Class487_Sub31_Sub1 class487_sub31_sub1, float[] fs,
		    int i) {
	int i_49_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_49_ != -1)
	    OpenGL.glUniform4fv(i_49_, i, fs, 0);
    }
    
    void method3377(Class487_Sub31_Sub1 class487_sub31_sub1, int i,
		    Interface40 interface40) {
	int i_50_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_50_ != -1) {
	    if (interface40 == null)
		interface40 = (((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
			       .anInterface31_8980);
	    if (i
		< ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.anInt9063) {
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i);
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method8314(interface40);
	    } else {
		OpenGL.glActiveTexture(33984 + i);
		OpenGL.glBindTexture((((Class461) (Class461) interface40)
				      .anInt5273),
				     (((Class461) (Class461) interface40)
				      .anInt5272));
	    }
	    if ((((Class230_Sub1) this).aMap9677.get(Integer.valueOf(i_50_))
		 == null)
		|| ((Integer) ((Class230_Sub1) this).aMap9677
				  .get(Integer.valueOf(i_50_)))
		       .intValue() != i) {
		((Class230_Sub1) this).aMap9677.put(Integer.valueOf(i_50_),
						    Integer.valueOf(i));
		OpenGL.glUniform1i(i_50_, i);
	    }
	}
    }
    
    void method3378(Class487_Sub31_Sub1 class487_sub31_sub1, int i,
		    Interface40 interface40) {
	int i_51_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_51_ != -1) {
	    if (interface40 == null)
		interface40 = (((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
			       .anInterface31_8980);
	    if (i
		< ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.anInt9063) {
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i);
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method8314(interface40);
	    } else {
		OpenGL.glActiveTexture(33984 + i);
		OpenGL.glBindTexture((((Class461) (Class461) interface40)
				      .anInt5273),
				     (((Class461) (Class461) interface40)
				      .anInt5272));
	    }
	    if ((((Class230_Sub1) this).aMap9677.get(Integer.valueOf(i_51_))
		 == null)
		|| ((Integer) ((Class230_Sub1) this).aMap9677
				  .get(Integer.valueOf(i_51_)))
		       .intValue() != i) {
		((Class230_Sub1) this).aMap9677.put(Integer.valueOf(i_51_),
						    Integer.valueOf(i));
		OpenGL.glUniform1i(i_51_, i);
	    }
	}
    }
    
    void method3379(int i, float f, float f_52_, float f_53_, float f_54_) {
	OpenGL.glUniform4f(i, f, f_52_, f_53_, f_54_);
    }
    
    void method3380(int i, Class403 class403) {
	OpenGL.glUniform3fv(i, 3, class403.method4885(aFloatArray9672), 0);
    }
    
    void method3370(int i, Class403 class403) {
	OpenGL.glUniform3fv(i, 3, class403.method4885(aFloatArray9672), 0);
    }
    
    void method3358(int i, Class403 class403) {
	OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3383(int i, int i_55_, Interface40 interface40) {
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i_55_);
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
	    .method8314(interface40);
	OpenGL.glUniform1i(i, i_55_);
    }
    
    void method3363(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_56_, float f_57_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_56_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_57_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_56_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_57_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_56_, f_57_);
	    }
	}
    }
    
    void method3385(int i, int i_58_, Interface40 interface40) {
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i_58_);
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
	    .method8314(interface40);
	OpenGL.glUniform1i(i, i_58_);
    }
    
    void method3376(int i, int i_59_, Interface40 interface40) {
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i_59_);
	((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
	    .method8314(interface40);
	OpenGL.glUniform1i(i, i_59_);
    }
    
    void method3351(Class487_Sub31_Sub1 class487_sub31_sub1, float f,
		    float f_60_, float f_61_) {
	int i = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i != -1) {
	    if (((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)) == null
		|| (((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i))
		    == null)
		|| (((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i))
		    == null)
		|| ((Float)
		    ((Class230_Sub1) this).aMap9678.get(Integer.valueOf(i)))
		       .floatValue() != f
		|| ((Float)
		    ((Class230_Sub1) this).aMap9685.get(Integer.valueOf(i)))
		       .floatValue() != f_60_
		|| ((Float)
		    ((Class230_Sub1) this).aMap9686.get(Integer.valueOf(i)))
		       .floatValue() != f_61_) {
		((Class230_Sub1) this).aMap9678.put(Integer.valueOf(i),
						    Float.valueOf(f));
		((Class230_Sub1) this).aMap9685.put(Integer.valueOf(i),
						    Float.valueOf(f_60_));
		((Class230_Sub1) this).aMap9686.put(Integer.valueOf(i),
						    Float.valueOf(f_61_));
		if (class487_sub31_sub1.method10262(603300654)
		    != Class242.aClass242_2767)
		    throw new IllegalArgumentException_Sub1
			      (class487_sub31_sub1, "");
		OpenGL.glUniform3f(i, f, f_60_, f_61_);
	    }
	}
    }
    
    void method3338(int i, float f, float f_62_, float f_63_) {
	OpenGL.glUniform3f(i, f, f_62_, f_63_);
    }
    
    void method3390(int i, float f, float f_64_, float f_65_) {
	OpenGL.glUniform3f(i, f, f_64_, f_65_);
    }
    
    void method3366(Class487_Sub31_Sub1 class487_sub31_sub1, int i,
		    Interface40 interface40) {
	int i_66_
	    = ((Class487_Sub31_Sub1_Sub1) class487_sub31_sub1).method10652();
	if (i_66_ != -1) {
	    if (interface40 == null)
		interface40 = (((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
			       .anInterface31_8980);
	    if (i
		< ((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.anInt9063) {
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675.method8313(i);
		((Class230_Sub1) this).aClass151_Sub2_Sub2_9675
		    .method8314(interface40);
	    } else {
		OpenGL.glActiveTexture(33984 + i);
		OpenGL.glBindTexture((((Class461) (Class461) interface40)
				      .anInt5273),
				     (((Class461) (Class461) interface40)
				      .anInt5272));
	    }
	    if ((((Class230_Sub1) this).aMap9677.get(Integer.valueOf(i_66_))
		 == null)
		|| ((Integer) ((Class230_Sub1) this).aMap9677
				  .get(Integer.valueOf(i_66_)))
		       .intValue() != i) {
		((Class230_Sub1) this).aMap9677.put(Integer.valueOf(i_66_),
						    Integer.valueOf(i));
		OpenGL.glUniform1i(i_66_, i);
	    }
	}
    }
    
    void method3364(int i, Class403 class403) {
	OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3391(int i, float[] fs, int i_67_) {
	OpenGL.glUniform4fv(i, i_67_, fs, 0);
    }
    
    void method3367(int i, Class403 class403) {
	OpenGL.glUniform4fv(i, 4, class403.method4888(aFloatArray9672), 0);
    }
    
    void method3393(int i, float[] fs, int i_68_) {
	OpenGL.glUniform4fv(i, i_68_, fs, 0);
    }
    
    void method3382(int i, Class403 class403) {
	OpenGL.glUniform2fv(i, 4, class403.method4887(aFloatArray9672), 0);
    }
}
