
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_incremental_relocs(Relobj * this, Layout * layout, bool
   clear_counts) */

void __thiscall
gold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)

{
  Incremental_inputs *pIVar1;
  uint *puVar2;
  int *piVar3;
  uint *puVar4;
  uint uVar5;
  uint uVar6;
  uint uVar7;
  
  piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);
  uVar7 = piVar3[1] - *piVar3 >> 2;
  if (0x1fffffff < uVar7) {
                    /* WARNING: Subroutine does not return */
    __cxa_throw_bad_array_new_length();
  }
  puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3);
  this->reloc_bases_ = puVar4;
  pIVar1 = layout->incremental_inputs_;
  if (pIVar1 != (Incremental_inputs *)0x0) {
    uVar6 = pIVar1->reloc_count_;
    if (uVar7 != 0) {
      puVar2 = this->reloc_counts_;
      uVar5 = 0;
      do {
        puVar4[uVar5] = uVar6;
        uVar6 = uVar6 + puVar2[uVar5];
        if (clear_counts) {
          puVar2[uVar5] = 0;
        }
        uVar5 = uVar5 + 1;
      } while (uVar7 != uVar5);
    }
    pIVar1->reloc_count_ = uVar6;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
}



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

void FUN_000b1e40(int *param_1,int param_2,char param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  
  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);
  uVar7 = piVar3[1] - *piVar3 >> 2;
  if (0x1fffffff < uVar7) {
                    /* WARNING: Subroutine does not return */
    FUN_001e6740();
  }
  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);
  param_1[0x17] = iVar4;
  iVar1 = *(int *)(param_2 + 0x1d0);
  if (iVar1 != 0) {
    iVar6 = *(int *)(iVar1 + 0x44);
    if (uVar7 != 0) {
      iVar2 = param_1[0x16];
      uVar5 = 0;
      do {
        *(int *)(iVar4 + uVar5 * 4) = iVar6;
        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);
        if (param_3 != '\0') {
          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;
        }
        uVar5 = uVar5 + 1;
      } while (uVar7 != uVar5);
    }
    *(int *)(iVar1 + 0x44) = iVar6;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2dd1b7
