// File: jkingan[P]ladyheather/heathmsc.cpp
// Function: zoom_stuff()
void zoom_stuff()
{
int old_sigs;
int old_row, old_col;
int old_size;

   old_sigs = plot_signals;
   old_row = AZEL_ROW;
   old_col = AZEL_COL;
   old_size = AZEL_SIZE;

   if((SCREEN_WIDTH < TINY_TINY_WIDTH) || (SCREEN_WIDTH < SCREEN_HEIGHT)) { 
      AZEL_SIZE = ((SCREEN_WIDTH / 2) * 8) / 10;
   }
   else {
      AZEL_SIZE = ((SCREEN_HEIGHT / 2) * 8) / 10;
   }

   erase_screen();

   plot_signals = 0;
   ACLOCK_SIZE = AZEL_SIZE;
   aclock_x = 0 + TEXT_WIDTH*8 + ACLOCK_SIZE/2;
   aclock_y = TEXT_HEIGHT*2 + ACLOCK_SIZE/2;
   draw_watch(9);

   AZEL_ROW = TEXT_HEIGHT*2;
   AZEL_COL = SCREEN_WIDTH/2;
// AZEL_RADIUS = AZEL_SIZE/2;
   erase_azel(6);
   draw_azel_plot(4);

   plot_signals = 2;
   AZEL_COL = 0 + TEXT_WIDTH*8;
   AZEL_ROW = (SCREEN_HEIGHT/2) + (TEXT_HEIGHT/2);
   erase_azel(7);
   draw_signal_map(7);

   plot_signals = 4;
   AZEL_COL = SCREEN_WIDTH/2;
   erase_azel(8);
   draw_signal_map(8);

   AZEL_COL = old_col;
   AZEL_ROW = old_row;
   AZEL_SIZE = old_size;
   plot_signals = old_sigs;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
leaq 0x124a66(%rip), %rax    # 0x27a5f5
movzbl (%rax), %eax
movl %eax, -0x4(%rbp)
leaq 0x2449d4(%rip), %rax    # 0x39a570
movl (%rax), %eax
movl %eax, -0x8(%rbp)
leaq 0x2449cc(%rip), %rax    # 0x39a574
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq 0x2449b8(%rip), %rax    # 0x39a56c
movl (%rax), %eax
movl %eax, -0x10(%rbp)
leaq 0x121e20(%rip), %rax    # 0x2779e0
cmpl $0x1c2, (%rax)          # imm = 0x1C2
jl 0x155bdc
leaq 0x121e11(%rip), %rax    # 0x2779e0
movl (%rax), %eax
leaq 0x121e0c(%rip), %rcx    # 0x2779e4
cmpl (%rcx), %eax
jge 0x155c05
leaq 0x121dfd(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
shll $0x3, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x24496b(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
jmp 0x155c2c
leaq 0x121dd8(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
shll $0x3, %eax
movl $0xa, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x244942(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
callq 0x117e0
leaq 0x1249bd(%rip), %rax    # 0x27a5f5
movb $0x0, (%rax)
leaq 0x24492a(%rip), %rax    # 0x39a56c
movl (%rax), %ecx
leaq 0x244905(%rip), %rax    # 0x39a550
movl %ecx, (%rax)
leaq 0x121d9c(%rip), %rax    # 0x2779f0
movl (%rax), %ecx
shll $0x3, %ecx
addl $0x0, %ecx
leaq 0x2448ed(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
addl %eax, %ecx
leaq 0x2448de(%rip), %rax    # 0x39a554
movl %ecx, (%rax)
leaq 0x121d75(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
shll %ecx
leaq 0x2448c6(%rip), %rax    # 0x39a550
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
addl %eax, %ecx
leaq 0x2448bb(%rip), %rax    # 0x39a558
movl %ecx, (%rax)
movl $0x9, %edi
callq 0x14f5a0
leaq 0x121d44(%rip), %rax    # 0x2779f4
movl (%rax), %ecx
shll %ecx
leaq 0x2448b5(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
leaq 0x121d1c(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x24489d(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl $0x6, %edi
callq 0x118d0
movl $0x4, %edi
callq 0x155dd0
leaq 0x124901(%rip), %rax    # 0x27a5f5
movb $0x2, (%rax)
leaq 0x121cf2(%rip), %rax    # 0x2779f0
movl (%rax), %ecx
shll $0x3, %ecx
addl $0x0, %ecx
leaq 0x244867(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
leaq 0x121cce(%rip), %rax    # 0x2779e4
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x121ccb(%rip), %rax    # 0x2779f4
movl (%rax), %eax
movl $0x2, %esi
cltd
idivl %esi
addl %eax, %ecx
leaq 0x244834(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl $0x7, %edi
callq 0x118d0
movl $0x7, %edi
callq 0x156a70
leaq 0x12489c(%rip), %rax    # 0x27a5f5
movb $0x4, (%rax)
leaq 0x121c7d(%rip), %rax    # 0x2779e0
movl (%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
leaq 0x2447fe(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl $0x8, %edi
callq 0x118d0
movl $0x8, %edi
callq 0x156a70
movl -0xc(%rbp), %ecx
leaq 0x2447de(%rip), %rax    # 0x39a574
movl %ecx, (%rax)
movl -0x8(%rbp), %ecx
leaq 0x2447ce(%rip), %rax    # 0x39a570
movl %ecx, (%rax)
movl -0x10(%rbp), %ecx
leaq 0x2447be(%rip), %rax    # 0x39a56c
movl %ecx, (%rax)
movl -0x4(%rbp), %eax
movb %al, %cl
leaq 0x124839(%rip), %rax    # 0x27a5f5
movb %cl, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)