static final void method365(Class318_Sub1 class318_sub1,
				Class348_Sub1[] class348_sub1s) {
	if (Mob.aBoolean10221) {
	    int i = class318_sub1.method2384(class348_sub1s, 49);
	    Class9.aHa171.method3642(i, class348_sub1s);
	}
	if (Class332.aSArray4142 == aa_Sub1.aSArray5191) {
	    boolean bool = false;
	    boolean bool_11_ = false;
	    int i;
	    int i_12_;
	    if (class318_sub1 instanceof Entity) {
		i = (((Entity) (Entity) class318_sub1)
		     .aShort8743);
		i_12_ = ((Entity) (Entity)
			 class318_sub1).aShort8750;
	    } else {
		i = (((Class318_Sub1) class318_sub1).xHash
		     >> Class362.anInt4459);
		i_12_ = (((Class318_Sub1) class318_sub1).anInt6388
			 >> Class362.anInt4459);
	    }
	    Class9.aHa171.EA((Class348_Sub1_Sub1.aSArray8801[0].method3986
			      (((Class318_Sub1) class318_sub1).xHash,
			       ((Class318_Sub1) class318_sub1).anInt6388,
			       (byte) -118)),
			     Class367_Sub8.method3547(i, i_12_),
			     Class318_Sub1_Sub5.method2483(i, i_12_),
			     Class199.method1457(i, i_12_));
	}
	Class318_Sub4 class318_sub4
	    = class318_sub1.method2386(1, Class9.aHa171);
	if (class318_sub4 != null) {
	    if (((Class318_Sub1) class318_sub1).aBoolean6391) {
		Class318_Sub3[] class318_sub3s
		    = ((Class318_Sub4) class318_sub4).aClass318_Sub3Array6414;
		for (int i = 0; i < class318_sub3s.length; i++) {
		    Class318_Sub3 class318_sub3 = class318_sub3s[i];
		    if (((Class318_Sub3) class318_sub3).aBoolean6401)
			Class338.method2663
			    (-5590,
			     (((Class318_Sub3) class318_sub3).anInt6405
			      - ((Class318_Sub3) class318_sub3).anInt6403),
			     (((Class318_Sub3) class318_sub3).anInt6406
			      + ((Class318_Sub3) class318_sub3).anInt6403),
			     (((Class318_Sub3) class318_sub3).anInt6402
			      - ((Class318_Sub3) class318_sub3).anInt6403),
			     (((Class318_Sub3) class318_sub3).anInt6404
			      + ((Class318_Sub3) class318_sub3).anInt6403));
		}
	    }
	    if (((Class318_Sub4) class318_sub4).aBoolean6409) {
		((Class318_Sub4) class318_sub4).aClass318_Sub1_6410
		    = class318_sub1;
		if (Class348_Sub40_Sub5.aBoolean9121) {
		    synchronized (Class71.aClass76_1208) {
			Class71.aClass76_1208.method774(class318_sub4, 18802);
		    }
		} else
		    Class71.aClass76_1208.method774(class318_sub4, 18802);
	    } else
		Class59_Sub1_Sub1.method560(class318_sub4, 18);
	}
    }