
/* DWARF original prototype: void do_set_out_shndx(Output_section * this, uint shndx) */

void __thiscall gold::Output_section::do_set_out_shndx(Output_section *this,uint shndx)

{
  if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");
  }
  this->out_shndx_ = shndx;
  return;
}



void FUN_00192720(long param_1,int param_2)

{
  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");
  }
  *(int *)(param_1 + 0x7c) = param_2;
  return;
}


MOV EAX,dword ptr [RDI + 0x7c]
CMP EAX,-0x1
JZ 0x0019272c
CMP EAX,ESI
JNZ 0x00192730
MOV dword ptr [RDI + 0x7c],ESI
RET
PUSH RAX
LEA RDX,[0x311910]
MOV ESI,0x104b
LEA RDI,[0x30e9f4]
CALL 0x0016cdf0
(translation_unit "void FUN_00192720(long param_1,int param_2)\n\n{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}\n\n" (function_definition "void FUN_00192720(long param_1,int param_2)\n\n{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00192720(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" { (if_statement "if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2))" ( (binary_expression "(*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x7c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x7c) != -1" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x7c) != param_2)" ( (binary_expression "*(int *)(param_1 + 0x7c) != param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" { comment (expression_statement "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");" (call_expression "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx")" identifier (argument_list "("../../gold/output.h",0x104b,"do_set_out_shndx")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""do_set_out_shndx"" " string_content ") ))) ;) })) (expression_statement "*(int *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(int *)(param_1 + 0x7c) = param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void do_set_out_shndx(Output_section * this, uint shndx) */\n\nvoid __thiscall gold::Output_section::do_set_out_shndx(Output_section *this,uint shndx)\n\n{\n  if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  this->out_shndx_ = shndx;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Output_section::do_set_out_shndx(Output_section *this,uint shndx)\n\n{\n  if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  this->out_shndx_ = shndx;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "do_set_out_shndx(Output_section *this,uint shndx)" identifier (parameter_list "(Output_section *this,uint shndx)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) (compound_statement "{\n  if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  this->out_shndx_ = shndx;\n  return;\n}" { (if_statement "if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" if (parenthesized_expression "((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx))" ( (binary_expression "(this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != shndx)" (parenthesized_expression "(this->out_shndx_ != 0xffffffff)" ( (binary_expression "this->out_shndx_ != 0xffffffff" (field_expression "this->out_shndx_" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(this->out_shndx_ != shndx)" ( (binary_expression "this->out_shndx_ != shndx" (field_expression "this->out_shndx_" identifier -> field_identifier) != identifier) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx");" (call_expression "do_gold_unreachable("../../gold/output.h",0x104b,"do_set_out_shndx")" identifier (argument_list "("../../gold/output.h",0x104b,"do_set_out_shndx")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""do_set_out_shndx"" " string_content ") ))) ;) })) (expression_statement "this->out_shndx_ = shndx;" (assignment_expression "this->out_shndx_ = shndx" (field_expression "this->out_shndx_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00192720(long param_1,int param_2)\n\n{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}\n\n" (function_definition "void FUN_00192720(long param_1,int param_2)\n\n{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" primitive_type (function_declarator "FUN_00192720(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" { (if_statement "if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2))" ( (binary_expression "(*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x7c) != -1)" ( (binary_expression "*(int *)(param_1 + 0x7c) != -1" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x7c) != param_2)" ( (binary_expression "*(int *)(param_1 + 0x7c) != param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) != identifier) ))) )) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" { (expression_statement "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");" (call_expression "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx")" identifier (argument_list "("../../gold/output.h",0x104b,"do_set_out_shndx")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""do_set_out_shndx"" " string_content ") ))) ;) })) (expression_statement "*(int *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(int *)(param_1 + 0x7c) = param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" * (cast_expression "(int *)(param_1 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x7c)" ( (binary_expression "param_1 + 0x7c" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00192720(long param_1,int param_2)\n\n{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00192720(long param_1,int param_2)" (identifier "FUN_00192720") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }\n  *(int *)(param_1 + 0x7c) = param_2;\n  return;\n}" ({ "{") (if_statement "if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2))" (( "(") (binary_expression "(*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)" (parenthesized_expression "(*(int *)(param_1 + 0x7c) != -1)" (( "(") (binary_expression "*(int *)(param_1 + 0x7c) != -1" (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (number_literal "-1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x7c) != param_2)" (( "(") (binary_expression "*(int *)(param_1 + 0x7c) != param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");\n  }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");" (call_expression "FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/output.h",0x104b,"do_set_out_shndx")" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x104b") (, ",") (string_literal ""do_set_out_shndx"" (" """) (string_content "do_set_out_shndx") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x7c) = param_2;" (assignment_expression "*(int *)(param_1 + 0x7c) = param_2" (pointer_expression "*(int *)(param_1 + 0x7c)" (* "*") (cast_expression "(int *)(param_1 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x7c)" (( "(") (binary_expression "param_1 + 0x7c" (identifier "param_1") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void do_set_out_shndx(Output_section * this, uint shndx) */

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

{
  if ((this->out_shndx_ != 0xffffffff) && (this->out_shndx_ != var_1)) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.h",0x104b,"do_set_out_shndx");
  }
  this->out_shndx_ = var_1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))) right: (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_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))) (return_statement))))

void MASKED(long param_1,int param_2)

{
  if ((*(int *)(param_1 + 0x7c) != -1) && (*(int *)(param_1 + 0x7c) != param_2)) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/output.h",0x104b,"do_set_out_shndx");
  }
  *(int *)(param_1 + 0x7c) = param_2;
  return;
}

