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


void script_6985(int a0,object a1) {
	int v0 = cs2method_10939(cs2method_10643(a0), a1);
	int v5 = cs2method_10236(a0);
	if (v0 < v5) {
		cs2method_10026(a0, a1);
		return;
	}
	for (int v1 = cs2method_10265(a1), int v4 = 1, object v3 = ""; v1 > 0; v4 = cs2method_10060(v4, 1), v1 = cs2method_10461(v1, 1)) {
		object v6 = cs2method_11025(0, cs2method_10461(cs2method_10461(cs2method_10265(a1), 1), v4), a1);
		object v2 = cs2method_10427(v6, "...");
		int v7 = cs2method_10939(cs2method_10643(a0), v2);
		if (v7 < v5) {
			cs2method_10026(a0, v2);
			return;
		}
	}
	return;
}
