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

public class Class360_Sub2_Sub1 extends Class360_Sub2 {
	float[] aFloatArray10762;
	float[] aFloatArray10763;
	float[] aFloatArray10764;
	int anInt10765 = 0;

	public Class360_Sub2_Sub1(Class72 class72) {
		super(class72);
	}

	void method16353(byte i) {
		((Class360_Sub2_Sub1) this).anInt10765 += -624969059;
	}

	float method16352(float f, float f_0_, float f_1_, byte i) {
		float f_2_ = ((Class360_Sub2_Sub1) this).aFloat10119 / f;
		if (f_2_ < 0.0F)
			f_2_ = 0.0F;
		if (f_2_ > 1.0F)
			f_2_ = 1.0F;
		return (((f_2_ * ((((Class360_Sub2_Sub1) this).aFloatArray10764[((Class360_Sub2_Sub1) this).anInt10765 * -838558795]) - (((Class360_Sub2_Sub1) this).aFloatArray10762[(((Class360_Sub2_Sub1) this).anInt10765 * -838558795)]))) + (((Class360_Sub2_Sub1) this).aFloatArray10762[((Class360_Sub2_Sub1) this).anInt10765 * -838558795])) * (f / (((Class360_Sub2_Sub1) this).aFloatArray10763[((Class360_Sub2_Sub1) this).anInt10765 * -838558795])));
	}

	void method16355(Class587_Sub4 class587_sub4, int i, int i_3_) {
		((Class360_Sub2_Sub1) this).aFloatArray10762 = new float[i];
		((Class360_Sub2_Sub1) this).aFloatArray10764 = new float[i];
		((Class360_Sub2_Sub1) this).aFloatArray10763 = new float[i];
		((Class360_Sub2_Sub1) this).anInt10765 = 0;
		for (int i_4_ = 0; i_4_ < i; i_4_++) {
			((Class360_Sub2_Sub1) this).aFloatArray10762[i_4_] = class587_sub4.method14207(-2023843383);
			((Class360_Sub2_Sub1) this).aFloatArray10764[i_4_] = class587_sub4.method14207(-775220982);
			((Class360_Sub2_Sub1) this).aFloatArray10763[i_4_] = class587_sub4.method14207(-1567456722);
		}
	}

	float method16360(float f, float f_5_, float f_6_) {
		float f_7_ = ((Class360_Sub2_Sub1) this).aFloat10119 / f;
		if (f_7_ < 0.0F)
			f_7_ = 0.0F;
		if (f_7_ > 1.0F)
			f_7_ = 1.0F;
		return (((f_7_ * ((((Class360_Sub2_Sub1) this).aFloatArray10764[((Class360_Sub2_Sub1) this).anInt10765 * -838558795]) - (((Class360_Sub2_Sub1) this).aFloatArray10762[(((Class360_Sub2_Sub1) this).anInt10765 * -838558795)]))) + (((Class360_Sub2_Sub1) this).aFloatArray10762[((Class360_Sub2_Sub1) this).anInt10765 * -838558795])) * (f / (((Class360_Sub2_Sub1) this).aFloatArray10763[((Class360_Sub2_Sub1) this).anInt10765 * -838558795])));
	}

	void method16361() {
		((Class360_Sub2_Sub1) this).anInt10765 += -624969059;
	}

	void method16367() {
		((Class360_Sub2_Sub1) this).anInt10765 += -624969059;
	}

	void method16356(Class587_Sub4 class587_sub4, int i) {
		((Class360_Sub2_Sub1) this).aFloatArray10762 = new float[i];
		((Class360_Sub2_Sub1) this).aFloatArray10764 = new float[i];
		((Class360_Sub2_Sub1) this).aFloatArray10763 = new float[i];
		((Class360_Sub2_Sub1) this).anInt10765 = 0;
		for (int i_8_ = 0; i_8_ < i; i_8_++) {
			((Class360_Sub2_Sub1) this).aFloatArray10762[i_8_] = class587_sub4.method14207(-1601801620);
			((Class360_Sub2_Sub1) this).aFloatArray10764[i_8_] = class587_sub4.method14207(-1549223913);
			((Class360_Sub2_Sub1) this).aFloatArray10763[i_8_] = class587_sub4.method14207(-1814891416);
		}
	}

	static final void method17126(Class477 class477, int i) {
		int i_9_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class417 class417 = Class434.aClass419_6267.method7587(i_9_, (byte) -50);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = class417.aBool6133 ? 1 : 0;
	}
}
