static final void method388(int i, int i_18_, int i_19_,
				Class318_Sub1_Sub5 class318_sub1_sub5,
				Class318_Sub1_Sub5 class318_sub1_sub5_20_) {
	Class357 class357 = Class348_Sub46.method3321(i, i_18_, i_19_);
	if (class357 != null) {
	    ((Class357) class357).aClass318_Sub1_Sub5_4395
		= class318_sub1_sub5;
	    ((Class357) class357).aClass318_Sub1_Sub5_4407
		= class318_sub1_sub5_20_;
	    int i_21_ = aa_Sub1.aSArray5191 == Class332.aSArray4142 ? 1 : 0;
	    if (class318_sub1_sub5.method2376(-62)) {
		if (class318_sub1_sub5.method2377((byte) 122)) {
		    ((Class318_Sub1) class318_sub1_sub5).aClass318_Sub1_6379
			= Class250.aClass318_Sub1Array3226[i_21_];
		    Class250.aClass318_Sub1Array3226[i_21_]
			= class318_sub1_sub5;
		} else {
		    ((Class318_Sub1) class318_sub1_sub5).aClass318_Sub1_6379
			= Node.aClass318_Sub1Array4293[i_21_];
		    Node.aClass318_Sub1Array4293[i_21_]
			= class318_sub1_sub5;
		    Class348_Sub16_Sub2.heightLevelChanged = true;
		}
	    } else {
		((Class318_Sub1) class318_sub1_sub5).aClass318_Sub1_6379
		    = Class115.aClass318_Sub1Array1754[i_21_];
		Class115.aClass318_Sub1Array1754[i_21_] = class318_sub1_sub5;
	    }
	    if (class318_sub1_sub5_20_ != null) {
		if (class318_sub1_sub5_20_.method2376(-110)) {
		    if (class318_sub1_sub5_20_.method2377((byte) 122)) {
			((Class318_Sub1) class318_sub1_sub5_20_)
			    .aClass318_Sub1_6379
			    = Class250.aClass318_Sub1Array3226[i_21_];
			Class250.aClass318_Sub1Array3226[i_21_]
			    = class318_sub1_sub5_20_;
		    } else {
			((Class318_Sub1) class318_sub1_sub5_20_)
			    .aClass318_Sub1_6379
			    = Node.aClass318_Sub1Array4293[i_21_];
			Node.aClass318_Sub1Array4293[i_21_]
			    = class318_sub1_sub5_20_;
			Class348_Sub16_Sub2.heightLevelChanged = true;
		    }
		} else {
		    ((Class318_Sub1) class318_sub1_sub5_20_)
			.aClass318_Sub1_6379
			= Class115.aClass318_Sub1Array1754[i_21_];
		    Class115.aClass318_Sub1Array1754[i_21_]
			= class318_sub1_sub5_20_;
		}
	    }
	}
    }