/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


void script_3217(int a0,int a1,int a2,int a3,int a4) {
	if (cs2method_10077() == -3) {
		return;
	}
	if (cs2method_10742() == -3) {
		return;
	}
	if (cs2method_10856() == -3) {
		return;
	}
	if (cs2method_10609(93061329) == 0) {
		return;
	}
	object v0 = "";
	switch (a2) {
		case 6:
			v0 = cs2_configs['cfg2555'];
			break;
		case 7:
			if (cs2method_10609(93061312) == 1) {
				v0 = script_2949(cs2_configs['cfg2559']);
			} else {
				v0 = cs2_configs['cfg2559'];
			}
			break;
		case 15:
			if (cs2_configs['cfg1407'] > 0) {
				v0 = cs2method_10379(cs2_configs['cfg1407']);
			}
			break;
		case 16:
			v0 = cs2_configs['cfg2563'];
	}
	cs2_configs['cfg1099'] = script_1401(cs2method_10461(a0, 5), 17814, 0, v0);
	script_3218(a4, v0, a3, a1, a2);
	script_2714(a2, 0);
	return;
}
