final Class318_Sub4 method2386(int i, AbstractToolkit var_ha) {
	anInt10352++;
	AnimatableToolkit class64
	    = method2465(var_ha, anInt10355,
			 ((anInt10334 ^ 0xffffffff) == -1 ? 0 : 5) | 0x800,
			 (byte) -82);
	if (class64 == null)
	    return null;
	if (anInt10334 != 0)
	    class64.a(anInt10334 * 2048);
	Class101 class101 = var_ha.method3705();
	class101.method894(((Class318_Sub1) this).xHash,
			   ((Class318_Sub1) this).anInt6382,
			   ((Class318_Sub1) this).anInt6388);
	method2467(class64, var_ha, -1, class101);
	Class318_Sub4 class318_sub4
	    = DummyOutputstream.method136(i, false, false);
	if (Class305.aBoolean3870)
	    class64.method608(class101,
			      (((Class318_Sub4) class318_sub4)
			       .aClass318_Sub3Array6414[0]),
			      Class132.anInt1906, 0);
	else
	    class64.method615(class101, (((Class318_Sub4) class318_sub4)
					 .aClass318_Sub3Array6414[0]), 0);
	if (aClass318_Sub10_10341 != null) {
	    Class98 class98 = aClass318_Sub10_10341.method2525();
	    if (!Class305.aBoolean3870)
		var_ha.method3684(class98);
	    else
		var_ha.method3685(class98, Class132.anInt1906);
	}
	aBoolean10338 = class64.F();
	anInt10331 = class64.fa();
	anInt10356 = class64.ma();
	return class318_sub4;
    }