bool iptcc_standard_map(int param_1,undefined4 param_2)

{
  short sVar1;
  int *piVar2;
  short *psVar3;
  
  psVar3 = (short *)(param_1 + 0x28 + (uint)*(ushort *)(param_1 + 0xb4));
  sVar1 = *psVar3;
  if (sVar1 == 0x28) {
    memset(psVar3 + 1,0,0x1e)   //possible issue identified - semgrep
    strcpy((char *)(psVar3 + 1),(char *)0x5610)   //possible issue identified - semgrep
    *(undefined4 *)(psVar3 + 0x10) = param_2;
    *(undefined4 *)(param_1 + 0x1c) = 0;
  }
  else {
    piVar2 = __errno_location();
    *piVar2 = 0x16;
  }
  return sVar1 == 0x28;
}