
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original name: read_section_data<32, true>
   DWARF original prototype: void read_section_data<32,_true>(Object * this,
   Elf_file<32,_true,_gold::Object> * elf_file, Read_symbols_data * sd) */

void __thiscall
gold::Object::read_section_data<32,_true>
          (Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)

{
  uchar *puVar1;
  uint uVar2;
  Input_file *pIVar3;
  File_view *pFVar4;
  char *format;
  uint uVar5;
  Object *in_stack_ffffffd4;
  
  if (this->input_file_ != (Input_file *)0x0) {
    pFVar4 = File_read::get_lasting_view
                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28
                        ,true,true);
    sd->section_headers = pFVar4;
    puVar1 = pFVar4->data_;
    elfcpp::Elf_file<32,_true,_gold::Object>::initialize_shnum(elf_file);
    uVar2 = elf_file->shstrndx_;
    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4);
    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
    if (uVar5 != 3) {
      format = (char *)gettext("section name section has wrong type: %u");
      error(this,format,uVar5);
    }
    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14);
    pIVar3 = this->input_file_;
    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;
    sd->section_names_size = uVar5;
    uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10);
    if (pIVar3 != (Input_file *)0x0) {
      pFVar4 = File_read::get_lasting_view
                         (&pIVar3->file_,this->offset_,
                          (ulonglong)
                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |
                          uVar2 << 0x18),uVar5,false,false);
      sd->section_names = pFVar4;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  input_file(in_stack_ffffffd4);
}



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

