
/* DWARF original prototype: Elf_Word section_link(Elf_file<64,_false,_gold::Object> * this, uint
   shndx) */

Elf_Word __thiscall
elfcpp::Elf_file<64,_false,_gold::Object>::section_link
          (Elf_file<64,_false,_gold::Object> *this,uint shndx)

{
  undefined *puVar1;
  int iVar2;
  uint uVar3;
  char *format;
  Input_file *pIVar4;
  Object *this_00;
  
  puVar1 = PTR_initialize_shnum_004c1fb8;
  this_00 = this->file_;
  (*(code *)PTR_initialize_shnum_004c1fb8)();
  if (this->shnum_ <= shndx) {
    format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);
    (*(code *)puVar1)(this);
    gold::Object::error(this_00,format,shndx,this->shnum_);
  }
  (*(code *)PTR_section_header_offset_004c1f1c)(this,shndx);
  pIVar4 = this_00->input_file_;
  if (pIVar4 != (Input_file *)0x0) {
    iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_);
    uVar3 = *(uint *)(iVar2 + 0x28);
    return (((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +
           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::input_file((Object *)0x0);
}



/* elfcpp::Elf_file<64, false, gold::Object>::section_link(unsigned int) */

int __thiscall
elfcpp::Elf_file<64,false,gold::Object>::section_link
          (Elf_file<64,false,gold::Object> *this,uint param_1)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  char *pcVar5;
  
  puVar1 = PTR_initialize_shnum_004c1fb8;
  pcVar5 = *(char **)this;
  (*(code *)PTR_initialize_shnum_004c1fb8)();
  if (*(uint *)(this + 0x10) <= param_1) {
    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);
    (*(code *)puVar1)(this);
    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));
  }
  (*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);
  iVar4 = *(int *)(pcVar5 + 0x1c);
  if (iVar4 != 0) {
    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);
    uVar2 = *(uint *)(iVar4 + 0x28);
    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +
           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001ce8a4();
}


