private final void method1676(s var_s, s var_s_64_, int i, s var_s_65_,
				  int[][] is, AbstractToolkit var_ha, int i_66_) {
	try {
	    anInt3102++;
	    byte[][] is_67_ = overlayShading[i_66_];
	    if (i != -26833)
		maximumY = -107;
	    byte[][] is_68_ = overlayRotation[i_66_];
	    byte[][] is_69_ = underlayIds[i_66_];
	    byte[][] is_70_ = overlayIds[i_66_];
	    for (int i_71_ = 0; ((maximumX ^ 0xffffffff)
				 < (i_71_ ^ 0xffffffff)); i_71_++) {
		int i_72_ = (i_71_ >= maximumX - 1 ? i_71_
			     : i_71_ + 1);
		for (int i_73_ = 0; i_73_ < maximumY;
		     i_73_++) {
		    int i_74_ = ((maximumY + -1
				  ^ 0xffffffff) < (i_73_ ^ 0xffffffff)
				 ? 1 + i_73_ : i_73_);
		    if ((DummyOutputstream.anInt101 ^ 0xffffffff) == 0
			|| Class58.method536(i_73_, false, i_71_,
					     DummyOutputstream.anInt101,
					     i_66_)) {
			boolean bool = false;
			boolean bool_75_ = false;
			boolean[] bools = new boolean[4];
			byte i_76_ = is_67_[i_71_][i_73_];
			int i_77_ = is_68_[i_71_][i_73_];
			int i_78_ = 0xff & is_70_[i_71_][i_73_];
			int i_79_ = is_69_[i_71_][i_73_] & 0xff;
			int i_80_ = 0xff & is_69_[i_71_][i_74_];
			int i_81_ = is_69_[i_72_][i_74_] & 0xff;
			int i_82_ = is_69_[i_72_][i_73_] & 0xff;
			if (i_78_ != 0 || (i_79_ ^ 0xffffffff) != -1) {
			    Class277 class277
				= ((i_78_ ^ 0xffffffff) == -1 ? null
				   : aClass268_3119.method2034(i_78_ - 1,
							       false));
			    Class22 class22
				= ((i_79_ ^ 0xffffffff) == -1 ? null
				   : aClass183_3120.method1380(true,
							       -1 + i_79_));
			    if (i_76_ == 0 && class277 == null)
				i_76_ = (byte) 12;
			    Class277 class277_83_ = class277;
			    if (class277 != null) {
				if (((Class277) class277).anInt3563 != -1
				    || (((Class277) class277).anInt3569
					^ 0xffffffff) != 0) {
				    if (class22 != null && i_76_ != 0)
					bool_75_ = (((Class277) class277)
						    .aBoolean3560);
				} else {
				    class277_83_ = class277;
				    class277 = null;
				}
			    }
			    if ((i_76_ == 0 || i_76_ == 12)
				&& (i_71_ ^ 0xffffffff) < -1
				&& (i_73_ ^ 0xffffffff) < -1
				&& ((i_71_ ^ 0xffffffff)
				    > (maximumX
				       ^ 0xffffffff))
				&& ((i_73_ ^ 0xffffffff)
				    > (maximumY
				       ^ 0xffffffff))) {
				int i_84_ = 0;
				int i_85_ = 0;
				int i_86_ = 0;
				i_86_ = i_86_ + (is_69_[i_72_][i_74_] != i_79_
						 ? -1 : 1);
				i_85_ = (i_85_
					 + (is_69_[i_72_][i_73_ + -1] != i_79_
					    ? -1 : 1));
				int i_87_ = 0;
				i_84_ = i_84_ + (i_79_ == (is_69_[-1 + i_71_]
							   [-1 + i_73_])
						 ? 1 : -1);
				if (is_69_[i_71_][i_73_ - 1] == i_79_) {
				    i_84_++;
				    i_85_++;
				} else {
				    i_85_--;
				    i_84_--;
				}
				i_87_ = (i_87_
					 + (is_69_[-1 + i_71_][i_74_] != i_79_
					    ? -1 : 1));
				if (i_79_ != is_69_[i_72_][i_73_]) {
				    i_85_--;
				    i_86_--;
				} else {
				    i_85_++;
				    i_86_++;
				}
				if ((is_69_[i_71_][i_74_] ^ 0xffffffff)
				    == (i_79_ ^ 0xffffffff)) {
				    i_86_++;
				    i_87_++;
				} else {
				    i_87_--;
				    i_86_--;
				}
				if (i_79_ == is_69_[-1 + i_71_][i_73_]) {
				    i_87_++;
				    i_84_++;
				} else {
				    i_87_--;
				    i_84_--;
				}
				int i_88_ = i_84_ + -i_86_;
				if ((i_88_ ^ 0xffffffff) > -1)
				    i_88_ = -i_88_;
				int i_89_ = -i_87_ + i_85_;
				if ((i_89_ ^ 0xffffffff) > -1)
				    i_89_ = -i_89_;
				if ((i_88_ ^ 0xffffffff)
				    == (i_89_ ^ 0xffffffff)) {
				    i_88_
					= (var_s_64_.method3982((byte) -86,
								i_73_, i_71_)
					   + -var_s_64_.method3982((byte) -86,
								   i_74_,
								   i_72_));
				    if (i_88_ < 0)
					i_88_ = -i_88_;
				    i_89_ = (var_s_64_.method3982((byte) -86,
								  i_73_, i_72_)
					     - var_s_64_.method3982((byte) -86,
								    i_74_,
								    i_71_));
				    if (i_89_ < 0)
					i_89_ = -i_89_;
				}
				i_77_ = ((i_88_ ^ 0xffffffff) <= (i_89_
								  ^ 0xffffffff)
					 ? 0 : 1);
			    }
			    for (int i_90_ = 0; i_90_ < 13; i_90_++) {
				Class306.anIntArray3873[i_90_] = -1;
				Class180.anIntArray2370[i_90_] = 1;
			    }
			    boolean[] bools_91_
				= ((class277 == null
				    || !((Class277) class277).aBoolean3560)
				   ? Class265.aBooleanArrayArray4693[i_76_]
				   : (Class50_Sub1.aBooleanArrayArray5225
				      [i_76_]));
			    method1675(i_71_, maximumY,
				       is_67_, i_73_, is_68_, -1, class277,
				       class22, bools, i_77_, is_70_,
				       maximumX, i_76_,
				       var_ha);
			    boolean bool_92_
				= (class277 != null
				   && ((((Class277) class277).anInt3569
					^ 0xffffffff)
				       != (((Class277) class277).anInt3563
					   ^ 0xffffffff)));
			    if (!bool_92_) {
				for (int i_93_ = 0; i_93_ < 8; i_93_++) {
				    if (Class306.anIntArray3873[i_93_] >= 0
					&& (((Class348_Sub40_Sub38
					      .anIntArray9480[i_93_])
					     ^ 0xffffffff)
					    != ((Class348_Sub15.anIntArray6775
						 [i_93_])
						^ 0xffffffff))) {
					bool_92_ = true;
					break;
				    }
				}
			    }
			    if (!bools_91_[i_77_ + 1 & 0x3])
				bools[1]
				    = (Class369_Sub3_Sub1.method3576
				       (bools[1],
					Class139.bitAnd((Class180
							     .anIntArray2370
							     [2]),
							    (Class180
							     .anIntArray2370
							     [4])) == 0));
			    if (!bools_91_[0x3 & i_77_ + 3])
				bools[3]
				    = (Class369_Sub3_Sub1.method3576
				       (bools[3],
					Class139.bitAnd((Class180
							     .anIntArray2370
							     [0]),
							    (Class180
							     .anIntArray2370
							     [6])) == 0));
			    if (!bools_91_[i_77_ & 0x3])
				bools[0]
				    = (Class369_Sub3_Sub1.method3576
				       (bools[0],
					(Class139.bitAnd((Class180
							      .anIntArray2370
							      [0]),
							     (Class180
							      .anIntArray2370
							      [2]))
					 ^ 0xffffffff) == -1));
			    if (!bools_91_[i_77_ + 2 & 0x3])
				bools[2]
				    = (Class369_Sub3_Sub1.method3576
				       (bools[2],
					(Class139.bitAnd((Class180
							      .anIntArray2370
							      [4]),
							     (Class180
							      .anIntArray2370
							      [6]))
					 ^ 0xffffffff) == -1));
			    if (!bool_75_
				&& ((i_76_ ^ 0xffffffff) == -1
				    || (i_76_ ^ 0xffffffff) == -13)) {
				if (!bools[0] || bools[1] || bools[2]
				    || !bools[3]) {
				    if (!bools[0] || !bools[1] || bools[2]
					|| bools[3]) {
					if (!bools[0] && bools[1] && bools[2]
					    && !bools[3]) {
					    i_77_ = 2;
					    i_76_ = ((i_76_ ^ 0xffffffff) != -1
						     ? (byte) 14 : (byte) 13);
					    bools[1] = bools[2] = false;
					} else if (!bools[0] && !bools[1]
						   && bools[2] && bools[3]) {
					    i_76_ = (i_76_ != 0 ? (byte) 14
						     : (byte) 13);
					    bools[2] = bools[3] = false;
					    i_77_ = 1;
					}
				    } else {
					i_76_ = (i_76_ == 0 ? (byte) 13
						 : (byte) 14);
					bools[0] = bools[1] = false;
					i_77_ = 3;
				    }
				} else {
				    bools[0] = bools[3] = false;
				    i_77_ = 0;
				    i_76_ = ((i_76_ ^ 0xffffffff) == -1
					     ? (byte) 13 : (byte) 14);
				}
			    }
			    boolean bool_94_
				= (!bool_75_ && !bools[0] && !bools[2]
				   && !bools[1] && !bools[3]);
			    int[] is_95_ = null;
			    int[] is_96_;
			    int[] is_97_;
			    int i_98_;
			    int[] is_99_;
			    int i_100_;
			    if (!bool_94_) {
				if (bool_75_) {
				    i_100_ = (class277 == null ? 0
					      : Class48.anIntArray860[i_76_]);
				    is_96_
					= Class98.anIntArrayArray1566[i_76_];
				    is_95_
					= AlternativeFontLoader.anIntArrayArray1638[i_76_];
				    is_97_
					= Class163.anIntArrayArray2165[i_76_];
				    is_99_ = (Class348_Sub15
					      .anIntArrayArray6780[i_76_]);
				    i_98_ = (class22 != null
					     ? WorldInfo.anIntArray3659[i_76_]
					     : 0);
				} else {
				    i_98_ = (class22 == null ? 0
					     : Class246.anIntArray3173[i_76_]);
				    i_100_
					= (class277 == null ? 0
					   : Class334.anIntArray4152[i_76_]);
				    is_97_
					= Class284.anIntArrayArray3677[i_76_];
				    is_99_ = (Class239_Sub20
					      .anIntArrayArray6054[i_76_]);
				    is_96_ = (ToolkitException.anIntArrayArray111
					      [i_76_]);
				    is_95_ = (Class348_Sub16_Sub3
					      .anIntArrayArray8910[i_76_]);
				}
			    } else {
				is_96_ = Class10.anIntArrayArray174[i_76_];
				is_97_ = Class68.anIntArrayArray1190[i_76_];
				i_98_ = (class22 != null
					 ? Class43.anIntArray619[i_76_] : 0);
				is_99_ = (Class348_Sub12.anIntArrayArray6740
					  [i_76_]);
				i_100_ = (class277 == null ? 0
					  : (Class348_Sub40_Sub18
					     .anIntArray9249[i_76_]));
			    }
			    int i_101_ = i_100_ + i_98_;
			    if (i_101_ <= 0)
				Class185.method1394(i_66_, i_71_, i_73_);
			    else {
				if (bools[0])
				    i_101_++;
				if (bools[2])
				    i_101_++;
				if (bools[1])
				    i_101_++;
				if (bools[3])
				    i_101_++;
				int i_102_ = 0;
				int i_103_ = 0;
				int i_104_ = i_101_ * 3;
				int[] is_105_
				    = bool_92_ ? new int[i_104_] : null;
				int[] is_106_ = new int[i_104_];
				int[] is_107_ = new int[i_104_];
				int[] is_108_ = new int[i_104_];
				int[] is_109_ = new int[i_104_];
				int[] is_110_ = new int[i_104_];
				int[] is_111_
				    = var_s == null ? null : new int[i_104_];
				int[] is_112_
				    = (var_s == null && var_s_65_ == null
				       ? null : new int[i_104_]);
				int i_113_ = -1;
				int i_114_ = -1;
				int i_115_ = 256;
				if (class277 != null) {
				    i_114_ = ((Class277) class277).anInt3575;
				    i_115_ = ((Class277) class277).anInt3570;
				    i_113_ = ((Class277) class277).anInt3563;
				    int i_116_
					= (Class348_Sub42_Sub17.method3266
					   (var_ha, i ^ ~0x68ad, class277));
				    for (int i_117_ = 0; i_117_ < i_100_;
					 i_117_++) {
					boolean bool_118_ = false;
					int i_119_;
					if (!bools[-i_77_ & 0x3]
					    || is_95_[0] != i_102_) {
					    if (!bools[-i_77_ + 2 & 0x3]
						|| is_95_[2] != i_102_) {
						if (!bools[-i_77_ + 1 & 0x3]
						    || ((i_102_ ^ 0xffffffff)
							!= (is_95_[1]
							    ^ 0xffffffff))) {
						    if (!(bools
							  [0x3 & -i_77_ + 3])
							|| ((is_95_[3]
							     ^ 0xffffffff)
							    != (i_102_
								^ 0xffffffff))) {
							Node
							    .anIntArray4288[0]
							    = is_96_[i_102_];
							Node
							    .anIntArray4288[1]
							    = is_97_[i_102_];
							Node
							    .anIntArray4288[2]
							    = is_99_[i_102_];
							i_119_ = 3;
						    } else {
							Node
							    .anIntArray4288[0]
							    = is_96_[i_102_];
							Node
							    .anIntArray4288[1]
							    = 7;
							Node
							    .anIntArray4288[2]
							    = is_99_[i_102_];
							Node
							    .anIntArray4288[3]
							    = 7;
							Node
							    .anIntArray4288[4]
							    = is_97_[i_102_];
							i_119_ = 6;
							Node
							    .anIntArray4288[5]
							    = is_99_[i_102_];
						    }
						} else {
						    Node.anIntArray4288[0]
							= is_96_[i_102_];
						    Node.anIntArray4288[1]
							= 3;
						    Node.anIntArray4288[2]
							= is_99_[i_102_];
						    Node.anIntArray4288[3]
							= 3;
						    Node.anIntArray4288[4]
							= is_97_[i_102_];
						    i_119_ = 6;
						    Node.anIntArray4288[5]
							= is_99_[i_102_];
						}
					    } else {
						Node.anIntArray4288[0]
						    = is_96_[i_102_];
						Node.anIntArray4288[1] = 5;
						Node.anIntArray4288[2]
						    = is_99_[i_102_];
						Node.anIntArray4288[3] = 5;
						Node.anIntArray4288[4]
						    = is_97_[i_102_];
						i_119_ = 6;
						Node.anIntArray4288[5]
						    = is_99_[i_102_];
					    }
					} else {
					    Node.anIntArray4288[0]
						= is_96_[i_102_];
					    Node.anIntArray4288[1] = 1;
					    Node.anIntArray4288[2]
						= is_99_[i_102_];
					    Node.anIntArray4288[3] = 1;
					    Node.anIntArray4288[4]
						= is_97_[i_102_];
					    Node.anIntArray4288[5]
						= is_99_[i_102_];
					    i_119_ = 6;
					}
					for (int i_120_ = 0;
					     ((i_120_ ^ 0xffffffff)
					      > (i_119_ ^ 0xffffffff));
					     i_120_++) {
					    int i_121_
						= (Node.anIntArray4288
						   [i_120_]);
					    int i_122_
						= -(2 * i_77_) + i_121_ & 0x7;
					    int i_123_
						= anIntArray3124[i_121_];
					    int i_124_
						= anIntArray3128[i_121_];
					    int i_125_;
					    int i_126_;
					    if (i_77_ != 1) {
						if ((i_77_ ^ 0xffffffff)
						    == -3) {
						    i_126_ = 512 - i_123_;
						    i_125_ = -i_124_ + 512;
						} else if ((i_77_ ^ 0xffffffff)
							   == -4) {
						    i_125_ = i_123_;
						    i_126_ = 512 + -i_124_;
						} else {
						    i_125_ = i_124_;
						    i_126_ = i_123_;
						}
					    } else {
						i_125_ = 512 + -i_123_;
						i_126_ = i_124_;
					    }
					    is_106_[i_103_] = i_126_;
					    is_107_[i_103_] = i_125_;
					    if (is_111_ != null
						&& (IntergerVarScriptSettingDefinition
						    .aBooleanArrayArray2133
						    [i_76_][i_121_])) {
						int i_127_
						    = (i_126_
						       + (i_71_
							  << -1848688055));
						int i_128_
						    = i_125_ + (i_73_
								<< -488303543);
						is_111_[i_103_]
						    = ((var_s.method3986
							(i_127_, i_128_,
							 (byte) 124))
						       + -(var_s_64_.method3986
							   (i_127_, i_128_,
							    (byte) -118)));
					    }
					    if (is_112_ != null) {
						if (var_s == null
						    || (IntergerVarScriptSettingDefinition
							.aBooleanArrayArray2133
							[i_76_][i_121_])) {
						    if (var_s_65_ != null
							&& !(Class348_Sub42_Sub1
							     .aBooleanArrayArray9495
							     [i_76_]
							     [i_121_])) {
							int i_129_
							    = ((i_71_
								<< -984625143)
							       - -i_126_);
							int i_130_
							    = ((i_73_
								<< -975379735)
							       + i_125_);
							is_112_[i_103_]
							    = ((var_s_65_
								    .method3986
								(i_129_,
								 i_130_,
								 (byte) -105))
							       + -(var_s_64_
								       .method3986
								   (i_129_,
								    i_130_,
								    (byte) -109)));
						    }
						} else {
						    int i_131_
							= ((i_71_
							    << 1938885001)
							   + i_126_);
						    int i_132_
							= (i_125_
							   + (i_73_
							      << -151999799));
						    is_112_[i_103_]
							= ((var_s_64_
								.method3986
							    (i_131_, i_132_,
							     (byte) -4))
							   - (var_s.method3986
							      (i_131_, i_132_,
							       (byte) 73)));
						}
					    }
					    if ((i_121_ ^ 0xffffffff) > -9
						&& ((Class306.anIntArray3873
						     [i_122_])
						    > (((Class277) class277)
						       .anInt3564))) {
						if (is_105_ != null)
						    is_105_[i_103_]
							= (Class348_Sub40_Sub38
							   .anIntArray9480
							   [i_122_]);
						is_110_[i_103_]
						    = (Class348_Sub6
						       .anIntArray6631
						       [i_122_]);
						is_109_[i_103_]
						    = (Class223.anIntArray2899
						       [i_122_]);
						is_108_[i_103_]
						    = (Class348_Sub15
						       .anIntArray6775
						       [i_122_]);
					    } else {
						if (is_105_ != null)
						    is_105_[i_103_] = i_116_;
						is_109_[i_103_]
						    = (((Class277) class277)
						       .anInt3575);
						is_110_[i_103_]
						    = (((Class277) class277)
						       .anInt3570);
						is_108_[i_103_] = i_113_;
					    }
					    i_103_++;
					}
					i_102_++;
				    }
				    if (!aBoolean3109
					&& i_66_ == 0)
					Class333.method2643
					    (i_71_, i_73_,
					     ((Class277) class277).anInt3559,
					     8 * (((Class277) class277)
						  .anInt3558),
					     ((Class277) class277).anInt3574);
				    if (i_76_ != 12
					&& (((Class277) class277).anInt3563
					    != -1)
					&& ((Class277) class277).aBoolean3566)
					bool = true;
				} else if (bool_94_)
				    i_102_ += (Class348_Sub40_Sub18
					       .anIntArray9249[i_76_]);
				else if (!bool_75_)
				    i_102_ += Class334.anIntArray4152[i_76_];
				else
				    i_102_ += Class48.anIntArray860[i_76_];
				if (class22 != null) {
				    if ((i_82_ ^ 0xffffffff) == -1)
					i_82_ = i_79_;
				    if (i_81_ == 0)
					i_81_ = i_79_;
				    if ((i_80_ ^ 0xffffffff) == -1)
					i_80_ = i_79_;
				    Class22 class22_133_
					= aClass183_3120
					      .method1380(true, -1 + i_79_);
				    Class22 class22_134_
					= aClass183_3120.method1380(true,
								    i_80_ - 1);
				    Class22 class22_135_
					= aClass183_3120
					      .method1380(true, i_81_ + -1);
				    Class22 class22_136_
					= aClass183_3120
					      .method1380(true, -1 + i_82_);
				    for (int i_137_ = 0;
					 ((i_137_ ^ 0xffffffff)
					  > (i_98_ ^ 0xffffffff));
					 i_137_++) {
					boolean bool_138_ = false;
					int i_139_;
					if (!bools[-i_77_ & 0x3]
					    || i_102_ != is_95_[0]) {
					    if (!bools[2 + -i_77_ & 0x3]
						|| i_102_ != is_95_[2]) {
						if (bools[0x3 & -i_77_ + 1]
						    && ((i_102_ ^ 0xffffffff)
							== (is_95_[1]
							    ^ 0xffffffff))) {
						    Node.anIntArray4288[0]
							= is_96_[i_102_];
						    Node.anIntArray4288[1]
							= 3;
						    Node.anIntArray4288[2]
							= is_99_[i_102_];
						    Node.anIntArray4288[3]
							= 3;
						    Node.anIntArray4288[4]
							= is_97_[i_102_];
						    Node.anIntArray4288[5]
							= is_99_[i_102_];
						    i_139_ = 6;
						} else if ((bools
							    [-i_77_ + 3 & 0x3])
							   && (i_102_
							       == is_95_[3])) {
						    Node.anIntArray4288[0]
							= is_96_[i_102_];
						    Node.anIntArray4288[1]
							= 7;
						    Node.anIntArray4288[2]
							= is_99_[i_102_];
						    Node.anIntArray4288[3]
							= 7;
						    Node.anIntArray4288[4]
							= is_97_[i_102_];
						    Node.anIntArray4288[5]
							= is_99_[i_102_];
						    i_139_ = 6;
						} else {
						    Node.anIntArray4288[0]
							= is_96_[i_102_];
						    Node.anIntArray4288[1]
							= is_97_[i_102_];
						    i_139_ = 3;
						    Node.anIntArray4288[2]
							= is_99_[i_102_];
						}
					    } else {
						Node.anIntArray4288[0]
						    = is_96_[i_102_];
						Node.anIntArray4288[1] = 5;
						Node.anIntArray4288[2]
						    = is_99_[i_102_];
						Node.anIntArray4288[3] = 5;
						Node.anIntArray4288[4]
						    = is_97_[i_102_];
						i_139_ = 6;
						Node.anIntArray4288[5]
						    = is_99_[i_102_];
					    }
					} else {
					    Node.anIntArray4288[0]
						= is_96_[i_102_];
					    Node.anIntArray4288[1] = 1;
					    Node.anIntArray4288[2]
						= is_99_[i_102_];
					    Node.anIntArray4288[3] = 1;
					    Node.anIntArray4288[4]
						= is_97_[i_102_];
					    i_139_ = 6;
					    Node.anIntArray4288[5]
						= is_99_[i_102_];
					}
					i_102_++;
					for (int i_140_ = 0;
					     ((i_139_ ^ 0xffffffff)
					      < (i_140_ ^ 0xffffffff));
					     i_140_++) {
					    int i_141_
						= (Node.anIntArray4288
						   [i_140_]);
					    int i_142_
						= -(2 * i_77_) + i_141_ & 0x7;
					    int i_143_
						= anIntArray3124[i_141_];
					    int i_144_
						= anIntArray3128[i_141_];
					    int i_145_;
					    int i_146_;
					    if ((i_77_ ^ 0xffffffff) == -2) {
						i_146_ = i_144_;
						i_145_ = -i_143_ + 512;
					    } else if (i_77_ != 2) {
						if (i_77_ == 3) {
						    i_145_ = i_143_;
						    i_146_ = 512 + -i_144_;
						} else {
						    i_145_ = i_144_;
						    i_146_ = i_143_;
						}
					    } else {
						i_145_ = 512 + -i_144_;
						i_146_ = 512 + -i_143_;
					    }
					    is_106_[i_103_] = i_146_;
					    is_107_[i_103_] = i_145_;
					    if (is_111_ != null
						&& (IntergerVarScriptSettingDefinition
						    .aBooleanArrayArray2133
						    [i_76_][i_141_])) {
						int i_147_
						    = (i_146_
						       + (i_71_
							  << -2028600663));
						int i_148_
						    = ((i_73_ << 1419093001)
						       - -i_145_);
						is_111_[i_103_]
						    = ((var_s.method3986
							(i_147_, i_148_,
							 (byte) -95))
						       - (var_s_64_.method3986
							  (i_147_, i_148_,
							   (byte) 69)));
					    }
					    if (is_112_ != null) {
						if (var_s == null
						    || (IntergerVarScriptSettingDefinition
							.aBooleanArrayArray2133
							[i_76_][i_141_])) {
						    if (var_s_65_ != null
							&& !(Class348_Sub42_Sub1
							     .aBooleanArrayArray9495
							     [i_76_]
							     [i_141_])) {
							int i_149_
							    = ((i_71_
								<< 888314473)
							       - -i_146_);
							int i_150_
							    = (i_145_
							       + (i_73_
								  << -1204507895));
							is_112_[i_103_]
							    = ((var_s_65_
								    .method3986
								(i_149_,
								 i_150_,
								 (byte) 92))
							       + -(var_s_64_
								       .method3986
								   (i_149_,
								    i_150_,
								    (byte) 127)));
						    }
						} else {
						    int i_151_
							= ((i_71_
							    << 1172412361)
							   + i_146_);
						    int i_152_
							= (i_145_
							   + (i_73_
							      << 256903625));
						    is_112_[i_103_]
							= ((var_s_64_
								.method3986
							    (i_151_, i_152_,
							     (byte) -102))
							   - (var_s.method3986
							      (i_151_, i_152_,
							       (byte) 106)));
						}
					    }
					    if ((i_141_ ^ 0xffffffff) <= -9
						|| (Class306.anIntArray3873
						    [i_142_]) < 0) {
						if (!bool_75_
						    || !(IntergerVarScriptSettingDefinition
							 .aBooleanArrayArray2133
							 [i_76_][i_141_])) {
						    if (((i_146_ ^ 0xffffffff)
							 == -1)
							&& i_145_ == 0) {
							is_108_[i_103_]
							    = is[i_71_][i_73_];
							is_109_[i_103_]
							    = (((Class22)
								class22_133_)
							       .anInt331);
							is_110_[i_103_]
							    = (((Class22)
								class22_133_)
							       .anInt336);
						    } else if (i_146_ != 0
							       || ((i_145_
								    ^ 0xffffffff)
								   != -513)) {
							if (i_146_ == 512
							    && i_145_ == 512) {
							    is_108_[i_103_]
								= (is[i_72_]
								   [i_74_]);
							    is_109_[i_103_]
								= (((Class22)
								    class22_135_)
								   .anInt331);
							    is_110_[i_103_]
								= (((Class22)
								    class22_135_)
								   .anInt336);
							} else if (((i_146_
								     ^ 0xffffffff)
								    != -513)
								   || ((i_145_
									^ 0xffffffff)
								       != -1)) {
							    if ((i_146_
								 ^ 0xffffffff)
								<= -257) {
								if (i_145_
								    >= 256) {
								    is_109_
									[i_103_]
									= (((Class22)
									    class22_135_)
									   .anInt331);
								    is_110_
									[i_103_]
									= (((Class22)
									    class22_135_)
									   .anInt336);
								} else {
								    is_109_
									[i_103_]
									= (((Class22)
									    class22_136_)
									   .anInt331);
								    is_110_
									[i_103_]
									= (((Class22)
									    class22_136_)
									   .anInt336);
								}
							    } else if ((i_145_
									^ 0xffffffff)
								       > -257) {
								is_109_[i_103_]
								    = (((Class22)
									class22_133_)
								       .anInt331);
								is_110_[i_103_]
								    = (((Class22)
									class22_133_)
								       .anInt336);
							    } else {
								is_109_[i_103_]
								    = (((Class22)
									class22_134_)
								       .anInt331);
								is_110_[i_103_]
								    = (((Class22)
									class22_134_)
								       .anInt336);
							    }
							    int i_153_
								= (Class334
								       .method2652
								   ((is[i_71_]
								     [i_73_]),
								    (is[i_72_]
								     [i_73_]),
								    1,
								    (i_146_
								     << 1903696711
								     >> -399079287)));
							    int i_154_
								= (Class334
								       .method2652
								   ((is[i_71_]
								     [i_74_]),
								    (is[i_72_]
								     [i_74_]),
								    1,
								    (i_146_
								     << 1558996679
								     >> -850349879)));
							    is_108_[i_103_]
								= (Class334
								       .method2652
								   (i_153_,
								    i_154_,
								    i + 26834,
								    (i_145_
								     << -118568345
								     >> 719820073)));
							} else {
							    is_108_[i_103_]
								= (is[i_72_]
								   [i_73_]);
							    is_109_[i_103_]
								= (((Class22)
								    class22_136_)
								   .anInt331);
							    is_110_[i_103_]
								= (((Class22)
								    class22_136_)
								   .anInt336);
							}
						    } else {
							is_108_[i_103_]
							    = is[i_71_][i_74_];
							is_109_[i_103_]
							    = (((Class22)
								class22_134_)
							       .anInt331);
							is_110_[i_103_]
							    = (((Class22)
								class22_134_)
							       .anInt336);
						    }
						} else {
						    is_109_[i_103_] = i_114_;
						    is_110_[i_103_] = i_115_;
						    is_108_[i_103_] = i_113_;
						}
						if (is_105_ != null)
						    is_105_[i_103_]
							= is_108_[i_103_];
					    } else {
						if (is_105_ != null)
						    is_105_[i_103_]
							= (Class348_Sub40_Sub38
							   .anIntArray9480
							   [i_142_]);
						is_110_[i_103_]
						    = (Class348_Sub6
						       .anIntArray6631
						       [i_142_]);
						is_109_[i_103_]
						    = (Class223.anIntArray2899
						       [i_142_]);
						is_108_[i_103_]
						    = (Class348_Sub15
						       .anIntArray6775
						       [i_142_]);
					    }
					    i_103_++;
					}
				    }
				    if (i_76_ != 0
					&& ((Class22) class22).aBoolean342)
					bool = true;
				}
				int i_155_
				    = var_s_64_.method3982((byte) -86, i_73_,
							   i_71_);
				int i_156_
				    = var_s_64_.method3982((byte) -86, i_73_,
							   i_72_);
				int i_157_
				    = var_s_64_.method3982((byte) -86, i_74_,
							   i_72_);
				int i_158_
				    = var_s_64_.method3982((byte) -86, i_74_,
							   i_71_);
				boolean bool_159_
				    = NpcDefinition.isElevatedTile(i_71_, i_73_);
				if (bool_159_ && (i_66_ ^ 0xffffffff) < -2
				    || (!bool_159_
					&& (i_66_ ^ 0xffffffff) < -1)) {
				    boolean bool_160_ = true;
				    if (class22 != null
					&& !((Class22) class22).aBoolean334)
					bool_160_ = false;
				    else if ((i_79_ ^ 0xffffffff) == -1
					     && (i_76_ ^ 0xffffffff) != -1)
					bool_160_ = false;
				    else if (i_78_ > 0 && class277_83_ != null
					     && !(((Class277) class277_83_)
						  .aBoolean3561))
					bool_160_ = false;
				    if (bool_160_
					&& ((i_155_ ^ 0xffffffff)
					    == (i_156_ ^ 0xffffffff))
					&& i_157_ == i_155_
					&& i_155_ == i_158_)
					((MapLoader) this)
					    .aByteArrayArrayArray3108[i_66_]
					    [i_71_][i_73_]
					    = (byte) (Class273.bitOr
						      ((((MapLoader) this)
							.aByteArrayArrayArray3108
							[i_66_][i_71_][i_73_]),
						       4));
				}
				int i_161_ = 0;
				int i_162_ = 0;
				int i_163_ = 0;
				if (aBoolean3109) {
				    i_161_ = Class367_Sub8.method3547(i_71_,
								      i_73_);
				    i_162_
					= Class318_Sub1_Sub5.method2483(i_71_,
									i_73_);
				    i_163_ = Class199.method1457(i_71_, i_73_);
				}
				var_s_64_.U(i_71_, i_73_, is_106_, is_111_,
					    is_107_, is_112_, is_108_, is_105_,
					    is_109_, is_110_, i_161_, i_162_,
					    i_163_, bool);
				Class185.method1394(i_66_, i_71_, i_73_);
			    }
			}
		    }
		}
	    }
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929
		      (runtimeexception,
		       ("sr.B(" + (var_s != null ? "{...}" : "null") + ','
			+ (var_s_64_ != null ? "{...}" : "null") + ',' + i
			+ ',' + (var_s_65_ != null ? "{...}" : "null") + ','
			+ (is != null ? "{...}" : "null") + ','
			+ (var_ha != null ? "{...}" : "null") + ',' + i_66_
			+ ')'));
	}
    }