static final int method1781(int i, int i_1_, int i_2_) {
	anInt5983++;
	if (AbstractImageFetcher.anInt6923 == -1)
	    return 1;
	if ((((Class348_Sub51) BitmapTable.aClass348_Sub51_3959)
		 .aClass239_Sub25_7271.method1829(-32350)
	     ^ 0xffffffff)
	    != (i ^ 0xffffffff)) {
	    Class258_Sub3_Sub1.method1971
		(-2,
		 GameText.aClass274_3496.getLanguageText(Class348_Sub33.gameLanguage),
		 true, i);
	    if (i != ((Class348_Sub51) BitmapTable.aClass348_Sub51_3959)
			 .aClass239_Sub25_7271.method1829(-32350))
		return -1;
	}
	try {
	    Dimension dimension = Class305.canvas.getSize();
	    Class362.method3511(true, ClientApplet.p12fullFontRasterizer,
				Class246.p12fullBitmapFont,
				GameText.aClass274_3496
				    .getLanguageText(Class348_Sub33.gameLanguage),
				2, Class348_Sub8.currentToolkit);
	    Model model = Class300.createModel(0, aa_Sub3.indexLoader7, AbstractImageFetcher.anInt6923);
	    long l = Class62.getCurrentTimeMillis();
	    Class348_Sub8.currentToolkit.la();
	    Class157.aClass101_2123.method894(0, Class348_Sub23_Sub2.anInt9037, 0);
	    Class348_Sub8.currentToolkit.method3638(Class157.aClass101_2123);
	    Class348_Sub8.currentToolkit.DA(dimension.width / 2, dimension.height / 2,
				     512, 512);
	    Class348_Sub8.currentToolkit.xa(1.0F);
	    if (i_1_ >= -66)
		aClass190_5990 = null;
	    Class348_Sub8.currentToolkit.ZA(16777215, 0.5F, 0.5F, 20.0F, -50.0F,
				     30.0F);
	    AnimatableToolkit class64 = Class348_Sub8.currentToolkit.method3625(model, 2048, 64, 64, 768);
	    int i_3_ = 0;
	while_80_:
	    for (int i_4_ = 0; (i_4_ ^ 0xffffffff) > -501; i_4_++) {
		Class348_Sub8.currentToolkit.drawScreenOverlay(0);
		Class348_Sub8.currentToolkit.ya();
		for (int i_5_ = 15; (i_5_ ^ 0xffffffff) <= -1; i_5_--) {
		    for (int i_6_ = 0;
			 (i_5_ ^ 0xffffffff) <= (i_6_ ^ 0xffffffff); i_6_++) {
			Class50_Sub1.aClass101_5209.method894
			    ((int) ((-((float) i_5_ / 2.0F) + (float) i_6_)
				    * (float) Class270.anInt3465),
			     0, (i_5_ + 1) * Class270.anInt3465);
			i_3_++;
			class64.method615(Class50_Sub1.aClass101_5209, null,
					  0);
			if (((long) i_2_ ^ 0xffffffffffffffffL)
			    >= (Class62.getCurrentTimeMillis() + -l
				^ 0xffffffffffffffffL))
			    break while_80_;
		    }
		}
	    }
	    Class348_Sub8.currentToolkit.method3633();
	    long l_7_ = (long) (1000 * i_3_) / (Class62.getCurrentTimeMillis() + -l);
	    Class348_Sub8.currentToolkit.drawScreenOverlay(0);
	    Class348_Sub8.currentToolkit.ya();
	    return (int) l_7_;
	} catch (Throwable throwable) {
	    throwable.printStackTrace();
	    return -1;
	}
    }