static final int method2109(boolean flag, byte byte0) {
        long l = TimeUtil.getTime();
        for (Class142_Sub3 class142_sub3 = flag ? (Class142_Sub3) Class83.aNodeCache_1270.method1083() : (Class142_Sub3) Class83.aNodeCache_1270.method1081(); class142_sub3 != null; class142_sub3 = (Class142_Sub3) Class83.aNodeCache_1270.method1081()) {
            if ((class142_sub3.aLong3231 & 0x3fffffffffffffffL) < l) {
                if (~(0x4000000000000000L & class142_sub3.aLong3231) == -1L) {
                    class142_sub3.unlink();
                } else {
                    int i = (int) ((Node) (class142_sub3)).id;
                    Class21.settings[i] = Class86.anIntArray1485[i];
                    class142_sub3.unlink();
                    return i;
                }
            }
        }

        if (byte0 < 115) {
            anInt2609 = -100;
        }
        return -1;
    }