static final Class142_Sub27_Sub6 method562(boolean flag) {
        if (Class26.aNodeChildList_471 == null) {
            return null;
        }
        Class142_Sub18.aClass38_3546.method396((byte) -16, Class26.aNodeChildList_471);
        Class142_Sub27_Sub6 class142_sub27_sub6 = (Class142_Sub27_Sub6) Class142_Sub18.aClass38_3546.method399((byte) -109);
        if (flag) {
            method559((byte) -109);
        }
        Class45 class45 = Class117.method1058(class142_sub27_sub6.anInt4738, 22464);
        if (class45 != null && class45.aBoolean774 && class45.method588(0)) {
            return class142_sub27_sub6;
        } else {
            return Class6.method131((byte) -41);
        }
    }