public void method216(int rotation, int xSize, int x, int y, int ySize, boolean flag) {
		int j1 = 256;
		if (flag) {
			j1 += 0x20000;
		}
		x -= offsetX;
		y -= offsetY;
		if (rotation == 1 || rotation == 3) {
			int srcXSize = xSize;
			xSize = ySize;
			ySize = srcXSize;
		}
		for (int l1 = x; l1 < x + xSize; l1++) {
			if (l1 >= 0 && l1 < baseX) {
				for (int i2 = y; i2 < y + ySize; i2++) {
					if (i2 >= 0 && i2 < baseY) {
						method217(j1, l1, i2);
					}
				}
			}
		}
	}