/* Class688_Sub4_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
package com.jagex;

import java.awt.Canvas;

public class Class688_Sub4_Sub1 extends Class688_Sub4 {
	int anInt11807 = 0;
	float[] aFloatArray11808;
	float[] aFloatArray11809;

	public Class437 method13918() {
		return method13909(-1197510725);
	}

	void method17158(byte i) {
		anInt11807 += 99126393;
	}

	float method17149(float f, float f_0_, float f_1_, int i) {
		float f_2_ = aFloat10961 / (float) aClass444Array10962[142613961 * anInt11807].method7210();
		float f_3_ = (f_2_ * (aFloatArray11808[142613961 * anInt11807] - aFloatArray11809[142613961 * anInt11807]) + aFloatArray11809[142613961 * anInt11807]);
		return f_3_;
	}

	void method17159(RSBuffer class523_sub34, int i) {
		aFloatArray11809 = new float[i];
		aFloatArray11808 = new float[i];
		anInt11807 = 0;
		for (int i_4_ = 0; i_4_ < i; i_4_++) {
			aFloatArray11809[i_4_] = class523_sub34.method16293(-1205248081);
			aFloatArray11808[i_4_] = class523_sub34.method16293(-482712774);
		}
	}

	public Class437 method13909(int i) {
		Class437 class437 = Class437.method6878();
		double[] ds = aClass444Array10962[anInt11807 * 142613961].method7214(aFloat10961);
		class437.aFloat4903 = (float) ds[0];
		class437.aFloat4904 = (float) ds[1];
		class437.aFloat4905 = (float) ds[2];
		return class437;
	}

	double[] method17150(int i) {
		return aClass444Array10962[142613961 * anInt11807].method7214(aFloat10961);
	}

	public Class437 method13908(int i) {
		return method13909(1471999188);
	}

	double[] method17155() {
		return aClass444Array10962[142613961 * anInt11807].method7214(aFloat10961);
	}

	void method17151(RSBuffer class523_sub34, int i, int i_5_) {
		aFloatArray11809 = new float[i];
		aFloatArray11808 = new float[i];
		anInt11807 = 0;
		for (int i_6_ = 0; i_6_ < i; i_6_++) {
			aFloatArray11809[i_6_] = class523_sub34.method16293(-1676415279);
			aFloatArray11808[i_6_] = class523_sub34.method16293(-1360961500);
		}
	}

	void method17160(RSBuffer class523_sub34, int i) {
		aFloatArray11809 = new float[i];
		aFloatArray11808 = new float[i];
		anInt11807 = 0;
		for (int i_7_ = 0; i_7_ < i; i_7_++) {
			aFloatArray11809[i_7_] = class523_sub34.method16293(-1670046921);
			aFloatArray11808[i_7_] = class523_sub34.method16293(-1320423887);
		}
	}

	void method17153() {
		anInt11807 += 99126393;
	}

	void method17154() {
		anInt11807 += 99126393;
	}

	void method17156() {
		anInt11807 += 99126393;
	}

	void method17157() {
		anInt11807 += 99126393;
	}

	public Class437 method13919() {
		Class437 class437 = Class437.method6878();
		double[] ds = aClass444Array10962[anInt11807 * 142613961].method7214(aFloat10961);
		class437.aFloat4903 = (float) ds[0];
		class437.aFloat4904 = (float) ds[1];
		class437.aFloat4905 = (float) ds[2];
		return class437;
	}

	public Class688_Sub4_Sub1(Class298 class298) {
		super(class298);
	}

	public Class437 method13917() {
		return method13909(1107328020);
	}

	float method17164(float f, float f_8_, float f_9_) {
		float f_10_ = aFloat10961 / (float) aClass444Array10962[142613961 * anInt11807].method7210();
		float f_11_ = (f_10_ * (aFloatArray11808[142613961 * anInt11807] - aFloatArray11809[142613961 * anInt11807]) + aFloatArray11809[142613961 * anInt11807]);
		return f_11_;
	}

	double[] method17161() {
		return aClass444Array10962[142613961 * anInt11807].method7214(aFloat10961);
	}

	public Class437 method13920() {
		return method13909(-26520561);
	}

	public Class437 method13921() {
		return method13909(-1907686262);
	}

	public Class437 method13927() {
		return method13909(1241502042);
	}

	public Class437 method13923() {
		return method13909(-2366623);
	}

	public Class437 method13907() {
		return method13909(43446491);
	}

	public Class437 method13922() {
		Class437 class437 = Class437.method6878();
		double[] ds = aClass444Array10962[anInt11807 * 142613961].method7214(aFloat10961);
		class437.aFloat4903 = (float) ds[0];
		class437.aFloat4904 = (float) ds[1];
		class437.aFloat4905 = (float) ds[2];
		return class437;
	}

	void method17148(float f, float f_12_, byte i) {
		aFloat10961 += f;
		if (aFloat10961 > (float) aClass444Array10962[anInt11807 * 142613961].method7210())
			aFloat10961 = (float) aClass444Array10962[anInt11807 * 142613961].method7210();
	}

	void method17163(float f, float f_13_) {
		aFloat10961 += f;
		if (aFloat10961 > (float) aClass444Array10962[anInt11807 * 142613961].method7210())
			aFloat10961 = (float) aClass444Array10962[anInt11807 * 142613961].method7210();
	}

	float method17152(float f, float f_14_, float f_15_) {
		float f_16_ = aFloat10961 / (float) aClass444Array10962[142613961 * anInt11807].method7210();
		float f_17_ = (f_16_ * (aFloatArray11808[142613961 * anInt11807] - aFloatArray11809[142613961 * anInt11807]) + aFloatArray11809[142613961 * anInt11807]);
		return f_17_;
	}

	double[] method17165() {
		return aClass444Array10962[142613961 * anInt11807].method7214(aFloat10961);
	}

	public Class437 method13905() {
		return method13909(150377400);
	}

	public static Class178 method18187(Canvas canvas, Class172 class172, Interface25 interface25, Interface46 interface46, Interface48 interface48, Interface45 interface45, int i, int i_18_, int i_19_) {
		return new Class178_Sub3(canvas, class172, interface25, interface46, interface48, interface45, i, i_18_);
	}
}