SUB ESP,0x28
MOV EBP,dword ptr [ESP + 0x3c]
MOVZX EDI,byte ptr [ESP + 0x44]
MOV EAX,dword ptr [EBP]
PUSH EBP
CALL dword ptr [EAX + 0x74]
MOV EDX,dword ptr [EAX + 0x4]
SUB EDX,dword ptr [EAX]
ADD ESP,0x10
MOV ESI,EDX
SAR ESI,0x2
CMP ESI,0x1fffffff
JA 0x0002b4ce
SUB ESP,0xc
PUSH EDX
CALL 0x001e5180
MOV EDX,dword ptr [ESP + 0x44]
MOV dword ptr [EBP + 0x5c],EAX
MOV ECX,dword ptr [EDX + 0x1d0]
MOV dword ptr [ESP + 0x1c],ECX
ADD ESP,0x10
TEST ECX,ECX
JZ 0x000b1edb
MOV EBX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [EBX + 0x44]
TEST ESI,ESI
JZ 0x000b1ecc
MOV EBP,dword ptr [EBP + 0x58]
XOR EDX,EDX
LEA ESI,[ESI]
MOV ECX,EDI
MOV dword ptr [EAX + EDX*0x4],EBX
ADD EBX,dword ptr [EBP + EDX*0x4]
TEST CL,CL
JZ 0x000b1ec5
MOV dword ptr [EBP + EDX*0x4],0x0
ADD EDX,0x1
CMP ESI,EDX
JNZ 0x000b1eb0
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0x44],EBX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xffefe5b0]
PUSH EAX
LEA EAX,[EBX + 0xffefd078]
PUSH 0x18c
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b1e40(int *param_1,int param_2,char param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}\n\n" comment (function_definition "void FUN_000b1e40(int *param_1,int param_2,char param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" primitive_type (function_declarator "FUN_000b1e40(int *param_1,int param_2,char param_3)" identifier (parameter_list "(int *param_1,int param_2,char param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);" (assignment_expression "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1)" identifier = (cast_expression "(int *)(**(code **)(*param_1 + 0x74))(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x74))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x74))" ( (pointer_expression "**(code **)(*param_1 + 0x74)" * (pointer_expression "*(code **)(*param_1 + 0x74)" * (cast_expression "(code **)(*param_1 + 0x74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x74)" ( (binary_expression "*param_1 + 0x74" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "uVar7 = piVar3[1] - *piVar3 >> 2;" (assignment_expression "uVar7 = piVar3[1] - *piVar3 >> 2" identifier = (binary_expression "piVar3[1] - *piVar3 >> 2" (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) >> number_literal)) ;) (if_statement "if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6740();\n  }" if (parenthesized_expression "(0x1fffffff < uVar7)" ( (binary_expression "0x1fffffff < uVar7" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_001e6740();\n  }" { comment (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = FUN_001e5180(piVar3[1] - *piVar3);" (assignment_expression "iVar4 = FUN_001e5180(piVar3[1] - *piVar3)" identifier = (call_expression "FUN_001e5180(piVar3[1] - *piVar3)" identifier (argument_list "(piVar3[1] - *piVar3)" ( (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) )))) ;) (expression_statement "param_1[0x17] = iVar4;" (assignment_expression "param_1[0x17] = iVar4" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x1d0);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1d0)" identifier = (pointer_expression "*(int *)(param_2 + 0x1d0)" * (cast_expression "(int *)(param_2 + 0x1d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1d0)" ( (binary_expression "param_2 + 0x1d0" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" { (expression_statement "iVar6 = *(int *)(iVar1 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x44)" identifier = (pointer_expression "*(int *)(iVar1 + 0x44)" * (cast_expression "(int *)(iVar1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x44)" ( (binary_expression "iVar1 + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" { (expression_statement "iVar2 = param_1[0x16];" (assignment_expression "iVar2 = param_1[0x16]" identifier = (subscript_expression "param_1[0x16]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);" do (compound_statement "{\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      }" { (expression_statement "*(int *)(iVar4 + uVar5 * 4) = iVar6;" (assignment_expression "*(int *)(iVar4 + uVar5 * 4) = iVar6" (pointer_expression "*(int *)(iVar4 + uVar5 * 4)" * (cast_expression "(int *)(iVar4 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar5 * 4)" ( (binary_expression "iVar4 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4)" identifier = (binary_expression "iVar6 + *(int *)(iVar2 + uVar5 * 4)" identifier + (pointer_expression "*(int *)(iVar2 + uVar5 * 4)" * (cast_expression "(int *)(iVar2 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar5 * 4)" ( (binary_expression "iVar2 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))))) ;) (if_statement "if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" { (expression_statement "*(undefined4 *)(iVar2 + uVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + uVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + uVar5 * 4)" * (cast_expression "(undefined4 *)(iVar2 + uVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar5 * 4)" ( (binary_expression "iVar2 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != uVar5)" ( (binary_expression "uVar7 != uVar5" identifier != identifier) )) ;) })) (expression_statement "*(int *)(iVar1 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x44)" * (cast_expression "(int *)(iVar1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x44)" ( (binary_expression "iVar1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);" (call_expression "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void finalize_incremental_relocs(Relobj * this, Layout * layout, bool\n   clear_counts) */\n\nvoid __thiscall\ngold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)\n\n{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int *piVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw_bad_array_new_length();\n  }\n  puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3);\n  this->reloc_bases_ = puVar4;\n  pIVar1 = layout->incremental_inputs_;\n  if (pIVar1 != (Incremental_inputs *)0x0) {\n    uVar6 = pIVar1->reloc_count_;\n    if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    pIVar1->reloc_count_ = uVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Relobj::finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)\n\n{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int *piVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw_bad_array_new_length();\n  }\n  puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3);\n  this->reloc_bases_ = puVar4;\n  pIVar1 = layout->incremental_inputs_;\n  if (pIVar1 != (Incremental_inputs *)0x0) {\n    uVar6 = pIVar1->reloc_count_;\n    if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    pIVar1->reloc_count_ = uVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Relobj::" identifier : : identifier : :) (function_declarator "finalize_incremental_relocs(Relobj *this,Layout *layout,bool clear_counts)" identifier (parameter_list "(Relobj *this,Layout *layout,bool clear_counts)" ( (parameter_declaration "Relobj *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "bool clear_counts" primitive_type identifier) ))) (compound_statement "{\n  Incremental_inputs *pIVar1;\n  uint *puVar2;\n  int *piVar3;\n  uint *puVar4;\n  uint uVar5;\n  uint uVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw_bad_array_new_length();\n  }\n  puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3);\n  this->reloc_bases_ = puVar4;\n  pIVar1 = layout->incremental_inputs_;\n  if (pIVar1 != (Incremental_inputs *)0x0) {\n    uVar6 = pIVar1->reloc_count_;\n    if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    pIVar1->reloc_count_ = uVar6;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");\n}" { (declaration "Incremental_inputs *pIVar1;" type_identifier (pointer_declarator "*pIVar1" * identifier) ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);" (assignment_expression "piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this)" identifier = (cast_expression "(int *)(*(this->super_Object)._vptr_Object[0x1d])(this)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(this->super_Object)._vptr_Object[0x1d])(this)" (parenthesized_expression "(*(this->super_Object)._vptr_Object[0x1d])" ( (pointer_expression "*(this->super_Object)._vptr_Object[0x1d]" * (subscript_expression "(this->super_Object)._vptr_Object[0x1d]" (field_expression "(this->super_Object)._vptr_Object" (parenthesized_expression "(this->super_Object)" ( (field_expression "this->super_Object" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(this)" ( identifier ))))) ;) (expression_statement "uVar7 = piVar3[1] - *piVar3 >> 2;" (assignment_expression "uVar7 = piVar3[1] - *piVar3 >> 2" identifier = (binary_expression "piVar3[1] - *piVar3 >> 2" (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) >> number_literal)) ;) (if_statement "if (0x1fffffff < uVar7) {\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw_bad_array_new_length();\n  }" if (parenthesized_expression "(0x1fffffff < uVar7)" ( (binary_expression "0x1fffffff < uVar7" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __cxa_throw_bad_array_new_length();\n  }" { comment (expression_statement "__cxa_throw_bad_array_new_length();" (call_expression "__cxa_throw_bad_array_new_length()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3);" (assignment_expression "puVar4 = (uint *)operator_new__(piVar3[1] - *piVar3)" identifier = (cast_expression "(uint *)operator_new__(piVar3[1] - *piVar3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(piVar3[1] - *piVar3)" identifier (argument_list "(piVar3[1] - *piVar3)" ( (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) ))))) ;) (expression_statement "this->reloc_bases_ = puVar4;" (assignment_expression "this->reloc_bases_ = puVar4" (field_expression "this->reloc_bases_" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar1 = layout->incremental_inputs_;" (assignment_expression "pIVar1 = layout->incremental_inputs_" identifier = (field_expression "layout->incremental_inputs_" identifier -> field_identifier)) ;) (if_statement "if (pIVar1 != (Incremental_inputs *)0x0) {\n    uVar6 = pIVar1->reloc_count_;\n    if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    pIVar1->reloc_count_ = uVar6;\n    return;\n  }" if (parenthesized_expression "(pIVar1 != (Incremental_inputs *)0x0)" ( (binary_expression "pIVar1 != (Incremental_inputs *)0x0" identifier != (cast_expression "(Incremental_inputs *)0x0" ( (type_descriptor "Incremental_inputs *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar6 = pIVar1->reloc_count_;\n    if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    pIVar1->reloc_count_ = uVar6;\n    return;\n  }" { (expression_statement "uVar6 = pIVar1->reloc_count_;" (assignment_expression "uVar6 = pIVar1->reloc_count_" identifier = (field_expression "pIVar1->reloc_count_" identifier -> field_identifier)) ;) (if_statement "if (uVar7 != 0) {\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      puVar2 = this->reloc_counts_;\n      uVar5 = 0;\n      do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" { (expression_statement "puVar2 = this->reloc_counts_;" (assignment_expression "puVar2 = this->reloc_counts_" identifier = (field_expression "this->reloc_counts_" identifier -> field_identifier)) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);" do (compound_statement "{\n        puVar4[uVar5] = uVar6;\n        uVar6 = uVar6 + puVar2[uVar5];\n        if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }\n        uVar5 = uVar5 + 1;\n      }" { (expression_statement "puVar4[uVar5] = uVar6;" (assignment_expression "puVar4[uVar5] = uVar6" (subscript_expression "puVar4[uVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "uVar6 = uVar6 + puVar2[uVar5];" (assignment_expression "uVar6 = uVar6 + puVar2[uVar5]" identifier = (binary_expression "uVar6 + puVar2[uVar5]" identifier + (subscript_expression "puVar2[uVar5]" identifier [ identifier ]))) ;) (if_statement "if (clear_counts) {\n          puVar2[uVar5] = 0;\n        }" if (parenthesized_expression "(clear_counts)" ( identifier )) (compound_statement "{\n          puVar2[uVar5] = 0;\n        }" { (expression_statement "puVar2[uVar5] = 0;" (assignment_expression "puVar2[uVar5] = 0" (subscript_expression "puVar2[uVar5]" identifier [ identifier ]) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != uVar5)" ( (binary_expression "uVar7 != uVar5" identifier != identifier) )) ;) })) (expression_statement "pIVar1->reloc_count_ = uVar6;" (assignment_expression "pIVar1->reloc_count_ = uVar6" (field_expression "pIVar1->reloc_count_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs");" (call_expression "do_gold_unreachable("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs")" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000b1e40(int *param_1,int param_2,char param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}\n\n" (function_definition "void FUN_000b1e40(int *param_1,int param_2,char param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" primitive_type (function_declarator "FUN_000b1e40(int *param_1,int param_2,char param_3)" identifier (parameter_list "(int *param_1,int param_2,char param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (expression_statement "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);" (assignment_expression "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1)" identifier = (cast_expression "(int *)(**(code **)(*param_1 + 0x74))(param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x74))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x74))" ( (pointer_expression "**(code **)(*param_1 + 0x74)" * (pointer_expression "*(code **)(*param_1 + 0x74)" * (cast_expression "(code **)(*param_1 + 0x74)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x74)" ( (binary_expression "*param_1 + 0x74" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "uVar7 = piVar3[1] - *piVar3 >> 2;" (assignment_expression "uVar7 = piVar3[1] - *piVar3 >> 2" identifier = (binary_expression "piVar3[1] - *piVar3 >> 2" (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) >> number_literal)) ;) (if_statement "if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }" if (parenthesized_expression "(0x1fffffff < uVar7)" ( (binary_expression "0x1fffffff < uVar7" number_literal < identifier) )) (compound_statement "{\n                    \n    FUN_001e6740();\n  }" { (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar4 = FUN_001e5180(piVar3[1] - *piVar3);" (assignment_expression "iVar4 = FUN_001e5180(piVar3[1] - *piVar3)" identifier = (call_expression "FUN_001e5180(piVar3[1] - *piVar3)" identifier (argument_list "(piVar3[1] - *piVar3)" ( (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" identifier [ number_literal ]) - (pointer_expression "*piVar3" * identifier)) )))) ;) (expression_statement "param_1[0x17] = iVar4;" (assignment_expression "param_1[0x17] = iVar4" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = *(int *)(param_2 + 0x1d0);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1d0)" identifier = (pointer_expression "*(int *)(param_2 + 0x1d0)" * (cast_expression "(int *)(param_2 + 0x1d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1d0)" ( (binary_expression "param_2 + 0x1d0" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" { (expression_statement "iVar6 = *(int *)(iVar1 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x44)" identifier = (pointer_expression "*(int *)(iVar1 + 0x44)" * (cast_expression "(int *)(iVar1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x44)" ( (binary_expression "iVar1 + 0x44" identifier + number_literal) ))))) ;) (if_statement "if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" { (expression_statement "iVar2 = param_1[0x16];" (assignment_expression "iVar2 = param_1[0x16]" identifier = (subscript_expression "param_1[0x16]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);" do (compound_statement "{\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      }" { (expression_statement "*(int *)(iVar4 + uVar5 * 4) = iVar6;" (assignment_expression "*(int *)(iVar4 + uVar5 * 4) = iVar6" (pointer_expression "*(int *)(iVar4 + uVar5 * 4)" * (cast_expression "(int *)(iVar4 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar5 * 4)" ( (binary_expression "iVar4 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4)" identifier = (binary_expression "iVar6 + *(int *)(iVar2 + uVar5 * 4)" identifier + (pointer_expression "*(int *)(iVar2 + uVar5 * 4)" * (cast_expression "(int *)(iVar2 + uVar5 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar5 * 4)" ( (binary_expression "iVar2 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))))) ;) (if_statement "if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" { (expression_statement "*(undefined4 *)(iVar2 + uVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + uVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + uVar5 * 4)" * (cast_expression "(undefined4 *)(iVar2 + uVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar5 * 4)" ( (binary_expression "iVar2 + uVar5 * 4" identifier + (binary_expression "uVar5 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != uVar5)" ( (binary_expression "uVar7 != uVar5" identifier != identifier) )) ;) })) (expression_statement "*(int *)(iVar1 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x44)" * (cast_expression "(int *)(iVar1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x44)" ( (binary_expression "iVar1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);" (call_expression "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" identifier (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" ( (string_literal ""../../gold/object.cc"" " string_content ") , number_literal , (string_literal ""finalize_incremental_relocs"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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_000b1e40(int *param_1,int param_2,char param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" (primitive_type "void") (function_declarator "FUN_000b1e40(int *param_1,int param_2,char param_3)" (identifier "FUN_000b1e40") (parameter_list "(int *param_1,int param_2,char param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char param_3" (primitive_type "char") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  \n  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);\n  uVar7 = piVar3[1] - *piVar3 >> 2;\n  if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }\n  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);\n  param_1[0x17] = iVar4;\n  iVar1 = *(int *)(param_2 + 0x1d0);\n  if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (expression_statement "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);" (assignment_expression "piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1)" (identifier "piVar3") (= "=") (cast_expression "(int *)(**(code **)(*param_1 + 0x74))(param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*param_1 + 0x74))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x74))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x74)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x74)" (* "*") (cast_expression "(code **)(*param_1 + 0x74)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x74)" (( "(") (binary_expression "*param_1 + 0x74" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x74")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "uVar7 = piVar3[1] - *piVar3 >> 2;" (assignment_expression "uVar7 = piVar3[1] - *piVar3 >> 2" (identifier "uVar7") (= "=") (binary_expression "piVar3[1] - *piVar3 >> 2" (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (- "-") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (0x1fffffff < uVar7) {\n                    \n    FUN_001e6740();\n  }" (if "if") (parenthesized_expression "(0x1fffffff < uVar7)" (( "(") (binary_expression "0x1fffffff < uVar7" (number_literal "0x1fffffff") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n                    \n    FUN_001e6740();\n  }" ({ "{") (expression_statement "FUN_001e6740();" (call_expression "FUN_001e6740()" (identifier "FUN_001e6740") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_001e5180(piVar3[1] - *piVar3);" (assignment_expression "iVar4 = FUN_001e5180(piVar3[1] - *piVar3)" (identifier "iVar4") (= "=") (call_expression "FUN_001e5180(piVar3[1] - *piVar3)" (identifier "FUN_001e5180") (argument_list "(piVar3[1] - *piVar3)" (( "(") (binary_expression "piVar3[1] - *piVar3" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (- "-") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) () ")")))) (; ";")) (expression_statement "param_1[0x17] = iVar4;" (assignment_expression "param_1[0x17] = iVar4" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar1 = *(int *)(param_2 + 0x1d0);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1d0)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 0x1d0)" (* "*") (cast_expression "(int *)(param_2 + 0x1d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1d0)" (( "(") (binary_expression "param_2 + 0x1d0" (identifier "param_2") (+ "+") (number_literal "0x1d0")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(iVar1 + 0x44);\n    if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }\n    *(int *)(iVar1 + 0x44) = iVar6;\n    return;\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar1 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar1 + 0x44)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar1 + 0x44)" (* "*") (cast_expression "(int *)(iVar1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x44)" (( "(") (binary_expression "iVar1 + 0x44" (identifier "iVar1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (if_statement "if (uVar7 != 0) {\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = param_1[0x16];\n      uVar5 = 0;\n      do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);\n    }" ({ "{") (expression_statement "iVar2 = param_1[0x16];" (assignment_expression "iVar2 = param_1[0x16]" (identifier "iVar2") (= "=") (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      } while (uVar7 != uVar5);" (do "do") (compound_statement "{\n        *(int *)(iVar4 + uVar5 * 4) = iVar6;\n        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);\n        if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }\n        uVar5 = uVar5 + 1;\n      }" ({ "{") (expression_statement "*(int *)(iVar4 + uVar5 * 4) = iVar6;" (assignment_expression "*(int *)(iVar4 + uVar5 * 4) = iVar6" (pointer_expression "*(int *)(iVar4 + uVar5 * 4)" (* "*") (cast_expression "(int *)(iVar4 + uVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar5 * 4)" (( "(") (binary_expression "iVar4 + uVar5 * 4" (identifier "iVar4") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4)" (identifier "iVar6") (= "=") (binary_expression "iVar6 + *(int *)(iVar2 + uVar5 * 4)" (identifier "iVar6") (+ "+") (pointer_expression "*(int *)(iVar2 + uVar5 * 4)" (* "*") (cast_expression "(int *)(iVar2 + uVar5 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar5 * 4)" (( "(") (binary_expression "iVar2 + uVar5 * 4" (identifier "iVar2") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))))) (; ";")) (if_statement "if (param_3 != '\0') {\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" (if "if") (parenthesized_expression "(param_3 != '\0')" (( "(") (binary_expression "param_3 != '\0'" (identifier "param_3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)(iVar2 + uVar5 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar2 + uVar5 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar2 + uVar5 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + uVar5 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar5 * 4)" (( "(") (binary_expression "iVar2 + uVar5 * 4" (identifier "iVar2") (+ "+") (binary_expression "uVar5 * 4" (identifier "uVar5") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != uVar5)" (( "(") (binary_expression "uVar7 != uVar5" (identifier "uVar7") (!= "!=") (identifier "uVar5")) () ")")) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar1 + 0x44) = iVar6;" (assignment_expression "*(int *)(iVar1 + 0x44) = iVar6" (pointer_expression "*(int *)(iVar1 + 0x44)" (* "*") (cast_expression "(int *)(iVar1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x44)" (( "(") (binary_expression "iVar1 + 0x44" (identifier "iVar1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);" (call_expression "FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" (identifier "FUN_00069d00") (argument_list "("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4)" (( "(") (string_literal ""../../gold/object.cc"" (" """) (string_content "../../gold/object.cc") (" """)) (, ",") (number_literal "0x18c") (, ",") (string_literal ""finalize_incremental_relocs"" (" """) (string_content "finalize_incremental_relocs") (" """)) (, ",") (identifier "iVar4") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_incremental_relocs(Relobj * this, Layout * layout, bool
   clear_counts) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *layout,bool clear_counts)

{
  type_3 *var_4;
  type_4 *puVar2;
  int *piVar3;
  type_4 *puVar4;
  type_4 var_6;
  type_4 var_5;
  type_4 var_1;
  
  piVar3 = (int *)(*(this->super_Object)._vptr_Object[0x1d])(this);
  var_1 = piVar3[1] - *piVar3 >> 2;
  if (0x1fffffff < var_1) {
                    /* WARNING: Subroutine does not return */
    var_2();
  }
  puVar4 = (type_4 *)var_3(piVar3[1] - *piVar3);
  this->reloc_bases_ = puVar4;
  var_4 = layout->incremental_inputs_;
  if (var_4 != (type_3 *)0x0) {
    var_5 = var_4->reloc_count_;
    if (var_1 != 0) {
      puVar2 = this->reloc_counts_;
      var_6 = 0;
      do {
        puVar4[var_6] = var_5;
        var_5 = var_5 + puVar2[var_6];
        if (clear_counts) {
          puVar2[var_6] = 0;
        }
        var_6 = var_6 + 1;
      } while (var_1 != var_6);
    }
    var_4->reloc_count_ = var_5;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/object.cc",0x18c,"finalize_incremental_relocs");
}


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

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

void MASKED(int *param_1,int param_2,char param_3)

{
  int iVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  uint uVar7;
  
  piVar3 = (int *)(**(code **)(*param_1 + 0x74))(param_1);
  uVar7 = piVar3[1] - *piVar3 >> 2;
  if (0x1fffffff < uVar7) {
                    /* WARNING: Subroutine does not return */
    FUN_001e6740();
  }
  iVar4 = FUN_001e5180(piVar3[1] - *piVar3);
  param_1[0x17] = iVar4;
  iVar1 = *(int *)(param_2 + 0x1d0);
  if (iVar1 != 0) {
    iVar6 = *(int *)(iVar1 + 0x44);
    if (uVar7 != 0) {
      iVar2 = param_1[0x16];
      uVar5 = 0;
      do {
        *(int *)(iVar4 + uVar5 * 4) = iVar6;
        iVar6 = iVar6 + *(int *)(iVar2 + uVar5 * 4);
        if (param_3 != '\0') {
          *(undefined4 *)(iVar2 + uVar5 * 4) = 0;
        }
        uVar5 = uVar5 + 1;
      } while (uVar7 != uVar5);
    }
    *(int *)(iVar1 + 0x44) = iVar6;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.cc",0x18c,"finalize_incremental_relocs",iVar4);
}

