
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void check_selection(Terminal *term,pos from,pos to)

{
  int iVar1;
  int in_a1;
  int in_a2;
  int in_a3;
  
  iVar1 = (term->selend).y;
  if ((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))) {
    return;
  }
  iVar1 = (term->selstart).y;
  if (iVar1 < in_a3) {
    term->selstate = ADDRTYPE_UNSPEC;
  }
  else {
    if (iVar1 != in_a3) {
      return;
    }
    if (from.y <= (term->selstart).x) {
      return;
    }
    term->selstate = ADDRTYPE_UNSPEC;
  }
  (term->selend).y = 0;
  (term->selend).x = 0;
  (term->selstart).y = 0;
  (term->selstart).x = 0;
  return;
}



void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)

{
  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&
     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {
    return;
  }
  if (*(int *)(param_1 + 0xe54) < param_4) {
    *(undefined4 *)(param_1 + 0xe48) = 0;
  }
  else {
    if (*(int *)(param_1 + 0xe54) != param_4) {
      return;
    }
    if (param_5 <= *(int *)(param_1 + 0xe58)) {
      return;
    }
    *(undefined4 *)(param_1 + 0xe48) = 0;
  }
  *(undefined4 *)(param_1 + 0xe5c) = 0;
  *(undefined4 *)(param_1 + 0xe60) = 0;
  *(undefined4 *)(param_1 + 0xe54) = 0;
  *(undefined4 *)(param_1 + 0xe58) = 0;
  return;
}


