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


void script_8322(int a0,int a1,int a2) {
	int v0 = idx17mapData('i', 'J', 7716, a1);
	if (v0 == -1) {
		return;
	}
	int v1 = idx22mapAttribute(v0, 3512);
	if (v1 != -1) {
		cs2method_10467(a2, v1);
		if (cs2method_11038(v1, 9) == 1) {
			cs2method_10310(a0);
		}
	}
	return;
}
