
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_input_shndx(Symbol_value<64> * this, uint i, bool is_ordinary)
    */

void __thiscall
gold::Symbol_value<64>::set_input_shndx(Symbol_value<64> *this,uint i,bool is_ordinary)

{
  *(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff;
  if (i == (i & 0x7ffffff)) {
    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx");
}



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

void FUN_0015bae0(int param_1,uint param_2,uint param_3)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;
  *(uint *)(param_1 + 8) = uVar1;
  if (param_2 == (param_2 & 0x7ffffff)) {
    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ECX,dword ptr [ESP + 0x10]
CALL 0x00036f20
ADD EBX,0x253514
MOV EDI,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ECX + 0x8]
MOV ESI,EDI
AND ESI,0x7ffffff
AND EAX,0xf8000000
OR EAX,ESI
MOV dword ptr [ECX + 0x8],EAX
CMP EDI,ESI
JNZ 0x0015bb29
MOVZX EAX,byte ptr [ECX + 0xb]
AND EDX,0x1
SHL EDX,0x3
AND EAX,0xfffffff7
OR EDX,EAX
MOV byte ptr [ECX + 0xb],DL
POP EBX
POP ESI
POP EDI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff030e8]
PUSH EAX
LEA EAX,[EBX + 0xffeee385]
PUSH 0x755
PUSH EAX
CALL 0x0007d010
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0015bae0(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}\n\n" comment (function_definition "void FUN_0015bae0(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" primitive_type (function_declarator "FUN_0015bae0(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;" (assignment_expression "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" identifier = (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0x7ffffff" identifier & number_literal))) ;) (expression_statement "*(uint *)(param_1 + 8) = uVar1;" (assignment_expression "*(uint *)(param_1 + 8) = uVar1" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0x7ffffff))" ( (binary_expression "param_2 == (param_2 & 0x7ffffff)" identifier == (parenthesized_expression "(param_2 & 0x7ffffff)" ( (binary_expression "param_2 & 0x7ffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" { (expression_statement "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;" (assignment_expression "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" * (cast_expression "(byte *)(param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) = (binary_expression "(byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (call_expression "(byte)((param_3 & 1) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((param_3 & 1) << 3)" ( (binary_expression "(param_3 & 1) << 3" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) << number_literal) ))) | (binary_expression "*(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" * (cast_expression "(byte *)(param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) & number_literal))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);" (call_expression "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1)" identifier (argument_list "("../../gold/object.h",0x755,"set_input_shndx",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_input_shndx"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_input_shndx(Symbol_value<64> * this, uint i, bool is_ordinary)\n    */\n\nvoid __thiscall\ngold::Symbol_value<64>::set_input_shndx(Symbol_value<64> *this,uint i,bool is_ordinary)\n\n{\n  *(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff;\n  if (i == (i & 0x7ffffff)) {\n    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Symbol_value<64>::set_input_shndx(Symbol_value<64> *this,uint i,bool is_ordinary)\n\n{\n  *(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff;\n  if (i == (i & 0x7ffffff)) {\n    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Symbol_value<64>::" identifier : : identifier < number_literal > : :) (function_declarator "set_input_shndx(Symbol_value<64> *this,uint i,bool is_ordinary)" identifier (parameter_list "(Symbol_value<64> *this,uint i,bool is_ordinary)" ( (parameter_declaration "Symbol_value<64> *this" type_identifier (ERROR "<64>" < number_literal >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint i" type_identifier identifier) , (parameter_declaration "bool is_ordinary" primitive_type identifier) ))) (compound_statement "{\n  *(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff;\n  if (i == (i & 0x7ffffff)) {\n    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx");\n}" { (expression_statement "*(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff;" (assignment_expression "*(uint *)&this->field_0x8 = *(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff" (pointer_expression "*(uint *)&this->field_0x8" * (cast_expression "(uint *)&this->field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x8" & (field_expression "this->field_0x8" identifier -> field_identifier)))) = (binary_expression "*(uint *)&this->field_0x8 & 0xf8000000 | i & 0x7ffffff" (binary_expression "*(uint *)&this->field_0x8 & 0xf8000000" (pointer_expression "*(uint *)&this->field_0x8" * (cast_expression "(uint *)&this->field_0x8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->field_0x8" & (field_expression "this->field_0x8" identifier -> field_identifier)))) & number_literal) | (binary_expression "i & 0x7ffffff" identifier & number_literal))) ;) (if_statement "if (i == (i & 0x7ffffff)) {\n    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;\n    return;\n  }" if (parenthesized_expression "(i == (i & 0x7ffffff))" ( (binary_expression "i == (i & 0x7ffffff)" identifier == (parenthesized_expression "(i & 0x7ffffff)" ( (binary_expression "i & 0x7ffffff" identifier & number_literal) ))) )) (compound_statement "{\n    this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;\n    return;\n  }" { (expression_statement "this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7;" (assignment_expression "this->field_0xb = (byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7" (field_expression "this->field_0xb" identifier -> field_identifier) = (binary_expression "(byte)((is_ordinary & 1) << 3) | this->field_0xb & 0xf7" (call_expression "(byte)((is_ordinary & 1) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((is_ordinary & 1) << 3)" ( (binary_expression "(is_ordinary & 1) << 3" (parenthesized_expression "(is_ordinary & 1)" ( (binary_expression "is_ordinary & 1" identifier & number_literal) )) << number_literal) ))) | (binary_expression "this->field_0xb & 0xf7" (field_expression "this->field_0xb" identifier -> field_identifier) & number_literal))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx");" (call_expression "do_gold_unreachable("../../gold/object.h",0x755,"set_input_shndx")" identifier (argument_list "("../../gold/object.h",0x755,"set_input_shndx")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_input_shndx"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0015bae0(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    \n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}\n\n" (function_definition "void FUN_0015bae0(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    \n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" primitive_type (function_declarator "FUN_0015bae0(int param_1,uint param_2,uint param_3)" identifier (parameter_list "(int param_1,uint param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    \n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;" (assignment_expression "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" identifier = (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) & number_literal) | (binary_expression "param_2 & 0x7ffffff" identifier & number_literal))) ;) (expression_statement "*(uint *)(param_1 + 8) = uVar1;" (assignment_expression "*(uint *)(param_1 + 8) = uVar1" (pointer_expression "*(uint *)(param_1 + 8)" * (cast_expression "(uint *)(param_1 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" if (parenthesized_expression "(param_2 == (param_2 & 0x7ffffff))" ( (binary_expression "param_2 == (param_2 & 0x7ffffff)" identifier == (parenthesized_expression "(param_2 & 0x7ffffff)" ( (binary_expression "param_2 & 0x7ffffff" identifier & number_literal) ))) )) (compound_statement "{\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" { (expression_statement "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;" (assignment_expression "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" * (cast_expression "(byte *)(param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) = (binary_expression "(byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (call_expression "(byte)((param_3 & 1) << 3)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((param_3 & 1) << 3)" ( (binary_expression "(param_3 & 1) << 3" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) << number_literal) ))) | (binary_expression "*(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" * (cast_expression "(byte *)(param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) & number_literal))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);" (call_expression "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1)" identifier (argument_list "("../../gold/object.h",0x755,"set_input_shndx",uVar1)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""set_input_shndx"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) | (binary_expression IDENT & LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0015bae0(int param_1,uint param_2,uint param_3)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    \n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" (primitive_type "void") (function_declarator "FUN_0015bae0(int param_1,uint param_2,uint param_3)" (identifier "FUN_0015bae0") (parameter_list "(int param_1,uint param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;\n  *(uint *)(param_1 + 8) = uVar1;\n  if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }\n                    \n  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;" (assignment_expression "uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" (identifier "uVar1") (= "=") (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff" (binary_expression "*(uint *)(param_1 + 8) & 0xf8000000" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0xf8000000")) (| "|") (binary_expression "param_2 & 0x7ffffff" (identifier "param_2") (& "&") (number_literal "0x7ffffff")))) (; ";")) (expression_statement "*(uint *)(param_1 + 8) = uVar1;" (assignment_expression "*(uint *)(param_1 + 8) = uVar1" (pointer_expression "*(uint *)(param_1 + 8)" (* "*") (cast_expression "(uint *)(param_1 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (param_2 == (param_2 & 0x7ffffff)) {\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 == (param_2 & 0x7ffffff))" (( "(") (binary_expression "param_2 == (param_2 & 0x7ffffff)" (identifier "param_2") (== "==") (parenthesized_expression "(param_2 & 0x7ffffff)" (( "(") (binary_expression "param_2 & 0x7ffffff" (identifier "param_2") (& "&") (number_literal "0x7ffffff")) () ")"))) () ")")) (compound_statement "{\n    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;\n    return;\n  }" ({ "{") (expression_statement "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;" (assignment_expression "*(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" (* "*") (cast_expression "(byte *)(param_1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (= "=") (binary_expression "(byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7" (call_expression "(byte)((param_3 & 1) << 3)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((param_3 & 1) << 3)" (( "(") (binary_expression "(param_3 & 1) << 3" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (| "|") (binary_expression "*(byte *)(param_1 + 0xb) & 0xf7" (pointer_expression "*(byte *)(param_1 + 0xb)" (* "*") (cast_expression "(byte *)(param_1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (& "&") (number_literal "0xf7")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);" (call_expression "FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1)" (identifier "FUN_0007d010") (argument_list "("../../gold/object.h",0x755,"set_input_shndx",uVar1)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x755") (, ",") (string_literal ""set_input_shndx"" (" """) (string_content "set_input_shndx") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_input_shndx(Symbol_value<64> * this, uint i, bool is_ordinary)
    */

void __thiscall
gold::type_1<64>::function_1(type_1<64> *this,type_2 var_1,bool var_2)

{
  *(type_2 *)&this->field_0x8 = *(type_2 *)&this->field_0x8 & 0xf8000000 | var_1 & 0x7ffffff;
  if (var_1 == (var_1 & 0x7ffffff)) {
    this->field_0xb = (byte)((var_2 & 1) << 3) | this->field_0xb & 0xf7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/object.h",0x755,"set_input_shndx");
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (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))))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (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))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (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))))) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (binary_expression left: (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))))) right: (number_literal))))) (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,uint param_2,uint param_3)

{
  uint uVar1;
  
  uVar1 = *(uint *)(param_1 + 8) & 0xf8000000 | param_2 & 0x7ffffff;
  *(uint *)(param_1 + 8) = uVar1;
  if (param_2 == (param_2 & 0x7ffffff)) {
    *(byte *)(param_1 + 0xb) = (byte)((param_3 & 1) << 3) | *(byte *)(param_1 + 0xb) & 0xf7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007d010("../../gold/object.h",0x755,"set_input_shndx",uVar1);
}

