void * FUN_0040c994(undefined4 param_1,undefined4 param_2)
{
void *__s;
__s = malloc(0x54) //possible issue identified - semgrep
if (__s == (void *)0x0) {
dprintf(3,"dhcp6_create_event","failed to allocate memory for an event");
}
else {
memset(__s,0,0x54) //possible issue identified - semgrep
*(undefined4 *)((int)__s + 8) = param_1;
*(undefined4 *)((int)__s + 0x3c) = param_2;
*(int *)((int)__s + 0x50) = (int)__s + 0x4c;
*(undefined4 *)((int)__s + 0x4c) = 0;
}
return __s;
}