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


void script_8773(int a0,int a1,int a2,int a3,int a4,int a5) {
	if (script_7942() == 1) {
		return;
	}
	if (cs2method_10862() == 1 || cs2method_10473() != 1 || cs2_configs['cfg3824'] == 1) {
		return;
	}
	if (script_7944() == 1) {
		return;
	}
	int v8 = 0;
	int v5 = 0;
	int v6 = 0;
	opc_struct10417(3,0,0) v3 = cs2method_10417();
	int v0 = v3.intpart_2;
	int v2 = v3.intpart_1;
	int v7 = v3.intpart_0;
	if (v2 == 0 || cs2_configs['cfg173'] == 1 || client_configs['cfg1113'].bitcfg3028 == 1 && client_configs['cfg1113'].bitcfg3031 != 1) {
		return;
	}
	if (cs2method_10461(cs2method_10133(), a1) > 1) {
		int v9 = a3;
		a0 = a4;
		a2 = v9;
	}
	int v1 = cs2method_11048(cs2method_10872(cs2method_10051(cs2_configs['cfg2830'], cs2method_10461(a4, a0)), 3500), cs2method_10461(0, 3500));
	int v4 = cs2method_11048(cs2method_10872(cs2method_10051(cs2_configs['cfg2829'], cs2method_10461(a3, a2)), 16284), cs2method_10461(0, 16284));
	script_8768(v1, v4);
	cs2method_21121(load function<8773>, new WidgetPointer(-32768,3), -2147483647, -2147483646, a3, a4, cs2method_10133(), "Iiiiii", new WidgetPointer(a5));
	return;
}
