final boolean method1565(boolean bool, int i) {
	anInt2780++;
	int i_53_ = ((ItemDefinition) this).anInt2815;
	int i_54_ = anInt2804;
	int i_55_ = anInt2805;
	if (bool) {
	    i_55_ = anInt2770;
	    i_53_ = ((ItemDefinition) this).anInt2788;
	    i_54_ = anInt2760;
	}
	if (i_53_ == -1)
	    return true;
	boolean bool_56_ = true;
	if (!((ItemLoader) ((ItemDefinition) this).aClass255_2761).modelIndexLoader
		 .isLoaded(i_53_, 0))
	    bool_56_ = false;
	if ((i_54_ ^ 0xffffffff) != 0
	    && !((ItemLoader) ((ItemDefinition) this).aClass255_2761).modelIndexLoader
		    .isLoaded(i_54_, 0))
	    bool_56_ = false;
	if (i != i_55_ && !((ItemLoader) ((ItemDefinition) this).aClass255_2761)
			       .modelIndexLoader.isLoaded(i_55_, 0))
	    bool_56_ = false;
	return bool_56_;
    }