void * FUN_0041e2e4(undefined4 param_1,int param_2)
{
void *pvVar1;
void *pvVar2;
pvVar1 = malloc(0x30) //possible issue identified - semgrep
if (pvVar1 == (void *)0x0) {
FUN_0041dc1c("out of dynamic memory in yy_create_buffer()");
}
*(int *)((int)pvVar1 + 0xc) = param_2;
pvVar2 = malloc(param_2 + 2) //possible issue identified - semgrep
*(void **)((int)pvVar1 + 4) = pvVar2;
if (pvVar2 == (void *)0x0) {
FUN_0041dc1c("out of dynamic memory in yy_create_buffer()");
}
*(undefined4 *)((int)pvVar1 + 0x14) = 1;
FUN_0041e1c8(pvVar1,param_1);
return pvVar1;
}