final void method1018(float f, float f_41_, float f_42_, float f_43_,
			  float f_44_, float f_45_, float f_46_, float f_47_,
			  float f_48_, int i) {
	if (aBoolean1675) {
	    aHa_Sub1_1666.method3645((int) f, (int) f_43_, (int) f_44_, -8003,
				     i, (int) f_41_);
	    aHa_Sub1_1666.method3645((int) f_41_, (int) f_44_, (int) f_45_,
				     -8003, i, (int) f_42_);
	    aHa_Sub1_1666.method3645((int) f_42_, (int) f_45_, (int) f_43_,
				     -8003, i, (int) f);
	} else {
	    float f_49_ = f_44_ - f_43_;
	    float f_50_ = f_41_ - f;
	    float f_51_ = f_45_ - f_43_;
	    float f_52_ = f_42_ - f;
	    float f_53_ = f_47_ - f_46_;
	    float f_54_ = f_48_ - f_46_;
	    float f_55_ = 0.0F;
	    if (f_41_ != f)
		f_55_ = (f_44_ - f_43_) / (f_41_ - f);
	    float f_56_ = 0.0F;
	    if (f_42_ != f_41_)
		f_56_ = (f_45_ - f_44_) / (f_42_ - f_41_);
	    float f_57_ = 0.0F;
	    if (f_42_ != f)
		f_57_ = (f_43_ - f_45_) / (f - f_42_);
	    float f_58_ = f_49_ * f_52_ - f_51_ * f_50_;
	    if (f_58_ != 0.0F) {
		float f_59_ = (f_53_ * f_52_ - f_54_ * f_50_) / f_58_;
		float f_60_ = (f_54_ * f_49_ - f_53_ * f_51_) / f_58_;
		if (f <= f_41_ && f <= f_42_) {
		    if (!(f >= (float) ((Class109) this).anInt1672)) {
			if (f_41_ > (float) ((Class109) this).anInt1672)
			    f_41_ = (float) ((Class109) this).anInt1672;
			if (f_42_ > (float) ((Class109) this).anInt1672)
			    f_42_ = (float) ((Class109) this).anInt1672;
			f_46_ = f_46_ - f_59_ * f_43_ + f_59_;
			if (f_41_ < f_42_) {
			    f_45_ = f_43_;
			    if (f < 0.0F) {
				f_45_ -= f_57_ * f;
				f_43_ -= f_55_ * f;
				f_46_ -= f_60_ * f;
				f = 0.0F;
			    }
			    if (f_41_ < 0.0F) {
				f_44_ -= f_56_ * f_41_;
				f_41_ = 0.0F;
			    }
			    if (f != f_41_ && f_57_ < f_55_
				|| f == f_41_ && f_57_ > f_56_) {
				f_42_ -= f_41_;
				f_41_ -= f;
				f = (float) (((Class109) this).anIntArray1676
					     [(int) f]);
				while (--f_41_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_45_,
					       (int) f_43_, f_46_, f_59_);
				    f_45_ += f_57_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_45_,
					       (int) f_44_, f_46_, f_59_);
				    f_45_ += f_57_;
				    f_44_ += f_56_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
			    } else {
				f_42_ -= f_41_;
				f_41_ -= f;
				f = (float) (((Class109) this).anIntArray1676
					     [(int) f]);
				while (--f_41_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_43_,
					       (int) f_45_, f_46_, f_59_);
				    f_45_ += f_57_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_44_,
					       (int) f_45_, f_46_, f_59_);
				    f_45_ += f_57_;
				    f_44_ += f_56_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
			    }
			} else {
			    f_44_ = f_43_;
			    if (f < 0.0F) {
				f_44_ -= f_57_ * f;
				f_43_ -= f_55_ * f;
				f_46_ -= f_60_ * f;
				f = 0.0F;
			    }
			    if (f_42_ < 0.0F) {
				f_45_ -= f_56_ * f_42_;
				f_42_ = 0.0F;
			    }
			    if (f != f_42_ && f_57_ < f_55_
				|| f == f_42_ && f_56_ > f_55_) {
				f_41_ -= f_42_;
				f_42_ -= f;
				f = (float) (((Class109) this).anIntArray1676
					     [(int) f]);
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_44_,
					       (int) f_43_, f_46_, f_59_);
				    f_44_ += f_57_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
				while (--f_41_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_45_,
					       (int) f_43_, f_46_, f_59_);
				    f_45_ += f_56_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
			    } else {
				f_41_ -= f_42_;
				f_42_ -= f;
				f = (float) (((Class109) this).anIntArray1676
					     [(int) f]);
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_43_,
					       (int) f_44_, f_46_, f_59_);
				    f_44_ += f_57_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
				while (--f_41_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f, i, 0, (int) f_43_,
					       (int) f_45_, f_46_, f_59_);
				    f_45_ += f_56_;
				    f_43_ += f_55_;
				    f_46_ += f_60_;
				    f += (float) anInt1678;
				}
			    }
			}
		    }
		} else if (f_41_ <= f_42_) {
		    if (!(f_41_ >= (float) ((Class109) this).anInt1672)) {
			if (f_42_ > (float) ((Class109) this).anInt1672)
			    f_42_ = (float) ((Class109) this).anInt1672;
			if (f > (float) ((Class109) this).anInt1672)
			    f = (float) ((Class109) this).anInt1672;
			f_47_ = f_47_ - f_59_ * f_44_ + f_59_;
			if (f_42_ < f) {
			    f_43_ = f_44_;
			    if (f_41_ < 0.0F) {
				f_43_ -= f_55_ * f_41_;
				f_44_ -= f_56_ * f_41_;
				f_47_ -= f_60_ * f_41_;
				f_41_ = 0.0F;
			    }
			    if (f_42_ < 0.0F) {
				f_45_ -= f_57_ * f_42_;
				f_42_ = 0.0F;
			    }
			    if (f_41_ != f_42_ && f_55_ < f_56_
				|| f_41_ == f_42_ && f_55_ > f_57_) {
				f -= f_42_;
				f_42_ -= f_41_;
				f_41_ = (float) (((Class109) this)
						 .anIntArray1676[(int) f_41_]);
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_43_,
					       (int) f_44_, f_47_, f_59_);
				    f_43_ += f_55_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
				while (--f >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_43_,
					       (int) f_45_, f_47_, f_59_);
				    f_43_ += f_55_;
				    f_45_ += f_57_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
			    } else {
				f -= f_42_;
				f_42_ -= f_41_;
				f_41_ = (float) (((Class109) this)
						 .anIntArray1676[(int) f_41_]);
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_44_,
					       (int) f_43_, f_47_, f_59_);
				    f_43_ += f_55_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
				while (--f >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_45_,
					       (int) f_43_, f_47_, f_59_);
				    f_43_ += f_55_;
				    f_45_ += f_57_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
			    }
			} else {
			    f_45_ = f_44_;
			    if (f_41_ < 0.0F) {
				f_45_ -= f_55_ * f_41_;
				f_44_ -= f_56_ * f_41_;
				f_47_ -= f_60_ * f_41_;
				f_41_ = 0.0F;
			    }
			    if (f < 0.0F) {
				f_43_ -= f_57_ * f;
				f = 0.0F;
			    }
			    if (f_55_ < f_56_) {
				f_42_ -= f;
				f -= f_41_;
				f_41_ = (float) (((Class109) this)
						 .anIntArray1676[(int) f_41_]);
				while (--f >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_45_,
					       (int) f_44_, f_47_, f_59_);
				    f_45_ += f_55_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_43_,
					       (int) f_44_, f_47_, f_59_);
				    f_43_ += f_57_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
			    } else {
				f_42_ -= f;
				f -= f_41_;
				f_41_ = (float) (((Class109) this)
						 .anIntArray1676[(int) f_41_]);
				while (--f >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_44_,
					       (int) f_45_, f_47_, f_59_);
				    f_45_ += f_55_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
				while (--f_42_ >= 0.0F) {
				    method1026(anIntArray1673, aFloatArray1677,
					       (int) f_41_, i, 0, (int) f_44_,
					       (int) f_43_, f_47_, f_59_);
				    f_43_ += f_57_;
				    f_44_ += f_56_;
				    f_47_ += f_60_;
				    f_41_ += (float) anInt1678;
				}
			    }
			}
		    }
		} else if (!(f_42_ >= (float) ((Class109) this).anInt1672)) {
		    if (f > (float) ((Class109) this).anInt1672)
			f = (float) ((Class109) this).anInt1672;
		    if (f_41_ > (float) ((Class109) this).anInt1672)
			f_41_ = (float) ((Class109) this).anInt1672;
		    f_48_ = f_48_ - f_59_ * f_45_ + f_59_;
		    if (f < f_41_) {
			f_44_ = f_45_;
			if (f_42_ < 0.0F) {
			    f_44_ -= f_56_ * f_42_;
			    f_45_ -= f_57_ * f_42_;
			    f_48_ -= f_60_ * f_42_;
			    f_42_ = 0.0F;
			}
			if (f < 0.0F) {
			    f_43_ -= f_55_ * f;
			    f = 0.0F;
			}
			if (f_56_ < f_57_) {
			    f_41_ -= f;
			    f -= f_42_;
			    f_42_ = (float) (((Class109) this).anIntArray1676
					     [(int) f_42_]);
			    while (--f >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_44_,
					   (int) f_45_, f_48_, f_59_);
				f_44_ += f_56_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			    while (--f_41_ >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_44_,
					   (int) f_43_, f_48_, f_59_);
				f_44_ += f_56_;
				f_43_ += f_55_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			} else {
			    f_41_ -= f;
			    f -= f_42_;
			    f_42_ = (float) (((Class109) this).anIntArray1676
					     [(int) f_42_]);
			    while (--f >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_45_,
					   (int) f_44_, f_48_, f_59_);
				f_44_ += f_56_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			    while (--f_41_ >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_43_,
					   (int) f_44_, f_48_, f_59_);
				f_44_ += f_56_;
				f_43_ += f_55_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			}
		    } else {
			f_43_ = f_45_;
			if (f_42_ < 0.0F) {
			    f_43_ -= f_56_ * f_42_;
			    f_45_ -= f_57_ * f_42_;
			    f_48_ -= f_60_ * f_42_;
			    f_42_ = 0.0F;
			}
			if (f_41_ < 0.0F) {
			    f_44_ -= f_55_ * f_41_;
			    f_41_ = 0.0F;
			}
			if (f_56_ < f_57_) {
			    f -= f_41_;
			    f_41_ -= f_42_;
			    f_42_ = (float) (((Class109) this).anIntArray1676
					     [(int) f_42_]);
			    while (--f_41_ >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_43_,
					   (int) f_45_, f_48_, f_59_);
				f_43_ += f_56_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			    while (--f >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_44_,
					   (int) f_45_, f_48_, f_59_);
				f_44_ += f_55_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			} else {
			    f -= f_41_;
			    f_41_ -= f_42_;
			    f_42_ = (float) (((Class109) this).anIntArray1676
					     [(int) f_42_]);
			    while (--f_41_ >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_45_,
					   (int) f_43_, f_48_, f_59_);
				f_43_ += f_56_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			    while (--f >= 0.0F) {
				method1026(anIntArray1673, aFloatArray1677,
					   (int) f_42_, i, 0, (int) f_45_,
					   (int) f_44_, f_48_, f_59_);
				f_44_ += f_55_;
				f_45_ += f_57_;
				f_48_ += f_60_;
				f_42_ += (float) anInt1678;
			    }
			}
		    }
		}
	    }
	}
    }