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


void script_7557(int a0) {
	int v1 = 0;
	int v0 = 91619394;
	switch (a0) {
		case 91619329:
			v1 = cs2method_10051(client_configs['cfg3536'].bitcfg18117, 11);
			v0 = 91619375;
			break;
		case 91619328:
			v1 = cs2method_10051(client_configs['cfg3536'].bitcfg18116, 11);
			v0 = 91619377;
			break;
		case 91619330:
			v1 = cs2method_10051(client_configs['cfg3536'].bitcfg18119, 11);
			v0 = 91619373;
			break;
		case 91619331:
			v1 = cs2method_10051(client_configs['cfg3536'].bitcfg18118, 11);
			v0 = 91619372;
	}
	if (v1 == 0) {
		cs2method_10283(cs2method_10236(a0), 0, 0, 0, a0);
	} else {
		if (v1 > 128) {
			v1 = 128;
		}
		cs2method_20162(new function<script_7558>(int a0,int a1,int a2) {
			int v0 = cs2method_10823(a2);
			if (v0 < a0) {
				cs2method_10283(cs2method_10236(a2), cs2method_10060(v0, 1), 0, 0, a2);
			} else {
				cs2method_20162(new function<none>() {
				}, "", new WidgetPointer(a1));
			}
			return;
		}, v1, new WidgetPointer(a0), new WidgetPointer(v0), "iII", new WidgetPointer(v0));
	}
	return;
}
