static void parseSetRegionPacket(int i) {
	Class312.anInt3931 = 0;
	anInt9345++;
	int sizeId = Class299.gameBuffer.method3342();
	int chnkY = Class299.gameBuffer.getWordLE128(-117);
	int chnkX = Class299.gameBuffer.readLEShort(false);
	boolean force = ((Class299.gameBuffer.method3329((byte) 21) ^ 0xffffffff)
	       == -2);
	Class322.method2554((byte) -45);
	Class348_Sub40_Sub22.setMapSize(sizeId);
	int i_18_
	    = (-((ByteBuffer) Class299.gameBuffer).position
	       + Class348_Sub40_Sub25.currentPacketSize) / 16;
	Class239_Sub6.lCipherKeys = new int[i_18_][4];
	for (int i_19_ = 0; i_19_ < i_18_; i_19_++) {
	    for (int i_20_ = 0; i_20_ < 4; i_20_++)
		Class239_Sub6.lCipherKeys[i_19_][i_20_]
		    = Class299.gameBuffer
			  .getDword();
	}
	Class348_Sub23_Sub1.ulArchiveSrcs = new byte[i_18_][];
	Class129.umArchiveSrcs = new byte[i_18_][];
	aa_Sub1.mArchiveids = new int[i_18_];
	Class14_Sub4.lArchiveSrcs = new byte[i_18_][];
	ClientApplet.lArchiveids = new int[i_18_];
	StringNode.nArchiveSrcs = null;
	r.ulArchiveids = new int[i_18_];
	Class322.nArchiveids = null;
	Class347.mArchiveSrcs = new byte[i_18_][];
	if (i >= -47)
	    anInt9349 = -54;
	Class295.umArchiveids = new int[i_18_];
	Class348_Sub23_Sub3.regionHashes = new int[i_18_];
	i_18_ = 0;
	for (int i_21_
		 = (-(Class367_Sub4.mapSizeX >> -647938396) + chnkX) / 8;
	     i_21_ <= (chnkX + (Class367_Sub4.mapSizeX >> -1293697276)) / 8;
	     i_21_++) {
	    for (int i_22_ = (chnkY - (Class348_Sub40_Sub3.mapSizeY
				       >> -1689129020)) / 8;
		 ((((Class348_Sub40_Sub3.mapSizeY >> -163377948) + chnkY) / 8
		   ^ 0xffffffff)
		  <= (i_22_ ^ 0xffffffff));
		 i_22_++) {
		Class348_Sub23_Sub3.regionHashes[i_18_]
		    = i_22_ + (i_21_ << -209519576);
		aa_Sub1.mArchiveids[i_18_]
		    = Class367_Sub10.indexLoader5
			  .getArchiveId("m" + i_21_ + "_" + i_22_);
		ClientApplet.lArchiveids[i_18_]
		    = Class367_Sub10.indexLoader5
			  .getArchiveId("l" + i_21_ + "_" + i_22_);
		Class295.umArchiveids[i_18_]
		    = Class367_Sub10.indexLoader5
			  .getArchiveId("um" + i_21_ + "_" + i_22_);
		r.ulArchiveids[i_18_]
		    = Class367_Sub10.indexLoader5
			  .getArchiveId("ul" + i_21_ + "_" + i_22_);
		i_18_++;
	    }
	}
	Class348_Sub41.updateLocation(chnkX, chnkY, 11, force);
    }