
/* WARNING: Unknown calling convention */

int sort_sections_by_vma(void *arg1,void *arg2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  
                    /* WARNING: Load size is inaccurate */
  iVar1 = *arg1;
                    /* WARNING: Load size is inaccurate */
  iVar2 = *arg2;
  uVar3 = *(uint *)(iVar1 + 0x20);
  uVar4 = *(uint *)(iVar2 + 0x20);
  uVar5 = 0xffffffff;
  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)
     && (uVar5 = 1,
        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3
        )) {
    uVar5 = 0xffffffff;
    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {
      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));
    }
  }
  return uVar5;
}



uint FUN_00020160(int *param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  uVar3 = *(uint *)(iVar1 + 0x20);
  uVar4 = *(uint *)(iVar2 + 0x20);
  uVar5 = 0xffffffff;
  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)
     && (uVar5 = 1,
        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3
        )) {
    uVar5 = 0xffffffff;
    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {
      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));
    }
  }
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EAX]
MOV EDI,dword ptr [ECX + 0x1c]
MOV EBX,dword ptr [ECX + 0x20]
MOV EBP,dword ptr [EDX + 0x1c]
MOV ESI,dword ptr [EDX + 0x20]
MOV EAX,EBX
CMP EDI,EBP
SBB EAX,ESI
MOV EAX,0xffffffff
JC 0x000201a7
CMP EBP,EDI
MOV EAX,0x1
SBB ESI,EBX
JC 0x000201a7
MOV EAX,0xffffffff
MOV EBX,dword ptr [EDX + 0x4]
CMP dword ptr [ECX + 0x4],EBX
JC 0x000201a7
SETA AL
MOVZX EAX,AL
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "uint FUN_00020160(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "uint FUN_00020160(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00020160(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(iVar1 + 0x20);" (assignment_expression "uVar3 = *(uint *)(iVar1 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar1 + 0x20)" * (cast_expression "(uint *)(iVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" if (parenthesized_expression "((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        ))" ( (binary_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)" ( (binary_expression "uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (call_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" ( (binary_expression "*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar3 - uVar4" identifier - identifier))) )) && (parenthesized_expression "(uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" ( (comma_expression "uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (binary_expression "uVar3 <= uVar4" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (call_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" ( (binary_expression "*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar4 - uVar3" identifier - identifier)))) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" if (parenthesized_expression "(*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" { (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )))) ;) })) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint sort_sections_by_vma(void *arg1,void *arg2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *arg1;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *arg2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}\n\n" comment (function_definition "int sort_sections_by_vma(void *arg1,void *arg2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *arg1;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *arg2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" primitive_type (function_declarator "sort_sections_by_vma(void *arg1,void *arg2)" identifier (parameter_list "(void *arg1,void *arg2)" ( (parameter_declaration "void *arg1" primitive_type (pointer_declarator "*arg1" * identifier)) , (parameter_declaration "void *arg2" primitive_type (pointer_declarator "*arg2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar1 = *arg1;\n                    /* WARNING: Load size is inaccurate */\n  iVar2 = *arg2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) comment (expression_statement "iVar1 = *arg1;" (assignment_expression "iVar1 = *arg1" identifier = (pointer_expression "*arg1" * identifier)) ;) comment (expression_statement "iVar2 = *arg2;" (assignment_expression "iVar2 = *arg2" identifier = (pointer_expression "*arg2" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(iVar1 + 0x20);" (assignment_expression "uVar3 = *(uint *)(iVar1 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar1 + 0x20)" * (cast_expression "(uint *)(iVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" if (parenthesized_expression "((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        ))" ( (binary_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)" ( (binary_expression "uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (call_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" ( (binary_expression "*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar3 - uVar4" identifier - identifier))) )) && (parenthesized_expression "(uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" ( (comma_expression "uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (binary_expression "uVar3 <= uVar4" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (call_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" ( (binary_expression "*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar4 - uVar3" identifier - identifier)))) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" if (parenthesized_expression "(*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" { (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )))) ;) })) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "uint FUN_00020160(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}\n\n" (function_definition "uint FUN_00020160(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00020160(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar3 = *(uint *)(iVar1 + 0x20);" (assignment_expression "uVar3 = *(uint *)(iVar1 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar1 + 0x20)" * (cast_expression "(uint *)(iVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x20)" * (cast_expression "(uint *)(iVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x20)" ( (binary_expression "iVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" if (parenthesized_expression "((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        ))" ( (binary_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)" ( (binary_expression "uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (call_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" ( (binary_expression "*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)" (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar3 - uVar4" identifier - identifier))) )) && (parenthesized_expression "(uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" ( (comma_expression "uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (assignment_expression "uVar5 = 1" identifier = number_literal) , (binary_expression "uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (binary_expression "uVar3 <= uVar4" identifier <= identifier) && (binary_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (call_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" ( (binary_expression "*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 0x1c)" * (cast_expression "(uint *)(iVar1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) ))))) ))) <= (binary_expression "uVar4 - uVar3" identifier - identifier)))) ))) )) (compound_statement "{\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" { (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" identifier = number_literal) ;) (if_statement "if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" if (parenthesized_expression "(*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" { (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" ( (binary_expression "*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(iVar1 + 4)" * (cast_expression "(uint *)(iVar1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) )))) ;) })) })) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (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) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) <= (binary_expression IDENT - IDENT))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (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) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) <= (binary_expression IDENT - IDENT)))) ))) )) (compound_statement { (expression_statement (assignment_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) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (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) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00020160(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" (type_identifier "uint") (function_declarator "FUN_00020160(int *param_1,int *param_2)" (identifier "FUN_00020160") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  iVar1 = *param_1;\n  iVar2 = *param_2;\n  uVar3 = *(uint *)(iVar1 + 0x20);\n  uVar4 = *(uint *)(iVar2 + 0x20);\n  uVar5 = 0xffffffff;\n  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }\n  return uVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar3 = *(uint *)(iVar1 + 0x20);" (assignment_expression "uVar3 = *(uint *)(iVar1 + 0x20)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar1 + 0x20)" (* "*") (cast_expression "(uint *)(iVar1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x20);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x20)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x20)" (* "*") (cast_expression "(uint *)(iVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x20)" (( "(") (binary_expression "iVar2 + 0x20" (identifier "iVar2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )) {\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" (if "if") (parenthesized_expression "((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        ))" (( "(") (binary_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)\n     && (uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)" (( "(") (binary_expression "uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" (identifier "uVar4") (<= "<=") (identifier "uVar3")) (&& "&&") (binary_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4" (call_expression "(uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c))" (( "(") (binary_expression "*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)" (pointer_expression "*(uint *)(iVar1 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (< "<") (pointer_expression "*(uint *)(iVar2 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")"))))) () ")"))) (<= "<=") (binary_expression "uVar3 - uVar4" (identifier "uVar3") (- "-") (identifier "uVar4")))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3\n        )" (( "(") (comma_expression "uVar5 = 1,\n        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (, ",") (binary_expression "uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (binary_expression "uVar3 <= uVar4" (identifier "uVar3") (<= "<=") (identifier "uVar4")) (&& "&&") (binary_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3" (call_expression "(uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c))" (( "(") (binary_expression "*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)" (pointer_expression "*(uint *)(iVar2 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (< "<") (pointer_expression "*(uint *)(iVar1 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")"))) (<= "<=") (binary_expression "uVar4 - uVar3" (identifier "uVar4") (- "-") (identifier "uVar3"))))) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 0xffffffff;\n    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }\n  }" ({ "{") (expression_statement "uVar5 = 0xffffffff;" (assignment_expression "uVar5 = 0xffffffff" (identifier "uVar5") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" (if "if") (parenthesized_expression "(*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4))" (( "(") (binary_expression "*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(iVar1 + 4)" (* "*") (cast_expression "(uint *)(iVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));\n    }" ({ "{") (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (identifier "uVar5") (= "=") (call_expression "(uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4))" (( "(") (binary_expression "*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4)" (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(iVar1 + 4)" (* "*") (cast_expression "(uint *)(iVar1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) () ")")))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void *arg1,void *arg2)

{
  int var_1;
  int var_2;
  type_1 var_4;
  type_1 var_3;
  type_1 uVar5;
  
                    /* WARNING: Load size is inaccurate */
  var_1 = *arg1;
                    /* WARNING: Load size is inaccurate */
  var_2 = *arg2;
  var_4 = *(type_1 *)(var_1 + 0x20);
  var_3 = *(type_1 *)(var_2 + 0x20);
  uVar5 = 0xffffffff;
  if ((var_3 <= var_4 && (type_1)(*(type_1 *)(var_1 + 0x1c) < *(type_1 *)(var_2 + 0x1c)) <= var_4 - var_3)
     && (uVar5 = 1,
        var_4 <= var_3 && (type_1)(*(type_1 *)(var_2 + 0x1c) < *(type_1 *)(var_1 + 0x1c)) <= var_3 - var_4
        )) {
    uVar5 = 0xffffffff;
    if (*(type_1 *)(var_2 + 4) <= *(type_1 *)(var_1 + 4)) {
      uVar5 = (type_1)(*(type_1 *)(var_2 + 4) < *(type_1 *)(var_1 + 4));
    }
  }
  return uVar5;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (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: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (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: (binary_expression left: (identifier) right: (identifier)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (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: (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))))))) consequence: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))))) (return_statement (identifier)))))

uint MASKED(int *param_1,int *param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  
  iVar1 = *param_1;
  iVar2 = *param_2;
  uVar3 = *(uint *)(iVar1 + 0x20);
  uVar4 = *(uint *)(iVar2 + 0x20);
  uVar5 = 0xffffffff;
  if ((uVar4 <= uVar3 && (uint)(*(uint *)(iVar1 + 0x1c) < *(uint *)(iVar2 + 0x1c)) <= uVar3 - uVar4)
     && (uVar5 = 1,
        uVar3 <= uVar4 && (uint)(*(uint *)(iVar2 + 0x1c) < *(uint *)(iVar1 + 0x1c)) <= uVar4 - uVar3
        )) {
    uVar5 = 0xffffffff;
    if (*(uint *)(iVar2 + 4) <= *(uint *)(iVar1 + 4)) {
      uVar5 = (uint)(*(uint *)(iVar2 + 4) < *(uint *)(iVar1 + 4));
    }
  }
  return uVar5;
}

