
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void do_mark(void)

{
  openfilestruct *poVar1;
  char *pcVar2;
  
  poVar1 = openfile;
  if (openfile->mark == (filestruct *)0x0) {
    openfile->mark = openfile->current;
    poVar1->mark_x = poVar1->current_x;
    pcVar2 = (char *)dcgettext(0,"Mark Set",5);
    statusbar(pcVar2);
    openfile->kind_of_mark = HARDMARK;
  }
  else {
    openfile->mark = (filestruct *)0x0;
    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);
    statusbar(pcVar2);
    refresh_needed = true;
  }
  return;
}



void FUN_0011e68e(void)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = DAT_0013bc10;
  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {
    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);
    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);
    uVar2 = dcgettext(0,"Mark Set",5);
    FUN_001279f7(uVar2);
    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;
  }
  else {
    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;
    uVar2 = dcgettext(0,"Mark Unset",5);
    FUN_001279f7(uVar2);
    DAT_0013bb98 = 1;
  }
  return;
}


SUB RSP,0x8
MOV RAX,qword ptr [0x0013bc10]
CMP qword ptr [RAX + 0x60],0x0
JZ 0x0011e6d2
MOV qword ptr [RAX + 0x60],0x0
MOV EDX,0x5
LEA RSI,[0x13166a]
MOV EDI,0x0
CALL 0x001052f0
MOV RDI,RAX
CALL 0x001279f7
MOV byte ptr [0x0013bb98],0x1
ADD RSP,0x8
RET
MOV RDX,qword ptr [RAX + 0x20]
MOV qword ptr [RAX + 0x60],RDX
MOV RDX,qword ptr [RAX + 0x38]
MOV qword ptr [RAX + 0x68],RDX
MOV EDX,0x5
LEA RSI,[0x131661]
MOV EDI,0x0
CALL 0x001052f0
MOV RDI,RAX
CALL 0x001279f7
MOV RAX,qword ptr [0x0013bc10]
MOV dword ptr [RAX + 0x70],0x1
JMP 0x0011e6cd
(translation_unit "void FUN_0011e68e(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0011e68e(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0011e68e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = DAT_0013bc10;" (assignment_expression "lVar1 = DAT_0013bc10" identifier = identifier) ;) (if_statement "if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" if (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x60) == 0)" ( (binary_expression "*(long *)(DAT_0013bc10 + 0x60) == 0" (pointer_expression "*(long *)(DAT_0013bc10 + 0x60)" * (cast_expression "(long *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }" { (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20)" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x20)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);" (assignment_expression "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38)" (pointer_expression "*(undefined8 *)(lVar1 + 0x68)" * (cast_expression "(undefined8 *)(lVar1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x68)" ( (binary_expression "lVar1 + 0x68" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = dcgettext(0,"Mark Set",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Set",5)" identifier = (call_expression "dcgettext(0,"Mark Set",5)" identifier (argument_list "(0,"Mark Set",5)" ( number_literal , (string_literal ""Mark Set"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1;" (assignment_expression "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1" (pointer_expression "*(undefined4 *)(DAT_0013bc10 + 0x70)" * (cast_expression "(undefined4 *)(DAT_0013bc10 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x70)" ( (binary_expression "DAT_0013bc10 + 0x70" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" else (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" { (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = dcgettext(0,"Mark Unset",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Unset",5)" identifier = (call_expression "dcgettext(0,"Mark Unset",5)" identifier (argument_list "(0,"Mark Unset",5)" ( number_literal , (string_literal ""Mark Unset"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "DAT_0013bb98 = 1;" (assignment_expression "DAT_0013bb98 = 1" identifier = number_literal) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid do_mark(void)\n\n{\n  openfilestruct *poVar1;\n  char *pcVar2;\n  \n  poVar1 = openfile;\n  if (openfile->mark == (filestruct *)0x0) {\n    openfile->mark = openfile->current;\n    poVar1->mark_x = poVar1->current_x;\n    pcVar2 = (char *)dcgettext(0,"Mark Set",5);\n    statusbar(pcVar2);\n    openfile->kind_of_mark = HARDMARK;\n  }\n  else {\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }\n  return;\n}\n\n" comment (function_definition "void do_mark(void)\n\n{\n  openfilestruct *poVar1;\n  char *pcVar2;\n  \n  poVar1 = openfile;\n  if (openfile->mark == (filestruct *)0x0) {\n    openfile->mark = openfile->current;\n    poVar1->mark_x = poVar1->current_x;\n    pcVar2 = (char *)dcgettext(0,"Mark Set",5);\n    statusbar(pcVar2);\n    openfile->kind_of_mark = HARDMARK;\n  }\n  else {\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }\n  return;\n}" primitive_type (function_declarator "do_mark(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  openfilestruct *poVar1;\n  char *pcVar2;\n  \n  poVar1 = openfile;\n  if (openfile->mark == (filestruct *)0x0) {\n    openfile->mark = openfile->current;\n    poVar1->mark_x = poVar1->current_x;\n    pcVar2 = (char *)dcgettext(0,"Mark Set",5);\n    statusbar(pcVar2);\n    openfile->kind_of_mark = HARDMARK;\n  }\n  else {\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }\n  return;\n}" { (declaration "openfilestruct *poVar1;" type_identifier (pointer_declarator "*poVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "poVar1 = openfile;" (assignment_expression "poVar1 = openfile" identifier = identifier) ;) (if_statement "if (openfile->mark == (filestruct *)0x0) {\n    openfile->mark = openfile->current;\n    poVar1->mark_x = poVar1->current_x;\n    pcVar2 = (char *)dcgettext(0,"Mark Set",5);\n    statusbar(pcVar2);\n    openfile->kind_of_mark = HARDMARK;\n  }\n  else {\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }" if (parenthesized_expression "(openfile->mark == (filestruct *)0x0)" ( (binary_expression "openfile->mark == (filestruct *)0x0" (field_expression "openfile->mark" identifier -> field_identifier) == (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    openfile->mark = openfile->current;\n    poVar1->mark_x = poVar1->current_x;\n    pcVar2 = (char *)dcgettext(0,"Mark Set",5);\n    statusbar(pcVar2);\n    openfile->kind_of_mark = HARDMARK;\n  }" { (expression_statement "openfile->mark = openfile->current;" (assignment_expression "openfile->mark = openfile->current" (field_expression "openfile->mark" identifier -> field_identifier) = (field_expression "openfile->current" identifier -> field_identifier)) ;) (expression_statement "poVar1->mark_x = poVar1->current_x;" (assignment_expression "poVar1->mark_x = poVar1->current_x" (field_expression "poVar1->mark_x" identifier -> field_identifier) = (field_expression "poVar1->current_x" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"Mark Set",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Mark Set",5)" identifier = (cast_expression "(char *)dcgettext(0,"Mark Set",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Mark Set",5)" identifier (argument_list "(0,"Mark Set",5)" ( number_literal , (string_literal ""Mark Set"" " string_content ") , number_literal ))))) ;) (expression_statement "statusbar(pcVar2);" (call_expression "statusbar(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "openfile->kind_of_mark = HARDMARK;" (assignment_expression "openfile->kind_of_mark = HARDMARK" (field_expression "openfile->kind_of_mark" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }" else (compound_statement "{\n    openfile->mark = (filestruct *)0x0;\n    pcVar2 = (char *)dcgettext(0,"Mark Unset",5);\n    statusbar(pcVar2);\n    refresh_needed = true;\n  }" { (expression_statement "openfile->mark = (filestruct *)0x0;" (assignment_expression "openfile->mark = (filestruct *)0x0" (field_expression "openfile->mark" identifier -> field_identifier) = (cast_expression "(filestruct *)0x0" ( (type_descriptor "filestruct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"Mark Unset",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"Mark Unset",5)" identifier = (cast_expression "(char *)dcgettext(0,"Mark Unset",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Mark Unset",5)" identifier (argument_list "(0,"Mark Unset",5)" ( number_literal , (string_literal ""Mark Unset"" " string_content ") , number_literal ))))) ;) (expression_statement "statusbar(pcVar2);" (call_expression "statusbar(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) (expression_statement "refresh_needed = true;" (assignment_expression "refresh_needed = true" identifier = true) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0011e68e(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0011e68e(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0011e68e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = DAT_0013bc10;" (assignment_expression "lVar1 = DAT_0013bc10" identifier = identifier) ;) (if_statement "if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" if (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x60) == 0)" ( (binary_expression "*(long *)(DAT_0013bc10 + 0x60) == 0" (pointer_expression "*(long *)(DAT_0013bc10 + 0x60)" * (cast_expression "(long *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }" { (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20)" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x20)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x20)" ( (binary_expression "DAT_0013bc10 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);" (assignment_expression "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38)" (pointer_expression "*(undefined8 *)(lVar1 + 0x68)" * (cast_expression "(undefined8 *)(lVar1 + 0x68)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x68)" ( (binary_expression "lVar1 + 0x68" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = dcgettext(0,"Mark Set",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Set",5)" identifier = (call_expression "dcgettext(0,"Mark Set",5)" identifier (argument_list "(0,"Mark Set",5)" ( number_literal , (string_literal ""Mark Set"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1;" (assignment_expression "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1" (pointer_expression "*(undefined4 *)(DAT_0013bc10 + 0x70)" * (cast_expression "(undefined4 *)(DAT_0013bc10 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x70)" ( (binary_expression "DAT_0013bc10 + 0x70" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" else (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" { (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" * (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0013bc10 + 0x60)" ( (binary_expression "DAT_0013bc10 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = dcgettext(0,"Mark Unset",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Unset",5)" identifier = (call_expression "dcgettext(0,"Mark Unset",5)" identifier (argument_list "(0,"Mark Unset",5)" ( number_literal , (string_literal ""Mark Unset"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) (expression_statement "DAT_0013bb98 = 1;" (assignment_expression "DAT_0013bb98 = 1" identifier = number_literal) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0011e68e(void)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011e68e(void)" (identifier "FUN_0011e68e") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = DAT_0013bc10;\n  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = DAT_0013bc10;" (assignment_expression "lVar1 = DAT_0013bc10" (identifier "lVar1") (= "=") (identifier "DAT_0013bc10")) (; ";")) (if_statement "if (*(long *)(DAT_0013bc10 + 0x60) == 0) {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }\n  else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" (if "if") (parenthesized_expression "(*(long *)(DAT_0013bc10 + 0x60) == 0)" (( "(") (binary_expression "*(long *)(DAT_0013bc10 + 0x60) == 0" (pointer_expression "*(long *)(DAT_0013bc10 + 0x60)" (* "*") (cast_expression "(long *)(DAT_0013bc10 + 0x60)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x60)" (( "(") (binary_expression "DAT_0013bc10 + 0x60" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x60")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);\n    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);\n    uVar2 = dcgettext(0,"Mark Set",5);\n    FUN_001279f7(uVar2);\n    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;\n  }" ({ "{") (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20)" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" (* "*") (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x60)" (( "(") (binary_expression "DAT_0013bc10 + 0x60" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x20)" (* "*") (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x20)" (( "(") (binary_expression "DAT_0013bc10 + 0x20" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);" (assignment_expression "*(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38)" (pointer_expression "*(undefined8 *)(lVar1 + 0x68)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x68)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x68)" (( "(") (binary_expression "lVar1 + 0x68" (identifier "lVar1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "uVar2 = dcgettext(0,"Mark Set",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Set",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"Mark Set",5)" (identifier "dcgettext") (argument_list "(0,"Mark Set",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Mark Set"" (" """) (string_content "Mark Set") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" (identifier "FUN_001279f7") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1;" (assignment_expression "*(undefined4 *)(DAT_0013bc10 + 0x70) = 1" (pointer_expression "*(undefined4 *)(DAT_0013bc10 + 0x70)" (* "*") (cast_expression "(undefined4 *)(DAT_0013bc10 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x70)" (( "(") (binary_expression "DAT_0013bc10 + 0x70" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" (else "else") (compound_statement "{\n    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;\n    uVar2 = dcgettext(0,"Mark Unset",5);\n    FUN_001279f7(uVar2);\n    DAT_0013bb98 = 1;\n  }" ({ "{") (expression_statement "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0;" (assignment_expression "*(undefined8 *)(DAT_0013bc10 + 0x60) = 0" (pointer_expression "*(undefined8 *)(DAT_0013bc10 + 0x60)" (* "*") (cast_expression "(undefined8 *)(DAT_0013bc10 + 0x60)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0013bc10 + 0x60)" (( "(") (binary_expression "DAT_0013bc10 + 0x60" (identifier "DAT_0013bc10") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = dcgettext(0,"Mark Unset",5);" (assignment_expression "uVar2 = dcgettext(0,"Mark Unset",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"Mark Unset",5)" (identifier "dcgettext") (argument_list "(0,"Mark Unset",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Mark Unset"" (" """) (string_content "Mark Unset") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001279f7(uVar2);" (call_expression "FUN_001279f7(uVar2)" (identifier "FUN_001279f7") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "DAT_0013bb98 = 1;" (assignment_expression "DAT_0013bb98 = 1" (identifier "DAT_0013bb98") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *poVar1;
  char *pcVar2;
  
  poVar1 = openfile;
  if (openfile->mark == (type_2 *)0x0) {
    openfile->mark = openfile->current;
    poVar1->mark_x = poVar1->current_x;
    pcVar2 = (char *)var_1(0,"Mark Set",5);
    var_2(pcVar2);
    openfile->kind_of_mark = HARDMARK;
  }
  else {
    openfile->mark = (type_2 *)0x0;
    pcVar2 = (char *)var_1(0,"Mark Unset",5);
    var_2(pcVar2);
    refresh_needed = true;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(void)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = DAT_0013bc10;
  if (*(long *)(DAT_0013bc10 + 0x60) == 0) {
    *(undefined8 *)(DAT_0013bc10 + 0x60) = *(undefined8 *)(DAT_0013bc10 + 0x20);
    *(undefined8 *)(lVar1 + 0x68) = *(undefined8 *)(lVar1 + 0x38);
    uVar2 = dcgettext(0,"Mark Set",5);
    FUN_001279f7(uVar2);
    *(undefined4 *)(DAT_0013bc10 + 0x70) = 1;
  }
  else {
    *(undefined8 *)(DAT_0013bc10 + 0x60) = 0;
    uVar2 = dcgettext(0,"Mark Unset",5);
    FUN_001279f7(uVar2);
    DAT_0013bb98 = 1;
  }
  return;
}

