Newer
Older
AMI-Aptio-BIOS-Reversed / EarlyVideoPei / LogoDecode.c
@Ajax Dong Ajax Dong 2 days ago 427 bytes Init
int *__cdecl LogoDecode(int a1, int a2, int a3, int a4)
{
  char *i_1; // ecx
  char *i; // ebx
  int *Pool; // eax
  int v7; // edi

  i = i_1;
  Pool = (int *)PeiAllocatePool((void *)0x1C);
  v7 = 0;
  if ( Pool )
  {
    Pool[2] = 0;
    Pool[3] = 0;
    *Pool = 0;
    Pool[1] = 0;
    Pool[4] = 0;
    Pool[5] = 0;
    if ( BitmapRenderLine(i, Pool, 2, a4) >= 0 )
      return LogoRenderFull(a4);
  }
  return (int *)v7;
}