static final void method3171(AbstractToolkit var_ha, int i, int i_0_, int i_1_,
				 int i_2_, int i_3_, int i_4_, boolean bool,
				 boolean bool_5_) {
	Class9.aHa171 = var_ha;
	Npc.anInt10503 = i;
	Class348_Sub40_Sub5.aBoolean9121
	    = (Npc.anInt10503 > 1
	       && Class9.aHa171.supportsMultipleCores());
	Class362.anInt4459 = i_0_;
	Class270.anInt3465 = 1 << Class362.anInt4459;
	Class348_Sub23_Sub2.anInt9037 = Class270.anInt3465 >> 1;
	Math.sqrt((double) ((Class348_Sub23_Sub2.anInt9037
			     * Class348_Sub23_Sub2.anInt9037)
			    + (Class348_Sub23_Sub2.anInt9037
			       * Class348_Sub23_Sub2.anInt9037)));
	Class189.anInt2524 = i_1_;
	Class318_Sub7.anInt6451 = i_2_;
	Class348_Sub41.anInt7054 = i_3_;
	Class318_Sub1_Sub4_Sub1.anInt10084 = i_4_;
	Class50_Sub4.aClass47_5262 = Class348_Sub16_Sub1.method2826(15);
	AbstractMouseEvent.method3309(-124);
	Class65.aClass357ArrayArrayArray1148
	    = (new Class357[i_1_][Class318_Sub7.anInt6451]
	       [Class348_Sub41.anInt7054]);
	Class348_Sub1_Sub1.aSArray8801 = new s[i_1_];
	if (bool) {
	    Class342.anIntArrayArray4253
		= new int[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054];
	    Class348_Sub1_Sub2.aByteArrayArray8816
		= new byte[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054];
	    Class239_Sub1.aShortArrayArray5847
		= new short[Class318_Sub7.anInt6451][Class348_Sub41.anInt7054];
	    GraphicsFetcher.aClass357ArrayArrayArray9082
		= (new Class357[1][Class318_Sub7.anInt6451]
		   [Class348_Sub41.anInt7054]);
	    Class332.aSArray4142 = new s[1];
	} else {
	    Class342.anIntArrayArray4253 = null;
	    Class348_Sub1_Sub2.aByteArrayArray8816 = null;
	    Class239_Sub1.aShortArrayArray5847 = null;
	    GraphicsFetcher.aClass357ArrayArrayArray9082 = null;
	    Class332.aSArray4142 = null;
	}
	if (bool_5_) {
	    Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431
		= new long[i_1_][i_2_][i_3_];
	    Class239_Sub14.aClass211Array5993 = new Class211[65535];
	    r.aBooleanArray9718 = new boolean[65535];
	    Class331.anInt4135 = 0;
	} else {
	    Class348_Sub42_Sub8_Sub2.aLongArrayArrayArray10431 = null;
	    Class239_Sub14.aClass211Array5993 = null;
	    r.aBooleanArray9718 = null;
	    Class331.anInt4135 = 0;
	}
	Class243.method1879(false);
	Node.aClass318_Sub1Array4293 = new Class318_Sub1[2];
	Class250.aClass318_Sub1Array3226 = new Class318_Sub1[2];
	Class115.aClass318_Sub1Array1754 = new Class318_Sub1[2];
	Class239_Sub21.aClass318_Sub1Array6066 = new Class318_Sub1[10000];
	Class5_Sub1_Sub1.anInt9930 = 0;
	IndexTable.aClass318_Sub1Array3737 = new Class318_Sub1[5000];
	Class348_Sub42_Sub3.anInt9504 = 0;
	Class24.aClass318_Sub1_Sub3Array357 = new Entity[5000];
	Class86.anInt1477 = 0;
	Class99.aBooleanArrayArray1572
	    = (new boolean
	       [(Class318_Sub1_Sub4_Sub1.anInt10084
		 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]
	       [(Class318_Sub1_Sub4_Sub1.anInt10084
		 + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]);
	Class348_Sub8.aBooleanArrayArray6656
	    = (new boolean
	       [(Class318_Sub1_Sub4_Sub1.anInt10084
		 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)]
	       [(Class318_Sub1_Sub4_Sub1.anInt10084
		 + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)]);
	Class171.anIntArray2272
	    = new int[(Class318_Sub1_Sub4_Sub1.anInt10084
		       + Class318_Sub1_Sub4_Sub1.anInt10084 + 2)];
	Class71.aClass76_1208 = Class71.aClass76_1210;
	if (Class348_Sub40_Sub5.aBoolean9121) {
	    Class115.aBooleanArrayArrayArray1751
		= (new boolean[i_1_]
		   [(Class318_Sub1_Sub4_Sub1.anInt10084
		     + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]
		   [(Class318_Sub1_Sub4_Sub1.anInt10084
		     + Class318_Sub1_Sub4_Sub1.anInt10084 + 1)]);
	    Class5_Sub2.aBooleanArrayArrayArray8361 = new boolean[i_1_][][];
	    if (Class348_Sub40_Sub34.aClass293Array9432 != null)
		Class260.method1978();
	    Class348_Sub40_Sub34.aClass293Array9432
		= new Class293[Npc.anInt10503];
	    Class9.aHa171.method3631((Class348_Sub40_Sub34
				      .aClass293Array9432).length + 1);
	    Class9.aHa171.method3659(0);
	    for (int i_6_ = 0;
		 i_6_ < Class348_Sub40_Sub34.aClass293Array9432.length;
		 i_6_++) {
		Class348_Sub40_Sub34.aClass293Array9432[i_6_]
		    = new Class293(i_6_ + 1, Class9.aHa171);
		new Thread(Class348_Sub40_Sub34.aClass293Array9432[i_6_],
			   "wr" + i_6_).start();
	    }
	    int i_7_;
	    if (Npc.anInt10503 == 2) {
		i_7_ = 4;
		Class75_Sub1.anInt5652 = 2;
	    } else if (Npc.anInt10503 == 3) {
		i_7_ = 6;
		Class75_Sub1.anInt5652 = 3;
	    } else {
		i_7_ = 8;
		Class75_Sub1.anInt5652 = 4;
	    }
	    GfxLoader.aClass315Array3982 = new Class315[i_7_];
	    for (int i_8_ = 0; i_8_ < i_7_; i_8_++)
		GfxLoader.aClass315Array3982[i_8_]
		    = new Class315(Class239_Sub24.aStringArrayArray6093
				   [(Npc.anInt10503
				     - 2)]
				   [i_8_]);
	} else
	    Class75_Sub1.anInt5652 = 1;
	AnimationDefinition.anIntArray256 = new int[Class75_Sub1.anInt5652 - 1];
	Class345.anIntArray4271 = new int[Class75_Sub1.anInt5652 - 1];
    }