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


int script_8377(int a0,int a1) {
	if (a0 == -1) {
		return -1;
	}
	int v0 = cs2method_10968(cs2method_10060(script_8403(a0), cs2method_10134(a0)), a1);
	int v1 = cs2method_11048(0, cs2method_10872(v0, script_8374(a0)));
	return v1;
}
