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


int script_4798(int a0) {
	int v1 = 604;
	int v0 = 0;
	if (a0 == 603) {
		return script_4800(602);
	}
	if (a0 == 602) {
		return script_4800(603);
	}
	if (a0 >= 604 && a0 <= 615) {
		while (v1 <= 615) {
			if (v1 != a0 && script_4800(v1) == 1) {
				v0 = cs2method_10060(v0, 1);
				if (v0 == 2) {
					return 1;
				}
			}
			v1 = cs2method_10060(v1, 1);
		}
		return 0;
	}
	return 0;
}
