Newer
Older
AMI-Aptio-BIOS-Reversed / EarlyVideoPei / ImageRenderNextLine.c
@Ajax Dong Ajax Dong 2 days ago 271 bytes Init
int __fastcall ImageRenderNextLine(int *Pool, int a2)
{
  int v2; // edi
  int v3; // esi
  int v4; // ecx

  v2 = Pool[1];
  v3 = a2;
  if ( a2 >= v2 )
  {
    v4 = *Pool;
    do
      v3 = ((v3 - v2) >> v4) + (v2 & (v3 - v2));
    while ( v3 >= v2 );
  }
  return v3;
}