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


int script_3816(int a0) {
	int v1 = -1;
	int v2 = -1;
	if (client_configs['cfg3814'].bitcfg22316 != 0) {
		int v0 = idx17mapData('i', 'g', 8825, client_configs['cfg3814'].bitcfg22316);
		if (v0 != -1) {
			int v3 = idx17mapData('J', 'J', v0, a0);
			if (v3 != -1) {
				a0 = v3;
			}
		}
	}
	return a0;
}
