
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */

char * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)

{
}



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

int FUN_00365270(int param_1,int param_2)

{
  if (param_2 != *(int *)(param_1 + 0x1c)) {
    return 0;
  }
  if (*(int *)(param_1 + 0x10) != 0) {
    return *(int *)(param_1 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);
}


PUSH EBX
CALL 0x00050b50
ADD EBX,0x284d8a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x1c]
CMP dword ptr [ESP + 0x14],EDX
JNZ 0x003652a0
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JZ 0x003652a7
ADD ESP,0x8
POP EBX
RET
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xffeb0624]
PUSH EAX
LEA EAX,[EBX + 0xffeb05b3]
PUSH 0x5e
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00365270(int param_1,int param_2)\n\n{\n  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}\n\n" comment (function_definition "int FUN_00365270(int param_1,int param_2)\n\n{\n  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" primitive_type (function_declarator "FUN_00365270(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  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" { (if_statement "if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != *(int *)(param_1 + 0x1c))" ( (binary_expression "param_2 != *(int *)(param_1 + 0x1c)" identifier != (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(param_1 + 0x10);\n  }" { (return_statement "return *(int *)(param_1 + 0x10);" return (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);" (call_expression "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" identifier (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""do_target_bfd_name"" " string_content ") , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */\n\nchar * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n}\n\n" comment comment comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n}" statement_identifier : (ERROR ":" :) (labeled_statement "Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n}" statement_identifier : (ERROR ":do_target_bfd_name(Target_selector *this,Target *target)" : (call_expression "do_target_bfd_name(Target_selector *this,Target *target)" identifier (argument_list "(Target_selector *this,Target *target)" ( (binary_expression "Target_selector *this" identifier * identifier) , (binary_expression "Target *target" identifier * identifier) )))) (compound_statement "{\n}" { }))))
(translation_unit "int FUN_00365270(int param_1,int param_2)\n\n{\n  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    \n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}\n\n" (function_definition "int FUN_00365270(int param_1,int param_2)\n\n{\n  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    \n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" primitive_type (function_declarator "FUN_00365270(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  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    \n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" { (if_statement "if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != *(int *)(param_1 + 0x1c))" ( (binary_expression "param_2 != *(int *)(param_1 + 0x1c)" identifier != (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(int *)(param_1 + 0x10);\n  }" { (return_statement "return *(int *)(param_1 + 0x10);" return (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ;) })) (expression_statement "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);" (call_expression "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" identifier (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""do_target_bfd_name"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "int FUN_00365270(int param_1,int param_2)\n\n{\n  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    \n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" (primitive_type "int") (function_declarator "FUN_00365270(int param_1,int param_2)" (identifier "FUN_00365270") (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  if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }\n  if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }\n                    \n  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);\n}" ({ "{") (if_statement "if (param_2 != *(int *)(param_1 + 0x1c)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 != *(int *)(param_1 + 0x1c))" (( "(") (binary_expression "param_2 != *(int *)(param_1 + 0x1c)" (identifier "param_2") (!= "!=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n    return *(int *)(param_1 + 0x10);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(int *)(param_1 + 0x10);\n  }" ({ "{") (return_statement "return *(int *)(param_1 + 0x10);" (return "return") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);" (call_expression "FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" (identifier "FUN_002446e0") (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0)" (( "(") (string_literal ""../../gold/target-select.cc"" (" """) (string_content "../../gold/target-select.cc") (" """)) (, ",") (number_literal "0x5e") (, ",") (string_literal ""do_target_bfd_name"" (" """) (string_content "do_target_bfd_name") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */

char * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)

{
}


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

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

int MASKED(int param_1,int param_2)

{
  if (param_2 != *(int *)(param_1 + 0x1c)) {
    return 0;
  }
  if (*(int *)(param_1 + 0x10) != 0) {
    return *(int *)(param_1 + 0x10);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/target-select.cc",0x5e,"do_target_bfd_name",0);
}