void FUN_000bb2e0(int param_1,int param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  
  if (*(int *)(param_1 + 0x1c) != 0) {
    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),
                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),
                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);
    *param_3 = iVar2;
    iVar2 = *(int *)(iVar2 + 8);
    FUN_000519b0(param_2);
    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;
    uVar4 = *(uint *)(iVar2 + 4);
    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
    if (uVar4 != 3) {
      uVar3 = gettext("section name section has wrong type: %u");
      FUN_000b1840(param_1,uVar3,uVar4);
    }
    uVar4 = *(uint *)(iVar2 + 0x14);
    iVar1 = *(int *)(param_1 + 0x1c);
    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
    param_3[2] = uVar5;
    uVar4 = *(uint *)(iVar2 + 0x10);
    if (iVar1 != 0) {
      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),
                           *(undefined4 *)(param_1 + 0x24),
                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |
                           uVar4 << 0x18,0,uVar5,0,0);
      param_3[1] = iVar2;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000b1650();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2d3d17
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [EAX + 0x4]
MOV EBP,dword ptr [EAX + 0x8]
MOV EAX,dword ptr [ESI + 0x28]
LEA EDX,[EAX + EAX*0x4]
MOV EAX,dword ptr [ESI + 0x1c]
SHL EDX,0x3
TEST EAX,EAX
JZ 0x000bb3bd
ADD EAX,0x1c
PUSH 0x1
PUSH 0x1
PUSH EDX
PUSH EBP
PUSH EDI
PUSH dword ptr [ESI + 0x24]
PUSH dword ptr [ESI + 0x20]
PUSH EAX
CALL 0x00068850
MOV EDI,dword ptr [ESP + 0x58]
ADD ESP,0x14
MOV dword ptr [EDI],EAX
MOV EDI,dword ptr [EAX + 0x8]
PUSH dword ptr [ESP + 0x40]
CALL 0x000519b0
MOV EAX,dword ptr [ESP + 0x44]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0x10]
LEA EAX,[EAX + EAX*0x4]
LEA EDX,[EDI + EAX*0x8]
MOV EBP,dword ptr [EDX + 0x4]
BSWAP EBP
CMP EBP,0x3
JZ 0x000bb37e
MOV dword ptr [ESP + 0xc],EDX
LEA EAX,[EBX + 0xffef1930]
SUB ESP,0xc
PUSH EAX
CALL 0x000293b0
ADD ESP,0xc
PUSH EBP
PUSH EAX
PUSH ESI
CALL 0x000b1840
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [EDX + 0x14]
MOV EAX,dword ptr [ESP + 0x38]
MOV ECX,dword ptr [ESI + 0x1c]
BSWAP EBP
MOV dword ptr [EAX + 0x8],EBP
MOV EAX,dword ptr [EDX + 0x10]
XOR EDX,EDX
BSWAP EAX
TEST ECX,ECX
JZ 0x000bb3bd
ADD ECX,0x1c
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH EDX
PUSH EAX
PUSH dword ptr [ESI + 0x24]
PUSH dword ptr [ESI + 0x20]
PUSH ECX
CALL 0x00068850
MOV ECX,dword ptr [ESP + 0x58]
MOV dword ptr [ECX + 0x4],EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x000b1650
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000bb2e0(int param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}\n\n" comment (function_definition "void FUN_000bb2e0(int param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}" primitive_type (function_declarator "FUN_000bb2e0(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000b1650();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" { (expression_statement "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);" (assignment_expression "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" identifier = (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" identifier (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x28) * 0x28" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) * number_literal) , number_literal , number_literal )))) ;) (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;" (assignment_expression "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28" identifier = (binary_expression "iVar2 + *(int *)(param_2 + 0x10) * 0x28" identifier + (binary_expression "*(int *)(param_2 + 0x10) * 0x28" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 4)" identifier = (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" if (parenthesized_expression "(uVar4 != 3)" ( (binary_expression "uVar4 != 3" identifier != number_literal) )) (compound_statement "{\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" { (expression_statement "uVar3 = gettext("section name section has wrong type: %u");" (assignment_expression "uVar3 = gettext("section name section has wrong type: %u")" identifier = (call_expression "gettext("section name section has wrong type: %u")" identifier (argument_list "("section name section has wrong type: %u")" ( (string_literal ""section name section has wrong type: %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(param_1,uVar3,uVar4);" (call_expression "FUN_000b1840(param_1,uVar3,uVar4)" identifier (argument_list "(param_1,uVar3,uVar4)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (expression_statement "param_3[2] = uVar5;" (assignment_expression "param_3[2] = uVar5" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" { (expression_statement "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);" (assignment_expression "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" identifier = (call_expression "FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" identifier (argument_list "(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) , number_literal , identifier , number_literal , number_literal )))) ;) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) })) 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 name: read_section_data<32, true>\n   DWARF original prototype: void read_section_data<32,_true>(Object * this,\n   Elf_file<32,_true,_gold::Object> * elf_file, Read_symbols_data * sd) */\n\nvoid __thiscall\ngold::Object::read_section_data<32,_true>\n          (Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)\n\n{\n  uchar *puVar1;\n  uint uVar2;\n  Input_file *pIVar3;\n  File_view *pFVar4;\n  char *format;\n  uint uVar5;\n  Object *in_stack_ffffffd4;\n  \n  if (this->input_file_ != (Input_file *)0x0) {\n    pFVar4 = File_read::get_lasting_view\n                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true);\n    sd->section_headers = pFVar4;\n    puVar1 = pFVar4->data_;\n    elfcpp::Elf_file<32,_true,_gold::Object>::initialize_shnum(elf_file);\n    uVar2 = elf_file->shstrndx_;\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4);\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    if (uVar5 != 3) {\n      format = (char *)gettext("section name section has wrong type: %u");\n      error(this,format,uVar5);\n    }\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14);\n    pIVar3 = this->input_file_;\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    sd->section_names_size = uVar5;\n    uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10);\n    if (pIVar3 != (Input_file *)0x0) {\n      pFVar4 = File_read::get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);\n      sd->section_names = pFVar4;\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  input_file(in_stack_ffffffd4);\n}\n\n" comment comment (declaration "void __thiscall\ngold::Object::read_section_data<32,_true>\n          (Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)\n\n{\n  uchar *puVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Object::" identifier : : identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>\n          (Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)\n\n{\n  uchar" (function_declarator "_true>\n          (Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)" identifier (ERROR ">" >) (parameter_list "(Object *this,Elf_file<32,_true,_gold::Object> *elf_file,Read_symbols_data *sd)" ( (parameter_declaration "Object *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Elf_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_gold::Object> *elf_file" type_identifier (ERROR "::Object>" : : identifier >) (pointer_declarator "*elf_file" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "Input_file *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "File_view *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "Object *in_stack_ffffffd4;" type_identifier (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (if_statement "if (this->input_file_ != (Input_file *)0x0) {\n    pFVar4 = File_read::get_lasting_view\n                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true);\n    sd->section_headers = pFVar4;\n    puVar1 = pFVar4->data_;\n    elfcpp::Elf_file<32,_true,_gold::Object>::initialize_shnum(elf_file);\n    uVar2 = elf_file->shstrndx_;\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4);\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    if (uVar5 != 3) {\n      format = (char *)gettext("section name section has wrong type: %u");\n      error(this,format,uVar5);\n    }\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14);\n    pIVar3 = this->input_file_;\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    sd->section_names_size = uVar5;\n    uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10);\n    if (pIVar3 != (Input_file *)0x0) {\n      pFVar4 = File_read::get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);\n      sd->section_names = pFVar4;\n      return;\n    }\n  }" if (parenthesized_expression "(this->input_file_ != (Input_file *)0x0)" ( (binary_expression "this->input_file_ != (Input_file *)0x0" (field_expression "this->input_file_" identifier -> field_identifier) != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pFVar4 = File_read::get_lasting_view\n                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true);\n    sd->section_headers = pFVar4;\n    puVar1 = pFVar4->data_;\n    elfcpp::Elf_file<32,_true,_gold::Object>::initialize_shnum(elf_file);\n    uVar2 = elf_file->shstrndx_;\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4);\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    if (uVar5 != 3) {\n      format = (char *)gettext("section name section has wrong type: %u");\n      error(this,format,uVar5);\n    }\n    uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14);\n    pIVar3 = this->input_file_;\n    uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;\n    sd->section_names_size = uVar5;\n    uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10);\n    if (pIVar3 != (Input_file *)0x0) {\n      pFVar4 = File_read::get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);\n      sd->section_names = pFVar4;\n      return;\n    }\n  }" { (ERROR "pFVar4 = File_read::" (assignment_expression "pFVar4 = File_read" identifier = identifier) : :) (expression_statement "get_lasting_view\n                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true);" (call_expression "get_lasting_view\n                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true)" identifier (argument_list "(&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28\n                        ,true,true)" ( (pointer_expression "&this->input_file_->file_" & (field_expression "this->input_file_->file_" (field_expression "this->input_file_" identifier -> field_identifier) -> field_identifier)) , (field_expression "this->offset_" identifier -> field_identifier) , (field_expression "elf_file->shoff_" identifier -> field_identifier) , (binary_expression "this->shnum_ * 0x28" (field_expression "this->shnum_" identifier -> field_identifier) * number_literal) , true , true ))) ;) (expression_statement "sd->section_headers = pFVar4;" (assignment_expression "sd->section_headers = pFVar4" (field_expression "sd->section_headers" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar1 = pFVar4->data_;" (assignment_expression "puVar1 = pFVar4->data_" identifier = (field_expression "pFVar4->data_" identifier -> field_identifier)) ;) (labeled_statement "elfcpp::Elf_file<32,_true,_gold::Object>::initialize_shnum(elf_file);" statement_identifier (ERROR "::Elf_file<32,_true,_gold::Object>:" : : (comma_expression "Elf_file<32,_true,_gold" (binary_expression "Elf_file<32" identifier < number_literal) , (comma_expression "_true,_gold" identifier , identifier)) : : identifier > :) : (expression_statement "initialize_shnum(elf_file);" (call_expression "initialize_shnum(elf_file)" identifier (argument_list "(elf_file)" ( identifier ))) ;)) (expression_statement "uVar2 = elf_file->shstrndx_;" (assignment_expression "uVar2 = elf_file->shstrndx_" identifier = (field_expression "elf_file->shstrndx_" identifier -> field_identifier)) ;) (expression_statement "uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4);" (assignment_expression "uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 4)" identifier = (pointer_expression "*(uint *)(puVar1 + uVar2 * 0x28 + 4)" * (cast_expression "(uint *)(puVar1 + uVar2 * 0x28 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + uVar2 * 0x28 + 4)" ( (binary_expression "puVar1 + uVar2 * 0x28 + 4" (binary_expression "puVar1 + uVar2 * 0x28" identifier + (binary_expression "uVar2 * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar5 != 3) {\n      format = (char *)gettext("section name section has wrong type: %u");\n      error(this,format,uVar5);\n    }" if (parenthesized_expression "(uVar5 != 3)" ( (binary_expression "uVar5 != 3" identifier != number_literal) )) (compound_statement "{\n      format = (char *)gettext("section name section has wrong type: %u");\n      error(this,format,uVar5);\n    }" { (expression_statement "format = (char *)gettext("section name section has wrong type: %u");" (assignment_expression "format = (char *)gettext("section name section has wrong type: %u")" identifier = (cast_expression "(char *)gettext("section name section has wrong type: %u")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("section name section has wrong type: %u")" identifier (argument_list "("section name section has wrong type: %u")" ( (string_literal ""section name section has wrong type: %u"" " string_content ") ))))) ;) (expression_statement "error(this,format,uVar5);" (call_expression "error(this,format,uVar5)" identifier (argument_list "(this,format,uVar5)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14);" (assignment_expression "uVar5 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x14)" identifier = (pointer_expression "*(uint *)(puVar1 + uVar2 * 0x28 + 0x14)" * (cast_expression "(uint *)(puVar1 + uVar2 * 0x28 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + uVar2 * 0x28 + 0x14)" ( (binary_expression "puVar1 + uVar2 * 0x28 + 0x14" (binary_expression "puVar1 + uVar2 * 0x28" identifier + (binary_expression "uVar2 * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pIVar3 = this->input_file_;" (assignment_expression "pIVar3 = this->input_file_" identifier = (field_expression "this->input_file_" identifier -> field_identifier)) ;) (expression_statement "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18;" (assignment_expression "uVar5 = uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" identifier = (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8 | uVar5 << 0x18" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8 | (uVar5 & 0xff00) << 8" (binary_expression "uVar5 >> 0x18 | (uVar5 & 0xff0000) >> 8" (binary_expression "uVar5 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar5 & 0xff0000) >> 8" (parenthesized_expression "(uVar5 & 0xff0000)" ( (binary_expression "uVar5 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar5 & 0xff00) << 8" (parenthesized_expression "(uVar5 & 0xff00)" ( (binary_expression "uVar5 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar5 << 0x18" identifier << number_literal))) ;) (expression_statement "sd->section_names_size = uVar5;" (assignment_expression "sd->section_names_size = uVar5" (field_expression "sd->section_names_size" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10);" (assignment_expression "uVar2 = *(uint *)(puVar1 + uVar2 * 0x28 + 0x10)" identifier = (pointer_expression "*(uint *)(puVar1 + uVar2 * 0x28 + 0x10)" * (cast_expression "(uint *)(puVar1 + uVar2 * 0x28 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + uVar2 * 0x28 + 0x10)" ( (binary_expression "puVar1 + uVar2 * 0x28 + 0x10" (binary_expression "puVar1 + uVar2 * 0x28" identifier + (binary_expression "uVar2 * 0x28" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (pIVar3 != (Input_file *)0x0) {\n      pFVar4 = File_read::get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);\n      sd->section_names = pFVar4;\n      return;\n    }" if (parenthesized_expression "(pIVar3 != (Input_file *)0x0)" ( (binary_expression "pIVar3 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pFVar4 = File_read::get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);\n      sd->section_names = pFVar4;\n      return;\n    }" { (ERROR "pFVar4 = File_read::" (assignment_expression "pFVar4 = File_read" identifier = identifier) : :) (expression_statement "get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false);" (call_expression "get_lasting_view\n                         (&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false)" identifier (argument_list "(&pIVar3->file_,this->offset_,\n                          (ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18),uVar5,false,false)" ( (pointer_expression "&pIVar3->file_" & (field_expression "pIVar3->file_" identifier -> field_identifier)) , (field_expression "this->offset_" identifier -> field_identifier) , (call_expression "(ulonglong)\n                          (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          uVar2 << 0x18)" ( (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 |\n                          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)) ))) , identifier , false , false ))) ;) (expression_statement "sd->section_names = pFVar4;" (assignment_expression "sd->section_names = pFVar4" (field_expression "sd->section_names" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) })) comment (expression_statement "input_file(in_stack_ffffffd4);" (call_expression "input_file(in_stack_ffffffd4)" identifier (argument_list "(in_stack_ffffffd4)" ( identifier ))) ;) (ERROR "}" }))
(translation_unit "void FUN_000bb2e0(int param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    \n  FUN_000b1650();\n}\n\n" (function_definition "void FUN_000bb2e0(int param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    \n  FUN_000b1650();\n}" primitive_type (function_declarator "FUN_000bb2e0(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    \n  FUN_000b1650();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" { (expression_statement "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);" (assignment_expression "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" identifier = (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" identifier (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" ( (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , (binary_expression "*(int *)(param_1 + 0x28) * 0x28" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) * number_literal) , number_literal , number_literal )))) ;) (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" identifier (argument_list "(param_2)" ( identifier ))) ;) (expression_statement "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;" (assignment_expression "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28" identifier = (binary_expression "iVar2 + *(int *)(param_2 + 0x10) * 0x28" identifier + (binary_expression "*(int *)(param_2 + 0x10) * 0x28" (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 4)" identifier = (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (if_statement "if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" if (parenthesized_expression "(uVar4 != 3)" ( (binary_expression "uVar4 != 3" identifier != number_literal) )) (compound_statement "{\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" { (expression_statement "uVar3 = gettext("section name section has wrong type: %u");" (assignment_expression "uVar3 = gettext("section name section has wrong type: %u")" identifier = (call_expression "gettext("section name section has wrong type: %u")" identifier (argument_list "("section name section has wrong type: %u")" ( (string_literal ""section name section has wrong type: %u"" " string_content ") )))) ;) (expression_statement "FUN_000b1840(param_1,uVar3,uVar4);" (call_expression "FUN_000b1840(param_1,uVar3,uVar4)" identifier (argument_list "(param_1,uVar3,uVar4)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1c)" identifier = (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" identifier = (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal))) ;) (expression_statement "param_3[2] = uVar5;" (assignment_expression "param_3[2] = uVar5" (subscript_expression "param_3[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" { (expression_statement "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);" (assignment_expression "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" identifier = (call_expression "FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" identifier (argument_list "(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" ( (binary_expression "uVar4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" ( (binary_expression "uVar4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar4 << 0x18" identifier << number_literal)) , number_literal , identifier , number_literal , number_literal )))) ;) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) })) (expression_statement "FUN_000b1650();" (call_expression "FUN_000b1650()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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) )))) , (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) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) , LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 = (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))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (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 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 ]) = 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 IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (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)) , LIT , IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_000bb2e0(int param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    \n  FUN_000b1650();\n}" (primitive_type "void") (function_declarator "FUN_000bb2e0(int param_1,int param_2,int *param_3)" (identifier "FUN_000bb2e0") (parameter_list "(int param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  uint uVar5;\n  \n  if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }\n                    \n  FUN_000b1650();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (if_statement "if (*(int *)(param_1 + 0x1c) != 0) {\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) != 0" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);\n    *param_3 = iVar2;\n    iVar2 = *(int *)(iVar2 + 8);\n    FUN_000519b0(param_2);\n    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;\n    uVar4 = *(uint *)(iVar2 + 4);\n    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }\n    uVar4 = *(uint *)(iVar2 + 0x14);\n    iVar1 = *(int *)(param_1 + 0x1c);\n    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;\n    param_3[2] = uVar5;\n    uVar4 = *(uint *)(iVar2 + 0x10);\n    if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);" (assignment_expression "iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" (identifier "iVar2") (= "=") (call_expression "FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" (identifier "FUN_00068850") (argument_list "(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),\n                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1)" (( "(") (binary_expression "*(int *)(param_1 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (binary_expression "*(int *)(param_1 + 0x28) * 0x28" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (* "*") (number_literal "0x28")) (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = *(int *)(iVar2 + 8);" (assignment_expression "iVar2 = *(int *)(iVar2 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "FUN_000519b0(param_2);" (call_expression "FUN_000519b0(param_2)" (identifier "FUN_000519b0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;" (assignment_expression "iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28" (identifier "iVar2") (= "=") (binary_expression "iVar2 + *(int *)(param_2 + 0x10) * 0x28" (identifier "iVar2") (+ "+") (binary_expression "*(int *)(param_2 + 0x10) * 0x28" (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (* "*") (number_literal "0x28")))) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar2 + 4);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 4)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (identifier "uVar4") (= "=") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18")))) (; ";")) (if_statement "if (uVar4 != 3) {\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" (if "if") (parenthesized_expression "(uVar4 != 3)" (( "(") (binary_expression "uVar4 != 3" (identifier "uVar4") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n      uVar3 = gettext("section name section has wrong type: %u");\n      FUN_000b1840(param_1,uVar3,uVar4);\n    }" ({ "{") (expression_statement "uVar3 = gettext("section name section has wrong type: %u");" (assignment_expression "uVar3 = gettext("section name section has wrong type: %u")" (identifier "uVar3") (= "=") (call_expression "gettext("section name section has wrong type: %u")" (identifier "gettext") (argument_list "("section name section has wrong type: %u")" (( "(") (string_literal ""section name section has wrong type: %u"" (" """) (string_content "section name section has wrong type: %u") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000b1840(param_1,uVar3,uVar4);" (call_expression "FUN_000b1840(param_1,uVar3,uVar4)" (identifier "FUN_000b1840") (argument_list "(param_1,uVar3,uVar4)" (( "(") (identifier "param_1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x14)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x1c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x1c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;" (assignment_expression "uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (identifier "uVar5") (= "=") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "param_3[2] = uVar5;" (assignment_expression "param_3[2] = uVar5" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar4 = *(uint *)(iVar2 + 0x10);" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x10)" (identifier "uVar4") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x10)" (* "*") (cast_expression "(uint *)(iVar2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);\n      param_3[1] = iVar2;\n      return;\n    }" ({ "{") (expression_statement "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0);" (assignment_expression "iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" (identifier "iVar2") (= "=") (call_expression "FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" (identifier "FUN_00068850") (argument_list "(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),\n                           *(undefined4 *)(param_1 + 0x24),\n                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18,0,uVar5,0,0)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |\n                           uVar4 << 0x18" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8" (binary_expression "uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8" (binary_expression "uVar4 >> 0x18" (identifier "uVar4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar4 & 0xff0000) >> 8" (parenthesized_expression "(uVar4 & 0xff0000)" (( "(") (binary_expression "uVar4 & 0xff0000" (identifier "uVar4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar4 & 0xff00) << 8" (parenthesized_expression "(uVar4 & 0xff00)" (( "(") (binary_expression "uVar4 & 0xff00" (identifier "uVar4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar4 << 0x18" (identifier "uVar4") (<< "<<") (number_literal "0x18"))) (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "param_3[1] = iVar2;" (assignment_expression "param_3[1] = iVar2" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (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 name: read_section_data<32, true>
   DWARF original prototype: void read_section_data<32,_true>(Object * this,
   Elf_file<32,_true,_gold::Object> * elf_file, Read_symbols_data * sd) */

void __thiscall
gold::type_4::read_section_data<32,_true>
          (type_4 *this,Elf_file<32,_true,_gold::type_4> *elf_file,Read_symbols_data *sd)

{
  uchar *var_3;
  type_1 var_4;
  type_2 *var_8;
  type_3 *pFVar4;
  char *format;
  type_1 var_5;
  type_4 *in_stack_ffffffd4;
  
  if (this->input_file_ != (type_2 *)0x0) {
    pFVar4 = File_read::var_1
                       (&this->input_file_->file_,this->offset_,elf_file->shoff_,this->shnum_ * 0x28
                        ,true,true);
    sd->section_headers = pFVar4;
    var_3 = pFVar4->data_;
    elfcpp::Elf_file<32,_true,_gold::type_4>::var_2(elf_file);
    var_4 = elf_file->shstrndx_;
    var_5 = *(type_1 *)(var_3 + var_4 * 0x28 + 4);
    var_5 = var_5 >> 0x18 | (var_5 & 0xff0000) >> 8 | (var_5 & 0xff00) << 8 | var_5 << 0x18;
    if (var_5 != 3) {
      format = (char *)var_6("section name section has wrong type: %u");
      var_7(this,format,var_5);
    }
    var_5 = *(type_1 *)(var_3 + var_4 * 0x28 + 0x14);
    var_8 = this->input_file_;
    var_5 = var_5 >> 0x18 | (var_5 & 0xff0000) >> 8 | (var_5 & 0xff00) << 8 | var_5 << 0x18;
    sd->section_names_size = var_5;
    var_4 = *(type_1 *)(var_3 + var_4 * 0x28 + 0x10);
    if (var_8 != (type_2 *)0x0) {
      pFVar4 = File_read::var_1
                         (&var_8->file_,this->offset_,
                          (ulonglong)
                          (var_4 >> 0x18 | (var_4 & 0xff0000) >> 8 | (var_4 & 0xff00) << 8 |
                          var_4 << 0x18),var_5,false,false);
      sd->section_names = pFVar4;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  var_9(in_stack_ffffffd4);
}


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

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

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

{
  int iVar1;
  int iVar2;
  undefined4 uVar3;
  uint uVar4;
  uint uVar5;
  
  if (*(int *)(param_1 + 0x1c) != 0) {
    iVar2 = FUN_00068850(*(int *)(param_1 + 0x1c) + 0x1c,*(undefined4 *)(param_1 + 0x20),
                         *(undefined4 *)(param_1 + 0x24),*(undefined4 *)(param_2 + 4),
                         *(undefined4 *)(param_2 + 8),*(int *)(param_1 + 0x28) * 0x28,1,1);
    *param_3 = iVar2;
    iVar2 = *(int *)(iVar2 + 8);
    FUN_000519b0(param_2);
    iVar2 = iVar2 + *(int *)(param_2 + 0x10) * 0x28;
    uVar4 = *(uint *)(iVar2 + 4);
    uVar4 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
    if (uVar4 != 3) {
      uVar3 = gettext("section name section has wrong type: %u");
      FUN_000b1840(param_1,uVar3,uVar4);
    }
    uVar4 = *(uint *)(iVar2 + 0x14);
    iVar1 = *(int *)(param_1 + 0x1c);
    uVar5 = uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 | uVar4 << 0x18;
    param_3[2] = uVar5;
    uVar4 = *(uint *)(iVar2 + 0x10);
    if (iVar1 != 0) {
      iVar2 = FUN_00068850(iVar1 + 0x1c,*(undefined4 *)(param_1 + 0x20),
                           *(undefined4 *)(param_1 + 0x24),
                           uVar4 >> 0x18 | (uVar4 & 0xff0000) >> 8 | (uVar4 & 0xff00) << 8 |
                           uVar4 << 0x18,0,uVar5,0,0);
      param_3[1] = iVar2;
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_000b1650();
}

