static final void method294(AbstractToolkit var_ha, int i) {
	anInt328++;
	if (Class5_Sub1_Sub1.aClass262_9931.getSize(i) != 0) {
	    if ((((Class348_Sub51) BitmapTable.aClass348_Sub51_3959)
		     .aClass239_Sub25_7271.method1829(-32350)
		 ^ 0xffffffff)
		== -1) {
		for (Class348_Sub7 class348_sub7
			 = ((Class348_Sub7)
			    Class5_Sub1_Sub1.aClass262_9931.getFirst(4));
		     class348_sub7 != null;
		     class348_sub7
			 = (Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931
					       .nextForward((byte) 31)) {
		    ToolkitException.itemLoader.method1932
			(var_ha, ((Class348_Sub7) class348_sub7).anInt6647,
			 ((Class348_Sub7) class348_sub7).anInt6648,
			 Class240.p11fullFontRasterizer,
			 (!((Class348_Sub7) class348_sub7).aBoolean6650 ? null
			  : (((Player)
			      Class132.localPlayer)
			     .aClass154_10536)),
			 ((Class348_Sub7) class348_sub7).anInt6642, false,
			 (byte) 83, var_ha,
			 ((Class348_Sub7) class348_sub7).anInt6649, false,
			 ((Class348_Sub7) class348_sub7).anInt6645);
		    class348_sub7.removeNode();
		}
		Class354.method3466(i + -113);
	    } else {
		if (Class348_Sub34.aHa6968 == null) {
		    Canvas canvas = new Canvas();
		    canvas.setSize(36, 32);
		    Class348_Sub34.aHa6968
			= Class104.method958(true, 0,
					     Class348_Sub40_Sub4.textureLoader, 0,
					     canvas, EntryElementLoader.indexLoader31);
		    Class348_Sub40_Sub9.aClass324_9173
			= (Class348_Sub34.aHa6968.createFontRasterizer
			   (Class239_Sub23.method1819(LoadingStage.p11fullArchiveId, 0,
						      -44,
						      Class104.indexLoader13),
			    ImageSprite.loadSprites(Class21.indexLoader8,
						LoadingStage.p11fullArchiveId, 0),
			    true));
		}
		for (Class348_Sub7 class348_sub7
			 = ((Class348_Sub7)
			    Class5_Sub1_Sub1.aClass262_9931.getFirst(i + 4));
		     class348_sub7 != null;
		     class348_sub7
			 = (Class348_Sub7) Class5_Sub1_Sub1.aClass262_9931
					       .nextForward((byte) 118)) {
		    ToolkitException.itemLoader.method1932
			(Class348_Sub34.aHa6968,
			 ((Class348_Sub7) class348_sub7).anInt6647,
			 ((Class348_Sub7) class348_sub7).anInt6648,
			 Class348_Sub40_Sub9.aClass324_9173,
			 (((Class348_Sub7) class348_sub7).aBoolean6650
			  ? (((Player)
			      Class132.localPlayer)
			     .aClass154_10536)
			  : null),
			 ((Class348_Sub7) class348_sub7).anInt6642, false,
			 (byte) 83, var_ha,
			 ((Class348_Sub7) class348_sub7).anInt6649, false,
			 ((Class348_Sub7) class348_sub7).anInt6645);
		    class348_sub7.removeNode();
		}
	    }
	}
    }