lw v0,0xe5c(a0)
sw a1,0x4(sp)
sw a2,0x8(sp)
slt v1,a1,v0
bne v1,zero,0x000451c4
_sw a3,0xc(sp)
beq v0,a1,0x000451b4
_nop
jr ra
_nop
lw v0,0xe60(a0)
slt a2,a2,v0
beq a2,zero,0x000451ac
_nop
lw v0,0xc(sp)
lw v1,0xe54(a0)
slt a1,v1,v0
beq a1,zero,0x000451f0
_nop
sw zero,0xe48(a0)
sw zero,0xe5c(a0)
sw zero,0xe60(a0)
sw zero,0xe54(a0)
jr ra
_sw zero,0xe58(a0)
bne v1,v0,0x000451ac
_lw v1,0x10(sp)
lw v0,0xe58(a0)
slt v0,v0,v1
beq v0,zero,0x000451ac
_nop
b 0x000451dc
_sw zero,0xe48(a0)
(translation_unit "void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" { (if_statement "if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))))" ( (binary_expression "(*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" (parenthesized_expression "(*(int *)(param_1 + 0xe5c) <= param_2)" ( (binary_expression "*(int *)(param_1 + 0xe5c) <= param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" * (cast_expression "(int *)(param_1 + 0xe5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" ( (parenthesized_expression "(*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))" ( (binary_expression "*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)" (binary_expression "*(int *)(param_1 + 0xe5c) != param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" * (cast_expression "(int *)(param_1 + 0xe5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) != identifier) || (parenthesized_expression "(*(int *)(param_1 + 0xe60) <= param_3)" ( (binary_expression "*(int *)(param_1 + 0xe60) <= param_3" (pointer_expression "*(int *)(param_1 + 0xe60)" * (cast_expression "(int *)(param_1 + 0xe60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe60)" ( (binary_expression "param_1 + 0xe60" identifier + number_literal) )))) <= identifier) ))) )) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xe54) < param_4)" ( (binary_expression "*(int *)(param_1 + 0xe54) < param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" * (cast_expression "(int *)(param_1 + 0xe54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" * (cast_expression "(undefined4 *)(param_1 + 0xe48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe48)" ( (binary_expression "param_1 + 0xe48" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" else (compound_statement "{\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xe54) != param_4)" ( (binary_expression "*(int *)(param_1 + 0xe54) != param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" * (cast_expression "(int *)(param_1 + 0xe54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }" if (parenthesized_expression "(param_5 <= *(int *)(param_1 + 0xe58))" ( (binary_expression "param_5 <= *(int *)(param_1 + 0xe58)" identifier <= (pointer_expression "*(int *)(param_1 + 0xe58)" * (cast_expression "(int *)(param_1 + 0xe58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe58)" ( (binary_expression "param_1 + 0xe58" identifier + number_literal) ))))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" * (cast_expression "(undefined4 *)(param_1 + 0xe48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe48)" ( (binary_expression "param_1 + 0xe48" identifier + number_literal) )))) = number_literal) ;) }))) (expression_statement "*(undefined4 *)(param_1 + 0xe5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe5c)" * (cast_expression "(undefined4 *)(param_1 + 0xe5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe60)" * (cast_expression "(undefined4 *)(param_1 + 0xe60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe60)" ( (binary_expression "param_1 + 0xe60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe54) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe54) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe54)" * (cast_expression "(undefined4 *)(param_1 + 0xe54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe58) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe58) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe58)" * (cast_expression "(undefined4 *)(param_1 + 0xe58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe58)" ( (binary_expression "param_1 + 0xe58" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid check_selection(Terminal *term,pos from,pos to)\n\n{\n  int iVar1;\n  int in_a1;\n  int in_a2;\n  int in_a3;\n  \n  iVar1 = (term->selend).y;\n  if ((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))) {\n    return;\n  }\n  iVar1 = (term->selstart).y;\n  if (iVar1 < in_a3) {\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  else {\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  (term->selend).y = 0;\n  (term->selend).x = 0;\n  (term->selstart).y = 0;\n  (term->selstart).x = 0;\n  return;\n}\n\n" comment (function_definition "void check_selection(Terminal *term,pos from,pos to)\n\n{\n  int iVar1;\n  int in_a1;\n  int in_a2;\n  int in_a3;\n  \n  iVar1 = (term->selend).y;\n  if ((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))) {\n    return;\n  }\n  iVar1 = (term->selstart).y;\n  if (iVar1 < in_a3) {\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  else {\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  (term->selend).y = 0;\n  (term->selend).x = 0;\n  (term->selstart).y = 0;\n  (term->selstart).x = 0;\n  return;\n}" primitive_type (function_declarator "check_selection(Terminal *term,pos from,pos to)" identifier (parameter_list "(Terminal *term,pos from,pos to)" ( (parameter_declaration "Terminal *term" type_identifier (pointer_declarator "*term" * identifier)) , (parameter_declaration "pos from" type_identifier identifier) , (parameter_declaration "pos to" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int in_a1;\n  int in_a2;\n  int in_a3;\n  \n  iVar1 = (term->selend).y;\n  if ((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))) {\n    return;\n  }\n  iVar1 = (term->selstart).y;\n  if (iVar1 < in_a3) {\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  else {\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  (term->selend).y = 0;\n  (term->selend).x = 0;\n  (term->selstart).y = 0;\n  (term->selstart).x = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_a1;" primitive_type identifier ;) (declaration "int in_a2;" primitive_type identifier ;) (declaration "int in_a3;" primitive_type identifier ;) (expression_statement "iVar1 = (term->selend).y;" (assignment_expression "iVar1 = (term->selend).y" identifier = (field_expression "(term->selend).y" (parenthesized_expression "(term->selend)" ( (field_expression "term->selend" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))) {\n    return;\n  }" if (parenthesized_expression "((iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2))))" ( (binary_expression "(iVar1 <= in_a1) && ((iVar1 != in_a1 || ((term->selend).x <= in_a2)))" (parenthesized_expression "(iVar1 <= in_a1)" ( (binary_expression "iVar1 <= in_a1" identifier <= identifier) )) && (parenthesized_expression "((iVar1 != in_a1 || ((term->selend).x <= in_a2)))" ( (parenthesized_expression "(iVar1 != in_a1 || ((term->selend).x <= in_a2))" ( (binary_expression "iVar1 != in_a1 || ((term->selend).x <= in_a2)" (binary_expression "iVar1 != in_a1" identifier != identifier) || (parenthesized_expression "((term->selend).x <= in_a2)" ( (binary_expression "(term->selend).x <= in_a2" (field_expression "(term->selend).x" (parenthesized_expression "(term->selend)" ( (field_expression "term->selend" identifier -> field_identifier) )) . field_identifier) <= identifier) ))) )) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = (term->selstart).y;" (assignment_expression "iVar1 = (term->selstart).y" identifier = (field_expression "(term->selstart).y" (parenthesized_expression "(term->selstart)" ( (field_expression "term->selstart" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar1 < in_a3) {\n    term->selstate = ADDRTYPE_UNSPEC;\n  }\n  else {\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }" if (parenthesized_expression "(iVar1 < in_a3)" ( (binary_expression "iVar1 < in_a3" identifier < identifier) )) (compound_statement "{\n    term->selstate = ADDRTYPE_UNSPEC;\n  }" { (expression_statement "term->selstate = ADDRTYPE_UNSPEC;" (assignment_expression "term->selstate = ADDRTYPE_UNSPEC" (field_expression "term->selstate" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }" else (compound_statement "{\n    if (iVar1 != in_a3) {\n      return;\n    }\n    if (from.y <= (term->selstart).x) {\n      return;\n    }\n    term->selstate = ADDRTYPE_UNSPEC;\n  }" { (if_statement "if (iVar1 != in_a3) {\n      return;\n    }" if (parenthesized_expression "(iVar1 != in_a3)" ( (binary_expression "iVar1 != in_a3" identifier != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (from.y <= (term->selstart).x) {\n      return;\n    }" if (parenthesized_expression "(from.y <= (term->selstart).x)" ( (binary_expression "from.y <= (term->selstart).x" (field_expression "from.y" identifier . field_identifier) <= (field_expression "(term->selstart).x" (parenthesized_expression "(term->selstart)" ( (field_expression "term->selstart" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "term->selstate = ADDRTYPE_UNSPEC;" (assignment_expression "term->selstate = ADDRTYPE_UNSPEC" (field_expression "term->selstate" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "(term->selend).y = 0;" (assignment_expression "(term->selend).y = 0" (field_expression "(term->selend).y" (parenthesized_expression "(term->selend)" ( (field_expression "term->selend" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(term->selend).x = 0;" (assignment_expression "(term->selend).x = 0" (field_expression "(term->selend).x" (parenthesized_expression "(term->selend)" ( (field_expression "term->selend" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(term->selstart).y = 0;" (assignment_expression "(term->selstart).y = 0" (field_expression "(term->selstart).y" (parenthesized_expression "(term->selstart)" ( (field_expression "term->selstart" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(term->selstart).x = 0;" (assignment_expression "(term->selstart).x = 0" (field_expression "(term->selstart).x" (parenthesized_expression "(term->selstart)" ( (field_expression "term->selstart" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" { (if_statement "if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))))" ( (binary_expression "(*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" (parenthesized_expression "(*(int *)(param_1 + 0xe5c) <= param_2)" ( (binary_expression "*(int *)(param_1 + 0xe5c) <= param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" * (cast_expression "(int *)(param_1 + 0xe5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) <= identifier) )) && (parenthesized_expression "((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" ( (parenthesized_expression "(*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))" ( (binary_expression "*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)" (binary_expression "*(int *)(param_1 + 0xe5c) != param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" * (cast_expression "(int *)(param_1 + 0xe5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) != identifier) || (parenthesized_expression "(*(int *)(param_1 + 0xe60) <= param_3)" ( (binary_expression "*(int *)(param_1 + 0xe60) <= param_3" (pointer_expression "*(int *)(param_1 + 0xe60)" * (cast_expression "(int *)(param_1 + 0xe60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe60)" ( (binary_expression "param_1 + 0xe60" identifier + number_literal) )))) <= identifier) ))) )) ))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xe54) < param_4)" ( (binary_expression "*(int *)(param_1 + 0xe54) < param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" * (cast_expression "(int *)(param_1 + 0xe54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" * (cast_expression "(undefined4 *)(param_1 + 0xe48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe48)" ( (binary_expression "param_1 + 0xe48" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" else (compound_statement "{\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_1 + 0xe54) != param_4)" ( (binary_expression "*(int *)(param_1 + 0xe54) != param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" * (cast_expression "(int *)(param_1 + 0xe54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }" if (parenthesized_expression "(param_5 <= *(int *)(param_1 + 0xe58))" ( (binary_expression "param_5 <= *(int *)(param_1 + 0xe58)" identifier <= (pointer_expression "*(int *)(param_1 + 0xe58)" * (cast_expression "(int *)(param_1 + 0xe58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe58)" ( (binary_expression "param_1 + 0xe58" identifier + number_literal) ))))) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" * (cast_expression "(undefined4 *)(param_1 + 0xe48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe48)" ( (binary_expression "param_1 + 0xe48" identifier + number_literal) )))) = number_literal) ;) }))) (expression_statement "*(undefined4 *)(param_1 + 0xe5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe5c)" * (cast_expression "(undefined4 *)(param_1 + 0xe5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe5c)" ( (binary_expression "param_1 + 0xe5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe60)" * (cast_expression "(undefined4 *)(param_1 + 0xe60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe60)" ( (binary_expression "param_1 + 0xe60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe54) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe54) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe54)" * (cast_expression "(undefined4 *)(param_1 + 0xe54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe54)" ( (binary_expression "param_1 + 0xe54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xe58) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe58) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe58)" * (cast_expression "(undefined4 *)(param_1 + 0xe58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xe58)" ( (binary_expression "param_1 + 0xe58" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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) )))) <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) ))) )) ))) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) (compound_statement { (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)\n\n{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004518c(int param_1,int param_2,int param_3,int param_4,int param_5)" (identifier "FUN_0004518c") (parameter_list "(int param_1,int param_2,int param_3,int param_4,int param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }\n  if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  *(undefined4 *)(param_1 + 0xe5c) = 0;\n  *(undefined4 *)(param_1 + 0xe60) = 0;\n  *(undefined4 *)(param_1 + 0xe54) = 0;\n  *(undefined4 *)(param_1 + 0xe58) = 0;\n  return;\n}" ({ "{") (if_statement "if ((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))))" (( "(") (binary_expression "(*(int *)(param_1 + 0xe5c) <= param_2) &&\n     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" (parenthesized_expression "(*(int *)(param_1 + 0xe5c) <= param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0xe5c) <= param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" (* "*") (cast_expression "(int *)(param_1 + 0xe5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe5c)" (( "(") (binary_expression "param_1 + 0xe5c" (identifier "param_1") (+ "+") (number_literal "0xe5c")) () ")")))) (<= "<=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))" (( "(") (parenthesized_expression "(*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3))" (( "(") (binary_expression "*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)" (binary_expression "*(int *)(param_1 + 0xe5c) != param_2" (pointer_expression "*(int *)(param_1 + 0xe5c)" (* "*") (cast_expression "(int *)(param_1 + 0xe5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe5c)" (( "(") (binary_expression "param_1 + 0xe5c" (identifier "param_1") (+ "+") (number_literal "0xe5c")) () ")")))) (!= "!=") (identifier "param_2")) (|| "||") (parenthesized_expression "(*(int *)(param_1 + 0xe60) <= param_3)" (( "(") (binary_expression "*(int *)(param_1 + 0xe60) <= param_3" (pointer_expression "*(int *)(param_1 + 0xe60)" (* "*") (cast_expression "(int *)(param_1 + 0xe60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe60)" (( "(") (binary_expression "param_1 + 0xe60" (identifier "param_1") (+ "+") (number_literal "0xe60")) () ")")))) (<= "<=") (identifier "param_3")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0xe54) < param_4) {\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }\n  else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xe54) < param_4)" (( "(") (binary_expression "*(int *)(param_1 + 0xe54) < param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" (* "*") (cast_expression "(int *)(param_1 + 0xe54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe54)" (( "(") (binary_expression "param_1 + 0xe54" (identifier "param_1") (+ "+") (number_literal "0xe54")) () ")")))) (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe48)" (( "(") (binary_expression "param_1 + 0xe48" (identifier "param_1") (+ "+") (number_literal "0xe48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" (else "else") (compound_statement "{\n    if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }\n    if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }\n    *(undefined4 *)(param_1 + 0xe48) = 0;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0xe54) != param_4) {\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xe54) != param_4)" (( "(") (binary_expression "*(int *)(param_1 + 0xe54) != param_4" (pointer_expression "*(int *)(param_1 + 0xe54)" (* "*") (cast_expression "(int *)(param_1 + 0xe54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe54)" (( "(") (binary_expression "param_1 + 0xe54" (identifier "param_1") (+ "+") (number_literal "0xe54")) () ")")))) (!= "!=") (identifier "param_4")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_5 <= *(int *)(param_1 + 0xe58)) {\n      return;\n    }" (if "if") (parenthesized_expression "(param_5 <= *(int *)(param_1 + 0xe58))" (( "(") (binary_expression "param_5 <= *(int *)(param_1 + 0xe58)" (identifier "param_5") (<= "<=") (pointer_expression "*(int *)(param_1 + 0xe58)" (* "*") (cast_expression "(int *)(param_1 + 0xe58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe58)" (( "(") (binary_expression "param_1 + 0xe58" (identifier "param_1") (+ "+") (number_literal "0xe58")) () ")"))))) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0xe48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe48)" (( "(") (binary_expression "param_1 + 0xe48" (identifier "param_1") (+ "+") (number_literal "0xe48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(param_1 + 0xe5c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe5c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe5c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe5c)" (( "(") (binary_expression "param_1 + 0xe5c" (identifier "param_1") (+ "+") (number_literal "0xe5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xe60) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe60) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe60)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe60)" (( "(") (binary_expression "param_1 + 0xe60" (identifier "param_1") (+ "+") (number_literal "0xe60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xe54) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe54) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe54)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe54)" (( "(") (binary_expression "param_1 + 0xe54" (identifier "param_1") (+ "+") (number_literal "0xe54")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xe58) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0xe58) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0xe58)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xe58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xe58)" (( "(") (binary_expression "param_1 + 0xe58" (identifier "param_1") (+ "+") (number_literal "0xe58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void function_1(type_1 *term,type_2 from,type_2 to)

{
  int var_1;
  int var_2;
  int var_3;
  int var_4;
  
  var_1 = (term->selend).y;
  if ((var_1 <= var_2) && ((var_1 != var_2 || ((term->selend).x <= var_3)))) {
    return;
  }
  var_1 = (term->selstart).y;
  if (var_1 < var_4) {
    term->selstate = ADDRTYPE_UNSPEC;
  }
  else {
    if (var_1 != var_4) {
      return;
    }
    if (from.y <= (term->selstart).x) {
      return;
    }
    term->selstate = ADDRTYPE_UNSPEC;
  }
  (term->selend).y = 0;
  (term->selend).x = 0;
  (term->selstart).y = 0;
  (term->selstart).x = 0;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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: (identifier)) right: (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: (identifier)))))))) consequence: (compound_statement (return_statement))) (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: (identifier))) 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: (number_literal)))) alternative: (else_clause (compound_statement (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: (identifier))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (return_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: (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: (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: (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: (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))) (return_statement))))

void MASKED(int param_1,int param_2,int param_3,int param_4,int param_5)

{
  if ((*(int *)(param_1 + 0xe5c) <= param_2) &&
     ((*(int *)(param_1 + 0xe5c) != param_2 || (*(int *)(param_1 + 0xe60) <= param_3)))) {
    return;
  }
  if (*(int *)(param_1 + 0xe54) < param_4) {
    *(undefined4 *)(param_1 + 0xe48) = 0;
  }
  else {
    if (*(int *)(param_1 + 0xe54) != param_4) {
      return;
    }
    if (param_5 <= *(int *)(param_1 + 0xe58)) {
      return;
    }
    *(undefined4 *)(param_1 + 0xe48) = 0;
  }
  *(undefined4 *)(param_1 + 0xe5c) = 0;
  *(undefined4 *)(param_1 + 0xe60) = 0;
  *(undefined4 *)(param_1 + 0xe54) = 0;
  *(undefined4 *)(param_1 + 0xe58) = 0;
  return;
}

