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

bfd_boolean pe_undef_count(bfd_link_hash_entry *h,void *inf)

{
  if (h->field_0xc == '\x01') {
    undef_count = undef_count + 1;
  }
  return 1;
}



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

undefined4 FUN_00062400(int param_1)

{
  if (*(char *)(param_1 + 0xc) == '\x01') {
    DAT_001d0228 = DAT_001d0228 + 1;
  }
  return 1;
}


CALL 0x00017cb5
ADD EDX,0x16bbfb
MOV EAX,dword ptr [ESP + 0x4]
CMP byte ptr [EAX + 0xc],0x1
JNZ 0x0006241c
ADD dword ptr [EDX + 0x2228],0x1
MOV EAX,0x1
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nundefined4 FUN_00062400(int param_1)\n\n{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_00062400(int param_1)\n\n{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00062400(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" { (if_statement "if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x01')" ( (binary_expression "*(char *)(param_1 + 0xc) == '\x01'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" { (expression_statement "DAT_001d0228 = DAT_001d0228 + 1;" (assignment_expression "DAT_001d0228 = DAT_001d0228 + 1" identifier = (binary_expression "DAT_001d0228 + 1" identifier + number_literal)) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean pe_undef_count(bfd_link_hash_entry *h,void *inf)\n\n{\n  if (h->field_0xc == '\x01') {\n    undef_count = undef_count + 1;\n  }\n  return 1;\n}\n\n" comment comment (function_definition "bfd_boolean pe_undef_count(bfd_link_hash_entry *h,void *inf)\n\n{\n  if (h->field_0xc == '\x01') {\n    undef_count = undef_count + 1;\n  }\n  return 1;\n}" type_identifier (function_declarator "pe_undef_count(bfd_link_hash_entry *h,void *inf)" identifier (parameter_list "(bfd_link_hash_entry *h,void *inf)" ( (parameter_declaration "bfd_link_hash_entry *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "void *inf" primitive_type (pointer_declarator "*inf" * identifier)) ))) (compound_statement "{\n  if (h->field_0xc == '\x01') {\n    undef_count = undef_count + 1;\n  }\n  return 1;\n}" { (if_statement "if (h->field_0xc == '\x01') {\n    undef_count = undef_count + 1;\n  }" if (parenthesized_expression "(h->field_0xc == '\x01')" ( (binary_expression "h->field_0xc == '\x01'" (field_expression "h->field_0xc" identifier -> field_identifier) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    undef_count = undef_count + 1;\n  }" { (expression_statement "undef_count = undef_count + 1;" (assignment_expression "undef_count = undef_count + 1" identifier = (binary_expression "undef_count + 1" identifier + number_literal)) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00062400(int param_1)\n\n{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00062400(int param_1)\n\n{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_00062400(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" { (if_statement "if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x01')" ( (binary_expression "*(char *)(param_1 + 0xc) == '\x01'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" { (expression_statement "DAT_001d0228 = DAT_001d0228 + 1;" (assignment_expression "DAT_001d0228 = DAT_001d0228 + 1" identifier = (binary_expression "DAT_001d0228 + 1" identifier + number_literal)) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (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) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00062400(int param_1)\n\n{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00062400(int param_1)" (identifier "FUN_00062400") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }\n  return 1;\n}" ({ "{") (if_statement "if (*(char *)(param_1 + 0xc) == '\x01') {\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x01')" (( "(") (binary_expression "*(char *)(param_1 + 0xc) == '\x01'" (pointer_expression "*(char *)(param_1 + 0xc)" (* "*") (cast_expression "(char *)(param_1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n    DAT_001d0228 = DAT_001d0228 + 1;\n  }" ({ "{") (expression_statement "DAT_001d0228 = DAT_001d0228 + 1;" (assignment_expression "DAT_001d0228 = DAT_001d0228 + 1" (identifier "DAT_001d0228") (= "=") (binary_expression "DAT_001d0228 + 1" (identifier "DAT_001d0228") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 function_1(type_2 *h,void *inf)

{
  if (h->field_0xc == '\x01') {
    var_1 = var_1 + 1;
  }
  return 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1)

{
  if (*(char *)(param_1 + 0xc) == '\x01') {
    DAT_001d0228 = DAT_001d0228 + 1;
  }
  return 1;
}

