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


void script_6299(int a0,int a1,int a2) {
	if (cs2method_11038(a1, a0) == 1) {
		if (a2 == 1) {
			cs2method_10002(cs2method_11048(cs2method_10461(cs2method_10699(), 35), 0));
			if (cs2method_10699() == 0) {
				cs2method_20061(load function<6299>, new WidgetPointer(a1), a0, 0, "Ii1");
			}
		} else {
			cs2method_10002(cs2method_10872(cs2method_10060(cs2method_10699(), 35), 255));
			if (cs2method_10699() == 255) {
				cs2method_20061(new function<none>() {
				}, "");
			}
		}
	}
	return;
}
