void * iptcc_alloc_rule(undefined4 param_1,int param_2)

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