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


void script_1065(int a0,int a1) {
	if (cs2method_10134(a0) > a1) {
		cs2method_11130(cs2method_10461(cs2method_10350(a0), 10), 0, a0);
		cs2method_10251(cs2method_10461(cs2method_10134(a0), 10), 0, a0);
		if (cs2method_10134(a0) < a1) {
			cs2method_11130(cs2method_10060(a1, cs2method_10236(a0)), 0, a0);
			cs2method_10251(a1, 0, a0);
			cs2method_20162(new function<none>() {
			}, "", new WidgetPointer(a0));
			return;
		}
	} else if (cs2method_10134(a0) < a1) {
		cs2method_11130(cs2method_10060(cs2method_10350(a0), 10), 0, a0);
		cs2method_10251(cs2method_10060(cs2method_10134(a0), 10), 0, a0);
		if (cs2method_10134(a0) > a1) {
			cs2method_11130(cs2method_10060(a1, cs2method_10236(a0)), 0, a0);
			cs2method_10251(a1, 0, a0);
			cs2method_20162(new function<none>() {
			}, "", new WidgetPointer(a0));
			return;
		}
	} else {
		cs2method_20162(new function<none>() {
		}, "", new WidgetPointer(a0));
		return;
	}
	return;
}
