package jagex;

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

public class Class658_Sub5 extends Class658 {
	Class240 aClass240_9582;
	Class240 aClass240_9583 = new Class240(Float.NaN, Float.NaN, Float.NaN);
	Class240 aClass240_9584;

	public boolean method7742() {
		return !Float.isNaN(((Class658_Sub5) this).aClass240_9583.aFloat2653);
	}

	public void method9026(Class572_Sub17 class572_sub17, byte i) {
		((Class658_Sub5) this).aClass240_9582.aFloat2653 = (float) (class572_sub17.anInt9126 * -862367545);
		((Class658_Sub5) this).aClass240_9582.aFloat2656 = (float) (class572_sub17.anInt9127 * -930360273);
		((Class658_Sub5) this).aClass240_9582.aFloat2657 = (float) (-1661817525 * class572_sub17.anInt9124);
		if (Float.isNaN(((Class658_Sub5) this).aClass240_9583.aFloat2653)) {
			((Class658_Sub5) this).aClass240_9583.method3269(((Class658_Sub5) this).aClass240_9582);
			((Class658_Sub5) this).aClass240_9584.method3270();
		}
	}

	public void method7748(Class403 class403, Class261 class261, int i, int i_0_, float f) {
		Class240 class240 = Class240.method3276(((Class658_Sub5) this).aClass411_8421.method4968(-345701912));
		class240.aFloat2653 -= (float) i;
		class240.aFloat2657 -= (float) i_0_;
		class240.aFloat2656 *= -1.0F;
		Class240 class240_1_ = Class240.method3276(((Class658_Sub5) this).aClass240_9583);
		class240_1_.aFloat2653 -= (float) i;
		class240_1_.aFloat2657 -= (float) i_0_;
		class240_1_.aFloat2656 *= -1.0F;
		class261.method3570((double) class240.aFloat2653, (double) class240.aFloat2656, (double) class240.aFloat2657, (double) class240_1_.aFloat2653, (double) class240_1_.aFloat2656, (double) class240_1_.aFloat2657, 0.0F, 1.0F, 0.0F);
		class240.method3261();
		class240_1_.method3261();
	}

	public boolean method7735(byte i) {
		return !Float.isNaN(((Class658_Sub5) this).aClass240_9583.aFloat2653);
	}

	public void method7739(Class403 class403, Class261 class261, int i, int i_2_, float f, byte i_3_) {
		Class240 class240 = Class240.method3276(((Class658_Sub5) this).aClass411_8421.method4968(-950545880));
		class240.aFloat2653 -= (float) i;
		class240.aFloat2657 -= (float) i_2_;
		class240.aFloat2656 *= -1.0F;
		Class240 class240_4_ = Class240.method3276(((Class658_Sub5) this).aClass240_9583);
		class240_4_.aFloat2653 -= (float) i;
		class240_4_.aFloat2657 -= (float) i_2_;
		class240_4_.aFloat2656 *= -1.0F;
		class261.method3570((double) class240.aFloat2653, (double) class240.aFloat2656, (double) class240.aFloat2657, (double) class240_4_.aFloat2653, (double) class240_4_.aFloat2656, (double) class240_4_.aFloat2657, 0.0F, 1.0F, 0.0F);
		class240.method3261();
		class240_4_.method3261();
	}

