int __fastcall BitmapGetDataOffset(int a1)
{
  int result; // eax

  result = 11 * (a1 / 2);
  if ( (a1 & 1) != 0 )
    result += 6;
  return result;
}