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


void script_9636(int a0) {
	int v6 = 0;
	int v0 = cs2method_10968(a0, 32);
	int v3 = cs2method_10038(a0, 32);
	switch (v0) {
		case 0:
			int v2 = cs2method_10441(cs2_configs['cfg3928'], v3);
			if (v2 == 0) {
				cs2_configs['cfg3928'] = cs2method_10668(cs2_configs['cfg3928'], v3);
			} else {
				cs2_configs['cfg3928'] = cs2method_10874(cs2_configs['cfg3928'], v3);
			}
			break;
		case 1:
			int v1 = cs2method_10441(cs2_configs['cfg3929'], v3);
			if (v1 == 0) {
				cs2_configs['cfg3929'] = cs2method_10668(cs2_configs['cfg3929'], v3);
			} else {
				cs2_configs['cfg3929'] = cs2method_10874(cs2_configs['cfg3929'], v3);
			}
			break;
		case 2:
			int v7 = cs2method_10441(cs2_configs['cfg3930'], v3);
			if (v7 == 0) {
				cs2_configs['cfg3930'] = cs2method_10668(cs2_configs['cfg3930'], v3);
			} else {
				cs2_configs['cfg3930'] = cs2method_10874(cs2_configs['cfg3930'], v3);
			}
			break;
		case 3:
			int v4 = cs2method_10441(cs2_configs['cfg3931'], v3);
			if (v4 == 0) {
				cs2_configs['cfg3931'] = cs2method_10668(cs2_configs['cfg3931'], v3);
			} else {
				cs2_configs['cfg3931'] = cs2method_10874(cs2_configs['cfg3931'], v3);
			}
			break;
		case 4:
			int v5 = cs2method_10441(cs2_configs['cfg3932'], v3);
			if (v5 == 0) {
				cs2_configs['cfg3932'] = cs2method_10668(cs2_configs['cfg3932'], v3);
			} else {
				cs2_configs['cfg3932'] = cs2method_10874(cs2_configs['cfg3932'], v3);
			}
	}
	return;
}