	public Class240 method7736(int i) {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9583);
	}

	public Class240 method7745(int i) {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9582);
	}

	public void method7737(RSByteBuffer class572_sub15, int i) {
		((Class658_Sub5) this).aClass240_9582.method3308(class572_sub15);
	}

	public Class240 method7740() {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9583);
	}

	public void method7741(float f) {
		((Class658_Sub5) this).aClass411_8421.method4970(false, f, ((Class658_Sub5) this).aClass240_9583, ((Class658_Sub5) this).aClass411_8421.method5002((byte) 9), ((Class658_Sub5) this).aClass240_9582, ((Class658_Sub5) this).aClass240_9584, 1210240699);
	}

	public void method7738(float f) {
		((Class658_Sub5) this).aClass411_8421.method4970(false, f, ((Class658_Sub5) this).aClass240_9583, ((Class658_Sub5) this).aClass411_8421.method5002((byte) 9), ((Class658_Sub5) this).aClass240_9582, ((Class658_Sub5) this).aClass240_9584, 1210240699);
	}

	public boolean method7743() {
		return !Float.isNaN(((Class658_Sub5) this).aClass240_9583.aFloat2653);
	}

	public void method7733(float f) {
		((Class658_Sub5) this).aClass411_8421.method4970(false, f, ((Class658_Sub5) this).aClass240_9583, ((Class658_Sub5) this).aClass411_8421.method5002((byte) 9), ((Class658_Sub5) this).aClass240_9582, ((Class658_Sub5) this).aClass240_9584, 1210240699);
	}

	public Class240 method7749() {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9582);
	}

	public Class658_Sub5(Class411 class411) {
		super(class411);
		((Class658_Sub5) this).aClass240_9582 = new Class240(Float.NaN, Float.NaN, Float.NaN);
		((Class658_Sub5) this).aClass240_9584 = new Class240();
	}

	public Class240 method7753() {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9583);
	}

	public boolean method7744() {
		return !Float.isNaN(((Class658_Sub5) this).aClass240_9583.aFloat2653);
	}

	public Class240 method7752() {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9582);
	}

	public void method7746(Class403 class403, Class261 class261, int i, int i_5_, float f) {
		Class240 class240 = Class240.method3276(((Class658_Sub5) this).aClass411_8421.method4968(-1531427354));
		class240.aFloat2653 -= (float) i;
		class240.aFloat2657 -= (float) i_5_;
		class240.aFloat2656 *= -1.0F;
		Class240 class240_6_ = Class240.method3276(((Class658_Sub5) this).aClass240_9583);
		class240_6_.aFloat2653 -= (float) i;
		class240_6_.aFloat2657 -= (float) i_5_;
		class240_6_.aFloat2656 *= -1.0F;
		class261.method3570((double) class240.aFloat2653, (double) class240.aFloat2656, (double) class240.aFloat2657, (double) class240_6_.aFloat2653, (double) class240_6_.aFloat2656, (double) class240_6_.aFloat2657, 0.0F, 1.0F, 0.0F);
		class240.method3261();
		class240_6_.method3261();
	}

	public void method7750(RSByteBuffer class572_sub15) {
		((Class658_Sub5) this).aClass240_9582.method3308(class572_sub15);
	}

	public void method7751(RSByteBuffer class572_sub15) {
		((Class658_Sub5) this).aClass240_9582.method3308(class572_sub15);
	}

	public void method7734(float f, int i) {
		((Class658_Sub5) this).aClass411_8421.method4970(false, f, ((Class658_Sub5) this).aClass240_9583, ((Class658_Sub5) this).aClass411_8421.method5002((byte) 9), ((Class658_Sub5) this).aClass240_9582, ((Class658_Sub5) this).aClass240_9584, 1210240699);
	}

	public void method7747(Class403 class403, Class261 class261, int i, int i_7_, float f) {
		Class240 class240 = Class240.method3276(((Class658_Sub5) this).aClass411_8421.method4968(-1320984548));
		class240.aFloat2653 -= (float) i;
		class240.aFloat2657 -= (float) i_7_;
		class240.aFloat2656 *= -1.0F;
		Class240 class240_8_ = Class240.method3276(((Class658_Sub5) this).aClass240_9583);
		class240_8_.aFloat2653 -= (float) i;
		class240_8_.aFloat2657 -= (float) i_7_;
		class240_8_.aFloat2656 *= -1.0F;
		class261.method3570((double) class240.aFloat2653, (double) class240.aFloat2656, (double) class240.aFloat2657, (double) class240_8_.aFloat2653, (double) class240_8_.aFloat2656, (double) class240_8_.aFloat2657, 0.0F, 1.0F, 0.0F);
		class240.method3261();
		class240_8_.method3261();
	}

	public Class240 method7754() {
		return Class240.method3276(((Class658_Sub5) this).aClass240_9583);
	}

	static final void method9027(InterfaceDefinitions class73, Class83 class83, Cs2Executor class441, int i) {
		((Cs2Executor) class441).intStackPtr -= -2084135730;
		int i_9_ = 10;
		byte[] is = { (byte) ((Cs2Executor) class441).intStack[((Cs2Executor) class441).intStackPtr * 1369304407] };
		byte[] is_10_ = { (byte) ((Cs2Executor) class441).intStack[1369304407 * ((Cs2Executor) class441).intStackPtr + 1] };
		Class527.method6319(class73, i_9_, is, is_10_, class441, 773042119);
	}
}
