bool AdapterBlockAllocateMemory(undefined4 param_1,undefined4 *param_2,size_t param_3)

{
  void *__s;
  
  __s = (void *)vmalloc(param_3)   //possible issue identified - semgrep
  *param_2 = __s;
  if (__s != (void *)0x0) {
    memset(__s,0,param_3);
  }
  return __s == (void *)0x0;
}