static final int method1961(int i, int i_2_, int i_3_) {
		anInt2376++;
		if ((CacheNode_Sub4.aClass1_9466.anInt110 ^ 0xffffffff) == 0) {
			return 1;
		}
		if ((i_2_ ^ 0xffffffff) != (Class213.aNode_Sub27_2512.aClass320_Sub29_7270.method3791(false) ^ 0xffffffff)) {
			Class356.method4024(true, true, Class22.aClass22_376.method297(Class35.language), i_2_);
			if (i_2_ != Class213.aNode_Sub27_2512.aClass320_Sub29_7270.method3791(false)) {
				return -1;
			}
		}
		try {
			Dimension dimension = Node_Sub38_Sub20.aCanvas10309.getSize();
			if (i_3_ != 13968) {
				method1963((byte) -54);
			}
			Class169_Sub3.method1779(Class93.aGraphicsToolkit1241, Class22.aClass22_376.method297(Class35.language), true, Class169_Sub3.aClass357_8820, StandardSprite.aClass52_8945, -16777216);
			Model model = Renderer.method3448(CacheNode_Sub4.aClass1_9466.anInt110, 7, 0, Class107.aClass302_1364);
			long l = Class313.method3650(false);
			Class93.aGraphicsToolkit1241.la();
			Class290_Sub6.aClass336_8114.method3854(0, Class135.anInt1692, 0);
			Class93.aGraphicsToolkit1241.a(Class290_Sub6.aClass336_8114);
			Class93.aGraphicsToolkit1241.DA(dimension.width / 2, dimension.height / 2, 512, 512);
			Class93.aGraphicsToolkit1241.xa(1.0F);
			Class93.aGraphicsToolkit1241.ZA(16777215, 0.5F, 0.5F, 20.0F, -50.0F, 30.0F);
			DrawableModel drawablemodel = Class93.aGraphicsToolkit1241.a(model, 2048, 64, 64, 768);
			int i_4_ = 0;
		while_159_:
			for (int i_5_ = 0; i_5_ < 500; i_5_++) {
				Class93.aGraphicsToolkit1241.GA(0);
				Class93.aGraphicsToolkit1241.ya();
				for (int i_6_ = 15; (i_6_ ^ 0xffffffff) <= -1; i_6_--) {
					for (int i_7_ = 0; i_6_ >= i_7_; i_7_++) {
						Node_Sub5.aClass336_7032.method3854((int) ((float) Class179.anInt2129 * (-((float) i_6_ / 2.0F) + (float) i_7_)), 0, (i_6_ + 1) * Class179.anInt2129);
						drawablemodel.method611(Node_Sub5.aClass336_7032, null, 0);
						i_4_++;
						if ((long) i <= -l + Class313.method3650(false)) {
							break while_159_;
						}
					}
				}
			}
			Class93.aGraphicsToolkit1241.j();
			long l_8_ = (long) (1000 * i_4_) / (-l + Class313.method3650(false));
			Class93.aGraphicsToolkit1241.GA(0);
			Class93.aGraphicsToolkit1241.ya();
			return (int) l_8_;
		} catch (Throwable throwable) {
			throwable.printStackTrace();
			return -1;
		}
	}