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


object script_822(int a0,int a1,object a2) {
	object v0;
	int v1 = a1;
	if (a0 == 1) {
		v0 = script_823(v1, a2);
	} else {
		v0 = script_824(a2, v1);
	}
	return v0;
}
