package jagex;

/* Class104_Sub2_Sub3_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Canvas;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.awt.image.DataBufferInt;
import java.awt.image.DirectColorModel;
import java.awt.image.Raster;
import java.awt.image.WritableRaster;
import java.util.Hashtable;

public final class Class104_Sub2_Sub3_Sub1 extends Class104_Sub2_Sub3 {
	Image anImage11782;

	public final int method9932(int i, int i_0_) {
		Graphics graphics = ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206.getGraphics();
		if (null == graphics)
			return 0;
		graphics.drawImage(((Class104_Sub2_Sub3_Sub1) this).anImage11782, i, i_0_, ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206);
		return 0;
	}

	void method10163(int i) {
		super.method10163(-1376044362);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}

	public int method9924() {
		return method9923(0, 0);
	}

	public void method128() {
		/* empty */
	}

	void method10166() {
		super.method10163(-1091556396);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}

	public void method127() {
		/* empty */
	}

	Class104_Sub2_Sub3_Sub1(Class106_Sub2 class106_sub2, Canvas canvas, int i, int i_1_) {
		super(class106_sub2, canvas, i, i_1_);
		new Rectangle();
		method10163(-545957341);
	}

	public void method120() {
		/* empty */
	}

	void method10165() {
		super.method10163(-1887530784);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}

	public final int method9930(int i, int i_2_) {
		Graphics graphics = ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206.getGraphics();
		if (null == graphics)
			return 0;
		graphics.drawImage(((Class104_Sub2_Sub3_Sub1) this).anImage11782, i, i_2_, ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206);
		return 0;
	}

	void method10167() {
		super.method10163(680391618);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}

	public void method39() {
		/* empty */
	}

	void method10168() {
		super.method10163(128510946);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}

	public int method9929() {
		return method9923(0, 0);
	}

	public final int method9923(int i, int i_3_) {
		Graphics graphics = ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206.getGraphics();
		if (null == graphics)
			return 0;
		graphics.drawImage(((Class104_Sub2_Sub3_Sub1) this).anImage11782, i, i_3_, ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206);
		return 0;
	}

	public final int method9931(int i, int i_4_) {
		Graphics graphics = ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206.getGraphics();
		if (null == graphics)
			return 0;
		graphics.drawImage(((Class104_Sub2_Sub3_Sub1) this).anImage11782, i, i_4_, ((Class104_Sub2_Sub3_Sub1) this).aCanvas11206);
		return 0;
	}

	void method10164() {
		super.method10163(211200925);
		DataBufferInt databufferint = new DataBufferInt((((Class104_Sub2_Sub3_Sub1) this).anIntArray11205), (((Class104_Sub2_Sub3_Sub1) this).anIntArray11205).length);
		DirectColorModel directcolormodel = new DirectColorModel(32, 16711680, 65280, 255);
		WritableRaster writableraster = (Raster.createWritableRaster((directcolormodel.createCompatibleSampleModel(402914629 * ((Class104_Sub2_Sub3_Sub1) this).anInt11211, -1732694433 * ((Class104_Sub2_Sub3_Sub1) this).anInt11209)), databufferint, null));
		((Class104_Sub2_Sub3_Sub1) this).anImage11782 = new BufferedImage(directcolormodel, writableraster, false, new Hashtable<Object, Object>());
	}
}
