// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathui.cpp
// Function: change_plot_param(int, int)
int change_plot_param(int c, int cmd_line)
{
    // this routine acts upon the plot control commands

    if(c < 0x0100) c = tolower(c);

    if(getting_plot == (-1)) {  // changing location mode - GL commands
       new_lla_mode = 1;
       if(c == 'a') {   // auto-scale LLA scattergram
          autoscale_lla ^= 1;
          change_lla_scale();
          rebuild_lla_plot(0);
//        plot_loc = 1;
          need_redraw = 4327;
       }
       else if(c == 'd') {  // decimal location
          dms = DECIMAL_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 'e') { // ECEF location
          dms = ECEF_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 'f') {  // scale in feet
          alt_scale = "ft";
          LLA_SPAN = last_lla_span = 10.0;  // lla plot scale in feet per division
          ANGLE_SCALE = DEG_PER_FOOT;       // degrees per foot
          angle_units = "ft";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1201;
       }
       else if(c == 'g') {   // Grads
          dms = GRAD_FMT;
          plot_loc = 1;
          need_redraw = 1208;
       }
       else if(c == 'h') {   // Ham radio Maidenhead grid square
          dms = GRIDSQ_FMT;
          plot_loc = 1;
          need_redraw = 1202;
       }
       else if(c == 'i') {   // Mils (6400 per cicrle)
          dms = MIL_FMT;
          plot_loc = 1;
          need_redraw = 1202;
       }
       else if(c == 'l') {
          alt_scale = "lg";
          LLA_SPAN = last_lla_span = 3.0;
          ANGLE_SCALE = ((DEG_PER_FOOT)*LG_PER_METER); // degrees per meter
          angle_units = "lg";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1291;
       }
       else if(c == 'm') {
          alt_scale = "m";
          LLA_SPAN = last_lla_span = 3.0;
          ANGLE_SCALE = ((DEG_PER_FOOT)*FEET_PER_METER); // degrees per meter
          angle_units = "m";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1201;
       }
       else if(c == 'n') {   // NATO (MGRS)
          dms = NATO_FMT;
          plot_loc = 1;
          need_redraw = 1203;
       }
       else if(c == 'p') {   // GLP - engage privacy mode
          plot_loc = toggle_value(plot_loc);
          need_redraw = 7723;
       }
       else if(c == 'r') {   // radians
          dms = RADIAN_FMT;
          plot_loc = 1;
          need_redraw = 1203;
       }
       else if(c == 's') {   // degrees minutes seconds
          dms = DMS_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 't') {   // show earth tides
          show_tides ^= 1;
          user_show_tides = 1;
          plot_loc = 1;
          need_redraw = 7724;
rebuild_lla_plot(0);  // ckckckck
       }
       else if(c == 'u') {   // UTM
          dms = UTM_FMT;
          plot_loc = 1;
          need_redraw = 1205;
       }
       else if((c == ESC_CHAR) || (c == ' ')) {
       }
       else if(cmd_line) return 1;
       else {
          getting_plot = 0;
          sprintf(out, "Invalid location display command: %c", c);
          edit_error(out);
       }
       if(cmd_line) return 0;
    }
    else if((c == 0x0D) || (c == getting_plot)) {  // toggle plot
//!!!!!if(selected_plot == FFT) plot[selected_plot].show_plot = 1;
       toggle_plot(selected_plot);
    }
    else if(c == 'a') {  // autoscale (all plots)
       auto_scale = toggle_value(auto_scale);
       auto_center = auto_scale;
       set_auto_scale();
    }
    else if(c == 'c') {  // graph color
       getting_plot = 0;
       edit_buffer[0] = 0;
       sprintf(edit_buffer, "%d", plot[selected_plot].plot_color);
       sprintf(out, "Enter color for %s graph (0-15):", plot[selected_plot].plot_id);
       start_edit(COLOR_CMD, out);
       return 1;
    }
#ifdef FFT_STUFF
    else if(c == 'f') {
       fft_type = FFT_TYPE;
       if(selected_plot != FFT) {
          plot[FFT].show_plot = 1;
          calc_fft(selected_plot);
          dump_fft_plot();
       }
    }
#endif
    else if(c == 'g') {  // g acts like an ignore
    }
    else if(c == 'h') {
       fft_type = HIST_TYPE;
       plot[FFT].show_plot = 1;
       calc_fft(selected_plot);
       dump_hist_plot();
    }
    else if(c == 'i') {  // invert plot
       plot[selected_plot].invert_plot *= (-1.0F);
    }
    else if(c == 'l') {  // trend line
       plot[selected_plot].show_trend = toggle_value(plot[selected_plot].show_trend);
       if(plot[selected_plot].show_trend) {
          plot[selected_plot].show_deriv = 0;    // turn off derivatice mode
          plot[selected_plot].show_freq = 0;
          plot[selected_plot].drift_rate = 0.0;  // turn off trend line mode
          show_trend_info(selected_plot);
       }
       else if(title_type == OTHER) {
          plot_title[0] = 0;
          title_type = NONE;
       }
    }
    else if(c == '/') {
       getting_plot = 0;
       all_plots = 0;
       edit_buffer[0] = 0;
       edit_info1 =         "                             miN)   maX)   sP)an      ?)all";
       start_edit(STAT_CMD, "Select statistic to display: A)vg   R)ms   S)td dev   V)ar   <cr>=hide");
       return 1;
    }
    else if((c == 'm') || (c == 's') || (c == 'f')) {  // modify scale factor
       getting_plot = 0;
       edit_scale();
       return 1;
    }
    else if(c == 'x') {  // toggle scale modes
       plot[selected_plot].user_scale = toggle_value(plot[selected_plot].user_scale);
       plot[selected_plot].float_center = toggle_value(plot[selected_plot].float_center);
       plot[selected_plot].user_set_float = 1;
    }
    else if((c == 'z') || (c == 'r')) {  // zero reference line
       getting_plot = 0;
       edit_ref();
       return 1;
    }
    else if(c == '+') {  // move graph up
       move_plot_up();
    }
    else if(c == '-') {  // move graph down
       move_plot_down();
    }
    else if(c == '{') {  // make plot smaller
       shrink_plot();
    }
    else if(c == '}') {  // make plot bigger
       grow_plot();
    }
    else if(c == '=') {  // remove dift rate
       getting_plot = 0;
       edit_drift();
       return 1;
    }
    else if(c == '*') {  // show plot derivative
       plot[selected_plot].show_deriv ^= 1;
       plot[selected_plot].show_freq = 0;
       if(plot[selected_plot].show_deriv) plot[selected_plot].drift_rate = 0.0;
    }
    else if(c == '#') {  // show frequency
       if(tie_plot(selected_plot)) {
          plot[selected_plot].show_freq ^= 1;
          plot[selected_plot].show_deriv = 0;
          if(plot[selected_plot].show_deriv) plot[selected_plot].drift_rate = 0.0;
       }
       else {
          getting_plot = 0;
          if(rcvr_type == PRS_RCVR) {
             edit_error("Can only display OSC plot as frequency");
          }
          else if(rcvr_type == TICC_RCVR) {
             edit_error("Can only display TIE plots as frequency");
          }
          else {
             edit_error("Cannot display plot as frequency");
          }
       }
    }
//  else if((c == '&') && luxor && cal_mode) {
    else if((c == '&') && luxor) {
       getting_plot = 0;
       edit_cal();
       return 1;
    }
    else if(c == '~') {  // deglitch plot
       getting_plot = 0;
       sprintf(edit_buffer, "%g", DEFAULT_DEGLITCH_SIGMA);
       sprintf(out, "Enter %s plot deglitch standard deviation sigma threshold. (ESC ESC to abort)", plot[selected_plot].plot_id);
       start_edit(DEGLITCH_CMD, out);
       return 1;
    }
    else if(c == '?') {
       show_all_stats ^= 1;
       erase_debug_info();
    }
    else if((c == ESC_CHAR) || (c == ' ')) {
    }
    else {
       getting_plot = 0;
       sprintf(out, "Invalid plot command: %c", c);
       edit_error(out);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %eax
cmpl $0xff, %edi
jg 0x36eef
movl %eax, %edi
callq 0x9580
movl 0x2f5a47(%rip), %ecx    # 0x32c93c
cmpl $-0x1, %ecx
je 0x36f1c
cmpl $0xd, %eax
setne %dl
cmpl %ecx, %eax
setne %cl
testb %cl, %dl
jne 0x36f66
leaq 0x2f2e48(%rip), %rax    # 0x329d58
movl (%rax), %edi
callq 0x30233
jmp 0x374a7
leaq 0x1ce4c0(%rip), %rcx    # 0x2053e3
movb $0x1, (%rcx)
leal -0x61(%rax), %ecx
cmpl $0x14, %ecx
ja 0x36f8f
leaq 0xbf6db(%rip), %rdx     # 0xf6610
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
leaq 0x2ee36f(%rip), %rax    # 0x3252b4
xorb $0x1, (%rax)
callq 0xe6741
xorl %edi, %edi
callq 0xe6975
leaq 0x1cb8e9(%rip), %rax    # 0x202844
movl $0x10e7, (%rax)         # imm = 0x10E7
jmp 0x374a1
leal -0x61(%rax), %ecx
cmpl $0x17, %ecx
ja 0x36fd7
leaq 0xbf63b(%rip), %rdx     # 0xf65b0
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
andl $0x0, 0x2f59b7(%rip)    # 0x32c93c
callq 0x2c3dd
jmp 0x3715a
cmpl $0x1b, %eax
je 0x374a1
cmpl $0x20, %eax
je 0x374a1
testl %ebx, %ebx
jne 0x3715a
andl $0x0, 0x2f598c(%rip)    # 0x32c93c
leaq 0x2ef269(%rip), %rbx    # 0x326220
leaq 0xc9d75(%rip), %rsi     # 0x100d33
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0x9060
movq %rbx, %rdi
callq 0x214df
jmp 0x374a7
cmpl $0x2f, %eax
jne 0x37014
andl $0x0, 0x2f5959(%rip)    # 0x32c93c
andl $0x0, 0x2f5846(%rip)    # 0x32c830
leaq 0x2f22ef(%rip), %rax    # 0x3292e0
movb $0x0, (%rax)
leaq 0xc9d7e(%rip), %rax     # 0x100d79
leaq 0x2f25de(%rip), %rcx    # 0x3295e0
movq %rax, (%rcx)
leaq 0xc9da9(%rip), %rsi     # 0x100db5
pushq $0x7e
popq %rdi
jmp 0x37155
movl %eax, %ecx
andl $-0x9, %ecx
cmpl $0x72, %ecx
jne 0x374ba
andl $0x0, 0x2f5913(%rip)    # 0x32c93c
callq 0x2c582
jmp 0x3715a
leaq 0x1ce39a(%rip), %rbx    # 0x2053d4
movzbl (%rbx), %edi
callq 0x31279
movb %al, (%rbx)
leaq 0x1ce38a(%rip), %rcx    # 0x2053d5
movb %al, (%rcx)
callq 0x36e83
jmp 0x374a7
leaq 0x1ce41f(%rip), %rax    # 0x20547d
movb $0x1, (%rax)
leaq 0x110cc8(%rip), %rax    # 0x147d30
movl $0x1, 0xcc8(%rax)
leaq 0x2f2cdf(%rip), %rax    # 0x329d58
movl (%rax), %edi
callq 0xf1c2d
callq 0xf2187
jmp 0x374a7
leaq 0x2f2cc7(%rip), %rbx    # 0x329d58
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x110c8e(%rip), %r14    # 0x147d30
movzbl 0x30(%r14,%rax), %edi
callq 0x31279
movzbl %al, %eax
movslq (%rbx), %rcx
imulq $0xe8, %rcx, %rcx
movl %eax, 0x30(%r14,%rcx)
movzbl 0x1c(%r14,%rcx), %edi
callq 0x31279
movzbl %al, %eax
movslq (%rbx), %rcx
imulq $0xe8, %rcx, %rcx
movl %eax, 0x1c(%r14,%rcx)
movl $0x1, 0xdc(%r14,%rcx)
jmp 0x374a7
andl $0x0, 0x2f5848(%rip)    # 0x32c93c
leaq 0x2f21e5(%rip), %rdi    # 0x3292e0
movb $0x0, (%rdi)
leaq 0x2f2c53(%rip), %rbx    # 0x329d58
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x110c1a(%rip), %r14    # 0x147d30
movl 0x20(%r14,%rax), %edx
leaq 0xd6d7a(%rip), %rsi     # 0x10de9c
xorl %eax, %eax
callq 0x9060
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
movq (%r14,%rax), %rdx
leaq 0x2ef0e2(%rip), %rbx    # 0x326220
leaq 0xc9c13(%rip), %rsi     # 0x100d58
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
pushq $0x67
popq %rdi
movq %rbx, %rsi
callq 0x297a7
pushq $0x1
popq %rax
jmp 0x374b5
leaq 0x2f2bef(%rip), %rax    # 0x329d58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x110bb6(%rip), %rcx    # 0x147d30
movsd 0x48(%rcx,%rax), %xmm0
xorps 0xbc029(%rip), %xmm0    # 0xf31b0
movlps %xmm0, 0x48(%rcx,%rax)
jmp 0x374a7
leaq 0x1ce2e5(%rip), %rax    # 0x20547d
movb $0x0, (%rax)
leaq 0x2f2bb6(%rip), %rax    # 0x329d58
movl (%rax), %edi
cmpl $0xe, %edi
je 0x374a7
leaq 0x110b7c(%rip), %rax    # 0x147d30
movl $0x1, 0xcc8(%rax)
callq 0xf1c2d
callq 0xf1a6b
jmp 0x374a7
leaq 0x2f2b84(%rip), %r14    # 0x329d58
movslq (%r14), %rax
imulq $0xe8, %rax, %rax
leaq 0x110b4b(%rip), %rbx    # 0x147d30
movzbl 0xc8(%rbx,%rax), %edi
callq 0x31279
movzbl %al, %ecx
movslq (%r14), %rdi
imulq $0xe8, %rdi, %rax
movl %ecx, 0xc8(%rbx,%rax)
testb %cl, %cl
je 0x374ec
andq $0x0, 0xcc(%rbx,%rax)
andq $0x0, 0xa0(%rbx,%rax)
callq 0x36c5f
jmp 0x374a7
leaq 0x2bfd7f(%rip), %rax    # 0x2f6fb0
movb $0x4, (%rax)
jmp 0x3748a
leaq 0x2bfd70(%rip), %rax    # 0x2f6fb0
movb $0x1, %cl
movb %cl, (%rax)
leaq 0x1ce197(%rip), %rax    # 0x2053e2
movb %cl, (%rax)
jmp 0x37326
leaq 0xca3bc(%rip), %rax     # 0x101615
leaq 0x2bfd48(%rip), %rcx    # 0x2f6fa8
movq %rax, (%rcx)
leaq 0x2ee04e(%rip), %rcx    # 0x3252b8
movabsq $0x4008000000000000, %rdx # imm = 0x4008000000000000
movq %rdx, (%rcx)
leaq 0x2ee012(%rip), %rcx    # 0x325290
movq %rdx, (%rcx)
leaq 0x2bfd30(%rip), %rcx    # 0x2f6fb8
movabsq $0x3ee2d6cb21b5f0ac, %rdx # imm = 0x3EE2D6CB21B5F0AC
jmp 0x37378
leaq 0x2bfd12(%rip), %rax    # 0x2f6fb0
movb $0x0, (%rax)
jmp 0x3731c
leaq 0x2bfd06(%rip), %rax    # 0x2f6fb0
movb $0x3, (%rax)
leaq 0x1ce12e(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb586(%rip), %rax    # 0x202844
movl $0x4b5, (%rax)          # imm = 0x4B5
jmp 0x374a1
leaq 0x2bfdb0(%rip), %rax    # 0x2f7080
xorb $0x1, (%rax)
leaq 0x2bfdae(%rip), %rax    # 0x2f7088
movl $0x1, (%rax)
leaq 0x1ce0fb(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb553(%rip), %rax    # 0x202844
movl $0x1e2c, (%rax)         # imm = 0x1E2C
xorl %edi, %edi
callq 0xe6975
jmp 0x374a1
leaq 0x2bfca6(%rip), %rax    # 0x2f6fb0
movb $0x7, (%rax)
jmp 0x37445
leaq 0x2bfc97(%rip), %rax    # 0x2f6fb0
movb $0x8, (%rax)
leaq 0x1ce0bf(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb517(%rip), %rax    # 0x202844
movl $0x4b4, (%rax)          # imm = 0x4B4
jmp 0x374a1
leaq 0xd76c3(%rip), %rax     # 0x10ea02
leaq 0x2bfc62(%rip), %rcx    # 0x2f6fa8
movq %rax, (%rcx)
leaq 0x2edf68(%rip), %rcx    # 0x3252b8
movabsq $0x4024000000000000, %rdx # imm = 0x4024000000000000
movq %rdx, (%rcx)
leaq 0x2edf2c(%rip), %rcx    # 0x325290
movq %rdx, (%rcx)
leaq 0x2bfc4a(%rip), %rcx    # 0x2f6fb8
movabsq $0x3ec6f7f3270dbac6, %rdx # imm = 0x3EC6F7F3270DBAC6
movq %rdx, (%rcx)
leaq 0x2bfc3e(%rip), %rcx    # 0x2f6fc0
movq %rax, (%rcx)
xorl %edi, %edi
callq 0xe6975
leaq 0x1ce04f(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb4a7(%rip), %rax    # 0x202844
movl $0x4b1, (%rax)          # imm = 0x4B1
jmp 0x374a1
leaq 0x2bfc01(%rip), %rax    # 0x2f6fb0
movb $0x5, (%rax)
leaq 0x1ce029(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb481(%rip), %rax    # 0x202844
movl $0x4b8, (%rax)          # imm = 0x4B8
jmp 0x374a1
leaq 0xe5c50(%rip), %rax     # 0x11d025
leaq 0x2bfbcc(%rip), %rcx    # 0x2f6fa8
movq %rax, (%rcx)
leaq 0x2eded2(%rip), %rcx    # 0x3252b8
movabsq $0x4008000000000000, %rdx # imm = 0x4008000000000000
movq %rdx, (%rcx)
leaq 0x2ede96(%rip), %rcx    # 0x325290
movq %rdx, (%rcx)
leaq 0x2bfbb4(%rip), %rcx    # 0x2f6fb8
movabsq $0x3ef481fc97ce9f99, %rdx # imm = 0x3EF481FC97CE9F99
movq %rdx, (%rcx)
leaq 0x2bfba8(%rip), %rcx    # 0x2f6fc0
movq %rax, (%rcx)
xorl %edi, %edi
callq 0xe6975
leaq 0x1cdfb9(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb411(%rip), %rax    # 0x202844
movl $0x50b, (%rax)          # imm = 0x50B
jmp 0x374a1
leaq 0x2bfb6e(%rip), %rax    # 0x2f6fb0
movb $0x2, (%rax)
leaq 0x1cdf96(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb3ee(%rip), %rax    # 0x202844
movl $0x4b2, (%rax)          # imm = 0x4B2
jmp 0x374a1
leaq 0x1cdf7d(%rip), %r14    # 0x2053e2
movzbl (%r14), %edi
callq 0x31279
movb %al, (%r14)
leaq 0x1cb3cc(%rip), %rax    # 0x202844
movl $0x1e2b, (%rax)         # imm = 0x1E2B
jmp 0x374a1
leaq 0x2bfb29(%rip), %rax    # 0x2f6fb0
movb $0x6, (%rax)
leaq 0x1cdf51(%rip), %rax    # 0x2053e2
movb $0x1, (%rax)
leaq 0x1cb3a9(%rip), %rax    # 0x202844
movl $0x4b3, (%rax)          # imm = 0x4B3
xorl %eax, %eax
testl %ebx, %ebx
jne 0x374b5
callq 0xaa05
andl $0x0, 0x2f5489(%rip)    # 0x32c93c
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
cmpl $0x23, %eax
je 0x37526
cmpl $0x2a, %eax
je 0x3758e
cmpl $0x7d, %eax
je 0x37584
cmpl $0x2d, %eax
je 0x37507
cmpl $0x3d, %eax
je 0x37515
cmpl $0x7b, %eax
je 0x3750e
cmpl $0x2b, %eax
jne 0x37562
callq 0x36b43
jmp 0x374a7
leaq 0x2f1dd9(%rip), %rax    # 0x3292cc
cmpl $0x3, (%rax)
jne 0x374a7
leaq 0x2f1351(%rip), %rcx    # 0x328850
movb $0x0, (%rcx)
andl $0x0, (%rax)
jmp 0x374a7
callq 0x36b8a
jmp 0x374a7
callq 0x36bd1
jmp 0x374a7
andl $0x0, 0x2f5420(%rip)    # 0x32c93c
callq 0x2c4a8
jmp 0x3715a
leaq 0x2f282b(%rip), %rbx    # 0x329d58
movl (%rbx), %edi
callq 0x13376
testl %eax, %eax
je 0x3765e
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x1107e3(%rip), %rcx    # 0x147d30
xorl $0x1, 0xd0(%rcx,%rax)
andl $0x0, 0xcc(%rcx,%rax)
jmp 0x374a7
cmpl $0x26, %eax
jne 0x375d8
leaq 0x1f19d0(%rip), %rcx    # 0x228f3e
cmpb $0x0, (%rcx)
je 0x375d8
andl $0x0, 0x2f53c2(%rip)    # 0x32c93c
callq 0x2c660
jmp 0x3715a
callq 0x36c18
jmp 0x374a7
leaq 0x2f27c3(%rip), %rax    # 0x329d58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x11078a(%rip), %rcx    # 0x147d30
movl 0xcc(%rcx,%rax), %edx
movl %edx, %esi
xorl $0x1, %esi
movl %esi, 0xcc(%rcx,%rax)
andl $0x0, 0xd0(%rcx,%rax)
cmpl $0x1, %edx
je 0x374a7
andq $0x0, 0xa0(%rcx,%rax)
jmp 0x374a7
cmpl $0x1b, %eax
je 0x374a7
cmpl $0x20, %eax
je 0x374a7
cmpl $0x3f, %eax
je 0x376a3
cmpl $0x7e, %eax
jne 0x376b7
andl $0x0, 0x2f5339(%rip)    # 0x32c93c
leaq 0x2f1cd6(%rip), %rdi    # 0x3292e0
leaq 0xe1de6(%rip), %rsi     # 0x1193f7
movsd 0xbe467(%rip), %xmm0    # 0xf5a80
movb $0x1, %al
callq 0x9060
leaq 0x2f2731(%rip), %rax    # 0x329d58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x1106f8(%rip), %rcx    # 0x147d30
movq (%rcx,%rax), %rdx
leaq 0x2eebdd(%rip), %rbx    # 0x326220
leaq 0xc9822(%rip), %rsi     # 0x100e6c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl $0x161, %edi            # imm = 0x161
jmp 0x37152
andl $0x0, 0x2f52d7(%rip)    # 0x32c93c
leaq 0x1cb264(%rip), %rax    # 0x2028d0
movq (%rax), %rax
cmpq $0x10000, %rax          # imm = 0x10000
je 0x3768b
cmpq $0x1000000, %rax        # imm = 0x1000000
jne 0x37697
leaq 0xc9776(%rip), %rdi     # 0x100dfc
jmp 0x36fcd
leaq 0xc9791(%rip), %rdi     # 0x100e23
jmp 0x36fcd
leaq 0xc97ad(%rip), %rdi     # 0x100e4b
jmp 0x36fcd
leaq 0x2f26b6(%rip), %rax    # 0x329d60
xorb $0x1, (%rax)
callq 0x35e18
jmp 0x374a7
andl $0x0, 0x2f527e(%rip)    # 0x32c93c
leaq 0x2eeb5b(%rip), %rbx    # 0x326220
leaq 0xc97ee(%rip), %rsi     # 0x100eba
jmp 0x36fbe