lui gp,0x2f
addiu gp,gp,-0x65a4
addu gp,gp,t9
addiu sp,sp,-0x48
sw s3,0x3c(sp)
sw s0,0x30(sp)
or s0,a0,zero
sw gp,0x28(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
or s1,a1,zero
sw ra,0x44(sp)
sw s4,0x40(sp)
lw s3,-0x7288(gp)
or t9,s3,zero
jalr t9
_lw s2,0x0(a0)
lw v0,0x10(s0)
sltu v0,s1,v0
beq v0,zero,0x001df8b8
_lw gp,0x28(sp)
lw t9,-0x7324(gp)
or a0,s0,zero
jalr t9
_or a1,s1,zero
lw a0,0x1c(s2)
or t1,v1,zero
lw gp,0x28(sp)
beq a0,zero,0x001df8fc
_or t0,v0,zero
lw a3,0x24(s2)
li v1,0x1
lw a2,0x20(s2)
li v0,0x40
lw t9,-0x76cc(gp)
addiu a0,a0,0x20
sw v1,0x20(sp)
sw v1,0x1c(sp)
sw t1,0x14(sp)
sw t0,0x10(sp)
jalr t9
_sw v0,0x18(sp)
lw v0,0x28(v0)
lw ra,0x44(sp)
lw s4,0x40(sp)
wsbh v0,v0
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
rotr v0,v0,0x10
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x48
lw a0,-0x77f0(gp)
lw t9,-0x3610(gp)
jalr t9
_addiu a0,a0,-0x1dcc
or a0,s0,zero
or t9,s3,zero
jalr t9
_or s4,v0,zero
lw gp,0x28(sp)
or a2,s1,zero
lw a3,0x10(s0)
or a1,s4,zero
lw t9,-0x77ec(gp)
bal 0x001cec28
_or a0,s2,zero
b 0x001df838
_lw gp,0x28(sp)
lw t9,-0x55f8(gp)
addiu t9,t9,-0x175c
bal 0x001ce8a4
_nop
(translation_unit "/* elfcpp::Elf_file<64, false, gold::Object>::section_link(unsigned int) */\n\nint __thiscall\nelfcpp::Elf_file<64,false,gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_initialize_shnum_004c1fb8;\n  pcVar5 = *(char **)this;\n  (*(code *)PTR_initialize_shnum_004c1fb8)();\n  if (*(uint *)(this + 0x10) <= param_1) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }\n  (*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);\n  iVar4 = *(int *)(pcVar5 + 0x1c);\n  if (iVar4 != 0) {\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_001ce8a4();\n}\n\n" comment (declaration "int __thiscall\nelfcpp::Elf_file<64,false,gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined" identifier : : identifier > : : (function_declarator "section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)" identifier (parameter_list "(Elf_file<64,false,gold::Object> *this,uint param_1)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "false" type_identifier) , (parameter_declaration "gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR_initialize_shnum_004c1fb8;" (assignment_expression "puVar1 = PTR_initialize_shnum_004c1fb8" identifier = identifier) ;) (expression_statement "pcVar5 = *(char **)this;" (assignment_expression "pcVar5 = *(char **)this" identifier = (pointer_expression "*(char **)this" * (cast_expression "(char **)this" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_initialize_shnum_004c1fb8)();" (call_expression "(*(code *)PTR_initialize_shnum_004c1fb8)()" (parenthesized_expression "(*(code *)PTR_initialize_shnum_004c1fb8)" ( (pointer_expression "*(code *)PTR_initialize_shnum_004c1fb8" * (cast_expression "(code *)PTR_initialize_shnum_004c1fb8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(uint *)(this + 0x10) <= param_1) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" if (parenthesized_expression "(*(uint *)(this + 0x10) <= param_1)" ( (binary_expression "*(uint *)(this + 0x10) <= param_1" (pointer_expression "*(uint *)(this + 0x10)" * (cast_expression "(uint *)(this + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0x1dcc)" ( (binary_expression "PTR_s__s_004c1a50 + -0x1dcc" identifier + number_literal) )))) ;) (expression_statement "(*(code *)puVar1)(this);" (call_expression "(*(code *)puVar1)(this)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this)" ( identifier ))) ;) (labeled_statement "gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" (call_expression "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" identifier (argument_list "(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) ))) ;))) })) (expression_statement "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);" (call_expression "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1)" (parenthesized_expression "(*(code *)PTR_section_header_offset_004c1f1c)" ( (pointer_expression "*(code *)PTR_section_header_offset_004c1f1c" * (cast_expression "(code *)PTR_section_header_offset_004c1f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,param_1)" ( identifier , identifier ))) ;) (expression_statement "iVar4 = *(int *)(pcVar5 + 0x1c);" (assignment_expression "iVar4 = *(int *)(pcVar5 + 0x1c)" identifier = (pointer_expression "*(int *)(pcVar5 + 0x1c)" * (cast_expression "(int *)(pcVar5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x1c)" ( (binary_expression "pcVar5 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" { (expression_statement "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);" (assignment_expression "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" identifier = (call_expression "(*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" (parenthesized_expression "(*(code *)PTR_get_view_004c1b74)" ( (pointer_expression "*(code *)PTR_get_view_004c1b74" * (cast_expression "(code *)PTR_get_view_004c1b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x28);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x28)" * (cast_expression "(uint *)(iVar4 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) ))))) ;) (return_statement "return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;" return (binary_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10)" ( (binary_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10" (parenthesized_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10)" ( (binary_expression "(uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10" (binary_expression "(uVar2 >> 0x10) << 0x18" (parenthesized_expression "(uVar2 >> 0x10)" ( (binary_expression "uVar2 >> 0x10" identifier >> number_literal) )) << number_literal) | (binary_expression "(uVar2 >> 0x18) << 0x10" (parenthesized_expression "(uVar2 >> 0x18)" ( (binary_expression "uVar2 >> 0x18" identifier >> number_literal) )) << number_literal)) )) >> number_literal) )) + (binary_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff)" ( (binary_expression "(uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff" (binary_expression "(uVar2 & 0xff) << 8" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) << number_literal) | (binary_expression "uVar2 >> 8 & 0xff" (binary_expression "uVar2 >> 8" identifier >> number_literal) & number_literal)) )) * number_literal)) ;) })) comment (expression_statement "FUN_001ce8a4();" (call_expression "FUN_001ce8a4()" identifier (argument_list "()" ( ))) ;) (ERROR "}" }))
(translation_unit "/* DWARF original prototype: Elf_Word section_link(Elf_file<64,_false,_gold::Object> * this, uint\n   shndx) */\n\nElf_Word __thiscall\nelfcpp::Elf_file<64,_false,_gold::Object>::section_link\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  uint uVar3;\n  char *format;\n  Input_file *pIVar4;\n  Object *this_00;\n  \n  puVar1 = PTR_initialize_shnum_004c1fb8;\n  this_00 = this->file_;\n  (*(code *)PTR_initialize_shnum_004c1fb8)();\n  if (this->shnum_ <= shndx) {\n    format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(this_00,format,shndx,this->shnum_);\n  }\n  (*(code *)PTR_section_header_offset_004c1f1c)(this,shndx);\n  pIVar4 = this_00->input_file_;\n  if (pIVar4 != (Input_file *)0x0) {\n    iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_);\n    uVar3 = *(uint *)(iVar2 + 0x28);\n    return (((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Object::input_file((Object *)0x0);\n}\n\n" comment (declaration "Elf_Word __thiscall\nelfcpp::Elf_file<64,_false,_gold::Object>::section_link\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  undefined *puVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "_gold::Object>::section_link\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)\n\n{\n  undefined" identifier : : identifier > : : (function_declarator "section_link\n          (Elf_file<64,_false,_gold::Object> *this,uint shndx)" identifier (parameter_list "(Elf_file<64,_false,_gold::Object> *this,uint shndx)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false" type_identifier) , (parameter_declaration "_gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "Input_file *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "Object *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (expression_statement "puVar1 = PTR_initialize_shnum_004c1fb8;" (assignment_expression "puVar1 = PTR_initialize_shnum_004c1fb8" identifier = identifier) ;) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "(*(code *)PTR_initialize_shnum_004c1fb8)();" (call_expression "(*(code *)PTR_initialize_shnum_004c1fb8)()" (parenthesized_expression "(*(code *)PTR_initialize_shnum_004c1fb8)" ( (pointer_expression "*(code *)PTR_initialize_shnum_004c1fb8" * (cast_expression "(code *)PTR_initialize_shnum_004c1fb8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (this->shnum_ <= shndx) {\n    format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(this_00,format,shndx,this->shnum_);\n  }" if (parenthesized_expression "(this->shnum_ <= shndx)" ( (binary_expression "this->shnum_ <= shndx" (field_expression "this->shnum_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(this_00,format,shndx,this->shnum_);\n  }" { (expression_statement "format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);" (assignment_expression "format = (char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" identifier = (cast_expression "(char *)(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0x1dcc)" ( (binary_expression "PTR_s__s_004c1a50 + -0x1dcc" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar1)(this);" (call_expression "(*(code *)puVar1)(this)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this)" ( identifier ))) ;) (labeled_statement "gold::Object::error(this_00,format,shndx,this->shnum_);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,format,shndx,this->shnum_);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,shndx,this->shnum_);" (call_expression "error(this_00,format,shndx,this->shnum_)" identifier (argument_list "(this_00,format,shndx,this->shnum_)" ( identifier , identifier , identifier , (field_expression "this->shnum_" identifier -> field_identifier) ))) ;))) })) (expression_statement "(*(code *)PTR_section_header_offset_004c1f1c)(this,shndx);" (call_expression "(*(code *)PTR_section_header_offset_004c1f1c)(this,shndx)" (parenthesized_expression "(*(code *)PTR_section_header_offset_004c1f1c)" ( (pointer_expression "*(code *)PTR_section_header_offset_004c1f1c" * (cast_expression "(code *)PTR_section_header_offset_004c1f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,shndx)" ( identifier , identifier ))) ;) (expression_statement "pIVar4 = this_00->input_file_;" (assignment_expression "pIVar4 = this_00->input_file_" identifier = (field_expression "this_00->input_file_" identifier -> field_identifier)) ;) (if_statement "if (pIVar4 != (Input_file *)0x0) {\n    iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_);\n    uVar3 = *(uint *)(iVar2 + 0x28);\n    return (((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000;\n  }" if (parenthesized_expression "(pIVar4 != (Input_file *)0x0)" ( (binary_expression "pIVar4 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_);\n    uVar3 = *(uint *)(iVar2 + 0x28);\n    return (((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000;\n  }" { (expression_statement "iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_);" (assignment_expression "iVar2 = (*(code *)PTR_get_view_004c1b74)(&pIVar4->file_)" identifier = (call_expression "(*(code *)PTR_get_view_004c1b74)(&pIVar4->file_)" (parenthesized_expression "(*(code *)PTR_get_view_004c1b74)" ( (pointer_expression "*(code *)PTR_get_view_004c1b74" * (cast_expression "(code *)PTR_get_view_004c1b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&pIVar4->file_)" ( (pointer_expression "&pIVar4->file_" & (field_expression "pIVar4->file_" identifier -> field_identifier)) )))) ;) (expression_statement "uVar3 = *(uint *)(iVar2 + 0x28);" (assignment_expression "uVar3 = *(uint *)(iVar2 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x28)" * (cast_expression "(uint *)(iVar2 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) ))))) ;) (return_statement "return (((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000;" return (binary_expression "(((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000" (parenthesized_expression "(((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10)" ( (binary_expression "((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10) >> 0x10" (parenthesized_expression "((uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10)" ( (binary_expression "(uVar3 >> 0x10) << 0x18 | (uVar3 >> 0x18) << 0x10" (binary_expression "(uVar3 >> 0x10) << 0x18" (parenthesized_expression "(uVar3 >> 0x10)" ( (binary_expression "uVar3 >> 0x10" identifier >> number_literal) )) << number_literal) | (binary_expression "(uVar3 >> 0x18) << 0x10" (parenthesized_expression "(uVar3 >> 0x18)" ( (binary_expression "uVar3 >> 0x18" identifier >> number_literal) )) << number_literal)) )) >> number_literal) )) + (binary_expression "((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff) * 0x10000" (parenthesized_expression "((uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff)" ( (binary_expression "(uVar3 & 0xff) << 8 | uVar3 >> 8 & 0xff" (binary_expression "(uVar3 & 0xff) << 8" (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) )) << number_literal) | (binary_expression "uVar3 >> 8 & 0xff" (binary_expression "uVar3 >> 8" identifier >> number_literal) & number_literal)) )) * number_literal)) ;) })) comment (labeled_statement "gold::Object::input_file((Object *)0x0);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::input_file((Object *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "input_file((Object *)0x0);" (call_expression "input_file((Object *)0x0)" identifier (argument_list "((Object *)0x0)" ( (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;))) (ERROR "}" }))
(translation_unit "int __thiscall\nelfcpp::Elf_file<64,false,gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  int iVar4;\n  char *pcVar5;\n  \n  puVar1 = PTR_initialize_shnum_004c1fb8;\n  pcVar5 = *(char **)this;\n  (*(code *)PTR_initialize_shnum_004c1fb8)();\n  if (*(uint *)(this + 0x10) <= param_1) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }\n  (*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);\n  iVar4 = *(int *)(pcVar5 + 0x1c);\n  if (iVar4 != 0) {\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }\n                    \n  FUN_001ce8a4();\n}\n\n" (declaration "int __thiscall\nelfcpp::Elf_file<64,false,gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "elfcpp::" identifier : :) identifier (ERROR "<64" < number_literal) , identifier , (ERROR "gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined" identifier : : identifier > : : (function_declarator "section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)" identifier (parameter_list "(Elf_file<64,false,gold::Object> *this,uint param_1)" ( (parameter_declaration "Elf_file" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "false" type_identifier) , (parameter_declaration "gold::Object> *this" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "puVar1 = PTR_initialize_shnum_004c1fb8;" (assignment_expression "puVar1 = PTR_initialize_shnum_004c1fb8" identifier = identifier) ;) (expression_statement "pcVar5 = *(char **)this;" (assignment_expression "pcVar5 = *(char **)this" identifier = (pointer_expression "*(char **)this" * (cast_expression "(char **)this" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "(*(code *)PTR_initialize_shnum_004c1fb8)();" (call_expression "(*(code *)PTR_initialize_shnum_004c1fb8)()" (parenthesized_expression "(*(code *)PTR_initialize_shnum_004c1fb8)" ( (pointer_expression "*(code *)PTR_initialize_shnum_004c1fb8" * (cast_expression "(code *)PTR_initialize_shnum_004c1fb8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(uint *)(this + 0x10) <= param_1) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" if (parenthesized_expression "(*(uint *)(this + 0x10) <= param_1)" ( (binary_expression "*(uint *)(this + 0x10) <= param_1" (pointer_expression "*(uint *)(this + 0x10)" * (cast_expression "(uint *)(this + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" { (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" identifier = (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" ( (pointer_expression "*(code *)PTR_gettext_004c5c30" * (cast_expression "(code *)PTR_gettext_004c5c30" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s__s_004c1a50 + -0x1dcc)" ( (binary_expression "PTR_s__s_004c1a50 + -0x1dcc" identifier + number_literal) )))) ;) (expression_statement "(*(code *)puVar1)(this);" (call_expression "(*(code *)puVar1)(this)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this)" ( identifier ))) ;) (labeled_statement "gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" (call_expression "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" identifier (argument_list "(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" ( identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) ))) ;))) })) (expression_statement "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);" (call_expression "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1)" (parenthesized_expression "(*(code *)PTR_section_header_offset_004c1f1c)" ( (pointer_expression "*(code *)PTR_section_header_offset_004c1f1c" * (cast_expression "(code *)PTR_section_header_offset_004c1f1c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this,param_1)" ( identifier , identifier ))) ;) (expression_statement "iVar4 = *(int *)(pcVar5 + 0x1c);" (assignment_expression "iVar4 = *(int *)(pcVar5 + 0x1c)" identifier = (pointer_expression "*(int *)(pcVar5 + 0x1c)" * (cast_expression "(int *)(pcVar5 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x1c)" ( (binary_expression "pcVar5 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" { (expression_statement "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);" (assignment_expression "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" identifier = (call_expression "(*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" (parenthesized_expression "(*(code *)PTR_get_view_004c1b74)" ( (pointer_expression "*(code *)PTR_get_view_004c1b74" * (cast_expression "(code *)PTR_get_view_004c1b74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x28);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x28)" * (cast_expression "(uint *)(iVar4 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) ))))) ;) (return_statement "return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;" return (binary_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10)" ( (binary_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10" (parenthesized_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10)" ( (binary_expression "(uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10" (binary_expression "(uVar2 >> 0x10) << 0x18" (parenthesized_expression "(uVar2 >> 0x10)" ( (binary_expression "uVar2 >> 0x10" identifier >> number_literal) )) << number_literal) | (binary_expression "(uVar2 >> 0x18) << 0x10" (parenthesized_expression "(uVar2 >> 0x18)" ( (binary_expression "uVar2 >> 0x18" identifier >> number_literal) )) << number_literal)) )) >> number_literal) )) + (binary_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff)" ( (binary_expression "(uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff" (binary_expression "(uVar2 & 0xff) << 8" (parenthesized_expression "(uVar2 & 0xff)" ( (binary_expression "uVar2 & 0xff" identifier & number_literal) )) << number_literal) | (binary_expression "uVar2 >> 8 & 0xff" (binary_expression "uVar2 >> 8" identifier >> number_literal) & number_literal)) )) * number_literal)) ;) })) (expression_statement "FUN_001ce8a4();" (call_expression "FUN_001ce8a4()" identifier (argument_list "()" ( ))) ;) (ERROR "}" }))
(translation_unit (declaration TYPE (ms_call_modifier __thiscall) (ERROR IDENT : :) IDENT (ERROR < LIT) , IDENT , (ERROR IDENT : : IDENT > : : (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) (ERROR < LIT) , (parameter_declaration TYPE) , (parameter_declaration TYPE (ERROR : : IDENT >) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) { IDENT) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;))) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) << LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) << LIT)) )) >> LIT) )) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression (binary_expression IDENT >> LIT) & LIT)) )) * LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (ERROR }))
(declaration "int __thiscall\nelfcpp::Elf_file<64,false,gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined *puVar1;" (primitive_type "int") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "elfcpp::" (identifier "elfcpp") (: ":") (: ":")) (identifier "Elf_file") (ERROR "<64" (< "<") (number_literal "64")) (, ",") (identifier "false") (, ",") (ERROR "gold::Object>::section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)\n\n{\n  undefined" (identifier "gold") (: ":") (: ":") (identifier "Object") (> ">") (: ":") (: ":") (function_declarator "section_link\n          (Elf_file<64,false,gold::Object> *this,uint param_1)" (identifier "section_link") (parameter_list "(Elf_file<64,false,gold::Object> *this,uint param_1)" (( "(") (parameter_declaration "Elf_file" (type_identifier "Elf_file")) (ERROR "<64" (< "<") (number_literal "64")) (, ",") (parameter_declaration "false" (type_identifier "false")) (, ",") (parameter_declaration "gold::Object> *this" (type_identifier "gold") (ERROR "::Object>" (: ":") (: ":") (identifier "Object") (> ">")) (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) ({ "{") (identifier "undefined")) (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (expression_statement "puVar1 = PTR_initialize_shnum_004c1fb8;" (assignment_expression "puVar1 = PTR_initialize_shnum_004c1fb8" (identifier "puVar1") (= "=") (identifier "PTR_initialize_shnum_004c1fb8")) (; ";")) (expression_statement "pcVar5 = *(char **)this;" (assignment_expression "pcVar5 = *(char **)this" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)this" (* "*") (cast_expression "(char **)this" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this")))) (; ";")) (expression_statement "(*(code *)PTR_initialize_shnum_004c1fb8)();" (call_expression "(*(code *)PTR_initialize_shnum_004c1fb8)()" (parenthesized_expression "(*(code *)PTR_initialize_shnum_004c1fb8)" (( "(") (pointer_expression "*(code *)PTR_initialize_shnum_004c1fb8" (* "*") (cast_expression "(code *)PTR_initialize_shnum_004c1fb8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_initialize_shnum_004c1fb8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(uint *)(this + 0x10) <= param_1) {\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" (if "if") (parenthesized_expression "(*(uint *)(this + 0x10) <= param_1)" (( "(") (binary_expression "*(uint *)(this + 0x10) <= param_1" (pointer_expression "*(uint *)(this + 0x10)" (* "*") (cast_expression "(uint *)(this + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) (<= "<=") (identifier "param_1")) () ")")) (compound_statement "{\n    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);\n    (*(code *)puVar1)(this);\n    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));\n  }" ({ "{") (expression_statement "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);" (assignment_expression "uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" (identifier "uVar3") (= "=") (call_expression "(*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc)" (parenthesized_expression "(*(code *)PTR_gettext_004c5c30)" (( "(") (pointer_expression "*(code *)PTR_gettext_004c5c30" (* "*") (cast_expression "(code *)PTR_gettext_004c5c30" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_gettext_004c5c30"))) () ")")) (argument_list "(PTR_s__s_004c1a50 + -0x1dcc)" (( "(") (binary_expression "PTR_s__s_004c1a50 + -0x1dcc" (identifier "PTR_s__s_004c1a50") (+ "+") (number_literal "-0x1dcc")) () ")")))) (; ";")) (expression_statement "(*(code *)puVar1)(this);" (call_expression "(*(code *)puVar1)(this)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(this)" (( "(") (identifier "this") () ")"))) (; ";")) (labeled_statement "gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (labeled_statement "Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" (statement_identifier "Object") (: ":") (ERROR ":" (: ":")) (expression_statement "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));" (call_expression "error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" (identifier "error") (argument_list "(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10))" (( "(") (identifier "pcVar5") (, ",") (identifier "uVar3") (, ",") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(this + 0x10)" (* "*") (cast_expression "(undefined4 *)(this + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")))) (} "}"))) (expression_statement "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);" (call_expression "(*(code *)PTR_section_header_offset_004c1f1c)(this,param_1)" (parenthesized_expression "(*(code *)PTR_section_header_offset_004c1f1c)" (( "(") (pointer_expression "*(code *)PTR_section_header_offset_004c1f1c" (* "*") (cast_expression "(code *)PTR_section_header_offset_004c1f1c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_section_header_offset_004c1f1c"))) () ")")) (argument_list "(this,param_1)" (( "(") (identifier "this") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar4 = *(int *)(pcVar5 + 0x1c);" (assignment_expression "iVar4 = *(int *)(pcVar5 + 0x1c)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(pcVar5 + 0x1c)" (* "*") (cast_expression "(int *)(pcVar5 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x1c)" (( "(") (binary_expression "pcVar5 + 0x1c" (identifier "pcVar5") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);\n    uVar2 = *(uint *)(iVar4 + 0x28);\n    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);" (assignment_expression "iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20)" (parenthesized_expression "(*(code *)PTR_get_view_004c1b74)" (( "(") (pointer_expression "*(code *)PTR_get_view_004c1b74" (* "*") (cast_expression "(code *)PTR_get_view_004c1b74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_get_view_004c1b74"))) () ")")) (argument_list "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x28);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x28)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x28)" (* "*") (cast_expression "(uint *)(iVar4 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (return_statement "return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;" (return "return") (binary_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +\n           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "(((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10)" (( "(") (binary_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10" (parenthesized_expression "((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10)" (( "(") (binary_expression "(uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10" (binary_expression "(uVar2 >> 0x10) << 0x18" (parenthesized_expression "(uVar2 >> 0x10)" (( "(") (binary_expression "uVar2 >> 0x10" (identifier "uVar2") (>> ">>") (number_literal "0x10")) () ")")) (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 >> 0x18) << 0x10" (parenthesized_expression "(uVar2 >> 0x18)" (( "(") (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) () ")")) (<< "<<") (number_literal "0x10"))) () ")")) (>> ">>") (number_literal "0x10")) () ")")) (+ "+") (binary_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000" (parenthesized_expression "((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff)" (( "(") (binary_expression "(uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff" (binary_expression "(uVar2 & 0xff) << 8" (parenthesized_expression "(uVar2 & 0xff)" (( "(") (binary_expression "uVar2 & 0xff" (identifier "uVar2") (& "&") (number_literal "0xff")) () ")")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "uVar2 >> 8 & 0xff" (binary_expression "uVar2 >> 8" (identifier "uVar2") (>> ">>") (number_literal "8")) (& "&") (number_literal "0xff"))) () ")")) (* "*") (number_literal "0x10000"))) (; ";")) (} "}"))) (expression_statement "FUN_001ce8a4();" (call_expression "FUN_001ce8a4()" (identifier "FUN_001ce8a4") (argument_list "()" (( "(") () ")"))) (; ";")) (ERROR "}" (} "}"))

/* DWARF original prototype: Elf_Word section_link(Elf_file<64,_false,_gold::Object> * this, uint
   shndx) */

type_1 __thiscall
elfcpp::Elf_file<64,_false,_gold::type_4>::section_link
          (Elf_file<64,_false,_gold::type_4> *this,type_2 var_1)

{
  undefined *puVar1;
  int var_5;
  type_2 var_6;
  char *format;
  type_3 *var_4;
  type_4 *this_00;
  
  puVar1 = PTR_initialize_shnum_004c1fb8;
  this_00 = this->file_;
  (*(type_5 *)PTR_initialize_shnum_004c1fb8)();
  if (this->shnum_ <= var_1) {
    format = (char *)(*(type_5 *)PTR_gettext_004c5c30)(var_2 + -0x1dcc);
    (*(type_5 *)puVar1)(this);
    gold::Object::var_3(this_00,format,var_1,this->shnum_);
  }
  (*(type_5 *)PTR_section_header_offset_004c1f1c)(this,var_1);
  var_4 = this_00->input_file_;
  if (var_4 != (type_3 *)0x0) {
    var_5 = (*(type_5 *)PTR_get_view_004c1b74)(&var_4->file_);
    var_6 = *(type_2 *)(var_5 + 0x28);
    return (((var_6 >> 0x10) << 0x18 | (var_6 >> 0x18) << 0x10) >> 0x10) +
           ((var_6 & 0xff) << 8 | var_6 >> 8 & 0xff) * 0x10000;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::var_7((type_4 *)0x0);
}


(translation_unit (declaration type: (primitive_type) declarator: (ms_call_modifier) (ERROR (identifier)) declarator: (identifier) (ERROR (number_literal)) declarator: (identifier) (ERROR (identifier) (identifier) (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier)) (ERROR (number_literal)) (parameter_declaration type: (type_identifier)) (parameter_declaration type: (type_identifier) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) (identifier)) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (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 (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (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))))))) (return_statement (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (ERROR))

/* elfcpp::Elf_file<64, false, gold::Object>::MASKED(unsigned int) */

int __thiscall
elfcpp::Elf_file<64,false,gold::Object>::MASKED
          (Elf_file<64,false,gold::Object> *this,uint param_1)

{
  undefined *puVar1;
  uint uVar2;
  undefined4 uVar3;
  int iVar4;
  char *pcVar5;
  
  puVar1 = PTR_initialize_shnum_004c1fb8;
  pcVar5 = *(char **)this;
  (*(code *)PTR_initialize_shnum_004c1fb8)();
  if (*(uint *)(this + 0x10) <= param_1) {
    uVar3 = (*(code *)PTR_gettext_004c5c30)(PTR_s__s_004c1a50 + -0x1dcc);
    (*(code *)puVar1)(this);
    gold::Object::error(pcVar5,uVar3,param_1,*(undefined4 *)(this + 0x10));
  }
  (*(code *)PTR_section_header_offset_004c1f1c)(this,param_1);
  iVar4 = *(int *)(pcVar5 + 0x1c);
  if (iVar4 != 0) {
    iVar4 = (*(code *)PTR_get_view_004c1b74)(iVar4 + 0x20);
    uVar2 = *(uint *)(iVar4 + 0x28);
    return (((uVar2 >> 0x10) << 0x18 | (uVar2 >> 0x18) << 0x10) >> 0x10) +
           ((uVar2 & 0xff) << 8 | uVar2 >> 8 & 0xff) * 0x10000;
  }
                    /* WARNING: Subroutine does not return */
  FUN_001ce8a4();
}

