
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_target(Parameters * this, Target * target) */

void __thiscall gold::Parameters::set_target(Parameters *this,Target *target)

{
  Once::run_once(&this->set_parameters_target_once_->super_Once,target);
  if (this->target_ == target) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target");
}



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

void FUN_001390e0(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);
  if (*(int *)(param_1 + 0xc) == param_2) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00035840
ADD EBX,0x255f14
MOV ESI,dword ptr [ESP + 0x14]
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [EDI + 0x1c]
CALL 0x0006cdc0
ADD ESP,0x10
CMP dword ptr [EDI + 0xc],ESI
JNZ 0x0013910e
POP EBX
POP ESI
POP EDI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff0614c]
PUSH EAX
LEA EAX,[EBX + 0xfff05fe4]
PUSH 0x76
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001390e0(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}\n\n" comment (function_definition "void FUN_001390e0(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" primitive_type (function_declarator "FUN_001390e0(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  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);" (assignment_expression "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" identifier = (call_expression "FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) == param_2)" ( (binary_expression "*(int *)(param_1 + 0xc) == param_2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1)" identifier (argument_list "("../../gold/parameters.cc",0x76,"set_target",uVar1)" ( (string_literal ""../../gold/parameters.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 "DT": Some values do not have unique names */\n/* DWARF original prototype: void set_target(Parameters * this, Target * target) */\n\nvoid __thiscall gold::Parameters::set_target(Parameters *this,Target *target)\n\n{\n  Once::run_once(&this->set_parameters_target_once_->super_Once,target);\n  if (this->target_ == target) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Parameters::set_target(Parameters *this,Target *target)\n\n{\n  Once::run_once(&this->set_parameters_target_once_->super_Once,target);\n  if (this->target_ == target) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Parameters::" identifier : : identifier : :) (function_declarator "set_target(Parameters *this,Target *target)" identifier (parameter_list "(Parameters *this,Target *target)" ( (parameter_declaration "Parameters *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Target *target" type_identifier (pointer_declarator "*target" * identifier)) ))) (compound_statement "{\n  Once::run_once(&this->set_parameters_target_once_->super_Once,target);\n  if (this->target_ == target) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target");\n}" { (labeled_statement "Once::run_once(&this->set_parameters_target_once_->super_Once,target);" statement_identifier : (ERROR ":" :) (expression_statement "run_once(&this->set_parameters_target_once_->super_Once,target);" (call_expression "run_once(&this->set_parameters_target_once_->super_Once,target)" identifier (argument_list "(&this->set_parameters_target_once_->super_Once,target)" ( (pointer_expression "&this->set_parameters_target_once_->super_Once" & (field_expression "this->set_parameters_target_once_->super_Once" (field_expression "this->set_parameters_target_once_" identifier -> field_identifier) -> field_identifier)) , identifier ))) ;)) (if_statement "if (this->target_ == target) {\n    return;\n  }" if (parenthesized_expression "(this->target_ == target)" ( (binary_expression "this->target_ == target" (field_expression "this->target_" identifier -> field_identifier) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target");" (call_expression "do_gold_unreachable("../../gold/parameters.cc",0x76,"set_target")" identifier (argument_list "("../../gold/parameters.cc",0x76,"set_target")" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""set_target"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001390e0(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}\n\n" (function_definition "void FUN_001390e0(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" primitive_type (function_declarator "FUN_001390e0(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  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);" (assignment_expression "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" identifier = (call_expression "FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x1c),param_2)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) == param_2)" ( (binary_expression "*(int *)(param_1 + 0xc) == param_2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1)" identifier (argument_list "("../../gold/parameters.cc",0x76,"set_target",uVar1)" ( (string_literal ""../../gold/parameters.cc"" " string_content ") , number_literal , (string_literal ""set_target"" " string_content ") , identifier ))) ;) })))
(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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_001390e0(int param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" (primitive_type "void") (function_declarator "FUN_001390e0(int param_1,int param_2)" (identifier "FUN_001390e0") (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  undefined4 uVar1;\n  \n  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);\n  if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);" (assignment_expression "uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2)" (identifier "FUN_0006cdc0") (argument_list "(*(undefined4 *)(param_1 + 0x1c),param_2)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) == param_2) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) == param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) == param_2" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);" (call_expression "FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.cc",0x76,"set_target",uVar1)" (( "(") (string_literal ""../../gold/parameters.cc"" (" """) (string_content "../../gold/parameters.cc") (" """)) (, ",") (number_literal "0x76") (, ",") (string_literal ""set_target"" (" """) (string_content "set_target") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void set_target(Parameters * this, Target * target) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *var_2)

{
  Once::var_1(&this->set_parameters_target_once_->super_Once,var_2);
  if (this->target_ == var_2) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/parameters.cc",0x76,"set_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 (declaration type: (type_identifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (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: (identifier))) consequence: (compound_statement (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 MASKED(int param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_0006cdc0(*(undefined4 *)(param_1 + 0x1c),param_2);
  if (*(int *)(param_1 + 0xc) == param_2) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/parameters.cc",0x76,"set_target",uVar1);
}

