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


void script_8804(int a0,int a1,int a2) {
	int v1;
	if (cs2method_10133() > a1) {
		script_8808();
		return;
	}
	int v0 = 1;
	if (a2 >= 0) {
		if (cs2method_11038(a0, a2) == 1) {
			v1 = script_6351();
		} else {
			v1 = 0;
		}
	} else {
		v1 = script_6352(a0);
	}
	if (v1 == 0) {
		script_8808();
	}
	return;
}
