static final void method104(int i) {
	int i_7_ = Class328_Sub1.onscreenGpiOffset;
	int[] is = Class286_Sub7.onscreenGpiList;
	int i_8_
	    = MouseMovementListener.aBoolean7444 ? i_7_ : i_7_ + Class150.anInt2057;
	for (int i_9_ = 0; i_9_ < i_8_; i_9_++) {
	    Mob class318_sub1_sub3_sub3;
	    if (i_9_ < i_7_)
		class318_sub1_sub3_sub3
		    = (ClassicLoadingScreen.onscreenPlayers
		       [is[i_9_]]);
	    else
		class318_sub1_sub3_sub3
		    = (((Class348_Sub22) (Class348_Sub22)
			(Class282.aClass356_3654.get
			 ((long) EntityPacket.anIntArray1233[i_9_ - i_7_])))
		       .aClass318_Sub1_Sub3_Sub3_Sub1_6859);
	    if (((Class318_Sub1) class318_sub1_sub3_sub3).heightLevel == i) {
		((Mob) class318_sub1_sub3_sub3).anInt10261
		    = 0;
		if ((((Mob) class318_sub1_sub3_sub3)
		     .anInt10285)
		    < 0)
		    ((Mob) class318_sub1_sub3_sub3)
			.aBoolean10309
			= false;
		else {
		    int i_10_ = class318_sub1_sub3_sub3.method2436((byte) 71);
		    if ((i_10_ & 0x1) == 0) {
			if (((((Class318_Sub1) class318_sub1_sub3_sub3)
			      .xHash)
			     & 0x1ff) != 0
			    || ((((Class318_Sub1) class318_sub1_sub3_sub3)
				 .anInt6388)
				& 0x1ff) != 0) {
			    ((Mob) class318_sub1_sub3_sub3)
				.aBoolean10309
				= false;
			    continue;
			}
		    } else if (((((Class318_Sub1) class318_sub1_sub3_sub3)
				 .xHash)
				& 0x1ff) != 256
			       || ((((Class318_Sub1) class318_sub1_sub3_sub3)
				    .anInt6388)
				   & 0x1ff) != 256) {
			((Mob) class318_sub1_sub3_sub3)
			    .aBoolean10309
			    = false;
			continue;
		    }
		    if (i_10_ == 1) {
			int i_11_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .xHash)
				     >> 9);
			int i_12_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .anInt6388)
				     >> 9);
			if (((Mob)
			     class318_sub1_sub3_sub3).anInt10285
			    != (Class348_Sub42_Sub17.anIntArrayArray9678[i_11_]
				[i_12_])) {
			    ((Mob) class318_sub1_sub3_sub3)
				.aBoolean10309
				= true;
			    continue;
			}
			if (Class239_Sub8.anIntArrayArray5921[i_11_][i_12_]
			    > 1) {
			    Class239_Sub8.anIntArrayArray5921[i_11_][i_12_]--;
			    ((Mob) class318_sub1_sub3_sub3)
				.aBoolean10309
				= true;
			    continue;
			}
		    } else {
			int i_13_ = (i_10_ - 1) * 256 + 252;
			int i_14_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .xHash) - i_13_
				     >> 9);
			int i_15_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .anInt6388) - i_13_
				     >> 9);
			int i_16_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .xHash) + i_13_
				     >> 9);
			int i_17_ = ((((Class318_Sub1) class318_sub1_sub3_sub3)
				      .anInt6388) + i_13_
				     >> 9);
			if (!Class103.method949(i_15_, i_16_,
						(((Mob)
						  class318_sub1_sub3_sub3)
						 .anInt10285),
						(byte) 124, i_14_, i_17_)) {
			    for (int i_18_ = i_14_; i_18_ <= i_16_; i_18_++) {
				for (int i_19_ = i_15_; i_19_ <= i_17_;
				     i_19_++) {
				    if (((Mob)
					 class318_sub1_sub3_sub3).anInt10285
					== (Class348_Sub42_Sub17
					    .anIntArrayArray9678[i_18_]
					    [i_19_]))
					Class239_Sub8.anIntArrayArray5921
					    [i_18_][i_19_]--;
				}
			    }
			    ((Mob) class318_sub1_sub3_sub3)
				.aBoolean10309
				= true;
			    continue;
			}
		    }
		    ((Mob) class318_sub1_sub3_sub3)
			.aBoolean10309
			= false;
		    ((Class318_Sub1) class318_sub1_sub3_sub3).anInt6382
			= Class275.method2064((((Class318_Sub1)
						class318_sub1_sub3_sub3)
					       .xHash),
					      (((Class318_Sub1)
						class318_sub1_sub3_sub3)
					       .heightLevel),
					      11219,
					      (((Class318_Sub1)
						class318_sub1_sub3_sub3)
					       .anInt6388));
		    Class89.method850(class318_sub1_sub3_sub3, true);
		}
	    }
	}
    }