
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void replace_got_entry(Output_data_got<64,_true> * this, uint i,
   Got_entry got_entry) */

void __thiscall
gold::Output_data_got<64,_true>::replace_got_entry
          (Output_data_got<64,_true> *this,uint i,Got_entry got_entry)

{
  pointer pGVar1;
  
  pGVar1 = (this->entries_).
           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>
           ._M_impl._M_start;
  if (i < (uint)(((int)(this->entries_).
                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>
                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)) {
    pGVar1 = pGVar1 + i;
    (pGVar1->u_).object = got_entry.u_.object;
    *(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_;
    *(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_;
    *(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_;
    *(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0x725,"replace_got_entry");
}



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

void FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7)

{
  undefined4 *puVar1;
  uint uVar2;
  
  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;
  if (param_2 < uVar2) {
    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);
    *puVar1 = param_3;
    puVar1[1] = param_4;
    puVar1[2] = param_5;
    puVar1[3] = param_6;
    puVar1[4] = param_7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x2891ba
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EAX + 0x2c]
MOV EAX,dword ptr [EAX + 0x30]
SUB EAX,ECX
SAR EAX,0x2
IMUL EAX,EAX,-0x33333333
CMP EDX,EAX
JNC 0x00105e99
LEA EAX,[EDX + EDX*0x4]
MOV EDX,dword ptr [ESP + 0x18]
LEA EAX,[ECX + EAX*0x4]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x4],EDX
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0xc],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX + 0x10],EDX
ADD ESP,0x8
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xfff038a0]
PUSH EAX
LEA EAX,[EBX + 0xfff0336b]
PUSH 0x725
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}\n\n" comment (function_definition "void FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" primitive_type (function_declarator "FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;" (assignment_expression "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" identifier = (binary_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" (parenthesized_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2" (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c)" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) >> number_literal) )) * number_literal)) ;) (if_statement "if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" ( (binary_expression "*(int *)(param_1 + 0x2c) + param_2 * 0x14" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (binary_expression "param_2 * 0x14" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = param_4;" (assignment_expression "puVar1[1] = param_4" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_5;" (assignment_expression "puVar1[2] = param_5" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = param_6;" (assignment_expression "puVar1[3] = param_6" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = param_7;" (assignment_expression "puVar1[4] = param_7" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" identifier (argument_list "("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""replace_got_entry"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void replace_got_entry(Output_data_got<64,_true> * this, uint i,\n   Got_entry got_entry) */\n\nvoid __thiscall\ngold::Output_data_got<64,_true>::replace_got_entry\n          (Output_data_got<64,_true> *this,uint i,Got_entry got_entry)\n\n{\n  pointer pGVar1;\n  \n  pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n           ._M_impl._M_start;\n  if (i < (uint)(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)) {\n    pGVar1 = pGVar1 + i;\n    (pGVar1->u_).object = got_entry.u_.object;\n    *(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_;\n    *(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_;\n    *(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_;\n    *(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x725,"replace_got_entry");\n}\n\n" comment comment (declaration "void __thiscall\ngold::Output_data_got<64,_true>::replace_got_entry\n          (Output_data_got<64,_true> *this,uint i,Got_entry got_entry)\n\n{\n  pointer pGVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::replace_got_entry\n          (Output_data_got<64,_true> *this,uint i,Got_entry got_entry)\n\n{\n  pointer" identifier > : : (function_declarator "replace_got_entry\n          (Output_data_got<64,_true> *this,uint i,Got_entry got_entry)" identifier (parameter_list "(Output_data_got<64,_true> *this,uint i,Got_entry got_entry)" ( (parameter_declaration "Output_data_got" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint i" type_identifier identifier) , (parameter_declaration "Got_entry got_entry" type_identifier identifier) ))) { identifier) identifier ;) (expression_statement "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n           ._M_impl._M_start;" (field_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n           ._M_impl._M_start" (field_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n           ._M_impl" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64,_true>::Got_entry" (binary_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold::Output_data_got<64" (assignment_expression "pGVar1 = (this->entries_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->entries_).\n           super__Vector_base<gold" (field_expression "(this->entries_).\n           super__Vector_base" (parenthesized_expression "(this->entries_)" ( (field_expression "this->entries_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_data_got" : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) identifier) (ERROR ",_std::allocator" , identifier : : identifier) < identifier) (ERROR "::Output_data_got" : : identifier) < number_literal) (ERROR ",_true" , identifier) > (ERROR "::" : :) identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (i < (uint)(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)) {\n    pGVar1 = pGVar1 + i;\n    (pGVar1->u_).object = got_entry.u_.object;\n    *(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_;\n    *(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_;\n    *(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_;\n    *(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_;\n    return;\n  }" if (parenthesized_expression "(i < (uint)(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333))" ( (binary_expression "i < (uint)(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)" identifier < (call_expression "(uint)(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333)" ( (binary_expression "((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2) * -0x33333333" (parenthesized_expression "((int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2)" ( (ERROR "(int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std::allocator<gold::" (comma_expression "(int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64,_true>::Got_entry,_std" (binary_expression "(int)(this->entries_).\n                       super__Vector_base<gold::Output_data_got<64" (binary_expression "(int)(this->entries_).\n                       super__Vector_base<gold" (cast_expression "(int)(this->entries_).\n                       super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->entries_).\n                       super__Vector_base" (parenthesized_expression "(this->entries_)" ( (field_expression "this->entries_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Output_data_got" : : identifier) < number_literal) , (comma_expression "_true>::Got_entry,_std" (binary_expression "_true>::Got_entry" identifier > (ERROR "::" : :) identifier) , identifier)) : : (binary_expression "allocator<gold" identifier < identifier) : :) (comma_expression "Output_data_got<64,_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2" (binary_expression "Output_data_got<64" identifier < number_literal) , (binary_expression "_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1 >> 2" (binary_expression "_true>::Got_entry>_>\n                       ._M_impl._M_finish - (int)pGVar1" (field_expression "_true>::Got_entry>_>\n                       ._M_impl._M_finish" (field_expression "_true>::Got_entry>_>\n                       ._M_impl" (binary_expression "_true>::Got_entry>_" (binary_expression "_true>::Got_entry" identifier > (ERROR "::" : :) identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)pGVar1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) )) * number_literal) )))) )) (compound_statement "{\n    pGVar1 = pGVar1 + i;\n    (pGVar1->u_).object = got_entry.u_.object;\n    *(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_;\n    *(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_;\n    *(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_;\n    *(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_;\n    return;\n  }" { (expression_statement "pGVar1 = pGVar1 + i;" (assignment_expression "pGVar1 = pGVar1 + i" identifier = (binary_expression "pGVar1 + i" identifier + identifier)) ;) (expression_statement "(pGVar1->u_).object = got_entry.u_.object;" (assignment_expression "(pGVar1->u_).object = got_entry.u_.object" (field_expression "(pGVar1->u_).object" (parenthesized_expression "(pGVar1->u_)" ( (field_expression "pGVar1->u_" identifier -> field_identifier) )) . field_identifier) = (field_expression "got_entry.u_.object" (field_expression "got_entry.u_" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_;" (assignment_expression "*(undefined4 *)((int)&pGVar1->u_ + 4) = got_entry.u_.constant._4_4_" (pointer_expression "*(undefined4 *)((int)&pGVar1->u_ + 4)" * (cast_expression "(undefined4 *)((int)&pGVar1->u_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pGVar1->u_ + 4)" ( (binary_expression "(int)&pGVar1->u_ + 4" (cast_expression "(int)&pGVar1->u_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pGVar1->u_" & (field_expression "pGVar1->u_" identifier -> field_identifier))) + number_literal) )))) = (field_expression "got_entry.u_.constant._4_4_" (field_expression "got_entry.u_.constant" (field_expression "got_entry.u_" identifier . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "*(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_;" (assignment_expression "*(undefined4 *)&pGVar1->field_0x8 = got_entry._8_4_" (pointer_expression "*(undefined4 *)&pGVar1->field_0x8" * (cast_expression "(undefined4 *)&pGVar1->field_0x8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pGVar1->field_0x8" & (field_expression "pGVar1->field_0x8" identifier -> field_identifier)))) = (field_expression "got_entry._8_4_" identifier . field_identifier)) ;) (expression_statement "*(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_;" (assignment_expression "*(undefined4 *)&pGVar1->addend_ = (undefined4)got_entry.addend_" (pointer_expression "*(undefined4 *)&pGVar1->addend_" * (cast_expression "(undefined4 *)&pGVar1->addend_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pGVar1->addend_" & (field_expression "pGVar1->addend_" identifier -> field_identifier)))) = (cast_expression "(undefined4)got_entry.addend_" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "got_entry.addend_" identifier . field_identifier))) ;) (expression_statement "*(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_;" (assignment_expression "*(undefined4 *)((int)&pGVar1->addend_ + 4) = got_entry.addend_._4_4_" (pointer_expression "*(undefined4 *)((int)&pGVar1->addend_ + 4)" * (cast_expression "(undefined4 *)((int)&pGVar1->addend_ + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pGVar1->addend_ + 4)" ( (binary_expression "(int)&pGVar1->addend_ + 4" (cast_expression "(int)&pGVar1->addend_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pGVar1->addend_" & (field_expression "pGVar1->addend_" identifier -> field_identifier))) + number_literal) )))) = (field_expression "got_entry.addend_._4_4_" (field_expression "got_entry.addend_" identifier . field_identifier) . field_identifier)) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x725,"replace_got_entry");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x725,"replace_got_entry")" identifier (argument_list "("../../gold/output.cc",0x725,"replace_got_entry")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""replace_got_entry"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}\n\n" (function_definition "void FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" primitive_type (function_declarator "FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "undefined4 param_7" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;" (assignment_expression "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" identifier = (binary_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" (parenthesized_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2)" ( (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2" (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c)" (pointer_expression "*(int *)(param_1 + 0x30)" * (cast_expression "(int *)(param_1 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) - (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) ))))) >> number_literal) )) * number_literal)) ;) (if_statement "if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" if (parenthesized_expression "(param_2 < uVar2)" ( (binary_expression "param_2 < uVar2" identifier < identifier) )) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" { (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" ( (binary_expression "*(int *)(param_1 + 0x2c) + param_2 * 0x14" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (binary_expression "param_2 * 0x14" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = param_4;" (assignment_expression "puVar1[1] = param_4" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = param_5;" (assignment_expression "puVar1[2] = param_5" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = param_6;" (assignment_expression "puVar1[3] = param_6" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = param_7;" (assignment_expression "puVar1[4] = param_7" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" identifier (argument_list "("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""replace_got_entry"" " 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)\n\n{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" (primitive_type "void") (function_declarator "FUN_00105e40(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" (identifier "FUN_00105e40") (parameter_list "(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,\n                 undefined4 param_6,undefined4 param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 param_7" (type_identifier "undefined4") (identifier "param_7")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  uint uVar2;\n  \n  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;\n  if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;" (assignment_expression "uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" (identifier "uVar2") (= "=") (binary_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333" (parenthesized_expression "(*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2)" (( "(") (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2" (binary_expression "*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c)" (pointer_expression "*(int *)(param_1 + 0x30)" (* "*") (cast_expression "(int *)(param_1 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (- "-") (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")"))))) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "-0x33333333"))) (; ";")) (if_statement "if (param_2 < uVar2) {\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 < uVar2)" (( "(") (binary_expression "param_2 < uVar2" (identifier "param_2") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);\n    *puVar1 = param_3;\n    puVar1[1] = param_4;\n    puVar1[2] = param_5;\n    puVar1[3] = param_6;\n    puVar1[4] = param_7;\n    return;\n  }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + param_2 * 0x14)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + param_2 * 0x14" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (binary_expression "param_2 * 0x14" (identifier "param_2") (* "*") (number_literal "0x14"))) () ")")))) (; ";")) (expression_statement "*puVar1 = param_3;" (assignment_expression "*puVar1 = param_3" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar1[1] = param_4;" (assignment_expression "puVar1[1] = param_4" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar1[2] = param_5;" (assignment_expression "puVar1[2] = param_5" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar1[3] = param_6;" (assignment_expression "puVar1[3] = param_6" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar1[4] = param_7;" (assignment_expression "puVar1[4] = param_7" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_7")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.cc",0x725,"replace_got_entry",uVar2)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x725") (, ",") (string_literal ""replace_got_entry"" (" """) (string_content "replace_got_entry") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void replace_got_entry(Output_data_got<64,_true> * this, uint i,
   Got_entry got_entry) */

void __thiscall
var_1::var_5<64,var_6>::replace_got_entry
          (var_5<64,var_6> *this,uint var_4,var_2 got_entry)

{
  pointer var_7;
  
  var_7 = (this->entries_).
           super__Vector_base<var_1::var_5<64,var_6>::var_2,_std::allocator<var_1::var_5<64,var_6>::var_2>var_3>
           ._M_impl._M_start;
  if (var_4 < (uint)(((int)(this->entries_).
                       super__Vector_base<var_1::var_5<64,var_6>::var_2,_std::allocator<var_1::var_5<64,var_6>::var_2>var_3>
                       ._M_impl._M_finish - (int)var_7 >> 2) * -0x33333333)) {
    var_7 = var_7 + var_4;
    (var_7->u_).object = got_entry.u_.object;
    *(type_1 *)((int)&var_7->u_ + 4) = got_entry.u_.constant._4_4_;
    *(type_1 *)&var_7->field_0x8 = got_entry._8_4_;
    *(type_1 *)&var_7->addend_ = (type_1)got_entry.addend_;
    *(type_1 *)((int)&var_7->addend_ + 4) = got_entry.addend_._4_4_;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_8("../../gold/output.cc",0x725,"replace_got_entry");
}


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

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

void MASKED(int param_1,uint param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5,
                 undefined4 param_6,undefined4 param_7)

{
  undefined4 *puVar1;
  uint uVar2;
  
  uVar2 = (*(int *)(param_1 + 0x30) - *(int *)(param_1 + 0x2c) >> 2) * -0x33333333;
  if (param_2 < uVar2) {
    puVar1 = (undefined4 *)(*(int *)(param_1 + 0x2c) + param_2 * 0x14);
    *puVar1 = param_3;
    puVar1[1] = param_4;
    puVar1[2] = param_5;
    puVar1[3] = param_6;
    puVar1[4] = param_7;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x725,"replace_got_entry",uVar2);
}

