
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Location section_contents(Elf_file<32,_true,_gold::Object> * this, uint
   shndx) */

Location * __thiscall
elfcpp::Elf_file<32,_true,_gold::Object>::section_contents
          (Elf_file<32,_true,_gold::Object> *this,uint shndx)

{
  Object *this_00;
  uint uVar1;
  uint uVar2;
  uchar *puVar3;
  char *format;
  off_t start;
  Location *in_stack_00000004;
  Object *in_stack_ffffffd4;
  
  this_00 = this->file_;
  initialize_shnum(this);
  if (this->shnum_ <= shndx) {
    initialize_shnum(this);
    uVar1 = this->shnum_;
    format = (char *)gettext();
    gold::Object::error(this_00,format,shndx,uVar1);
  }
  start = section_header_offset(this,shndx);
  if (this_00->input_file_ != (Input_file *)0x0) {
    puVar3 = gold::File_read::get_view
                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);
    *(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;
    uVar1 = *(uint *)(puVar3 + 0x14);
    uVar2 = *(uint *)(puVar3 + 0x10);
    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;
    *(uint *)&in_stack_00000004->file_offset =
         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
    *(uint *)&in_stack_00000004->data_size =
         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    return in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::input_file(in_stack_ffffffd4);
}



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

uint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  undefined8 uVar6;
  
  iVar4 = *param_2;
  FUN_000519b0(param_2);
  if ((uint)param_2[3] <= param_3) {
    FUN_000519b0(param_2);
    iVar3 = param_2[3];
    uVar5 = gettext("section_contents: bad shndx %u >= %u");
    FUN_000b1840(iVar4,uVar5,param_3,iVar3);
  }
  uVar6 = FUN_00054560(param_2,param_3);
  if (*(int *)(iVar4 + 0x1c) != 0) {
    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),
                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);
    param_1[1] = 0;
    uVar1 = *(uint *)(iVar4 + 0x14);
    uVar2 = *(uint *)(iVar4 + 0x10);
    param_1[3] = 0;
    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000b1650();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2d0e47
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [EDI]
PUSH EDI
CALL 0x000519b0
ADD ESP,0x10
MOV EAX,dword ptr [EDI + 0xc]
CMP dword ptr [ESP + 0x38],EAX
JNC 0x000be238
SUB ESP,0x8
PUSH dword ptr [ESP + 0x40]
PUSH EDI
CALL 0x00054560
MOV ECX,dword ptr [EBP + 0x1c]
ADD ESP,0x10
TEST ECX,ECX
JZ 0x000be271
ADD ECX,0x1c
PUSH 0x1
PUSH 0x1
PUSH 0x28
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x20]
PUSH ECX
CALL 0x000687f0
MOV dword ptr [ESI + 0x4],0x0
MOV EDX,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [ESI + 0xc],0x0
BSWAP EAX
BSWAP EDX
MOV dword ptr [ESI],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x8],EDX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
PUSH EDI
CALL 0x000519b0
MOV ECX,dword ptr [EDI + 0xc]
LEA EAX,[EBX + 0xffef1a94]
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x1c],ECX
CALL 0x000293b0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
PUSH ECX
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
PUSH EBP
CALL 0x000b1840
ADD ESP,0x10
JMP 0x000be1de
CALL 0x000b1650
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}\n\n" comment (function_definition "uint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}" type_identifier (pointer_declarator "* FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" * (function_declarator "FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" identifier (parameter_list "(uint *param_1,int *param_2,uint param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" if (parenthesized_expression "((uint)param_2[3] <= param_3)" ( (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" { (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar3 = param_2[3];" (assignment_expression "iVar3 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(iVar4,uVar5,param_3,iVar3);" (call_expression "FUN_000b1840(iVar4,uVar5,param_3,iVar3)" identifier (argument_list "(iVar4,uVar5,param_3,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar6 = FUN_00054560(param_2,param_3);" (assignment_expression "uVar6 = FUN_00054560(param_2,param_3)" identifier = (call_expression "FUN_00054560(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" { (expression_statement "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);" (assignment_expression "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" identifier = (call_expression "FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" identifier (argument_list "(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" ( (binary_expression "*(int *)(iVar4 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" * (cast_expression "(undefined4 *)(iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = *(uint *)(iVar4 + 0x14);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (expression_statement "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Location section_contents(Elf_file<32,_true,_gold::Object> * this, uint\n   shndx) */\n\nLocation * __thiscall\nelfcpp::Elf_file<32,_true,_gold::Object>::section_contents\n          (Elf_file<32,_true,_gold::Object> *this,uint shndx)\n\n{\n  Object *this_00;\n  uint uVar1;\n  uint uVar2;\n  uchar *puVar3;\n  char *format;\n  off_t start;\n  Location *in_stack_00000004;\n  Object *in_stack_ffffffd4;\n  \n  this_00 = this->file_;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext();\n    gold::Object::error(this_00,format,shndx,uVar1);\n  }\n  start = section_header_offset(this,shndx);\n  if (this_00->input_file_ != (Input_file *)0x0) {\n    puVar3 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    *(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;\n    uVar1 = *(uint *)(puVar3 + 0x14);\n    uVar2 = *(uint *)(puVar3 + 0x10);\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    *(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Object::input_file(in_stack_ffffffd4);\n}\n\n" comment comment (ERROR "Location * __thiscall\nelfcpp::Elf_file<32,_true," (binary_expression "Location * __thiscall\nelfcpp::Elf_file<32" (binary_expression "Location * __thiscall" identifier * identifier) (ERROR "elfcpp::Elf_file" identifier : : identifier) < number_literal) , identifier ,) (labeled_statement "_gold::Object>::section_contents\n          (Elf_file<32,_true,_gold::Object> *this,uint shndx)" statement_identifier (ERROR "::Object>:" : : identifier > :) : (expression_statement "section_contents\n          (Elf_file<32,_true,_gold::Object> *this,uint shndx)" (call_expression "section_contents\n          (Elf_file<32,_true,_gold::Object> *this,uint shndx)" identifier (argument_list "(Elf_file<32,_true,_gold::Object> *this,uint shndx)" ( (binary_expression "Elf_file<32" identifier < number_literal) , identifier , (ERROR "_gold::" identifier : :) (binary_expression "Object> *this" identifier > (pointer_expression "*this" * identifier)) , (ERROR "uint" identifier) identifier ))) ;)) (compound_statement "{\n  Object *this_00;\n  uint uVar1;\n  uint uVar2;\n  uchar *puVar3;\n  char *format;\n  off_t start;\n  Location *in_stack_00000004;\n  Object *in_stack_ffffffd4;\n  \n  this_00 = this->file_;\n  initialize_shnum(this);\n  if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext();\n    gold::Object::error(this_00,format,shndx,uVar1);\n  }\n  start = section_header_offset(this,shndx);\n  if (this_00->input_file_ != (Input_file *)0x0) {\n    puVar3 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    *(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;\n    uVar1 = *(uint *)(puVar3 + 0x14);\n    uVar2 = *(uint *)(puVar3 + 0x10);\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    *(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return in_stack_00000004;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::Object::input_file(in_stack_ffffffd4);\n}" { (declaration "Object *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uchar *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "off_t start;" type_identifier identifier ;) (declaration "Location *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "Object *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (expression_statement "this_00 = this->file_;" (assignment_expression "this_00 = this->file_" identifier = (field_expression "this->file_" identifier -> field_identifier)) ;) (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (this->shnum_ <= shndx) {\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext();\n    gold::Object::error(this_00,format,shndx,uVar1);\n  }" if (parenthesized_expression "(this->shnum_ <= shndx)" ( (binary_expression "this->shnum_ <= shndx" (field_expression "this->shnum_" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n    initialize_shnum(this);\n    uVar1 = this->shnum_;\n    format = (char *)gettext();\n    gold::Object::error(this_00,format,shndx,uVar1);\n  }" { (expression_statement "initialize_shnum(this);" (call_expression "initialize_shnum(this)" identifier (argument_list "(this)" ( identifier ))) ;) (expression_statement "uVar1 = this->shnum_;" (assignment_expression "uVar1 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext();" (assignment_expression "format = (char *)gettext()" identifier = (cast_expression "(char *)gettext()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext()" identifier (argument_list "()" ( ))))) ;) (labeled_statement "gold::Object::error(this_00,format,shndx,uVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "Object::error(this_00,format,shndx,uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "error(this_00,format,shndx,uVar1);" (call_expression "error(this_00,format,shndx,uVar1)" identifier (argument_list "(this_00,format,shndx,uVar1)" ( identifier , identifier , identifier , identifier ))) ;))) })) (expression_statement "start = section_header_offset(this,shndx);" (assignment_expression "start = section_header_offset(this,shndx)" identifier = (call_expression "section_header_offset(this,shndx)" identifier (argument_list "(this,shndx)" ( identifier , identifier )))) ;) (if_statement "if (this_00->input_file_ != (Input_file *)0x0) {\n    puVar3 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    *(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;\n    uVar1 = *(uint *)(puVar3 + 0x14);\n    uVar2 = *(uint *)(puVar3 + 0x10);\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    *(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return in_stack_00000004;\n  }" if (parenthesized_expression "(this_00->input_file_ != (Input_file *)0x0)" ( (binary_expression "this_00->input_file_ != (Input_file *)0x0" (field_expression "this_00->input_file_" identifier -> field_identifier) != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar3 = gold::File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);\n    *(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;\n    uVar1 = *(uint *)(puVar3 + 0x14);\n    uVar2 = *(uint *)(puVar3 + 0x10);\n    *(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;\n    *(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    *(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return in_stack_00000004;\n  }" { (ERROR "puVar3 = gold::" (assignment_expression "puVar3 = gold" identifier = identifier) : :) (labeled_statement "File_read::get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);" statement_identifier : (ERROR ":" :) (expression_statement "get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);" (call_expression "get_view\n                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true)" identifier (argument_list "(&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true)" ( (pointer_expression "&this_00->input_file_->file_" & (field_expression "this_00->input_file_->file_" (field_expression "this_00->input_file_" identifier -> field_identifier) -> field_identifier)) , (field_expression "this_00->offset_" identifier -> field_identifier) , identifier , number_literal , true , true ))) ;)) (expression_statement "*(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&in_stack_00000004->file_offset + 4) = 0" (pointer_expression "*(undefined4 *)((int)&in_stack_00000004->file_offset + 4)" * (cast_expression "(undefined4 *)((int)&in_stack_00000004->file_offset + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&in_stack_00000004->file_offset + 4)" ( (binary_expression "(int)&in_stack_00000004->file_offset + 4" (cast_expression "(int)&in_stack_00000004->file_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&in_stack_00000004->file_offset" & (field_expression "in_stack_00000004->file_offset" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = *(uint *)(puVar3 + 0x14);" (assignment_expression "uVar1 = *(uint *)(puVar3 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar3 + 0x14)" * (cast_expression "(uint *)(puVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x14)" ( (binary_expression "puVar3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(puVar3 + 0x10);" (assignment_expression "uVar2 = *(uint *)(puVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(puVar3 + 0x10)" * (cast_expression "(uint *)(puVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0x10)" ( (binary_expression "puVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&in_stack_00000004->data_size + 4) = 0" (pointer_expression "*(undefined4 *)((int)&in_stack_00000004->data_size + 4)" * (cast_expression "(undefined4 *)((int)&in_stack_00000004->data_size + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&in_stack_00000004->data_size + 4)" ( (binary_expression "(int)&in_stack_00000004->data_size + 4" (cast_expression "(int)&in_stack_00000004->data_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&in_stack_00000004->data_size" & (field_expression "in_stack_00000004->data_size" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*(uint *)&in_stack_00000004->file_offset =\n         uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*(uint *)&in_stack_00000004->file_offset" * (cast_expression "(uint *)&in_stack_00000004->file_offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&in_stack_00000004->file_offset" & (field_expression "in_stack_00000004->file_offset" identifier -> field_identifier)))) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (expression_statement "*(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)&in_stack_00000004->data_size =\n         uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)&in_stack_00000004->data_size" * (cast_expression "(uint *)&in_stack_00000004->data_size" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&in_stack_00000004->data_size" & (field_expression "in_stack_00000004->data_size" identifier -> field_identifier)))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (return_statement "return in_stack_00000004;" return identifier ;) })) comment (labeled_statement "gold::Object::input_file(in_stack_ffffffd4);" statement_identifier : (ERROR ":" :) (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 ))) ;))) }))
(translation_unit "uint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_000b1650();\n}\n\n" (function_definition "uint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_000b1650();\n}" type_identifier (pointer_declarator "* FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" * (function_declarator "FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" identifier (parameter_list "(uint *param_1,int *param_2,uint param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_000b1650();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" if (parenthesized_expression "((uint)param_2[3] <= param_3)" ( (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" { (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar3 = param_2[3];" (assignment_expression "iVar3 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_contents: bad shndx %u >= %u")" identifier = (call_expression "gettext("section_contents: bad shndx %u >= %u")" identifier (argument_list "("section_contents: bad shndx %u >= %u")" ( (string_literal ""section_contents: bad shndx %u >= %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(iVar4,uVar5,param_3,iVar3);" (call_expression "FUN_000b1840(iVar4,uVar5,param_3,iVar3)" identifier (argument_list "(iVar4,uVar5,param_3,iVar3)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "uVar6 = FUN_00054560(param_2,param_3);" (assignment_expression "uVar6 = FUN_00054560(param_2,param_3)" identifier = (call_expression "FUN_00054560(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier )))) ;) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" if (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" { (expression_statement "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);" (assignment_expression "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" identifier = (call_expression "FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" identifier (argument_list "(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" ( (binary_expression "*(int *)(iVar4 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" * (cast_expression "(undefined4 *)(iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" * (cast_expression "(undefined4 *)(iVar4 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = *(uint *)(iVar4 + 0x14);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" * identifier) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal))) ;) (expression_statement "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_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 ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (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) )))) , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "uint * FUN_000be1b0(uint *param_1,int *param_2,uint param_3)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_000b1650();\n}" (type_identifier "uint") (pointer_declarator "* FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" (* "*") (function_declarator "FUN_000be1b0(uint *param_1,int *param_2,uint param_3)" (identifier "FUN_000be1b0") (parameter_list "(uint *param_1,int *param_2,uint param_3)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")")))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  undefined8 uVar6;\n  \n  iVar4 = *param_2;\n  FUN_000519b0(param_2);\n  if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }\n  uVar6 = FUN_00054560(param_2,param_3);\n  if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }\n                    \n  FUN_000b1650();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" (identifier "iVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" (identifier "FUN_000519b0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (if_statement "if ((uint)param_2[3] <= param_3) {\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" (if "if") (parenthesized_expression "((uint)param_2[3] <= param_3)" (( "(") (binary_expression "(uint)param_2[3] <= param_3" (cast_expression "(uint)param_2[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "param_3")) () ")")) (compound_statement "{\n    FUN_000519b0(param_2);\n    iVar3 = param_2[3];\n    uVar5 = gettext("section_contents: bad shndx %u >= %u");\n    FUN_000b1840(iVar4,uVar5,param_3,iVar3);\n  }" ({ "{") (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" (identifier "FUN_000519b0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar3 = param_2[3];" (assignment_expression "iVar3 = param_2[3]" (identifier "iVar3") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar5 = gettext("section_contents: bad shndx %u >= %u");" (assignment_expression "uVar5 = gettext("section_contents: bad shndx %u >= %u")" (identifier "uVar5") (= "=") (call_expression "gettext("section_contents: bad shndx %u >= %u")" (identifier "gettext") (argument_list "("section_contents: bad shndx %u >= %u")" (( "(") (string_literal ""section_contents: bad shndx %u >= %u"" (" """) (string_content "section_contents: bad shndx %u >= %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000b1840(iVar4,uVar5,param_3,iVar3);" (call_expression "FUN_000b1840(iVar4,uVar5,param_3,iVar3)" (identifier "FUN_000b1840") (argument_list "(iVar4,uVar5,param_3,iVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "uVar5") (, ",") (identifier "param_3") (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = FUN_00054560(param_2,param_3);" (assignment_expression "uVar6 = FUN_00054560(param_2,param_3)" (identifier "uVar6") (= "=") (call_expression "FUN_00054560(param_2,param_3)" (identifier "FUN_00054560") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar4 + 0x1c) != 0) {\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) != 0" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);\n    param_1[1] = 0;\n    uVar1 = *(uint *)(iVar4 + 0x14);\n    uVar2 = *(uint *)(iVar4 + 0x10);\n    param_1[3] = 0;\n    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;\n    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n    return param_1;\n  }" ({ "{") (expression_statement "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);" (assignment_expression "iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" (identifier "iVar4") (= "=") (call_expression "FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" (identifier "FUN_000687f0") (argument_list "(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),\n                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1)" (( "(") (binary_expression "*(int *)(iVar4 + 0x1c) + 0x1c" (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar6") (, ",") (number_literal "0x28") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar4 + 0x14);" (assignment_expression "uVar1 = *(uint *)(iVar4 + 0x14)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar2 = *(uint *)(iVar4 + 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;" (assignment_expression "*param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" (identifier "FUN_000b1650") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Location section_contents(Elf_file<32,_true,_gold::Object> * this, uint
   shndx) */

type_4 * __thiscall
elfcpp::var_2<32,_true,_gold::var_3>::var_1
          (var_2<32,_true,_gold::var_3> *this,type_1 var_5)

{
  var_3 *this_00;
  type_1 var_12;
  type_1 var_11;
  type_2 *var_10;
  char *format;
  type_3 start;
  type_4 *in_stack_00000004;
  var_3 *in_stack_ffffffd4;
  
  this_00 = this->file_;
  var_4(this);
  if (this->shnum_ <= var_5) {
    var_4(this);
    var_12 = this->shnum_;
    format = (char *)var_6();
    gold::Object::var_7(this_00,format,var_5,var_12);
  }
  start = var_8(this,var_5);
  if (this_00->input_file_ != (type_5 *)0x0) {
    var_10 = gold::File_read::var_9
                       (&this_00->input_file_->file_,this_00->offset_,start,0x28,true,true);
    *(type_6 *)((int)&in_stack_00000004->file_offset + 4) = 0;
    var_12 = *(type_1 *)(var_10 + 0x14);
    var_11 = *(type_1 *)(var_10 + 0x10);
    *(type_6 *)((int)&in_stack_00000004->data_size + 4) = 0;
    *(type_1 *)&in_stack_00000004->file_offset =
         var_11 >> 0x18 | (var_11 & 0xff0000) >> 8 | (var_11 & 0xff00) << 8 | var_11 << 0x18;
    *(type_1 *)&in_stack_00000004->data_size =
         var_12 >> 0x18 | (var_12 & 0xff0000) >> 8 | (var_12 & 0xff00) << 8 | var_12 << 0x18;
    return in_stack_00000004;
  }
                    /* WARNING: Subroutine does not return */
  gold::Object::var_13(in_stack_ffffffd4);
}


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

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

uint * MASKED(uint *param_1,int *param_2,uint param_3)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  undefined8 uVar6;
  
  iVar4 = *param_2;
  FUN_000519b0(param_2);
  if ((uint)param_2[3] <= param_3) {
    FUN_000519b0(param_2);
    iVar3 = param_2[3];
    uVar5 = gettext("section_contents: bad shndx %u >= %u");
    FUN_000b1840(iVar4,uVar5,param_3,iVar3);
  }
  uVar6 = FUN_00054560(param_2,param_3);
  if (*(int *)(iVar4 + 0x1c) != 0) {
    iVar4 = FUN_000687f0(*(int *)(iVar4 + 0x1c) + 0x1c,*(undefined4 *)(iVar4 + 0x20),
                         *(undefined4 *)(iVar4 + 0x24),uVar6,0x28,1,1);
    param_1[1] = 0;
    uVar1 = *(uint *)(iVar4 + 0x14);
    uVar2 = *(uint *)(iVar4 + 0x10);
    param_1[3] = 0;
    *param_1 = uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18;
    param_1[2] = uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000b1650();
}

