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

void add_or_remove_pipe_symbol_from_answer(void)

{
  int iVar1;
  char *ptr;
  
  ptr = *(char **)PTR_answer_0007792c;
  iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr);
  if (*ptr != '|') {
                    /* WARNING: Subroutine does not return */
    nrealloc(ptr,iVar1 + 2);
  }
  (*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1);
  if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {
    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;
    return;
  }
  return;
}



void add_or_remove_pipe_symbol_from_answer(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  
  puVar2 = PTR_answer_0007792c;
  pcVar5 = *(char **)PTR_answer_0007792c;
  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);
  if (*pcVar5 == '|') {
    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);
    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {
      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;
      return;
    }
  }
  else {
    iVar3 = nrealloc(pcVar5,iVar3 + 2);
    *(int *)puVar2 = iVar3;
    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);
    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);
    puVar1 = PTR_DAT_00077548;
    **(undefined1 **)puVar2 = 0x7c;
    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;
  }
  return;
}


lui gp,0x5
addiu gp,gp,-0x4108
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7528(gp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s1,-0x7bf4(gp)
sw gp,0x10(sp)
sw s2,0x20(sp)
li s2,0x7c
sw ra,0x24(sp)
lw s0,0x0(s1)
jalr t9
_or a0,s0,zero
lb v1,0x0(s0)
beq v1,s2,0x000336e4
_lw gp,0x10(sp)
lw t9,-0x7f9c(gp)
addiu a1,v0,0x2
bal 0x000426cc
_or a0,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
sw v0,0x0(s1)
lw t9,-0x7528(gp)
jalr t9
_or s0,v0,zero
addiu a0,s0,0x1
lw gp,0x10(sp)
addiu a2,v0,0x1
lw t9,-0x740c(gp)
jalr t9
_or a1,s0,zero
lw gp,0x10(sp)
lw v0,0x0(s1)
lw v1,-0x7fd8(gp)
sb s2,0x0(v0)
lw v0,0x73f0(v1)
addiu v0,v0,0x1
sw v0,0x73f0(v1)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x740c(gp)
addiu a2,v0,0x1
addiu a1,s0,0x1
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw v1,-0x7fd8(gp)
lw v0,0x73f0(v1)
beq v0,zero,0x000336d0
_lw ra,0x24(sp)
addiu v0,v0,-0x1
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
addiu sp,sp,0x28
jr ra
_sw v0,0x73f0(v1)
(translation_unit "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}\n\n" (function_definition "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" primitive_type (function_declarator "add_or_remove_pipe_symbol_from_answer(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar2 = PTR_answer_0007792c;" (assignment_expression "puVar2 = PTR_answer_0007792c" identifier = identifier) ;) (expression_statement "pcVar5 = *(char **)PTR_answer_0007792c;" (assignment_expression "pcVar5 = *(char **)PTR_answer_0007792c" identifier = (pointer_expression "*(char **)PTR_answer_0007792c" * (cast_expression "(char **)PTR_answer_0007792c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(pcVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" if (parenthesized_expression "(*pcVar5 == '|')" ( (binary_expression "*pcVar5 == '|'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'|'" ' character ')) )) (compound_statement "{\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }" { (expression_statement "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" ( (pointer_expression "*(code *)PTR_memmove_00078114" * (cast_expression "(code *)PTR_memmove_00078114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,pcVar5 + 1,iVar3 + 1)" ( identifier , (binary_expression "pcVar5 + 1" identifier + number_literal) , (binary_expression "iVar3 + 1" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_00077548 + 0x73f0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) != 0" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" { (expression_statement "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;" (assignment_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" else (compound_statement "{\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" { (expression_statement "iVar3 = nrealloc(pcVar5,iVar3 + 2);" (assignment_expression "iVar3 = nrealloc(pcVar5,iVar3 + 2)" identifier = (call_expression "nrealloc(pcVar5,iVar3 + 2)" identifier (argument_list "(pcVar5,iVar3 + 2)" ( identifier , (binary_expression "iVar3 + 2" identifier + number_literal) )))) ;) (expression_statement "*(int *)puVar2 = iVar3;" (assignment_expression "*(int *)puVar2 = iVar3" (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(iVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" ( (pointer_expression "*(code *)PTR_memmove_00078114" * (cast_expression "(code *)PTR_memmove_00078114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1,iVar3,iVar4 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) , identifier , (binary_expression "iVar4 + 1" identifier + number_literal) ))) ;) (expression_statement "puVar1 = PTR_DAT_00077548;" (assignment_expression "puVar1 = PTR_DAT_00077548" identifier = identifier) ;) (expression_statement "**(undefined1 **)puVar2 = 0x7c;" (assignment_expression "**(undefined1 **)puVar2 = 0x7c" (pointer_expression "**(undefined1 **)puVar2" * (pointer_expression "*(undefined1 **)puVar2" * (cast_expression "(undefined1 **)puVar2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;" (assignment_expression "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" * (cast_expression "(int *)(puVar1 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x73f0)" ( (binary_expression "puVar1 + 0x73f0" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" * (cast_expression "(int *)(puVar1 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x73f0)" ( (binary_expression "puVar1 + 0x73f0" identifier + number_literal) )))) + number_literal)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  int iVar1;\n  char *ptr;\n  \n  ptr = *(char **)PTR_answer_0007792c;\n  iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr);\n  if (*ptr != '|') {\n                    /* WARNING: Subroutine does not return */\n    nrealloc(ptr,iVar1 + 2);\n  }\n  (*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1);\n  if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  int iVar1;\n  char *ptr;\n  \n  ptr = *(char **)PTR_answer_0007792c;\n  iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr);\n  if (*ptr != '|') {\n                    /* WARNING: Subroutine does not return */\n    nrealloc(ptr,iVar1 + 2);\n  }\n  (*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1);\n  if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "add_or_remove_pipe_symbol_from_answer(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  char *ptr;\n  \n  ptr = *(char **)PTR_answer_0007792c;\n  iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr);\n  if (*ptr != '|') {\n                    /* WARNING: Subroutine does not return */\n    nrealloc(ptr,iVar1 + 2);\n  }\n  (*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1);\n  if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *ptr;" primitive_type (pointer_declarator "*ptr" * identifier) ;) (expression_statement "ptr = *(char **)PTR_answer_0007792c;" (assignment_expression "ptr = *(char **)PTR_answer_0007792c" identifier = (pointer_expression "*(char **)PTR_answer_0007792c" * (cast_expression "(char **)PTR_answer_0007792c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr);" (assignment_expression "iVar1 = (*(code *)PTR_strlen_00077ff8)(ptr)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(ptr)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptr)" ( identifier )))) ;) (if_statement "if (*ptr != '|') {\n                    /* WARNING: Subroutine does not return */\n    nrealloc(ptr,iVar1 + 2);\n  }" if (parenthesized_expression "(*ptr != '|')" ( (binary_expression "*ptr != '|'" (pointer_expression "*ptr" * identifier) != (char_literal "'|'" ' character ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    nrealloc(ptr,iVar1 + 2);\n  }" { comment (expression_statement "nrealloc(ptr,iVar1 + 2);" (call_expression "nrealloc(ptr,iVar1 + 2)" identifier (argument_list "(ptr,iVar1 + 2)" ( identifier , (binary_expression "iVar1 + 2" identifier + number_literal) ))) ;) })) (expression_statement "(*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(ptr,ptr + 1,iVar1 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" ( (pointer_expression "*(code *)PTR_memmove_00078114" * (cast_expression "(code *)PTR_memmove_00078114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(ptr,ptr + 1,iVar1 + 1)" ( identifier , (binary_expression "ptr + 1" identifier + number_literal) , (binary_expression "iVar1 + 1" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n    return;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_00077548 + 0x73f0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) != 0" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n    return;\n  }" { (expression_statement "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;" (assignment_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}\n\n" (function_definition "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" primitive_type (function_declarator "add_or_remove_pipe_symbol_from_answer(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar2 = PTR_answer_0007792c;" (assignment_expression "puVar2 = PTR_answer_0007792c" identifier = identifier) ;) (expression_statement "pcVar5 = *(char **)PTR_answer_0007792c;" (assignment_expression "pcVar5 = *(char **)PTR_answer_0007792c" identifier = (pointer_expression "*(char **)PTR_answer_0007792c" * (cast_expression "(char **)PTR_answer_0007792c" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(pcVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" if (parenthesized_expression "(*pcVar5 == '|')" ( (binary_expression "*pcVar5 == '|'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'|'" ' character ')) )) (compound_statement "{\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }" { (expression_statement "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" ( (pointer_expression "*(code *)PTR_memmove_00078114" * (cast_expression "(code *)PTR_memmove_00078114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,pcVar5 + 1,iVar3 + 1)" ( identifier , (binary_expression "pcVar5 + 1" identifier + number_literal) , (binary_expression "iVar3 + 1" identifier + number_literal) ))) ;) (if_statement "if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" if (parenthesized_expression "(*(int *)(PTR_DAT_00077548 + 0x73f0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) != 0" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" { (expression_statement "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;" (assignment_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) = (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" * (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" ( (binary_expression "PTR_DAT_00077548 + 0x73f0" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" else (compound_statement "{\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" { (expression_statement "iVar3 = nrealloc(pcVar5,iVar3 + 2);" (assignment_expression "iVar3 = nrealloc(pcVar5,iVar3 + 2)" identifier = (call_expression "nrealloc(pcVar5,iVar3 + 2)" identifier (argument_list "(pcVar5,iVar3 + 2)" ( identifier , (binary_expression "iVar3 + 2" identifier + number_literal) )))) ;) (expression_statement "*(int *)puVar2 = iVar3;" (assignment_expression "*(int *)puVar2 = iVar3" (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3)" identifier = (call_expression "(*(code *)PTR_strlen_00077ff8)(iVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" ( (pointer_expression "*(code *)PTR_strlen_00077ff8" * (cast_expression "(code *)PTR_strlen_00077ff8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" ( (pointer_expression "*(code *)PTR_memmove_00078114" * (cast_expression "(code *)PTR_memmove_00078114" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3 + 1,iVar3,iVar4 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) , identifier , (binary_expression "iVar4 + 1" identifier + number_literal) ))) ;) (expression_statement "puVar1 = PTR_DAT_00077548;" (assignment_expression "puVar1 = PTR_DAT_00077548" identifier = identifier) ;) (expression_statement "**(undefined1 **)puVar2 = 0x7c;" (assignment_expression "**(undefined1 **)puVar2 = 0x7c" (pointer_expression "**(undefined1 **)puVar2" * (pointer_expression "*(undefined1 **)puVar2" * (cast_expression "(undefined1 **)puVar2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;" (assignment_expression "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" * (cast_expression "(int *)(puVar1 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x73f0)" ( (binary_expression "puVar1 + 0x73f0" identifier + number_literal) )))) = (binary_expression "*(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" * (cast_expression "(int *)(puVar1 + 0x73f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x73f0)" ( (binary_expression "puVar1 + 0x73f0" identifier + number_literal) )))) + number_literal)) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) (return_statement return ;) })))
(function_definition "void add_or_remove_pipe_symbol_from_answer(void)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "add_or_remove_pipe_symbol_from_answer(void)" (identifier "add_or_remove_pipe_symbol_from_answer") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar2 = PTR_answer_0007792c;\n  pcVar5 = *(char **)PTR_answer_0007792c;\n  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);\n  if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "puVar2 = PTR_answer_0007792c;" (assignment_expression "puVar2 = PTR_answer_0007792c" (identifier "puVar2") (= "=") (identifier "PTR_answer_0007792c")) (; ";")) (expression_statement "pcVar5 = *(char **)PTR_answer_0007792c;" (assignment_expression "pcVar5 = *(char **)PTR_answer_0007792c" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)PTR_answer_0007792c" (* "*") (cast_expression "(char **)PTR_answer_0007792c" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_answer_0007792c")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(pcVar5)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(pcVar5)" (( "(") (identifier "pcVar5") () ")")))) (; ";")) (if_statement "if (*pcVar5 == '|') {\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }\n  else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" (if "if") (parenthesized_expression "(*pcVar5 == '|')" (( "(") (binary_expression "*pcVar5 == '|'" (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) (== "==") (char_literal "'|'" (' "'") (character "|") (' "'"))) () ")")) (compound_statement "{\n    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);\n    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }\n  }" ({ "{") (expression_statement "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" (( "(") (pointer_expression "*(code *)PTR_memmove_00078114" (* "*") (cast_expression "(code *)PTR_memmove_00078114" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memmove_00078114"))) () ")")) (argument_list "(pcVar5,pcVar5 + 1,iVar3 + 1)" (( "(") (identifier "pcVar5") (, ",") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1")) (, ",") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) () ")"))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_00077548 + 0x73f0) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) != 0" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" (* "*") (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" (( "(") (binary_expression "PTR_DAT_00077548 + 0x73f0" (identifier "PTR_DAT_00077548") (+ "+") (number_literal "0x73f0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;\n      return;\n    }" ({ "{") (expression_statement "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;" (assignment_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" (* "*") (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" (( "(") (binary_expression "PTR_DAT_00077548 + 0x73f0" (identifier "PTR_DAT_00077548") (+ "+") (number_literal "0x73f0")) () ")")))) (= "=") (binary_expression "*(int *)(PTR_DAT_00077548 + 0x73f0) + -1" (pointer_expression "*(int *)(PTR_DAT_00077548 + 0x73f0)" (* "*") (cast_expression "(int *)(PTR_DAT_00077548 + 0x73f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00077548 + 0x73f0)" (( "(") (binary_expression "PTR_DAT_00077548 + 0x73f0" (identifier "PTR_DAT_00077548") (+ "+") (number_literal "0x73f0")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" (else "else") (compound_statement "{\n    iVar3 = nrealloc(pcVar5,iVar3 + 2);\n    *(int *)puVar2 = iVar3;\n    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);\n    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);\n    puVar1 = PTR_DAT_00077548;\n    **(undefined1 **)puVar2 = 0x7c;\n    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;\n  }" ({ "{") (expression_statement "iVar3 = nrealloc(pcVar5,iVar3 + 2);" (assignment_expression "iVar3 = nrealloc(pcVar5,iVar3 + 2)" (identifier "iVar3") (= "=") (call_expression "nrealloc(pcVar5,iVar3 + 2)" (identifier "nrealloc") (argument_list "(pcVar5,iVar3 + 2)" (( "(") (identifier "pcVar5") (, ",") (binary_expression "iVar3 + 2" (identifier "iVar3") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(int *)puVar2 = iVar3;" (assignment_expression "*(int *)puVar2 = iVar3" (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strlen_00077ff8)(iVar3)" (parenthesized_expression "(*(code *)PTR_strlen_00077ff8)" (( "(") (pointer_expression "*(code *)PTR_strlen_00077ff8" (* "*") (cast_expression "(code *)PTR_strlen_00077ff8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_00077ff8"))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);" (call_expression "(*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1)" (parenthesized_expression "(*(code *)PTR_memmove_00078114)" (( "(") (pointer_expression "*(code *)PTR_memmove_00078114" (* "*") (cast_expression "(code *)PTR_memmove_00078114" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memmove_00078114"))) () ")")) (argument_list "(iVar3 + 1,iVar3,iVar4 + 1)" (( "(") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1")) (, ",") (identifier "iVar3") (, ",") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "puVar1 = PTR_DAT_00077548;" (assignment_expression "puVar1 = PTR_DAT_00077548" (identifier "puVar1") (= "=") (identifier "PTR_DAT_00077548")) (; ";")) (expression_statement "**(undefined1 **)puVar2 = 0x7c;" (assignment_expression "**(undefined1 **)puVar2 = 0x7c" (pointer_expression "**(undefined1 **)puVar2" (* "*") (pointer_expression "*(undefined1 **)puVar2" (* "*") (cast_expression "(undefined1 **)puVar2" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2")))) (= "=") (number_literal "0x7c")) (; ";")) (expression_statement "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;" (assignment_expression "*(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" (* "*") (cast_expression "(int *)(puVar1 + 0x73f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x73f0)" (( "(") (binary_expression "puVar1 + 0x73f0" (identifier "puVar1") (+ "+") (number_literal "0x73f0")) () ")")))) (= "=") (binary_expression "*(int *)(puVar1 + 0x73f0) + 1" (pointer_expression "*(int *)(puVar1 + 0x73f0)" (* "*") (cast_expression "(int *)(puVar1 + 0x73f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x73f0)" (( "(") (binary_expression "puVar1 + 0x73f0" (identifier "puVar1") (+ "+") (number_literal "0x73f0")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  int var_2;
  char *var_3;
  
  var_3 = *(char **)PTR_answer_0007792c;
  var_2 = (*(type_1 *)PTR_strlen_00077ff8)(var_3);
  if (*var_3 != '|') {
                    /* WARNING: Subroutine does not return */
    var_1(var_3,var_2 + 2);
  }
  (*(type_1 *)PTR_memmove_00078114)(var_3,var_3 + 1,var_2 + 1);
  if (*(int *)(var_4 + 0x73f0) != 0) {
    *(int *)(var_4 + 0x73f0) = *(int *)(var_4 + 0x73f0) + -1;
    return;
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (return_statement)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier)))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  int iVar4;
  char *pcVar5;
  
  puVar2 = PTR_answer_0007792c;
  pcVar5 = *(char **)PTR_answer_0007792c;
  iVar3 = (*(code *)PTR_strlen_00077ff8)(pcVar5);
  if (*pcVar5 == '|') {
    (*(code *)PTR_memmove_00078114)(pcVar5,pcVar5 + 1,iVar3 + 1);
    if (*(int *)(PTR_DAT_00077548 + 0x73f0) != 0) {
      *(int *)(PTR_DAT_00077548 + 0x73f0) = *(int *)(PTR_DAT_00077548 + 0x73f0) + -1;
      return;
    }
  }
  else {
    iVar3 = nrealloc(pcVar5,iVar3 + 2);
    *(int *)puVar2 = iVar3;
    iVar4 = (*(code *)PTR_strlen_00077ff8)(iVar3);
    (*(code *)PTR_memmove_00078114)(iVar3 + 1,iVar3,iVar4 + 1);
    puVar1 = PTR_DAT_00077548;
    **(undefined1 **)puVar2 = 0x7c;
    *(int *)(puVar1 + 0x73f0) = *(int *)(puVar1 + 0x73f0) + 1;
  }
  return;
}

