static final void method106() {
	IndexLoader.anInt669 = 0;
	for (int i = 0; i < Class150.anInt2057; i++) {
	    Npc class318_sub1_sub3_sub3_sub1
		= (((Class348_Sub22) (Class348_Sub22)
		    Class282.aClass356_3654
			.get((long) EntityPacket.anIntArray1233[i]))
		   .aClass318_Sub1_Sub3_Sub3_Sub1_6859);
	    if ((((Mob) class318_sub1_sub3_sub3_sub1)
		 .aBoolean10309)
		&& class318_sub1_sub3_sub3_sub1.method2425(-1) != -1) {
		int i_20_
		    = ((class318_sub1_sub3_sub3_sub1.method2436((byte) 119)
			- 1) * 256
		       + 252);
		int i_21_
		    = (((Class318_Sub1) class318_sub1_sub3_sub3_sub1).xHash
		       - i_20_) >> 9;
		int i_22_
		    = (((Class318_Sub1) class318_sub1_sub3_sub3_sub1).anInt6388
		       - i_20_) >> 9;
		Mob class318_sub1_sub3_sub3
		    = Class84.method817(252, i_21_,
					(((Class318_Sub1)
					  class318_sub1_sub3_sub3_sub1)
					 .heightLevel),
					i_22_);
		if (class318_sub1_sub3_sub3 != null) {
		    int i_23_
			= (((Mob) class318_sub1_sub3_sub3)
			   .localId);
		    if (class318_sub1_sub3_sub3
			instanceof Npc)
			i_23_ += 2048;
		    if ((((Mob) class318_sub1_sub3_sub3)
			 .anInt10261) == 0
			&& class318_sub1_sub3_sub3.method2425(-1) != -1) {
			Class258_Sub4.anIntArray8557[IndexLoader.anInt669] = i_23_;
			Class268.anIntArray3432[IndexLoader.anInt669] = i_23_;
			IndexLoader.anInt669++;
			((Mob) class318_sub1_sub3_sub3)
			    .anInt10261++;
		    }
		    Class258_Sub4.anIntArray8557[IndexLoader.anInt669] = i_23_;
		    Class268.anIntArray3432[IndexLoader.anInt669]
			= ((Mob)
			   class318_sub1_sub3_sub3_sub1).localId + 2048;
		    IndexLoader.anInt669++;
		    ((Mob) class318_sub1_sub3_sub3)
			.anInt10261++;
		}
	    }
	}
	Class34.method347(Class268.anIntArray3432,
			  Class258_Sub4.anIntArray8557, 0, -22222,
			  IndexLoader.anInt669 - 1);
    }