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


int script_2262(int a0) {
	int v0 = cs2method_10122(cs2method_10340(a0), 100, itemDefsAttribute(a0, 1046));
	if (client_configs['cfg3861'].bitcfg20536 == 1 && cs2method_10771() == 1) {
		return cs2method_10461(v0, cs2method_10968(v0, 10));
	}
	return v0;
}
