
/* 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: void set_target(Target_selector * this) */

void __thiscall gold::Target_selector::set_target(Target_selector *this)

{
  Target *pTVar1;
  
  if (this->instantiated_target_ == (Target *)0x0) {
    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);
    this->instantiated_target_ = pTVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target");
}



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

void __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)

{
  int iVar1;
  
  if (param_2[7] == 0) {
    iVar1 = (**(code **)(*param_2 + 8))(param_2);
    param_2[7] = iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);
}


PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x208509
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESI + 0x1c]
TEST EDX,EDX
JNZ 0x001a1b1d
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x8]
MOV dword ptr [ESI + 0x1c],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
LEA EDX,[EBX + 0xfff08e48]
PUSH EAX
PUSH EDX
LEA EDX,[EBX + 0xfff08dc1]
PUSH 0x52
PUSH EDX
CALL 0x0007ac80
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}\n\n" comment (function_definition "void __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_001a1af0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_2[7] = iVar1;" (assignment_expression "param_2[7] = iVar1" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);" (call_expression "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1)" identifier (argument_list "("../../gold/target-select.cc",0x52,"set_target",param_1)" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""set_target"" " string_content ") , identifier ))) ;) })))
(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: void set_target(Target_selector * this) */\n\nvoid __thiscall gold::Target_selector::set_target(Target_selector *this)\n\n{\n  Target *pTVar1;\n  \n  if (this->instantiated_target_ == (Target *)0x0) {\n    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);\n    this->instantiated_target_ = pTVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Target_selector::set_target(Target_selector *this)\n\n{\n  Target *pTVar1;\n  \n  if (this->instantiated_target_ == (Target *)0x0) {\n    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);\n    this->instantiated_target_ = pTVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Target_selector::" identifier : : identifier : :) (function_declarator "set_target(Target_selector *this)" identifier (parameter_list "(Target_selector *this)" ( (parameter_declaration "Target_selector *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Target *pTVar1;\n  \n  if (this->instantiated_target_ == (Target *)0x0) {\n    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);\n    this->instantiated_target_ = pTVar1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target");\n}" { (declaration "Target *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (if_statement "if (this->instantiated_target_ == (Target *)0x0) {\n    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);\n    this->instantiated_target_ = pTVar1;\n    return;\n  }" if (parenthesized_expression "(this->instantiated_target_ == (Target *)0x0)" ( (binary_expression "this->instantiated_target_ == (Target *)0x0" (field_expression "this->instantiated_target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);\n    this->instantiated_target_ = pTVar1;\n    return;\n  }" { (expression_statement "pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this);" (assignment_expression "pTVar1 = (Target *)(*this->_vptr_Target_selector[2])(this)" identifier = (cast_expression "(Target *)(*this->_vptr_Target_selector[2])(this)" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*this->_vptr_Target_selector[2])(this)" (parenthesized_expression "(*this->_vptr_Target_selector[2])" ( (pointer_expression "*this->_vptr_Target_selector[2]" * (subscript_expression "this->_vptr_Target_selector[2]" (field_expression "this->_vptr_Target_selector" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(this)" ( identifier ))))) ;) (expression_statement "this->instantiated_target_ = pTVar1;" (assignment_expression "this->instantiated_target_ = pTVar1" (field_expression "this->instantiated_target_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target");" (call_expression "do_gold_unreachable("../../gold/target-select.cc",0x52,"set_target")" identifier (argument_list "("../../gold/target-select.cc",0x52,"set_target")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""set_target"" " string_content ") ))) ;) })))
(translation_unit "void __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    \n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}\n\n" (function_definition "void __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    \n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" primitive_type (ERROR "__regparm1" identifier) (function_declarator "FUN_001a1af0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    \n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" ( (pointer_expression "**(code **)(*param_2 + 8)" * (pointer_expression "*(code **)(*param_2 + 8)" * (cast_expression "(code **)(*param_2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 8)" ( (binary_expression "*param_2 + 8" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "param_2[7] = iVar1;" (assignment_expression "param_2[7] = iVar1" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);" (call_expression "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1)" identifier (argument_list "("../../gold/target-select.cc",0x52,"set_target",param_1)" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""set_target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void __regparm1 FUN_001a1af0(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    \n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" (primitive_type "void") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_001a1af0(undefined4 param_1,int *param_2)" (identifier "FUN_001a1af0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }\n                    \n  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_2[7] == 0) {\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2[7] == 0)" (( "(") (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*param_2 + 8))(param_2);\n    param_2[7] = iVar1;\n    return;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*param_2 + 8))(param_2);" (assignment_expression "iVar1 = (**(code **)(*param_2 + 8))(param_2)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_2 + 8))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 8))" (( "(") (pointer_expression "**(code **)(*param_2 + 8)" (* "*") (pointer_expression "*(code **)(*param_2 + 8)" (* "*") (cast_expression "(code **)(*param_2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 8)" (( "(") (binary_expression "*param_2 + 8" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "param_2[7] = iVar1;" (assignment_expression "param_2[7] = iVar1" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);" (call_expression "FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1)" (identifier "FUN_0007ac80") (argument_list "("../../gold/target-select.cc",0x52,"set_target",param_1)" (( "(") (string_literal ""../../gold/target-select.cc"" (" """) (string_content "../../gold/target-select.cc") (" """)) (, ",") (number_literal "0x52") (, ",") (string_literal ""set_target"" (" """) (string_content "set_target") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* 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: void set_target(Target_selector * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 *pTVar1;
  
  if (this->instantiated_target_ == (type_2 *)0x0) {
    pTVar1 = (type_2 *)(*this->_vptr_Target_selector[2])(this);
    this->instantiated_target_ = pTVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/target-select.cc",0x52,"set_target");
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void __regparm1 MASKED(undefined4 param_1,int *param_2)

{
  int iVar1;
  
  if (param_2[7] == 0) {
    iVar1 = (**(code **)(*param_2 + 8))(param_2);
    param_2[7] = iVar1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007ac80("../../gold/target-select.cc",0x52,"set_target",param_1);
}

