void N_SetCenCh(int param_1)

{
  char cVar1;
  
  if ((*(uint *)(param_1 + 0x16a44) & 0x800) == 0) {
    cVar1 = *(char *)(param_1 + 0x169ec)   //possible issue identified - semgrep
  }
  else if ((*(uint *)(param_1 + 0x16a44) & 0x60000) == 0x20000) {
    cVar1 = *(char *)(param_1 + 0x169ec) + '\x02'   //possible issue identified - semgrep
  }
  else if (*(char *)(param_1 + 0x169ec) == '\x0e') {
    cVar1 = '\r';
  }
  else {
    cVar1 = *(char *)(param_1 + 0x169ec) + -2   //possible issue identified - semgrep
  }
  *(char *)(param_1 + 0x169ed) = cVar1;
  return;
}