final Model method1554(boolean bool, int i) {
	anInt2796++;
	int i_0_ = anInt2792;
	int i_1_ = anInt2767;
	if (bool) {
	    i_1_ = anInt2775;
	    i_0_ = anInt2822;
	}
	if ((i_0_ ^ 0xffffffff) == 0)
	    return null;
	Model class124
	    = Class300.createModel(0,
				  ((ItemLoader) (((ItemDefinition) this)
					       .aClass255_2761)).modelIndexLoader,
				  i_0_);
	if ((((Model) class124).anInt1830 ^ 0xffffffff) > i)
	    class124.method1092(2, 54);
	if ((i_1_ ^ 0xffffffff) != 0) {
	    Model class124_2_
		= Class300.createModel(0, (((ItemLoader)
					   ((ItemDefinition) this).aClass255_2761)
					  .modelIndexLoader), i_1_);
	    if ((((Model) class124_2_).anInt1830 ^ 0xffffffff) > -14)
		class124_2_.method1092(2, i ^ ~0x78);
	    Model[] class124s = { class124, class124_2_ };
	    class124 = new Model(class124s, 2);
	}
	if (aShortArray2777 != null) {
	    for (int i_3_ = 0; i_3_ < aShortArray2777.length; i_3_++)
		class124.recolorTriangles(aShortArray2777[i_3_], (byte) 126,
				    aShortArray2771[i_3_]);
	}
	if (aShortArray2785 != null) {
	    for (int i_4_ = 0;
		 (aShortArray2785.length ^ 0xffffffff) < (i_4_ ^ 0xffffffff);
		 i_4_++)
		class124.method1095(aShortArray2785[i_4_], 0,
				    aShortArray2801[i_4_]);
	}
	return class124;
    }