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


void script_348(int a0,int a1,int a2) {
	int v0 = script_166(a2);
	int v1 = 941;
	if (v0 >= 7) {
		cs2method_10467(0, a0);
		cs2method_10758(942, a1);
		cs2method_20390(new function<script_44>(int a0,int a1) {
			cs2method_10758(a0, a1);
			return;
		}, new WidgetPointer(a1), v1, "Id", new WidgetPointer(a0));
	} else if (v0 == 6) {
		cs2method_10467(0, a0);
		cs2method_10758(941, a1);
		int v2 = 942;
		cs2method_20390(new function<script_44>(int a0,int a1) {
			cs2method_10758(a0, a1);
			return;
		}, new WidgetPointer(a1), v2, "Id", new WidgetPointer(a0));
	} else {
		cs2method_10467(1, a0);
		cs2method_20390(new function<none>() {
		}, "", new WidgetPointer(a0));
	}
	return;
}
