
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "SHT": Some values do not have unique names */
/* DWARF original prototype: void read_dynsym_section(Sized_dynobj<32,_false> * this, uchar *
   pshdrs, uint shndx, SHT type, uint link, File_view * * view, section_size_type * view_size, uint
   * view_info) */

void __thiscall
gold::Sized_dynobj<32,_false>::read_dynsym_section
          (Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,
          File_view **view,section_size_type *view_size,uint *view_info)

{
  Input_file *pIVar1;
  char *format;
  File_view *pFVar2;
  uint uVar3;
  Object *in_stack_ffffffd4;
  
  if (shndx == 0xffffffff) {
    *view = (File_view *)0x0;
    *view_size = 0;
    *view_info = 0;
    return;
  }
  if (type != *(SHT *)(pshdrs + shndx * 0x28 + 4)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section");
  }
  uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);
  if (uVar3 < 0xff00) {
    if (link == uVar3) goto LAB_001a8cca;
  }
  else {
    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);
    if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;
    uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);
    if (0xfeff < uVar3) {
      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);
      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;
    }
  }
  format = (char *)gettext("unexpected link in section %u header: %u != %u");
  Object::error((Object *)this,format,shndx,uVar3,link);
LAB_001a8cca:
  pIVar1 = (this->super_Dynobj).super_Object.input_file_;
  if (pIVar1 != (Input_file *)0x0) {
    pFVar2 = File_read::get_lasting_view
                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,
                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),
                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false);
    *view = pFVar2;
    *view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14);
    *view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c);
    return;
  }
                    /* WARNING: Subroutine does not return */
  Object::input_file(in_stack_ffffffd4);
}



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

void FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,
                 undefined4 *param_7,undefined4 *param_8)

{
  undefined4 uVar1;
  undefined4 in_ECX;
  uint uVar2;
  
  if (param_3 == -1) {
    *param_6 = 0;
    *param_7 = 0;
    *param_8 = 0;
    return;
  }
  param_2 = param_2 + param_3 * 0x28;
  if (param_4 != *(int *)(param_2 + 4)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);
  }
  uVar2 = *(uint *)(param_2 + 0x18);
  if (uVar2 < 0xff00) {
    if (param_5 == uVar2) goto LAB_001a8cca;
  }
  else {
    FUN_00052030(param_1 + 0x60);
    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;
    uVar2 = *(uint *)(param_2 + 0x18);
    if (0xfeff < uVar2) {
      FUN_00052030(param_1 + 0x60);
      uVar2 = uVar2 + *(int *)(param_1 + 0x74);
    }
  }
  uVar1 = gettext("unexpected link in section %u header: %u != %u");
  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);
