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

void undo_search(void)

{
  uint uVar1;
  
  if ((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0) {
    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));
  }
  else {
    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);
  }
  if (uVar1 != 0) {
    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =
         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);
    repaint_hilite(1);
    return;
  }
  error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0);
  return;
}



void undo_search(void)

{
  uint uVar1;
  
  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {
    uVar1 = FUN_00030b9c();
  }
  else {
    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);
  }
  if (uVar1 != 0) {
    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);
    repaint_hilite(1);
    return;
  }
  error(PTR_DAT_0004ece4 + -0x3b20,0);
  return;
}


lui gp,0x2
addiu gp,gp,0x5338
addu gp,gp,t9
lw a0,-0x7fd8(gp)
addiu sp,sp,-0x20
addiu a0,a0,0x329c
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw v0,0x8(a0)
andi v0,v0,0x1000
beq v0,zero,0x00031914
_lw t9,-0x7fc8(gp)
lw v0,0x4(a0)
sltu v0,zero,v0
beq v0,zero,0x000318f8
_lw v1,-0x7fd8(gp)
li a0,0x1
lw ra,0x1c(sp)
addiu sp,sp,0x20
lw t9,-0x7ab8(gp)
lw v0,0x32e0(v1)
sltiu v0,v0,0x1
b 0x0003147c
_sw v0,0x32e0(v1)
lw a0,-0x7eec(gp)
or a1,zero,zero
lw ra,0x1c(sp)
addiu sp,sp,0x20
lw t9,-0x7f9c(gp)
b 0x0002ea34
_addiu a0,a0,-0x3b20
addiu t9,t9,0xb9c
bal 0x00030b9c
_nop
b 0x000318d0
_lw gp,0x10(sp)
(translation_unit "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}\n\n" (function_definition "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" primitive_type (function_declarator "undo_search(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" if (parenthesized_expression "((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0)" ( (binary_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0" (parenthesized_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000)" ( (binary_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" * (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a4)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32a4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00030b9c();\n  }" { (expression_statement "uVar1 = FUN_00030b9c();" (assignment_expression "uVar1 = FUN_00030b9c()" identifier = (call_expression "FUN_00030b9c()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" else (compound_statement "{\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" { (expression_statement "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);" (assignment_expression "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" identifier = (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0)" * (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32a0" identifier + number_literal) )))) != number_literal) )))) ;) }))) (if_statement "if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" { (expression_statement "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);" (assignment_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" * (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" identifier + number_literal) )))) = (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0)" * (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" identifier + number_literal) )))) == number_literal) )))) ;) (expression_statement "repaint_hilite(1);" (call_expression "repaint_hilite(1)" identifier (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "error(PTR_DAT_0004ece4 + -0x3b20,0);" (call_expression "error(PTR_DAT_0004ece4 + -0x3b20,0)" identifier (argument_list "(PTR_DAT_0004ece4 + -0x3b20,0)" ( (binary_expression "PTR_DAT_0004ece4 + -0x3b20" identifier + number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0);\n  return;\n}\n\n" comment (function_definition "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0);\n  return;\n}" primitive_type (function_declarator "undo_search(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }" if (parenthesized_expression "((*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0)" ( (binary_expression "(*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000) == 0" (parenthesized_expression "(*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000)" ( (binary_expression "*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4) & 0x1000" (pointer_expression "*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4)" * (cast_expression "(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_CHAR_ARRAY_0004ebf8 + 0x32a4)" ( (binary_expression "PTR_CHAR_ARRAY_0004ebf8 + 0x32a4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));\n  }" { (expression_statement "uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c));" (assignment_expression "uVar1 = prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c))" identifier = (call_expression "prev_pattern((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c))" identifier (argument_list "((pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c))" ( (cast_expression "(pattern_info *)(PTR_CHAR_ARRAY_0004ebf8 + 0x329c)" ( (type_descriptor "pattern_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_CHAR_ARRAY_0004ebf8 + 0x329c)" ( (binary_expression "PTR_CHAR_ARRAY_0004ebf8 + 0x329c" identifier + number_literal) ))) )))) ;) }) (else_clause "else {\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }" else (compound_statement "{\n    uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);\n  }" { (expression_statement "uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0);" (assignment_expression "uVar1 = (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0)" identifier = (call_expression "(uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0)" ( (binary_expression "*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0) != 0" (pointer_expression "*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0)" * (cast_expression "(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_CHAR_ARRAY_0004ebf8 + 0x32a0)" ( (binary_expression "PTR_CHAR_ARRAY_0004ebf8 + 0x32a0" identifier + number_literal) )))) != number_literal) )))) ;) }))) (if_statement "if (uVar1 != 0) {\n    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" { (expression_statement "*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0);" (assignment_expression "*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) =\n         (uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0)" (pointer_expression "*(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" * (cast_expression "(uint *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_CHAR_ARRAY_0004ebf8 + 0x32e0" identifier + number_literal) )))) = (call_expression "(uint)(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0)" ( (binary_expression "*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0) == 0" (pointer_expression "*(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" * (cast_expression "(int *)(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_CHAR_ARRAY_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_CHAR_ARRAY_0004ebf8 + 0x32e0" identifier + number_literal) )))) == number_literal) )))) ;) (expression_statement "repaint_hilite(1);" (call_expression "repaint_hilite(1)" identifier (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0);" (call_expression "error(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0)" identifier (argument_list "(PTR_DAT_0004ece4 + -0x3b20,(PARG *)0x0)" ( (binary_expression "PTR_DAT_0004ece4 + -0x3b20" identifier + number_literal) , (cast_expression "(PARG *)0x0" ( (type_descriptor "PARG *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}\n\n" (function_definition "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" primitive_type (function_declarator "undo_search(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (if_statement "if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" if (parenthesized_expression "((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0)" ( (binary_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0" (parenthesized_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000)" ( (binary_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" * (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a4)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32a4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar1 = FUN_00030b9c();\n  }" { (expression_statement "uVar1 = FUN_00030b9c();" (assignment_expression "uVar1 = FUN_00030b9c()" identifier = (call_expression "FUN_00030b9c()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" else (compound_statement "{\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" { (expression_statement "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);" (assignment_expression "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" identifier = (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" ( (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0)" * (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32a0" identifier + number_literal) )))) != number_literal) )))) ;) }))) (if_statement "if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" { (expression_statement "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);" (assignment_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" * (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" identifier + number_literal) )))) = (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" ( (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0)" * (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" ( (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" identifier + number_literal) )))) == number_literal) )))) ;) (expression_statement "repaint_hilite(1);" (call_expression "repaint_hilite(1)" identifier (argument_list "(1)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "error(PTR_DAT_0004ece4 + -0x3b20,0);" (call_expression "error(PTR_DAT_0004ece4 + -0x3b20,0)" identifier (argument_list "(PTR_DAT_0004ece4 + -0x3b20,0)" ( (binary_expression "PTR_DAT_0004ece4 + -0x3b20" 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 IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (return_statement return ;) })))
(function_definition "void undo_search(void)\n\n{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" (primitive_type "void") (function_declarator "undo_search(void)" (identifier "undo_search") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }\n  if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }\n  error(PTR_DAT_0004ece4 + -0x3b20,0);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (if_statement "if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {\n    uVar1 = FUN_00030b9c();\n  }\n  else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" (if "if") (parenthesized_expression "((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0)" (( "(") (binary_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0" (parenthesized_expression "(*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000)" (( "(") (binary_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" (* "*") (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32a4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a4)" (( "(") (binary_expression "PTR_DAT_0004ebf8 + 0x32a4" (identifier "PTR_DAT_0004ebf8") (+ "+") (number_literal "0x32a4")) () ")")))) (& "&") (number_literal "0x1000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_00030b9c();\n  }" ({ "{") (expression_statement "uVar1 = FUN_00030b9c();" (assignment_expression "uVar1 = FUN_00030b9c()" (identifier "uVar1") (= "=") (call_expression "FUN_00030b9c()" (identifier "FUN_00030b9c") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" (else "else") (compound_statement "{\n    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);\n  }" ({ "{") (expression_statement "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);" (assignment_expression "uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" (identifier "uVar1") (= "=") (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32a0)" (* "*") (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32a0)" (( "(") (binary_expression "PTR_DAT_0004ebf8 + 0x32a0" (identifier "PTR_DAT_0004ebf8") (+ "+") (number_literal "0x32a0")) () ")")))) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}")))) (if_statement "if (uVar1 != 0) {\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);\n    repaint_hilite(1);\n    return;\n  }" ({ "{") (expression_statement "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);" (assignment_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (pointer_expression "*(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" (* "*") (cast_expression "(uint *)(PTR_DAT_0004ebf8 + 0x32e0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" (( "(") (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" (identifier "PTR_DAT_0004ebf8") (+ "+") (number_literal "0x32e0")) () ")")))) (= "=") (call_expression "(uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0" (pointer_expression "*(int *)(PTR_DAT_0004ebf8 + 0x32e0)" (* "*") (cast_expression "(int *)(PTR_DAT_0004ebf8 + 0x32e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0004ebf8 + 0x32e0)" (( "(") (binary_expression "PTR_DAT_0004ebf8 + 0x32e0" (identifier "PTR_DAT_0004ebf8") (+ "+") (number_literal "0x32e0")) () ")")))) (== "==") (number_literal "0")) () ")")))) (; ";")) (expression_statement "repaint_hilite(1);" (call_expression "repaint_hilite(1)" (identifier "repaint_hilite") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "error(PTR_DAT_0004ece4 + -0x3b20,0);" (call_expression "error(PTR_DAT_0004ece4 + -0x3b20,0)" (identifier "error") (argument_list "(PTR_DAT_0004ece4 + -0x3b20,0)" (( "(") (binary_expression "PTR_DAT_0004ece4 + -0x3b20" (identifier "PTR_DAT_0004ece4") (+ "+") (number_literal "-0x3b20")) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  type_1 var_3;
  
  if ((*(type_1 *)(var_1 + 0x32a4) & 0x1000) == 0) {
    var_3 = var_2((type_2 *)(var_1 + 0x329c));
  }
  else {
    var_3 = (type_1)(*(int *)(var_1 + 0x32a0) != 0);
  }
  if (var_3 != 0) {
    *(type_1 *)(var_1 + 0x32e0) =
         (type_1)(*(int *)(var_1 + 0x32e0) == 0);
    var_4(1);
    return;
  }
  var_5(var_6 + -0x3b20,(type_3 *)0x0);
  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: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal)))) (return_statement))))

void MASKED(void)

{
  uint uVar1;
  
  if ((*(uint *)(PTR_DAT_0004ebf8 + 0x32a4) & 0x1000) == 0) {
    uVar1 = FUN_00030b9c();
  }
  else {
    uVar1 = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32a0) != 0);
  }
  if (uVar1 != 0) {
    *(uint *)(PTR_DAT_0004ebf8 + 0x32e0) = (uint)(*(int *)(PTR_DAT_0004ebf8 + 0x32e0) == 0);
    repaint_hilite(1);
    return;
  }
  error(PTR_DAT_0004ece4 + -0x3b20,0);
  return;
}

