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


void script_7709(object a0) {
	int v2 = cs2method_10163(92471296);
	int v0 = 15;
	int v1 = 50;
	int v3 = 300;
	int v4 = 5;
	cs2method_10606(92471303, 4, v2);
	cs2method_10013(v3, v0, 0, 0);
	cs2method_10063(5, cs2method_10060(v4, cs2method_10051(v2, cs2method_10060(v4, v0))), 0, 0);
	cs2method_10692(495);
	cs2method_10811(16777215);
	cs2method_10797(a0);
	cs2method_10606(92471297, 3, v2);
	cs2method_10013(v1, v0, 0, 0);
	cs2method_10063(v4, cs2method_10060(v4, cs2method_10051(v2, cs2method_10060(v4, v0))), 2, 0);
	cs2method_10811(16777215);
	cs2method_10606(92471296, 4, v2);
	cs2method_10013(v1, v0, 0, 0);
	cs2method_10063(v4, cs2method_10060(v4, cs2method_10051(v2, cs2method_10060(v4, v0))), 2, 0);
	cs2method_10692(495);
	cs2method_10811(16777215);
	cs2method_20672(new function<script_7712>(int a0,int a1,int a2,int a3) {
		int v0 = 0;
		if (cs2method_11038(a2, a1) == 1) {
			cs2method_21135(new function<script_7711>(int a0,int a1,int a2,int a3,int a4) {
				if (a1 == -1 || (int)cs2_configs['cfg2235'] == -1) {
					return;
				}
				if (cs2method_11038(92471296, a2) == 1) {
					if (a1 != (int)cs2_configs['cfg2235']) {
						script_7716(a4, a0, cs2method_10447(), a2, a3);
						return;
					}
					cs2_configs['cfg2250'] = "";
					cs2method_10269(1);
					cs2method_10467(0, a4);
					cs2method_10467(0, 92471353);
					cs2method_10112(cs2method_10878(), cs2method_10406(), 0, 0, 92471353);
					cs2method_20380(new function<script_7717>(int a0,int a1,int a2,int a3,int a4,int a5,int a6) {
						if (cs2method_10609(a1) == 1) {
							return;
						}
						if (cs2method_11038(92471296, a5) == 1) {
							switch (a2) {
								case 84:
									if (cs2method_10265(cs2_configs['cfg2250']) > 0) {
										if (cs2_configs['cfg2236'] == 7) {
											cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "K", "000");
											cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "k", "000");
											cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "M", "000000");
											cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "m", "000000");
											if (cs2method_10262() == 1) {
												cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "T", "000");
												cs2_configs['cfg2250'] = (string)script_2332(cs2_configs['cfg2250'], "t", "000");
											}
										}
										script_7716(a1, a3, cs2_configs['cfg2250'], a5, a4);
										script_7208(cs2_configs['cfg2250']);
										return;
									}
									if (cs2_configs['cfg2236'] == 7) {
										script_7715(a6, a1, a3, a5, a4);
										return;
									}
									break;
								case 13:
									if (cs2_configs['cfg2236'] == 7) {
										script_7715(a6, a1, a3, a5, a4);
									}
									return;
								case 102:
								case 103:
								case 98:
								case 99:
								case 96:
								case 97:
									if (cs2method_10862() == 0) {
										return;
									}
									cs2_configs['cfg1029'] = script_1553(a2, cs2_configs['cfg2250'], cs2_configs['cfg1029']);
									break;
								default:
									if (cs2_configs['cfg2236'] == 7) {
										int v6 = cs2_configs['cfg1029'];
										int v0 = 6;
										int v5 = a2;
										int v3 = a0;
										int v1 = cs2_configs['cfg2237'];
										object v4 = cs2_configs['cfg2250'];
										script_7170_struct(1,1,0) v2 = script_7170(v6, v0, v4, v5, v3, v1);
										object v7 = v2.objectpart_0;
										cs2_configs['cfg1029'] = v2.intpart_0;
										cs2_configs['cfg2250'] = (string)v7;
									}
							}
							cs2method_10026(a1, cs2method_11053(cs2_configs['cfg2250']));
							script_7213(a1, a3);
						}
						return;
					}, -2147483640, false, new WidgetPointer(a1), new WidgetPointer(a4), new WidgetPointer(a0), a2, new WidgetPointer(a3), "izIIIiI", new WidgetPointer(a4));
					cs2method_20390(new function<script_7212>(int a0,int a1,int a2) {
						script_8841(11, 1);
						cs2_configs['cfg1029'] = script_1504(a0, cs2_configs['cfg2250'], 4040, a1, -1);
						script_7213(a1, a2);
						return;
					}, -2147483647, new WidgetPointer(a4), new WidgetPointer(a0), "iII", new WidgetPointer(a4));
					script_7213(a4, a0);
					cs2method_20638(new function<script_7714>(int a0,int a1,int a2,int a3,int a4) {
						if (cs2method_11038(92471296, a2) == 1) {
							script_7715(a3, a0, a4, a2, a1);
						}
						return;
					}, new WidgetPointer(a1), new WidgetPointer(a4), new WidgetPointer(a0), a2, new WidgetPointer(a3), "IIIiI", new WidgetPointer(a4));
					cs2method_10467(0, a3);
					cs2method_20390(new function<script_7714>(int a0,int a1,int a2,int a3,int a4) {
						if (cs2method_11038(92471296, a3) == 1) {
							script_7715(a2, a1, a0, a3, a4);
						}
						return;
					}, new WidgetPointer(a1), new WidgetPointer(a4), new WidgetPointer(a0), a2, new WidgetPointer(a3), "IIIiI", new WidgetPointer(a3));
				}
				return;
			}, new WidgetPointer(1411,59), new WidgetPointer(1411,60), new WidgetPointer(1411,61), -2147483643, new WidgetPointer(1411,56), 2235, 2236, 2, "IIIiIY");
		}
		if (cs2method_10609(a0) == 1) {
			cs2method_10467(0, a3);
			int v1 = cs2method_10060(cs2method_10133(), 30);
			cs2method_20162(new function<script_7713>(int a0,int a1,int a2) {
				if (a1 <= cs2method_10133() || cs2method_10609(a2) == 0) {
					cs2method_10467(1, a0);
				}
				return;
			}, new WidgetPointer(a3), new WidgetPointer(a0), v1, "IIi", new WidgetPointer(a3));
		}
		return;
	}, new WidgetPointer(1411,62), new WidgetPointer(1411,56), new WidgetPointer(-32768,3), -2147483643, "IIIi");
	cs2method_10057(1, "Enter");
	return;
}
