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


void script_6332(int a0,int a1,int a2,int a3) {
	if (a2 == 1) {
		cs2method_10758(11512, a0);
		cs2method_10467(0, a3);
		cs2method_10704(255, a1);
		cs2method_20162(new function<script_6333>(int a0) {
			int v0 = cs2method_11048(cs2method_10461(cs2method_10690(a0), 40), 50);
			cs2method_10704(v0, a0);
			if (v0 <= 50) {
				cs2method_20162(new function<none>() {
				}, "", new WidgetPointer(a0));
			}
			return;
		}, new WidgetPointer(-32768,3), "I", new WidgetPointer(a1));
		return;
	}
	cs2method_10758(11511, a0);
	cs2method_10467(1, a3);
	cs2method_20162(new function<none>() {
	}, "", new WidgetPointer(a1));
	return;
}
