
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void Got_entry(Got_entry * this, Relobj * object, uint local_sym_index,
   bool use_plt_or_tls_offset) */

void __thiscall
gold::Output_data_got<64,_false>::Got_entry::Got_entry
          (Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)

{
  uint uVar1;
  
  uVar1 = *(uint *)&this->field_0x8;
  *(undefined4 *)&this->addend_ = 0;
  *(undefined4 *)((int)&this->addend_ + 4) = 0;
  *(uint *)&this->field_0x8 = uVar1 & 0x80000000 | param_2 & 0x7fffffff;
  this->field_0xb = (byte)(param_2 >> 0x18) & 0x7f | use_plt_or_tls_offset << 7;
  if ((2 < param_2 + 0x80000003) && (param_2 == (param_2 & 0x7fffffff))) {
    (this->u_).object = object;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0xa50,"Got_entry");
}



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

void FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)

{
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;
  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;
  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {
    *param_1 = param_2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX,dword ptr [ESP + 0x10]
CALL 0x00035680
ADD EBX,0x245924
MOV ECX,dword ptr [ESP + 0x18]
MOVZX EDI,byte ptr [ESP + 0x1c]
MOV EAX,dword ptr [EDX + 0x8]
MOV dword ptr [EDX + 0xc],0x0
MOV ESI,ECX
SHL EDI,0x7
MOV dword ptr [EDX + 0x10],0x0
AND ESI,0x7fffffff
AND EAX,0x80000000
OR EAX,ESI
MOV dword ptr [EDX + 0x8],EAX
SHR EAX,0x18
AND EAX,0x7f
OR EAX,EDI
MOV byte ptr [EDX + 0xb],AL
LEA EAX,[ECX + 0x80000003]
CMP EAX,0x2
JBE 0x000f9735
CMP ECX,ESI
JNZ 0x000f9735
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [EDX],EAX
POP EBX
POP ESI
POP EDI
RET
PUSH EAX
LEA EAX,[EBX + 0xfff1de98]
PUSH EAX
LEA EAX,[EBX + 0xfff0c35d]
PUSH 0xa50
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)\n\n{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}\n\n" comment (function_definition "void FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)\n\n{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" primitive_type (function_declarator "FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char param_4" primitive_type identifier) ))) (compound_statement "{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" { (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;" (assignment_expression "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (binary_expression "param_1[2] & 0x80000000" (subscript_expression "param_1[2]" identifier [ number_literal ]) & number_literal) | (binary_expression "param_3 & 0x7fffffff" identifier & number_literal))) ;) (expression_statement "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;" (assignment_expression "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (pointer_expression "*(byte *)((int)param_1 + 0xb)" * (cast_expression "(byte *)((int)param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (binary_expression "(byte)(param_3 >> 0x18) & 0x7f" (call_expression "(byte)(param_3 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_3 >> 0x18)" ( (binary_expression "param_3 >> 0x18" identifier >> number_literal) ))) & number_literal) | (binary_expression "param_4 << 7" identifier << number_literal))) ;) (if_statement "if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }" if (parenthesized_expression "((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff)))" ( (binary_expression "(2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))" (parenthesized_expression "(2 < param_3 + 0x80000003)" ( (binary_expression "2 < param_3 + 0x80000003" number_literal < (binary_expression "param_3 + 0x80000003" identifier + number_literal)) )) && (parenthesized_expression "(param_3 == (param_3 & 0x7fffffff))" ( (binary_expression "param_3 == (param_3 & 0x7fffffff)" identifier == (parenthesized_expression "(param_3 & 0x7fffffff)" ( (binary_expression "param_3 & 0x7fffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    *param_1 = param_2;\n    return;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);" (call_expression "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" identifier (argument_list "("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""Got_entry"" " string_content ") , (binary_expression "param_3 + 0x80000003" identifier + number_literal) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void Got_entry(Got_entry * this, Relobj * object, uint local_sym_index,\n   bool use_plt_or_tls_offset) */\n\nvoid __thiscall\ngold::Output_data_got<64,_false>::Got_entry::Got_entry\n          (Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)\n\n{\n  uint uVar1;\n  \n  uVar1 = *(uint *)&this->field_0x8;\n  *(undefined4 *)&this->addend_ = 0;\n  *(undefined4 *)((int)&this->addend_ + 4) = 0;\n  *(uint *)&this->field_0x8 = uVar1 & 0x80000000 | param_2 & 0x7fffffff;\n  this->field_0xb = (byte)(param_2 >> 0x18) & 0x7f | use_plt_or_tls_offset << 7;\n  if ((2 < param_2 + 0x80000003) && (param_2 == (param_2 & 0x7fffffff))) {\n    (this->u_).object = object;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xa50,"Got_entry");\n}\n\n" comment comment (declaration "void __thiscall\ngold::Output_data_got<64,_false>::Got_entry::Got_entry\n          (Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::Got_entry::Got_entry\n          (Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)\n\n{\n  uint" identifier > : : identifier : : (function_declarator "Got_entry\n          (Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)" identifier (parameter_list "(Got_entry *this,Relobj *object,uint param_2,bool use_plt_or_tls_offset)" ( (parameter_declaration "Got_entry *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Relobj *object" type_identifier (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "bool use_plt_or_tls_offset" primitive_type identifier) ))) { identifier) identifier ;) (expression_statement "uVar1 = *(uint *)&this->field_0x8;" (assignment_expression "uVar1 = *(uint *)&this->field_0x8" identifier = (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))))) ;) (expression_statement "*(undefined4 *)&this->addend_ = 0;" (assignment_expression "*(undefined4 *)&this->addend_ = 0" (pointer_expression "*(undefined4 *)&this->addend_" * (cast_expression "(undefined4 *)&this->addend_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->addend_" & (field_expression "this->addend_" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&this->addend_ + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&this->addend_ + 4) = 0" (pointer_expression "*(undefined4 *)((int)&this->addend_ + 4)" * (cast_expression "(undefined4 *)((int)&this->addend_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->addend_ + 4)" ( (binary_expression "(int)&this->addend_ + 4" (cast_expression "(int)&this->addend_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->addend_" & (field_expression "this->addend_" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)&this->field_0x8 = uVar1 & 0x80000000 | param_2 & 0x7fffffff;" (assignment_expression "*(uint *)&this->field_0x8 = uVar1 & 0x80000000 | param_2 & 0x7fffffff" (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 "uVar1 & 0x80000000 | param_2 & 0x7fffffff" (binary_expression "uVar1 & 0x80000000" identifier & number_literal) | (binary_expression "param_2 & 0x7fffffff" identifier & number_literal))) ;) (expression_statement "this->field_0xb = (byte)(param_2 >> 0x18) & 0x7f | use_plt_or_tls_offset << 7;" (assignment_expression "this->field_0xb = (byte)(param_2 >> 0x18) & 0x7f | use_plt_or_tls_offset << 7" (field_expression "this->field_0xb" identifier -> field_identifier) = (binary_expression "(byte)(param_2 >> 0x18) & 0x7f | use_plt_or_tls_offset << 7" (binary_expression "(byte)(param_2 >> 0x18) & 0x7f" (call_expression "(byte)(param_2 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_2 >> 0x18)" ( (binary_expression "param_2 >> 0x18" identifier >> number_literal) ))) & number_literal) | (binary_expression "use_plt_or_tls_offset << 7" identifier << number_literal))) ;) (if_statement "if ((2 < param_2 + 0x80000003) && (param_2 == (param_2 & 0x7fffffff))) {\n    (this->u_).object = object;\n    return;\n  }" if (parenthesized_expression "((2 < param_2 + 0x80000003) && (param_2 == (param_2 & 0x7fffffff)))" ( (binary_expression "(2 < param_2 + 0x80000003) && (param_2 == (param_2 & 0x7fffffff))" (parenthesized_expression "(2 < param_2 + 0x80000003)" ( (binary_expression "2 < param_2 + 0x80000003" number_literal < (binary_expression "param_2 + 0x80000003" identifier + number_literal)) )) && (parenthesized_expression "(param_2 == (param_2 & 0x7fffffff))" ( (binary_expression "param_2 == (param_2 & 0x7fffffff)" identifier == (parenthesized_expression "(param_2 & 0x7fffffff)" ( (binary_expression "param_2 & 0x7fffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    (this->u_).object = object;\n    return;\n  }" { (expression_statement "(this->u_).object = object;" (assignment_expression "(this->u_).object = object" (field_expression "(this->u_).object" (parenthesized_expression "(this->u_)" ( (field_expression "this->u_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xa50,"Got_entry");" (call_expression "do_gold_unreachable("../../gold/output.h",0xa50,"Got_entry")" identifier (argument_list "("../../gold/output.h",0xa50,"Got_entry")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""Got_entry"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)\n\n{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}\n\n" (function_definition "void FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)\n\n{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" primitive_type (function_declarator "FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "char param_4" primitive_type identifier) ))) (compound_statement "{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" { (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;" (assignment_expression "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (binary_expression "param_1[2] & 0x80000000" (subscript_expression "param_1[2]" identifier [ number_literal ]) & number_literal) | (binary_expression "param_3 & 0x7fffffff" identifier & number_literal))) ;) (expression_statement "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;" (assignment_expression "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (pointer_expression "*(byte *)((int)param_1 + 0xb)" * (cast_expression "(byte *)((int)param_1 + 0xb)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xb)" ( (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "(byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (binary_expression "(byte)(param_3 >> 0x18) & 0x7f" (call_expression "(byte)(param_3 >> 0x18)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(param_3 >> 0x18)" ( (binary_expression "param_3 >> 0x18" identifier >> number_literal) ))) & number_literal) | (binary_expression "param_4 << 7" identifier << number_literal))) ;) (if_statement "if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }" if (parenthesized_expression "((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff)))" ( (binary_expression "(2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))" (parenthesized_expression "(2 < param_3 + 0x80000003)" ( (binary_expression "2 < param_3 + 0x80000003" number_literal < (binary_expression "param_3 + 0x80000003" identifier + number_literal)) )) && (parenthesized_expression "(param_3 == (param_3 & 0x7fffffff))" ( (binary_expression "param_3 == (param_3 & 0x7fffffff)" identifier == (parenthesized_expression "(param_3 & 0x7fffffff)" ( (binary_expression "param_3 & 0x7fffffff" identifier & number_literal) ))) ))) )) (compound_statement "{\n    *param_1 = param_2;\n    return;\n  }" { (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);" (call_expression "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" identifier (argument_list "("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""Got_entry"" " string_content ") , (binary_expression "param_3 + 0x80000003" identifier + number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (subscript_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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) ))) & LIT) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })))
(function_definition "void FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)\n\n{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" (primitive_type "void") (function_declarator "FUN_000f96d0(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" (identifier "FUN_000f96d0") (parameter_list "(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) () ")"))) (compound_statement "{\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;\n  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;\n  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);\n}" ({ "{") (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;" (assignment_expression "param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "param_1[2] & 0x80000000 | param_3 & 0x7fffffff" (binary_expression "param_1[2] & 0x80000000" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (& "&") (number_literal "0x80000000")) (| "|") (binary_expression "param_3 & 0x7fffffff" (identifier "param_3") (& "&") (number_literal "0x7fffffff")))) (; ";")) (expression_statement "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;" (assignment_expression "*(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (pointer_expression "*(byte *)((int)param_1 + 0xb)" (* "*") (cast_expression "(byte *)((int)param_1 + 0xb)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xb)" (( "(") (binary_expression "(int)param_1 + 0xb" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xb")) () ")")))) (= "=") (binary_expression "(byte)(param_3 >> 0x18) & 0x7f | param_4 << 7" (binary_expression "(byte)(param_3 >> 0x18) & 0x7f" (call_expression "(byte)(param_3 >> 0x18)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(param_3 >> 0x18)" (( "(") (binary_expression "param_3 >> 0x18" (identifier "param_3") (>> ">>") (number_literal "0x18")) () ")"))) (& "&") (number_literal "0x7f")) (| "|") (binary_expression "param_4 << 7" (identifier "param_4") (<< "<<") (number_literal "7")))) (; ";")) (if_statement "if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {\n    *param_1 = param_2;\n    return;\n  }" (if "if") (parenthesized_expression "((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff)))" (( "(") (binary_expression "(2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))" (parenthesized_expression "(2 < param_3 + 0x80000003)" (( "(") (binary_expression "2 < param_3 + 0x80000003" (number_literal "2") (< "<") (binary_expression "param_3 + 0x80000003" (identifier "param_3") (+ "+") (number_literal "0x80000003"))) () ")")) (&& "&&") (parenthesized_expression "(param_3 == (param_3 & 0x7fffffff))" (( "(") (binary_expression "param_3 == (param_3 & 0x7fffffff)" (identifier "param_3") (== "==") (parenthesized_expression "(param_3 & 0x7fffffff)" (( "(") (binary_expression "param_3 & 0x7fffffff" (identifier "param_3") (& "&") (number_literal "0x7fffffff")) () ")"))) () ")"))) () ")")) (compound_statement "{\n    *param_1 = param_2;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);" (call_expression "FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" (identifier "FUN_0008b620") (argument_list "("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xa50") (, ",") (string_literal ""Got_entry"" (" """) (string_content "Got_entry") (" """)) (, ",") (binary_expression "param_3 + 0x80000003" (identifier "param_3") (+ "+") (number_literal "0x80000003")) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void Got_entry(Got_entry * this, Relobj * object, uint local_sym_index,
   bool use_plt_or_tls_offset) */

void __thiscall
gold::Output_data_got<64,_false>::Got_entry::Got_entry
          (Got_entry *this,Relobj *object,type_1 var_2,bool var_3)

{
  type_1 var_1;
  
  var_1 = *(type_1 *)&this->field_0x8;
  *(type_2 *)&this->addend_ = 0;
  *(type_2 *)((int)&this->addend_ + 4) = 0;
  *(type_1 *)&this->field_0x8 = var_1 & 0x80000000 | var_2 & 0x7fffffff;
  this->field_0xb = (byte)(var_2 >> 0x18) & 0x7f | var_3 << 7;
  if ((2 < var_2 + 0x80000003) && (var_2 == (var_2 & 0x7fffffff))) {
    (this->u_).object = object;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/output.h",0xa50,"Got_entry");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) right: (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: (identifier)) right: (identifier))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))))))

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

void MASKED(undefined4 *param_1,undefined4 param_2,uint param_3,char param_4)

{
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[2] = param_1[2] & 0x80000000 | param_3 & 0x7fffffff;
  *(byte *)((int)param_1 + 0xb) = (byte)(param_3 >> 0x18) & 0x7f | param_4 << 7;
  if ((2 < param_3 + 0x80000003) && (param_3 == (param_3 & 0x7fffffff))) {
    *param_1 = param_2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/output.h",0xa50,"Got_entry",param_3 + 0x80000003);
}

