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


int script_6352(int a0) {
	if (a0 == -1) {
		return 0;
	}
	int v0 = 96796679;
	while (a0 != -1) {
		if (cs2method_10609(a0) == 1) {
			return 0;
		}
		if (a0 == v0) {
			return 1;
		}
		a0 = cs2method_10155(a0);
	}
	return 0;
}
