undefined4 Set_CountryCode_Proc(int param_1,char *param_2)

{
  size_t sVar1;
  
  sVar1 = strlen(param_2);
  if (sVar1 == 2) {
    memmove((void *)(param_1 + 0x1697d),param_2,2)   //possible issue identified - semgrep
    *(undefined1 *)(param_1 + 0x1697c) = 1;
  }
  else {
    memset((void *)(param_1 + 0x1697d),0,3)   //possible issue identified - semgrep
    *(undefined1 *)(param_1 + 0x1697c) = 0;
  }
  if (2 < RTDebugLevel) {
    printk("Set_CountryCode_Proc::(bCountryFlag=%d, CountryCode=%s)\n",
           *(undefined1 *)(param_1 + 0x1697c),param_1 + 0x1697d);
  }
  return 1;
}