LAB_001a8cca:
  if (*(int *)(param_1 + 0x1c) != 0) {
    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),
                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,
                         *(undefined4 *)(param_2 + 0x14),1,0);
    *param_6 = uVar1;
    *param_7 = *(undefined4 *)(param_2 + 0x14);
    *param_8 = *(undefined4 *)(param_2 + 0x1c);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001a23e0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1e6397
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x38]
CMP EDI,-0x1
JZ 0x001a8d78
MOV EAX,dword ptr [ESP + 0x34]
LEA EDX,[EDI + EDI*0x4]
LEA ESI,[EAX + EDX*0x8]
MOV EAX,dword ptr [ESI + 0x4]
CMP dword ptr [ESP + 0x3c],EAX
JNZ 0x001a8da3
MOV EBP,dword ptr [ESI + 0x18]
CMP EBP,0xfeff
JA 0x001a8d20
CMP dword ptr [ESP + 0x40],EBP
JZ 0x001a8cca
SUB ESP,0xc
LEA EAX,[EBX + 0xfff0f1e8]
PUSH EAX
CALL 0x000293b0
POP EDX
PUSH dword ptr [ESP + 0x4c]
PUSH EBP
PUSH EDI
PUSH EAX
PUSH dword ptr [ESP + 0x4c]
CALL 0x000b1840
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESI + 0x14]
XOR EDX,EDX
MOV EAX,dword ptr [ESI + 0x10]
MOV ECX,dword ptr [ECX + 0x1c]
TEST ECX,ECX
JZ 0x001a8d9e
PUSH 0x0
ADD ECX,0x1c
PUSH 0x1
PUSH EDI
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x44]
PUSH dword ptr [EAX + 0x24]
PUSH dword ptr [EAX + 0x20]
PUSH ECX
CALL 0x00068850
MOV EDX,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0x6c]
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESI + 0x14]
MOV EDX,dword ptr [ESP + 0x68]
ADD ESP,0x20
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ESI + 0x1c]
MOV dword ptr [EDI],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
SUB ESP,0xc
ADD EAX,0x60
PUSH EAX
MOV dword ptr [ESP + 0x1c],EAX
CALL 0x00052030
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x74]
ADD EDX,EBP
CMP dword ptr [ESP + 0x40],EDX
JZ 0x001a8cca
MOV EBP,dword ptr [ESI + 0x18]
CMP EBP,0xfeff
JBE 0x001a8ca7
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH EAX
CALL 0x00052030
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x10
ADD EBP,dword ptr [EAX + 0x74]
JMP 0x001a8ca7
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [EAX],0x0
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [EAX],0x0
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [EAX],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x001a23e0
LEA EAX,[EBX + 0xfff0f7cc]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfff0f1a2]
PUSH 0xe4
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001a23e0();\n}\n\n" comment (function_definition "void FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001a23e0();\n}" primitive_type (function_declarator "FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001a23e0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" { (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" * identifier) = number_literal) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "param_2 = param_2 + param_3 * 0x28;" (assignment_expression "param_2 = param_2 + param_3 * 0x28" identifier = (binary_expression "param_2 + param_3 * 0x28" identifier + (binary_expression "param_3 * 0x28" identifier * number_literal))) ;) (if_statement "if (param_4 != *(int *)(param_2 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" if (parenthesized_expression "(param_4 != *(int *)(param_2 + 4))" ( (binary_expression "param_4 != *(int *)(param_2 + 4)" identifier != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);" (call_expression "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" identifier (argument_list "("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" ( (string_literal ""../../gold/dynobj.cc"" " string_content ") , number_literal , (string_literal ""read_dynsym_section"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xff00)" ( (binary_expression "uVar2 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }" { (if_statement "if (param_5 == uVar2) goto LAB_001a8cca;" if (parenthesized_expression "(param_5 == uVar2)" ( (binary_expression "param_5 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) }) (else_clause "else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" else (compound_statement "{\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" { (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (if_statement "if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;" if (parenthesized_expression "(param_5 == *(int *)(param_1 + 0x74) + uVar2)" ( (binary_expression "param_5 == *(int *)(param_1 + 0x74) + uVar2" identifier == (binary_expression "*(int *)(param_1 + 0x74) + uVar2" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) + identifier)) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" if (parenthesized_expression "(0xfeff < uVar2)" ( (binary_expression "0xfeff < uVar2" number_literal < identifier) )) (compound_statement "{\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" { (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (expression_statement "uVar2 = uVar2 + *(int *)(param_1 + 0x74);" (assignment_expression "uVar2 = uVar2 + *(int *)(param_1 + 0x74)" identifier = (binary_expression "uVar2 + *(int *)(param_1 + 0x74)" identifier + (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))))) ;) })) }))) (expression_statement "uVar1 = gettext("unexpected link in section %u header: %u != %u");" (assignment_expression "uVar1 = gettext("unexpected link in section %u header: %u != %u")" identifier = (call_expression "gettext("unexpected link in section %u header: %u != %u")" identifier (argument_list "("unexpected link in section %u header: %u != %u")" ( (string_literal ""unexpected link in section %u header: %u != %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);" (call_expression "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5)" identifier (argument_list "(param_1,uVar1,param_3,uVar2,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" statement_identifier : (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" { (expression_statement "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);" (assignment_expression "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" identifier = (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" identifier (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) , number_literal , number_literal )))) ;) (expression_statement "*param_6 = uVar1;" (assignment_expression "*param_6 = uVar1" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "*param_7 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "*param_7 = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "*param_7" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*param_8 = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*param_8" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) }))) comment (expression_statement "FUN_001a23e0();" (call_expression "FUN_001a23e0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "SHT": Some values do not have unique names */\n/* DWARF original prototype: void read_dynsym_section(Sized_dynobj<32,_false> * this, uchar *\n   pshdrs, uint shndx, SHT type, uint link, File_view * * view, section_size_type * view_size, uint\n   * view_info) */\n\nvoid __thiscall\ngold::Sized_dynobj<32,_false>::read_dynsym_section\n          (Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,\n          File_view **view,section_size_type *view_size,uint *view_info)\n\n{\n  Input_file *pIVar1;\n  char *format;\n  File_view *pFVar2;\n  uint uVar3;\n  Object *in_stack_ffffffd4;\n  \n  if (shndx == 0xffffffff) {\n    *view = (File_view *)0x0;\n    *view_size = 0;\n    *view_info = 0;\n    return;\n  }\n  if (type != *(SHT *)(pshdrs + shndx * 0x28 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section");\n  }\n  uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);\n  if (uVar3 < 0xff00) {\n    if (link == uVar3) goto LAB_001a8cca;\n  }\n  else {\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n    if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;\n    uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);\n    if (0xfeff < uVar3) {\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }\n  }\n  format = (char *)gettext("unexpected link in section %u header: %u != %u");\n  Object::error((Object *)this,format,shndx,uVar3,link);\nLAB_001a8cca:\n  pIVar1 = (this->super_Dynobj).super_Object.input_file_;\n  if (pIVar1 != (Input_file *)0x0) {\n    pFVar2 = File_read::get_lasting_view\n                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false);\n    *view = pFVar2;\n    *view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14);\n    *view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  Object::input_file(in_stack_ffffffd4);\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Sized_dynobj<32,_false>::read_dynsym_section\n          (Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,\n          File_view **view,section_size_type *view_size,uint *view_info)\n\n{\n  Input_file *pIVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::read_dynsym_section\n          (Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,\n          File_view **view,section_size_type *view_size,uint *view_info)\n\n{\n  Input_file" identifier > : : (function_declarator "read_dynsym_section\n          (Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,\n          File_view **view,section_size_type *view_size,uint *view_info)" identifier (parameter_list "(Sized_dynobj<32,_false> *this,uchar *pshdrs,uint shndx,SHT type,uint link,\n          File_view **view,section_size_type *view_size,uint *view_info)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uchar *pshdrs" type_identifier (pointer_declarator "*pshdrs" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "SHT type" type_identifier identifier) , (parameter_declaration "uint link" type_identifier identifier) , (parameter_declaration "File_view **view" type_identifier (pointer_declarator "**view" * (pointer_declarator "*view" * identifier))) , (parameter_declaration "section_size_type *view_size" type_identifier (pointer_declarator "*view_size" * identifier)) , (parameter_declaration "uint *view_info" type_identifier (pointer_declarator "*view_info" * identifier)) ))) { identifier) (pointer_declarator "*pIVar1" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "File_view *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Object *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (if_statement "if (shndx == 0xffffffff) {\n    *view = (File_view *)0x0;\n    *view_size = 0;\n    *view_info = 0;\n    return;\n  }" if (parenthesized_expression "(shndx == 0xffffffff)" ( (binary_expression "shndx == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    *view = (File_view *)0x0;\n    *view_size = 0;\n    *view_info = 0;\n    return;\n  }" { (expression_statement "*view = (File_view *)0x0;" (assignment_expression "*view = (File_view *)0x0" (pointer_expression "*view" * identifier) = (cast_expression "(File_view *)0x0" ( (type_descriptor "File_view *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*view_size = 0;" (assignment_expression "*view_size = 0" (pointer_expression "*view_size" * identifier) = number_literal) ;) (expression_statement "*view_info = 0;" (assignment_expression "*view_info = 0" (pointer_expression "*view_info" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (if_statement "if (type != *(SHT *)(pshdrs + shndx * 0x28 + 4)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section");\n  }" if (parenthesized_expression "(type != *(SHT *)(pshdrs + shndx * 0x28 + 4))" ( (binary_expression "type != *(SHT *)(pshdrs + shndx * 0x28 + 4)" identifier != (pointer_expression "*(SHT *)(pshdrs + shndx * 0x28 + 4)" * (cast_expression "(SHT *)(pshdrs + shndx * 0x28 + 4)" ( (type_descriptor "SHT *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 4)" ( (binary_expression "pshdrs + shndx * 0x28 + 4" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section");" (call_expression "do_gold_unreachable("../../gold/dynobj.cc",0xe4,"read_dynsym_section")" identifier (argument_list "("../../gold/dynobj.cc",0xe4,"read_dynsym_section")" ( (string_literal ""../../gold/dynobj.cc"" " string_content ") , number_literal , (string_literal ""read_dynsym_section"" " string_content ") ))) ;) })) (expression_statement "uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);" (assignment_expression "uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18)" identifier = (pointer_expression "*(uint *)(pshdrs + shndx * 0x28 + 0x18)" * (cast_expression "(uint *)(pshdrs + shndx * 0x28 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x18)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x18" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (uVar3 < 0xff00) {\n    if (link == uVar3) goto LAB_001a8cca;\n  }\n  else {\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n    if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;\n    uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);\n    if (0xfeff < uVar3) {\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }\n  }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    if (link == uVar3) goto LAB_001a8cca;\n  }" { (if_statement "if (link == uVar3) goto LAB_001a8cca;" if (parenthesized_expression "(link == uVar3)" ( (binary_expression "link == uVar3" identifier == identifier) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) }) (else_clause "else {\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n    if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;\n    uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);\n    if (0xfeff < uVar3) {\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }\n  }" else (compound_statement "{\n    elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n    if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;\n    uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);\n    if (0xfeff < uVar3) {\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }\n  }" { (labeled_statement "elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);" statement_identifier (ERROR "::Elf_file<32,_false,_gold::Object>:" : : (comma_expression "Elf_file<32,_false,_gold" (binary_expression "Elf_file<32" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(&this->elf_file_);" (call_expression "initialize_shnum(&this->elf_file_)" identifier (argument_list "(&this->elf_file_)" ( (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier)) ))) ;)) (if_statement "if (link == (this->elf_file_).large_shndx_offset_ + uVar3) goto LAB_001a8cca;" if (parenthesized_expression "(link == (this->elf_file_).large_shndx_offset_ + uVar3)" ( (binary_expression "link == (this->elf_file_).large_shndx_offset_ + uVar3" identifier == (binary_expression "(this->elf_file_).large_shndx_offset_ + uVar3" (field_expression "(this->elf_file_).large_shndx_offset_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) + identifier)) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) (expression_statement "uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18);" (assignment_expression "uVar3 = *(uint *)(pshdrs + shndx * 0x28 + 0x18)" identifier = (pointer_expression "*(uint *)(pshdrs + shndx * 0x28 + 0x18)" * (cast_expression "(uint *)(pshdrs + shndx * 0x28 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x18)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x18" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar3) {\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }" if (parenthesized_expression "(0xfeff < uVar3)" ( (binary_expression "0xfeff < uVar3" number_literal < identifier) )) (compound_statement "{\n      elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);\n      uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;\n    }" { (labeled_statement "elfcpp::Elf_file<32,_false,_gold::Object>::initialize_shnum(&this->elf_file_);" statement_identifier (ERROR "::Elf_file<32,_false,_gold::Object>:" : : (comma_expression "Elf_file<32,_false,_gold" (binary_expression "Elf_file<32" identifier < number_literal) , (comma_expression "_false,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(&this->elf_file_);" (call_expression "initialize_shnum(&this->elf_file_)" identifier (argument_list "(&this->elf_file_)" ( (pointer_expression "&this->elf_file_" & (field_expression "this->elf_file_" identifier -> field_identifier)) ))) ;)) (expression_statement "uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_;" (assignment_expression "uVar3 = uVar3 + (this->elf_file_).large_shndx_offset_" identifier = (binary_expression "uVar3 + (this->elf_file_).large_shndx_offset_" identifier + (field_expression "(this->elf_file_).large_shndx_offset_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier))) ;) })) }))) (expression_statement "format = (char *)gettext("unexpected link in section %u header: %u != %u");" (assignment_expression "format = (char *)gettext("unexpected link in section %u header: %u != %u")" identifier = (cast_expression "(char *)gettext("unexpected link in section %u header: %u != %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unexpected link in section %u header: %u != %u")" identifier (argument_list "("unexpected link in section %u header: %u != %u")" ( (string_literal ""unexpected link in section %u header: %u != %u"" " string_content ") ))))) ;) (labeled_statement "Object::error((Object *)this,format,shndx,uVar3,link);" statement_identifier : (ERROR ":" :) (expression_statement "error((Object *)this,format,shndx,uVar3,link);" (call_expression "error((Object *)this,format,shndx,uVar3,link)" identifier (argument_list "((Object *)this,format,shndx,uVar3,link)" ( (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier , identifier , identifier ))) ;)) (labeled_statement "LAB_001a8cca:\n  pIVar1 = (this->super_Dynobj).super_Object.input_file_;" statement_identifier : (expression_statement "pIVar1 = (this->super_Dynobj).super_Object.input_file_;" (assignment_expression "pIVar1 = (this->super_Dynobj).super_Object.input_file_" identifier = (field_expression "(this->super_Dynobj).super_Object.input_file_" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;)) (if_statement "if (pIVar1 != (Input_file *)0x0) {\n    pFVar2 = File_read::get_lasting_view\n                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false);\n    *view = pFVar2;\n    *view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14);\n    *view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c);\n    return;\n  }" if (parenthesized_expression "(pIVar1 != (Input_file *)0x0)" ( (binary_expression "pIVar1 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pFVar2 = File_read::get_lasting_view\n                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false);\n    *view = pFVar2;\n    *view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14);\n    *view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c);\n    return;\n  }" { (ERROR "pFVar2 = File_read::" (assignment_expression "pFVar2 = File_read" identifier = identifier) : :) (expression_statement "get_lasting_view\n                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false);" (call_expression "get_lasting_view\n                       (&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false)" identifier (argument_list "(&pIVar1->file_,(this->super_Dynobj).super_Object.offset_,\n                        (ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10),\n                        *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14),true,false)" ( (pointer_expression "&pIVar1->file_" & (field_expression "pIVar1->file_" identifier -> field_identifier)) , (field_expression "(this->super_Dynobj).super_Object.offset_" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier) , (binary_expression "(ulonglong)*(uint *)(pshdrs + shndx * 0x28 + 0x10)" (parenthesized_expression "(ulonglong)" ( identifier )) * (cast_expression "(uint *)(pshdrs + shndx * 0x28 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x10)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x10" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) )))) , (pointer_expression "*(section_size_type *)(pshdrs + shndx * 0x28 + 0x14)" * (cast_expression "(section_size_type *)(pshdrs + shndx * 0x28 + 0x14)" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x14)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x14" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) )))) , true , false ))) ;) (expression_statement "*view = pFVar2;" (assignment_expression "*view = pFVar2" (pointer_expression "*view" * identifier) = identifier) ;) (expression_statement "*view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14);" (assignment_expression "*view_size = *(section_size_type *)(pshdrs + shndx * 0x28 + 0x14)" (pointer_expression "*view_size" * identifier) = (pointer_expression "*(section_size_type *)(pshdrs + shndx * 0x28 + 0x14)" * (cast_expression "(section_size_type *)(pshdrs + shndx * 0x28 + 0x14)" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x14)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x14" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "*view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c);" (assignment_expression "*view_info = *(uint *)(pshdrs + shndx * 0x28 + 0x1c)" (pointer_expression "*view_info" * identifier) = (pointer_expression "*(uint *)(pshdrs + shndx * 0x28 + 0x1c)" * (cast_expression "(uint *)(pshdrs + shndx * 0x28 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pshdrs + shndx * 0x28 + 0x1c)" ( (binary_expression "pshdrs + shndx * 0x28 + 0x1c" (binary_expression "pshdrs + shndx * 0x28" identifier + (binary_expression "shndx * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (return_statement "return;" return ;) })) comment (labeled_statement "Object::input_file(in_stack_ffffffd4);" statement_identifier : (ERROR ":" :) (expression_statement "input_file(in_stack_ffffffd4);" (call_expression "input_file(in_stack_ffffffd4)" identifier (argument_list "(in_stack_ffffffd4)" ( identifier ))) ;)) (ERROR "}" }))
(translation_unit "void FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    \n  FUN_001a23e0();\n}\n\n" (function_definition "void FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    \n  FUN_001a23e0();\n}" primitive_type (function_declarator "FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    \n  FUN_001a23e0();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 in_ECX;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (if_statement "if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" if (parenthesized_expression "(param_3 == -1)" ( (binary_expression "param_3 == -1" identifier == number_literal) )) (compound_statement "{\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" { (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" * identifier) = number_literal) ;) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" * identifier) = number_literal) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "param_2 = param_2 + param_3 * 0x28;" (assignment_expression "param_2 = param_2 + param_3 * 0x28" identifier = (binary_expression "param_2 + param_3 * 0x28" identifier + (binary_expression "param_3 * 0x28" identifier * number_literal))) ;) (if_statement "if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" if (parenthesized_expression "(param_4 != *(int *)(param_2 + 4))" ( (binary_expression "param_4 != *(int *)(param_2 + 4)" identifier != (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" { (expression_statement "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);" (call_expression "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" identifier (argument_list "("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" ( (string_literal ""../../gold/dynobj.cc"" " string_content ") , number_literal , (string_literal ""read_dynsym_section"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xff00)" ( (binary_expression "uVar2 < 0xff00" identifier < number_literal) )) (compound_statement "{\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }" { (if_statement "if (param_5 == uVar2) goto LAB_001a8cca;" if (parenthesized_expression "(param_5 == uVar2)" ( (binary_expression "param_5 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) }) (else_clause "else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" else (compound_statement "{\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" { (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (if_statement "if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;" if (parenthesized_expression "(param_5 == *(int *)(param_1 + 0x74) + uVar2)" ( (binary_expression "param_5 == *(int *)(param_1 + 0x74) + uVar2" identifier == (binary_expression "*(int *)(param_1 + 0x74) + uVar2" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) + identifier)) )) (goto_statement "goto LAB_001a8cca;" goto statement_identifier ;)) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" if (parenthesized_expression "(0xfeff < uVar2)" ( (binary_expression "0xfeff < uVar2" number_literal < identifier) )) (compound_statement "{\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" { (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" identifier (argument_list "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))) ;) (expression_statement "uVar2 = uVar2 + *(int *)(param_1 + 0x74);" (assignment_expression "uVar2 = uVar2 + *(int *)(param_1 + 0x74)" identifier = (binary_expression "uVar2 + *(int *)(param_1 + 0x74)" identifier + (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))))) ;) })) }))) (expression_statement "uVar1 = gettext("unexpected link in section %u header: %u != %u");" (assignment_expression "uVar1 = gettext("unexpected link in section %u header: %u != %u")" identifier = (call_expression "gettext("unexpected link in section %u header: %u != %u")" identifier (argument_list "("unexpected link in section %u header: %u != %u")" ( (string_literal ""unexpected link in section %u header: %u != %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);" (call_expression "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5)" identifier (argument_list "(param_1,uVar1,param_3,uVar2,param_5)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (labeled_statement "LAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" statement_identifier : (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" { (expression_statement "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);" (assignment_expression "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" identifier = (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" identifier (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) , number_literal , number_literal )))) ;) (expression_statement "*param_6 = uVar1;" (assignment_expression "*param_6 = uVar1" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "*param_7 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "*param_7 = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "*param_7" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*param_8 = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*param_8" * identifier) = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) }))) (expression_statement "FUN_001a23e0();" (call_expression "FUN_001a23e0()" identifier (argument_list "()" ( ))) ;) })))
(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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) )) (goto_statement goto statement_identifier ;)) (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 LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (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) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)\n\n{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    \n  FUN_001a23e0();\n}" (primitive_type "void") (function_declarator "FUN_001a8c60(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" (identifier "FUN_001a8c60") (parameter_list "(int param_1,int param_2,int param_3,int param_4,uint param_5,undefined4 *param_6,\n                 undefined4 *param_7,undefined4 *param_8)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "undefined4 *param_7" (type_identifier "undefined4") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "undefined4 *param_8" (type_identifier "undefined4") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 in_ECX;\n  uint uVar2;\n  \n  if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }\n  param_2 = param_2 + param_3 * 0x28;\n  if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }\n  uVar2 = *(uint *)(param_2 + 0x18);\n  if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }\n  uVar1 = gettext("unexpected link in section %u header: %u != %u");\n  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);\nLAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }\n                    \n  FUN_001a23e0();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 in_ECX;" (type_identifier "undefined4") (identifier "in_ECX") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (if_statement "if (param_3 == -1) {\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == -1)" (( "(") (binary_expression "param_3 == -1" (identifier "param_3") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n    *param_6 = 0;\n    *param_7 = 0;\n    *param_8 = 0;\n    return;\n  }" ({ "{") (expression_statement "*param_6 = 0;" (assignment_expression "*param_6 = 0" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_7 = 0;" (assignment_expression "*param_7 = 0" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_2 = param_2 + param_3 * 0x28;" (assignment_expression "param_2 = param_2 + param_3 * 0x28" (identifier "param_2") (= "=") (binary_expression "param_2 + param_3 * 0x28" (identifier "param_2") (+ "+") (binary_expression "param_3 * 0x28" (identifier "param_3") (* "*") (number_literal "0x28")))) (; ";")) (if_statement "if (param_4 != *(int *)(param_2 + 4)) {\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" (if "if") (parenthesized_expression "(param_4 != *(int *)(param_2 + 4))" (( "(") (binary_expression "param_4 != *(int *)(param_2 + 4)" (identifier "param_4") (!= "!=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);" (call_expression "FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" (identifier "FUN_00069d00") (argument_list "("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX)" (( "(") (string_literal ""../../gold/dynobj.cc"" (" """) (string_content "../../gold/dynobj.cc") (" """)) (, ",") (number_literal "0xe4") (, ",") (string_literal ""read_dynsym_section"" (" """) (string_content "read_dynsym_section") (" """)) (, ",") (identifier "in_ECX") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (uVar2 < 0xff00) {\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }\n  else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" (if "if") (parenthesized_expression "(uVar2 < 0xff00)" (( "(") (binary_expression "uVar2 < 0xff00" (identifier "uVar2") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n    if (param_5 == uVar2) goto LAB_001a8cca;\n  }" ({ "{") (if_statement "if (param_5 == uVar2) goto LAB_001a8cca;" (if "if") (parenthesized_expression "(param_5 == uVar2)" (( "(") (binary_expression "param_5 == uVar2" (identifier "param_5") (== "==") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_001a8cca;" (goto "goto") (statement_identifier "LAB_001a8cca") (; ";"))) (} "}")) (else_clause "else {\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" (else "else") (compound_statement "{\n    FUN_00052030(param_1 + 0x60);\n    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;\n    uVar2 = *(uint *)(param_2 + 0x18);\n    if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }\n  }" ({ "{") (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" (identifier "FUN_00052030") (argument_list "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))) (; ";")) (if_statement "if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;" (if "if") (parenthesized_expression "(param_5 == *(int *)(param_1 + 0x74) + uVar2)" (( "(") (binary_expression "param_5 == *(int *)(param_1 + 0x74) + uVar2" (identifier "param_5") (== "==") (binary_expression "*(int *)(param_1 + 0x74) + uVar2" (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (+ "+") (identifier "uVar2"))) () ")")) (goto_statement "goto LAB_001a8cca;" (goto "goto") (statement_identifier "LAB_001a8cca") (; ";"))) (expression_statement "uVar2 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_2 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0xfeff < uVar2) {\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" (if "if") (parenthesized_expression "(0xfeff < uVar2)" (( "(") (binary_expression "0xfeff < uVar2" (number_literal "0xfeff") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n      FUN_00052030(param_1 + 0x60);\n      uVar2 = uVar2 + *(int *)(param_1 + 0x74);\n    }" ({ "{") (expression_statement "FUN_00052030(param_1 + 0x60);" (call_expression "FUN_00052030(param_1 + 0x60)" (identifier "FUN_00052030") (argument_list "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))) (; ";")) (expression_statement "uVar2 = uVar2 + *(int *)(param_1 + 0x74);" (assignment_expression "uVar2 = uVar2 + *(int *)(param_1 + 0x74)" (identifier "uVar2") (= "=") (binary_expression "uVar2 + *(int *)(param_1 + 0x74)" (identifier "uVar2") (+ "+") (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar1 = gettext("unexpected link in section %u header: %u != %u");" (assignment_expression "uVar1 = gettext("unexpected link in section %u header: %u != %u")" (identifier "uVar1") (= "=") (call_expression "gettext("unexpected link in section %u header: %u != %u")" (identifier "gettext") (argument_list "("unexpected link in section %u header: %u != %u")" (( "(") (string_literal ""unexpected link in section %u header: %u != %u"" (" """) (string_content "unexpected link in section %u header: %u != %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);" (call_expression "FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5)" (identifier "FUN_000b1840") (argument_list "(param_1,uVar1,param_3,uVar2,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "param_3") (, ",") (identifier "uVar2") (, ",") (identifier "param_5") () ")"))) (; ";")) (labeled_statement "LAB_001a8cca:\n  if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" (statement_identifier "LAB_001a8cca") (: ":") (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);\n    *param_6 = uVar1;\n    *param_7 = *(undefined4 *)(param_2 + 0x14);\n    *param_8 = *(undefined4 *)(param_2 + 0x1c);\n    return;\n  }" ({ "{") (expression_statement "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0);" (assignment_expression "uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" (identifier "uVar1") (= "=") (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" (identifier "FUN_00068850") (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,\n                         *(undefined4 *)(param_2 + 0x14),1,0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*param_6 = uVar1;" (assignment_expression "*param_6 = uVar1" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*param_7 = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "*param_7 = *(undefined4 *)(param_2 + 0x14)" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*param_8 = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*param_8 = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "FUN_001a23e0();" (call_expression "FUN_001a23e0()" (identifier "FUN_001a23e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "SHT": Some values do not have unique names */
/* DWARF original prototype: void read_dynsym_section(Sized_dynobj<32,_false> * this, uchar *
   pshdrs, uint shndx, SHT type, uint link, File_view * * view, section_size_type * view_size, uint
   * view_info) */

void __thiscall
gold::Sized_dynobj<32,_false>::read_dynsym_section
          (Sized_dynobj<32,_false> *this,uchar *var_3,type_2 var_1,type_4 var_2,type_2 var_6,
          type_1 **view,type_6 *view_size,type_2 *view_info)

{
  type_5 *var_10;
  char *format;
  type_1 *pFVar2;
  type_2 var_5;
  type_3 *in_stack_ffffffd4;
  
  if (var_1 == 0xffffffff) {
    *view = (type_1 *)0x0;
    *view_size = 0;
    *view_info = 0;
    return;
  }
  if (var_2 != *(type_4 *)(var_3 + var_1 * 0x28 + 4)) {
                    /* WARNING: Subroutine does not return */
    var_4("../../gold/dynobj.cc",0xe4,"read_dynsym_section");
  }
  var_5 = *(type_2 *)(var_3 + var_1 * 0x28 + 0x18);
  if (var_5 < 0xff00) {
    if (var_6 == var_5) goto LAB_001a8cca;
  }
  else {
    elfcpp::Elf_file<32,_false,_gold::type_3>::var_7(&this->elf_file_);
    if (var_6 == (this->elf_file_).large_shndx_offset_ + var_5) goto LAB_001a8cca;
    var_5 = *(type_2 *)(var_3 + var_1 * 0x28 + 0x18);
    if (0xfeff < var_5) {
      elfcpp::Elf_file<32,_false,_gold::type_3>::var_7(&this->elf_file_);
      var_5 = var_5 + (this->elf_file_).large_shndx_offset_;
    }
  }
  format = (char *)var_8("unexpected link in section %u header: %u != %u");
  Object::var_9((type_3 *)this,format,var_1,var_5,var_6);
LAB_001a8cca:
  var_10 = (this->super_Dynobj).super_Object.input_file_;
  if (var_10 != (type_5 *)0x0) {
    pFVar2 = File_read::var_11
                       (&var_10->file_,(this->super_Dynobj).super_Object.offset_,
                        (ulonglong)*(type_2 *)(var_3 + var_1 * 0x28 + 0x10),
                        *(type_6 *)(var_3 + var_1 * 0x28 + 0x14),true,false);
    *view = pFVar2;
    *view_size = *(type_6 *)(var_3 + var_1 * 0x28 + 0x14);
    *view_info = *(type_2 *)(var_3 + var_1 * 0x28 + 0x1c);
    return;
  }
                    /* WARNING: Subroutine does not return */
  Object::var_12(in_stack_ffffffd4);
}


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

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

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

{
  undefined4 uVar1;
  undefined4 in_ECX;
  uint uVar2;
  
  if (param_3 == -1) {
    *param_6 = 0;
    *param_7 = 0;
    *param_8 = 0;
    return;
  }
  param_2 = param_2 + param_3 * 0x28;
  if (param_4 != *(int *)(param_2 + 4)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/dynobj.cc",0xe4,"read_dynsym_section",in_ECX);
  }
  uVar2 = *(uint *)(param_2 + 0x18);
  if (uVar2 < 0xff00) {
    if (param_5 == uVar2) goto LAB_001a8cca;
  }
  else {
    FUN_00052030(param_1 + 0x60);
    if (param_5 == *(int *)(param_1 + 0x74) + uVar2) goto LAB_001a8cca;
    uVar2 = *(uint *)(param_2 + 0x18);
    if (0xfeff < uVar2) {
      FUN_00052030(param_1 + 0x60);
      uVar2 = uVar2 + *(int *)(param_1 + 0x74);
    }
  }
  uVar1 = gettext("unexpected link in section %u header: %u != %u");
  FUN_000b1840(param_1,uVar1,param_3,uVar2,param_5);
LAB_001a8cca:
  if (*(int *)(param_1 + 0x1c) != 0) {
    uVar1 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),
                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 0x10),0,
                         *(undefined4 *)(param_2 + 0x14),1,0);
    *param_6 = uVar1;
    *param_7 = *(undefined4 *)(param_2 + 0x14);
    *param_8 = *(undefined4 *)(param_2 + 0x1c);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001a23e0();
}

