
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention */

int ctor_cmp(void *p1,void *p2)

{
  char *name;
  int iVar1;
  int iVar2;
  char *name_00;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  name = *(char **)(*p1 + 4);
  if (*(char **)(*p1 + 4) == (char *)0x0) {
    name = "";
  }
  name_00 = *(char **)(*p2 + 4);
  if (*(char **)(*p2 + 4) == (char *)0x0) {
    name_00 = "";
  }
  iVar1 = ctor_prio(name);
  iVar2 = ctor_prio(name_00);
  if (iVar1 < iVar2) {
    return 1;
  }
  if ((iVar1 <= iVar2) && (p2 <= p1)) {
    return (uint)(p2 < p1);
  }
  return -1;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

uint FUN_0002d9a0(uint param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  
  iVar1 = FUN_0002d920();
  iVar2 = FUN_0002d920();
  uVar3 = 1;
  if (iVar2 <= iVar1) {
    if ((iVar2 < iVar1) || (param_1 < param_2)) {
      return 0xffffffff;
    }
    uVar3 = (uint)(param_2 < param_1);
  }
  return uVar3;
}


CALL 0x00017cb5
ADD EDX,0x1a065b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
LEA EDX,[EDX + 0xfffded3b]
MOV EDI,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [EDI]
MOV ECX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0x4]
MOV EBX,dword ptr [ECX + 0x4]
TEST EAX,EAX
CMOVZ EAX,EDX
TEST EBX,EBX
CMOVZ EBX,EDX
CALL 0x0002d920
MOV EBP,EAX
MOV EAX,EBX
CALL 0x0002d920
MOV EDX,0x1
CMP EBP,EAX
JL 0x0002d9f7
JG 0x0002da08
CMP EDI,ESI
JC 0x0002da08
SETA DL
MOVZX EDX,DL
ADD ESP,0xc
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
MOV EDX,0xffffffff
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nuint FUN_0002d9a0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}\n\n" comment (function_definition "uint FUN_0002d9a0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0002d9a0(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_0002d920();" (assignment_expression "iVar1 = FUN_0002d920()" identifier = (call_expression "FUN_0002d920()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = FUN_0002d920();" (assignment_expression "iVar2 = FUN_0002d920()" identifier = (call_expression "FUN_0002d920()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" if (parenthesized_expression "(iVar2 <= iVar1)" ( (binary_expression "iVar2 <= iVar1" identifier <= identifier) )) (compound_statement "{\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" { (if_statement "if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }" if (parenthesized_expression "((iVar2 < iVar1) || (param_1 < param_2))" ( (binary_expression "(iVar2 < iVar1) || (param_1 < param_2)" (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) || (parenthesized_expression "(param_1 < param_2)" ( (binary_expression "param_1 < param_2" identifier < identifier) ))) )) (compound_statement "{\n      return 0xffffffff;\n    }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar3 = (uint)(param_2 < param_1);" (assignment_expression "uVar3 = (uint)(param_2 < param_1)" identifier = (call_expression "(uint)(param_2 < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Unknown calling convention */\n\nint ctor_cmp(void *p1,void *p2)\n\n{\n  char *name;\n  int iVar1;\n  int iVar2;\n  char *name_00;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  name = *(char **)(*p1 + 4);\n  if (*(char **)(*p1 + 4) == (char *)0x0) {\n    name = "";\n  }\n  name_00 = *(char **)(*p2 + 4);\n  if (*(char **)(*p2 + 4) == (char *)0x0) {\n    name_00 = "";\n  }\n  iVar1 = ctor_prio(name);\n  iVar2 = ctor_prio(name_00);\n  if (iVar1 < iVar2) {\n    return 1;\n  }\n  if ((iVar1 <= iVar2) && (p2 <= p1)) {\n    return (uint)(p2 < p1);\n  }\n  return -1;\n}\n\n" comment comment (function_definition "int ctor_cmp(void *p1,void *p2)\n\n{\n  char *name;\n  int iVar1;\n  int iVar2;\n  char *name_00;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  name = *(char **)(*p1 + 4);\n  if (*(char **)(*p1 + 4) == (char *)0x0) {\n    name = "";\n  }\n  name_00 = *(char **)(*p2 + 4);\n  if (*(char **)(*p2 + 4) == (char *)0x0) {\n    name_00 = "";\n  }\n  iVar1 = ctor_prio(name);\n  iVar2 = ctor_prio(name_00);\n  if (iVar1 < iVar2) {\n    return 1;\n  }\n  if ((iVar1 <= iVar2) && (p2 <= p1)) {\n    return (uint)(p2 < p1);\n  }\n  return -1;\n}" primitive_type (function_declarator "ctor_cmp(void *p1,void *p2)" identifier (parameter_list "(void *p1,void *p2)" ( (parameter_declaration "void *p1" primitive_type (pointer_declarator "*p1" * identifier)) , (parameter_declaration "void *p2" primitive_type (pointer_declarator "*p2" * identifier)) ))) (compound_statement "{\n  char *name;\n  int iVar1;\n  int iVar2;\n  char *name_00;\n  \n                    /* WARNING: Load size is inaccurate */\n                    /* WARNING: Load size is inaccurate */\n  name = *(char **)(*p1 + 4);\n  if (*(char **)(*p1 + 4) == (char *)0x0) {\n    name = "";\n  }\n  name_00 = *(char **)(*p2 + 4);\n  if (*(char **)(*p2 + 4) == (char *)0x0) {\n    name_00 = "";\n  }\n  iVar1 = ctor_prio(name);\n  iVar2 = ctor_prio(name_00);\n  if (iVar1 < iVar2) {\n    return 1;\n  }\n  if ((iVar1 <= iVar2) && (p2 <= p1)) {\n    return (uint)(p2 < p1);\n  }\n  return -1;\n}" { (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *name_00;" primitive_type (pointer_declarator "*name_00" * identifier) ;) comment comment (expression_statement "name = *(char **)(*p1 + 4);" (assignment_expression "name = *(char **)(*p1 + 4)" identifier = (pointer_expression "*(char **)(*p1 + 4)" * (cast_expression "(char **)(*p1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*p1 + 4)" ( (binary_expression "*p1 + 4" (pointer_expression "*p1" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char **)(*p1 + 4) == (char *)0x0) {\n    name = "";\n  }" if (parenthesized_expression "(*(char **)(*p1 + 4) == (char *)0x0)" ( (binary_expression "*(char **)(*p1 + 4) == (char *)0x0" (pointer_expression "*(char **)(*p1 + 4)" * (cast_expression "(char **)(*p1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*p1 + 4)" ( (binary_expression "*p1 + 4" (pointer_expression "*p1" * identifier) + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    name = "";\n  }" { (expression_statement "name = "";" (assignment_expression "name = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "name_00 = *(char **)(*p2 + 4);" (assignment_expression "name_00 = *(char **)(*p2 + 4)" identifier = (pointer_expression "*(char **)(*p2 + 4)" * (cast_expression "(char **)(*p2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*p2 + 4)" ( (binary_expression "*p2 + 4" (pointer_expression "*p2" * identifier) + number_literal) ))))) ;) (if_statement "if (*(char **)(*p2 + 4) == (char *)0x0) {\n    name_00 = "";\n  }" if (parenthesized_expression "(*(char **)(*p2 + 4) == (char *)0x0)" ( (binary_expression "*(char **)(*p2 + 4) == (char *)0x0" (pointer_expression "*(char **)(*p2 + 4)" * (cast_expression "(char **)(*p2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*p2 + 4)" ( (binary_expression "*p2 + 4" (pointer_expression "*p2" * identifier) + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    name_00 = "";\n  }" { (expression_statement "name_00 = "";" (assignment_expression "name_00 = """ identifier = (string_literal """" " ")) ;) })) (expression_statement "iVar1 = ctor_prio(name);" (assignment_expression "iVar1 = ctor_prio(name)" identifier = (call_expression "ctor_prio(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "iVar2 = ctor_prio(name_00);" (assignment_expression "iVar2 = ctor_prio(name_00)" identifier = (call_expression "ctor_prio(name_00)" identifier (argument_list "(name_00)" ( identifier )))) ;) (if_statement "if (iVar1 < iVar2) {\n    return 1;\n  }" if (parenthesized_expression "(iVar1 < iVar2)" ( (binary_expression "iVar1 < iVar2" identifier < identifier) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((iVar1 <= iVar2) && (p2 <= p1)) {\n    return (uint)(p2 < p1);\n  }" if (parenthesized_expression "((iVar1 <= iVar2) && (p2 <= p1))" ( (binary_expression "(iVar1 <= iVar2) && (p2 <= p1)" (parenthesized_expression "(iVar1 <= iVar2)" ( (binary_expression "iVar1 <= iVar2" identifier <= identifier) )) && (parenthesized_expression "(p2 <= p1)" ( (binary_expression "p2 <= p1" identifier <= identifier) ))) )) (compound_statement "{\n    return (uint)(p2 < p1);\n  }" { (return_statement "return (uint)(p2 < p1);" return (call_expression "(uint)(p2 < p1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(p2 < p1)" ( (binary_expression "p2 < p1" identifier < identifier) ))) ;) })) (return_statement "return -1;" return number_literal ;) })))
(translation_unit "uint FUN_0002d9a0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}\n\n" (function_definition "uint FUN_0002d9a0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}" type_identifier (function_declarator "FUN_0002d9a0(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = FUN_0002d920();" (assignment_expression "iVar1 = FUN_0002d920()" identifier = (call_expression "FUN_0002d920()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = FUN_0002d920();" (assignment_expression "iVar2 = FUN_0002d920()" identifier = (call_expression "FUN_0002d920()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" identifier = number_literal) ;) (if_statement "if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" if (parenthesized_expression "(iVar2 <= iVar1)" ( (binary_expression "iVar2 <= iVar1" identifier <= identifier) )) (compound_statement "{\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" { (if_statement "if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }" if (parenthesized_expression "((iVar2 < iVar1) || (param_1 < param_2))" ( (binary_expression "(iVar2 < iVar1) || (param_1 < param_2)" (parenthesized_expression "(iVar2 < iVar1)" ( (binary_expression "iVar2 < iVar1" identifier < identifier) )) || (parenthesized_expression "(param_1 < param_2)" ( (binary_expression "param_1 < param_2" identifier < identifier) ))) )) (compound_statement "{\n      return 0xffffffff;\n    }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "uVar3 = (uint)(param_2 < param_1);" (assignment_expression "uVar3 = (uint)(param_2 < param_1)" identifier = (call_expression "(uint)(param_2 < param_1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )))) ;) })) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0002d9a0(uint param_1,uint param_2)\n\n{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\n}" (type_identifier "uint") (function_declarator "FUN_0002d9a0(uint param_1,uint param_2)" (identifier "FUN_0002d9a0") (parameter_list "(uint param_1,uint param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint uVar3;\n  \n  iVar1 = FUN_0002d920();\n  iVar2 = FUN_0002d920();\n  uVar3 = 1;\n  if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }\n  return uVar3;\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") (; ";")) (expression_statement "iVar1 = FUN_0002d920();" (assignment_expression "iVar1 = FUN_0002d920()" (identifier "iVar1") (= "=") (call_expression "FUN_0002d920()" (identifier "FUN_0002d920") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_0002d920();" (assignment_expression "iVar2 = FUN_0002d920()" (identifier "iVar2") (= "=") (call_expression "FUN_0002d920()" (identifier "FUN_0002d920") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar3 = 1;" (assignment_expression "uVar3 = 1" (identifier "uVar3") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar2 <= iVar1) {\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" (if "if") (parenthesized_expression "(iVar2 <= iVar1)" (( "(") (binary_expression "iVar2 <= iVar1" (identifier "iVar2") (<= "<=") (identifier "iVar1")) () ")")) (compound_statement "{\n    if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }\n    uVar3 = (uint)(param_2 < param_1);\n  }" ({ "{") (if_statement "if ((iVar2 < iVar1) || (param_1 < param_2)) {\n      return 0xffffffff;\n    }" (if "if") (parenthesized_expression "((iVar2 < iVar1) || (param_1 < param_2))" (( "(") (binary_expression "(iVar2 < iVar1) || (param_1 < param_2)" (parenthesized_expression "(iVar2 < iVar1)" (( "(") (binary_expression "iVar2 < iVar1" (identifier "iVar2") (< "<") (identifier "iVar1")) () ")")) (|| "||") (parenthesized_expression "(param_1 < param_2)" (( "(") (binary_expression "param_1 < param_2" (identifier "param_1") (< "<") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n      return 0xffffffff;\n    }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "uVar3 = (uint)(param_2 < param_1);" (assignment_expression "uVar3 = (uint)(param_2 < param_1)" (identifier "uVar3") (= "=") (call_expression "(uint)(param_2 < param_1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < param_1)" (( "(") (binary_expression "param_2 < param_1" (identifier "param_2") (< "<") (identifier "param_1")) () ")")))) (; ";")) (} "}"))) (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention */

int function_1(void *var_5,void *var_4)

{
  char *name;
  int var_2;
  int var_3;
  char *name_00;
  
                    /* WARNING: Load size is inaccurate */
                    /* WARNING: Load size is inaccurate */
  name = *(char **)(*var_5 + 4);
  if (*(char **)(*var_5 + 4) == (char *)0x0) {
    name = "";
  }
  name_00 = *(char **)(*var_4 + 4);
  if (*(char **)(*var_4 + 4) == (char *)0x0) {
    name_00 = "";
  }
  var_2 = var_1(name);
  var_3 = var_1(name_00);
  if (var_2 < var_3) {
    return 1;
  }
  if ((var_2 <= var_3) && (var_4 <= var_5)) {
    return (uint)(var_4 < var_5);
  }
  return -1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

uint MASKED(uint param_1,uint param_2)

{
  int iVar1;
  int iVar2;
  uint uVar3;
  
  iVar1 = FUN_0002d920();
  iVar2 = FUN_0002d920();
  uVar3 = 1;
  if (iVar2 <= iVar1) {
    if ((iVar2 < iVar1) || (param_1 < param_2)) {
      return 0xffffffff;
    }
    uVar3 = (uint)(param_2 < param_1);
  }
  return uVar3;
}

