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


void script_6123(int a0,int a1,int a2) {
	int v0;
	int v1 = cs2method_10152(a1);
	if (v1 > a2) {
		v0 = cs2method_10461(v1, a0);
		if (v0 <= a2) {
			v0 = a2;
			cs2method_20162(new function<none>() {
			}, "", new WidgetPointer(a1));
		}
	} else {
		v0 = cs2method_10060(v1, a0);
		if (v0 >= a2) {
			v0 = a2;
			cs2method_20162(new function<none>() {
			}, "", new WidgetPointer(a1));
		}
	}
	cs2method_10112(cs2method_10191(a1), v0, 0, 0, a1);
	return;
}
