final void method3899(int i, int i_50_, Class21 class21, boolean bool) {
	try {
	    anInt9854++;
	    if (bool != true)
		((NativeOpenGlToolkit) this).aBoolean9921 = true;
	    int i_51_;
	    int i_52_;
	    if (class21 != Class249.aClass21_3217) {
		if (Class348_Sub5_Sub1.aClass21_8832 != class21) {
		    if (Class247.aClass21_3181 == class21) {
			i_52_ = 4;
			i_51_ = i * 3;
		    } else if (class21 == FileRequest.aClass21_9661) {
			i_52_ = 6;
			i_51_ = 2 + i;
		    } else if (s_Sub3.aClass21_8320 != class21) {
			i_51_ = i;
			i_52_ = 0;
		    } else {
			i_51_ = 2 + i;
			i_52_ = 5;
		    }
		} else {
		    i_51_ = i - -1;
		    i_52_ = 3;
		}
	    } else {
		i_51_ = 2 * i;
		i_52_ = 1;
	    }
	    OpenGL.glDrawArrays(i_52_, i_50_, i_51_);
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929(runtimeexception,
					    ("bga.V(" + i + ',' + i_50_ + ','
					     + (class21 != null ? "{...}"
						: "null")
					     + ',' + bool + ')'));
	}
    }