final void method1685(AbstractToolkit var_ha, int[][][] is, int i,
			  Class361[] class361s) {
	try {
	    anInt3118++;
	    if (i != 21407)
		method1680(null, (byte) -116, null, null);
	    if (!aBoolean3109) {
		for (int i_300_ = 0; i_300_ < 4; i_300_++) {
		    for (int i_301_ = 0;
			 ((maximumX ^ 0xffffffff)
			  < (i_301_ ^ 0xffffffff));
			 i_301_++) {
			for (int i_302_ = 0;
			     maximumY > i_302_; i_302_++) {
			    if ((0x1 & (Class348_Sub33.settingFlags
					[i_300_][i_301_][i_302_])
				 ^ 0xffffffff)
				!= -1) {
				int i_303_ = i_300_;
				if ((0x2
				     & (Class348_Sub33.settingFlags
					[1][i_301_][i_302_]))
				    != 0)
				    i_303_--;
				if ((i_303_ ^ 0xffffffff) <= -1)
				    class361s[i_303_].method3507(i_302_,
								 i_301_,
								 (byte) -116);
			    }
			}
		    }
		}
	    }
	    for (int i_304_ = 0; maximumZ > i_304_;
		 i_304_++) {
		int i_305_ = 0;
		int i_306_ = 0;
		if (!aBoolean3109) {
		    if (Class186.aBoolean2492)
			i_305_ |= 0x2;
		    if (Class369.aBoolean4972)
			i_306_ |= 0x8;
		    if ((IndexTable.anInt3720 ^ 0xffffffff) != -1) {
			if ((i_304_ ^ 0xffffffff) == -1
			    | Huffman.aBoolean3767)
			    i_306_ |= 0x10;
			i_305_ |= 0x1;
		    }
		}
		if (Class186.aBoolean2492)
		    i_306_ |= 0x7;
		if (!Class47.aBoolean845)
		    i_306_ |= 0x20;
		int[][] is_307_
		    = (is == null || (i_304_ ^ 0xffffffff) <= (is.length
							       ^ 0xffffffff)
		       ? heightmap[i_304_]
		       : is[i_304_]);
		AbstractMouseEvent.method3313
		    (i_304_,
		     var_ha.method3648(maximumX,
				       maximumY,
				       (((MapLoader) this)
					.heightmap[i_304_]),
				       is_307_, 512, i_305_, i_306_));
	    }
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929
		      (runtimeexception,
		       ("sr.J(" + (var_ha != null ? "{...}" : "null") + ','
			+ (is != null ? "{...}" : "null") + ',' + i + ','
			+ (class361s != null ? "{...}" : "null") + ')'));
	}
    }