static final void method1014(int i) {
	anInt1660++;
	for (Class348_Sub42_Sub6 class348_sub42_sub6
		 = (Class348_Sub42_Sub6) r_Sub2.aClass262_10492.getFirst(4);
	     class348_sub42_sub6 != null;
	     class348_sub42_sub6
		 = ((Class348_Sub42_Sub6)
		    r_Sub2.aClass262_10492.nextForward((byte) 55))) {
	    Class318_Sub1_Sub3_Sub4 class318_sub1_sub3_sub4
		= (((Class348_Sub42_Sub6) class348_sub42_sub6)
		   .aClass318_Sub1_Sub3_Sub4_9538);
	    if (!((Class318_Sub1_Sub3_Sub4) class318_sub1_sub3_sub4)
		 .aBoolean10345) {
		if (((((Class318_Sub1_Sub3_Sub4) class318_sub1_sub3_sub4)
		      .anInt10349)
		     ^ 0xffffffff)
		    >= (Class367_Sub11.logicCycle ^ 0xffffffff)) {
		    class318_sub1_sub3_sub4
			.method2470(Class348_Sub51.anInt7267, (byte) -16);
		    if (((Class318_Sub1_Sub3_Sub4) class318_sub1_sub3_sub4)
			.aBoolean10345)
			class348_sub42_sub6.removeNode();
		    else
			Class89.method850(class318_sub1_sub3_sub4, true);
		}
	    } else {
		class348_sub42_sub6.removeNode();
		class318_sub1_sub3_sub4.method2466(false);
	    }
	}
	if (i != -4)
	    aBoolean1661 = false;
    }