final boolean method1413(Class258_Sub1 class258_sub1,
			     Class258_Sub1 class258_sub1_2_, int i, float f) {
	try {
	    anInt2517++;
	    if (!method1414(35632))
		return false;
	    Class206 class206 = ((OpenGlToolkit) aHa_Sub2_2511).aClass206_7778;
	    int i_3_ = 30 % ((-55 - i) / 59);
	    Class348_Sub42_Sub2 class348_sub42_sub2
		= new Class348_Sub42_Sub2(aHa_Sub2_2511, 6408,
					  (((Class258_Sub1) class258_sub1)
					   .anInt8523),
					  (((Class258_Sub1) class258_sub1)
					   .anInt8529));
	    aHa_Sub2_2511.method3773(-1, class206);
	    boolean bool = false;
	    class206.method1508(0, class348_sub42_sub2, -12);
	    if (class206.method1507(117)) {
		OpenGL.glPushMatrix();
		OpenGL.glLoadIdentity();
		OpenGL.glMatrixMode(5889);
		OpenGL.glPushMatrix();
		OpenGL.glLoadIdentity();
		OpenGL.glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0);
		OpenGL.glPushAttrib(2048);
		OpenGL.glViewport(0, 0,
				  ((Class258_Sub1) class258_sub1).anInt8523,
				  ((Class258_Sub1) class258_sub1).anInt8529);
		OpenGL.glUseProgramObjectARB(((Class337) aClass337_2513)
					     .aLong4178);
		OpenGL.glUniform1iARB((OpenGL.glGetUniformLocationARB
				       (((Class337) aClass337_2513).aLong4178,
					"heightMap")),
				      0);
		OpenGL.glUniform1fARB((OpenGL.glGetUniformLocationARB
				       (((Class337) aClass337_2513).aLong4178,
					"rcpRelief")),
				      1.0F / f);
		OpenGL.glUniform2fARB
		    (OpenGL.glGetUniformLocationARB(((Class337)
						     aClass337_2513).aLong4178,
						    "sampleSize"),
		     (1.0F
		      / (float) ((Class258_Sub1) class258_sub1_2_).anInt8523),
		     (1.0F
		      / (float) ((Class258_Sub1) class258_sub1_2_).anInt8529));
		for (int i_4_ = 0;
		     i_4_ < ((Class258_Sub1) class258_sub1).anInt8522;
		     i_4_++) {
		    float f_5_ = ((float) i_4_
				  / (float) (((Class258_Sub1) class258_sub1)
					     .anInt8522));
		    aHa_Sub2_2511.method3771((byte) -118, class258_sub1_2_);
		    OpenGL.glBegin(7);
		    OpenGL.glTexCoord3f(0.0F, 0.0F, f_5_);
		    OpenGL.glVertex2f(0.0F, 0.0F);
		    OpenGL.glTexCoord3f(1.0F, 0.0F, f_5_);
		    OpenGL.glVertex2f(1.0F, 0.0F);
		    OpenGL.glTexCoord3f(1.0F, 1.0F, f_5_);
		    OpenGL.glVertex2f(1.0F, 1.0F);
		    OpenGL.glTexCoord3f(0.0F, 1.0F, f_5_);
		    OpenGL.glVertex2f(0.0F, 1.0F);
		    OpenGL.glEnd();
		    class258_sub1.method1958
			(-26823, 0, ((Class258_Sub1) class258_sub1).anInt8523,
			 0, 0, i_4_, ((Class258_Sub1) class258_sub1).anInt8529,
			 0);
		}
		OpenGL.glUseProgramObjectARB(0L);
		OpenGL.glPopAttrib();
		OpenGL.glPopMatrix();
		OpenGL.glMatrixMode(5888);
		OpenGL.glPopMatrix();
		bool = true;
	    }
	    class206.method1500(2983, 0);
	    aHa_Sub2_2511.method3770(-422613672, class206);
	    return bool;
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929(runtimeexception,
					    ("qi.D("
					     + (class258_sub1 != null ? "{...}"
						: "null")
					     + ','
					     + (class258_sub1_2_ != null
						? "{...}" : "null")
					     + ',' + i + ',' + f + ')'));
	}
    }