Newer
Older
AMI-Aptio-BIOS-Reversed / Platform / AllocateZeroPool.c
@Ajax Dong Ajax Dong 2 days ago 375 bytes Init
// AllocateZeroPool - decompiled from Platform.efi
void *__cdecl AllocateZeroPool(UINTN AllocationSize)
{
  void *Buffer; // rax

  Buffer = AllocateCopyPool(AllocationSize, (const void *)AllocationSize); /*0x60a8*/
  if ( Buffer ) /*0x60b0*/
  {
    if ( AllocationSize ) /*0x60b5*/
      return ZeroMem(Buffer, AllocationSize); /*0x60bd*/
  }
  return Buffer; /*0x60c2*/
}