
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int version_expr_head_eq(void *p1,void *p2)

{
  int iVar1;
  
  iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));
  return (uint)(iVar1 == 0);
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool FUN_00020250(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));
  return iVar1 == 0;
}


PUSH EBX
CALL 0x00017b80
ADD EBX,0x1aedaa
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x4]
CALL 0x000160c0
TEST EAX,EAX
SETZ AL
ADD ESP,0x18
MOVZX EAX,AL
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_00020250(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}\n\n" comment (function_definition "bool FUN_00020250(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00020250(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));" (assignment_expression "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" identifier = (call_expression "strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" identifier (argument_list "(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" ( (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 4)" * (cast_expression "(char **)(param_2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint version_expr_head_eq(void *p1,void *p2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));\n  return (uint)(iVar1 == 0);\n}\n\n" comment comment (function_definition "int version_expr_head_eq(void *p1,void *p2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));\n  return (uint)(iVar1 == 0);\n}" primitive_type (function_declarator "version_expr_head_eq(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  int iVar1;\n  \n  iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));\n  return (uint)(iVar1 == 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));" (assignment_expression "iVar1 = strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4))" identifier = (call_expression "strcmp(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4))" identifier (argument_list "(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4))" ( (pointer_expression "*(char **)((int)p1 + 4)" * (cast_expression "(char **)((int)p1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p1 + 4)" ( (binary_expression "(int)p1 + 4" (cast_expression "(int)p1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (pointer_expression "*(char **)((int)p2 + 4)" * (cast_expression "(char **)((int)p2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)p2 + 4)" ( (binary_expression "(int)p2 + 4" (cast_expression "(int)p2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (return_statement "return (uint)(iVar1 == 0);" return (call_expression "(uint)(iVar1 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) ))) ;) })))
(translation_unit "bool FUN_00020250(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}\n\n" (function_definition "bool FUN_00020250(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" primitive_type (function_declarator "FUN_00020250(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));" (assignment_expression "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" identifier = (call_expression "strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" identifier (argument_list "(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" ( (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*(char **)(param_2 + 4)" * (cast_expression "(char **)(param_2 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) )))) ;) (return_statement "return iVar1 == 0;" return (binary_expression "iVar1 == 0" identifier == number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (return_statement return (binary_expression IDENT == LIT) ;) })))
(function_definition "bool FUN_00020250(int param_1,int param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" (primitive_type "bool") (function_declarator "FUN_00020250(int param_1,int param_2)" (identifier "FUN_00020250") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));\n  return iVar1 == 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));" (assignment_expression "iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" (identifier "iVar1") (= "=") (call_expression "strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" (identifier "strcmp") (argument_list "(*(char **)(param_1 + 4),*(char **)(param_2 + 4))" (( "(") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(char **)(param_2 + 4)" (* "*") (cast_expression "(char **)(param_2 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (return_statement "return iVar1 == 0;" (return "return") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(void *p1,void *p2)

{
  int var_2;
  
  var_2 = var_1(*(char **)((int)p1 + 4),*(char **)((int)p2 + 4));
  return (uint)(var_2 == 0);
}


(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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

bool MASKED(int param_1,int param_2)

{
  int iVar1;
  
  iVar1 = strcmp(*(char **)(param_1 + 4),*(char **)(param_2 + 4));
  return iVar1 == 0;
}

