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


void script_7563(int a0) {
	int v0 = cs2method_10690(a0);
	if (v0 > 5) {
		int v1 = cs2method_10461(v0, 5);
		cs2method_10704(v1, a0);
	} else {
		int v1 = 0;
		cs2method_10704(v1, a0);
		cs2method_20162(new function<script_7564>(int a0) {
			int v0 = cs2method_10690(a0);
			if (v0 < 250) {
				int v1 = cs2method_10060(v0, 5);
				cs2method_10704(v1, a0);
			} else {
				int v1 = 255;
				cs2method_10704(v1, a0);
				cs2method_20162(new function<none>() {
				}, "", new WidgetPointer(a0));
			}
			return;
		}, new WidgetPointer(a0), "I", new WidgetPointer(a0));
	}
	return;
}
