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


void script_2111(int a0,int a1,int a2,int a3,int a4,int a5,int a6) {
	int v0;
	int v3;
	if (a2 != 1) {
		return;
	}
	int v2 = 0;
	int v1 = 0;
	cs2method_10567(33341, 1, 0);
	if (a1 == 1) {
		v3 = script_686(cs2method_10038(cs2method_10060(client_configs['cfg2823'].bitcfg14215, a0), 4), 4);
		v0 = client_configs['cfg2823'].bitcfg14216;
	} else if (a1 == 2) {
		v3 = script_686(cs2method_10038(cs2method_10060(client_configs['cfg2823'].bitcfg14217, a0), 4), 4);
		v0 = client_configs['cfg2823'].bitcfg14218;
	} else {
		v3 = script_686(cs2method_10038(cs2method_10060(client_configs['cfg2823'].bitcfg14219, a0), 4), 4);
		v0 = client_configs['cfg2823'].bitcfg14220;
	}
	script_2112(a3, a6, a4, a5, v3, v0);
	return;
}
