void * iptcc_alloc_chain_head(char *param_1,undefined4 param_2)

{
  void *__s;
  
  __s = malloc(0x70)   //possible issue identified - semgrep
  if (__s != (void *)0x0) {
    memset(__s,0,0x70)   //possible issue identified - semgrep
    strncpy((char *)((int)__s + 8),param_1,0x20)   //possible issue identified - semgrep
    *(undefined4 *)((int)__s + 0x28) = param_2;
    *(int *)((int)__s + 0x58) = (int)__s + 0x54;
    *(int *)((int)__s + 0x54) = (int)__s + 0x54;
  }
  return __s;
}