static final void method3716(boolean bool, int i, boolean bool_11_, int i_12_, IComponentDefinitions[] widgets, int i_13_) {
		anInt8286++;
		int i_14_ = 0;
		if (bool == true) {
			for (/**/; (widgets.length ^ 0xffffffff) < (i_14_ ^ 0xffffffff); i_14_++) {
				IComponentDefinitions widget = widgets[i_14_];
				if (widget != null && (widget.parentId ^ 0xffffffff) == (i_13_ ^ 0xffffffff)) {
					Node_Sub39.method2921(bool_11_, i_12_, 18815, i, widget);
					Node_Sub38_Sub23.method2862(widget, i, i_12_, -8525);
					if (-widget.anInt4809 + widget.anInt4735 < widget.anInt4817) {
						widget.anInt4817 = -widget.anInt4809 + widget.anInt4735;
					}
					if (widget.anInt4817 < 0) {
						widget.anInt4817 = 0;
					}
					if ((widget.anInt4691 + -widget.anInt4695 ^ 0xffffffff) > (widget.anInt4734 ^ 0xffffffff)) {
						widget.anInt4734 = -widget.anInt4695 + widget.anInt4691;
					}
					if ((widget.anInt4734 ^ 0xffffffff) > -1) {
						widget.anInt4734 = 0;
					}
					if (widget.type == 0) {
						Class270_Sub1.method3300(widget, (byte) -10, bool_11_);
					}
				}
			}
		}
	}