
/* DWARF original prototype: void Sized_dynobj(Sized_dynobj<32,_true> * this, string * name,
   Input_file * input_file, off_t offset, Ehdr<32,_true> * ehdr) */

void __thiscall
gold::Sized_dynobj<32,_true>::Sized_dynobj
          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,
          Ehdr<32,_true> *ehdr)

{
  uint uVar1;
  Ehdr_data<32> *pEVar2;
  char *pcVar3;
  ushort uVar4;
  
  Dynobj::Dynobj(&this->super_Dynobj,name,input_file,offset);
  (this->elf_file_).file_ = (Object *)this;
  (this->super_Dynobj).super_Object._vptr_Object = (_func_int_varargs **)&PTR__Sized_dynobj_00666088
  ;
  pEVar2 = ehdr->p_;
  uVar1 = pEVar2->e_shoff;
  (this->elf_file_).shoff_ =
       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);
  (this->elf_file_).shnum_ = (uint)(ushort)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8);
  uVar4 = pEVar2->e_shstrndx;
  (this->elf_file_).large_shndx_offset_ = 0;
  (this->elf_file_).shstrndx_ = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);
  uVar4 = pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8;
  if (uVar4 == 0x34) {
    uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;
  }
  else {
    pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");
                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */
    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);
    uVar4 = ehdr->p_->e_shentsize;
    uVar4 = uVar4 << 8 | uVar4 >> 8;
  }
  if (uVar4 != 0x28) {
    pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)");
    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x28);
  }
  this->dynsym_shndx_ = 0xffffffff;
  this->symbols_ = (Symbols *)0x0;
  this->defined_count_ = 0;
  return;
}



void FUN_00349200(undefined8 *param_1)

{
  uint uVar1;
  long lVar2;
  undefined8 uVar3;
  long *in_R8;
  ushort uVar4;
  
  FUN_0033f410();
  param_1[0x12] = param_1;
  *param_1 = &PTR_FUN_00666088;
  lVar2 = *in_R8;
  uVar1 = *(uint *)(lVar2 + 0x20);
  param_1[0x13] =
       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);
  *(uint *)(param_1 + 0x14) =
       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);
  uVar4 = *(ushort *)(lVar2 + 0x32);
  *(undefined4 *)(param_1 + 0x15) = 0;
  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);
  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;
  if (uVar4 == 0x34) {
    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;
  }
  else {
    uVar3 = gettext("bad e_ehsize (%d != %d)");
                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */
    FUN_00392b80(param_1,uVar3,uVar4,0x34);
    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;
  }
  if (uVar4 != 0x28) {
    uVar3 = gettext("bad e_shentsize (%d != %d)");
    FUN_00392b80(param_1,uVar3,uVar4,0x28);
  }
  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;
  param_1[0x17] = 0;
  param_1[0x18] = 0;
  return;
}


PUSH R12
PUSH RBP
MOV RBP,R8
PUSH RBX
MOV RBX,RDI
CALL 0x0033f410
LEA RAX,[0x666088]
MOV qword ptr [RBX + 0x90],RBX
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RBP]
MOV EDX,dword ptr [RAX + 0x20]
BSWAP EDX
MOV EDI,EDX
MOV qword ptr [RBX + 0x98],RDI
MOVZX EDX,word ptr [RAX + 0x30]
ROL DX,0x8
MOVZX EDX,DX
MOV dword ptr [RBX + 0xa0],EDX
MOVZX EDX,word ptr [RAX + 0x32]
MOV dword ptr [RBX + 0xa8],0x0
ROL DX,0x8
MOVZX EDX,DX
MOV dword ptr [RBX + 0xa4],EDX
MOVZX R12D,word ptr [RAX + 0x28]
ROL R12W,0x8
CMP R12W,0x34
JNZ 0x003492a8
MOVZX EBP,word ptr [RAX + 0x2e]
ROL BP,0x8
CMP BP,0x28
JNZ 0x003492dc
MOV dword ptr [RBX + 0xb0],0xffffffff
MOV qword ptr [RBX + 0xb8],0x0
MOV qword ptr [RBX + 0xc0],0x0
POP RBX
POP RBP
POP R12
RET
LEA RDI,[0x533600]
CALL 0x00177320
MOVZX EDX,R12W
MOV ECX,0x34
MOV RDI,RBX
MOV RSI,RAX
XOR EAX,EAX
CALL 0x00392b80
MOV RAX,qword ptr [RBP]
MOVZX EBP,word ptr [RAX + 0x2e]
ROL BP,0x8
CMP BP,0x28
JZ 0x0034927d
LEA RDI,[0x533618]
CALL 0x00177320
MOVZX EDX,BP
MOV ECX,0x28
MOV RDI,RBX
MOV RSI,RAX
XOR EAX,EAX
CALL 0x00392b80
JMP 0x0034927d
(translation_unit "void FUN_00349200(undefined8 *param_1)\n\n{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}\n\n" (function_definition "void FUN_00349200(undefined8 *param_1)\n\n{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00349200(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long *in_R8;" (sized_type_specifier "long" long) (pointer_declarator "*in_R8" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (expression_statement "FUN_0033f410();" (call_expression "FUN_0033f410()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[0x12] = param_1;" (assignment_expression "param_1[0x12] = param_1" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = &PTR_FUN_00666088;" (assignment_expression "*param_1 = &PTR_FUN_00666088" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00666088" & identifier)) ;) (expression_statement "lVar2 = *in_R8;" (assignment_expression "lVar2 = *in_R8" identifier = (pointer_expression "*in_R8" * identifier)) ;) (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20);" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);" (assignment_expression "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);" (assignment_expression "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (call_expression "(uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" ( (binary_expression "*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x30) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" * (cast_expression "(ushort *)(lVar2 + 0x30)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x30) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" * (cast_expression "(ushort *)(lVar2 + 0x30)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) >> number_literal)) )))) ;) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x32);" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x32)" identifier = (pointer_expression "*(ushort *)(lVar2 + 0x32)" * (cast_expression "(ushort *)(lVar2 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x32)" ( (binary_expression "lVar2 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" * (cast_expression "(undefined4 *)(param_1 + 0x15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);" (assignment_expression "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (pointer_expression "*(uint *)((long)param_1 + 0xa4)" * (cast_expression "(uint *)((long)param_1 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa4)" ( (binary_expression "(long)param_1 + 0xa4" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (call_expression "(uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar4 << 8 | uVar4 >> 8)" ( (binary_expression "uVar4 << 8 | uVar4 >> 8" (binary_expression "uVar4 << 8" identifier << number_literal) | (binary_expression "uVar4 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" identifier = (binary_expression "*(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x28) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" * (cast_expression "(ushort *)(lVar2 + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x28) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" * (cast_expression "(ushort *)(lVar2 + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) >> number_literal))) ;) (if_statement "if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" if (parenthesized_expression "(uVar4 == 0x34)" ( (binary_expression "uVar4 == 0x34" identifier == number_literal) )) (compound_statement "{\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }" { (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" identifier = (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" * (cast_expression "(ushort *)(lVar2 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x2e)" ( (binary_expression "lVar2 + 0x2e" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x2e) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" * (cast_expression "(ushort *)(lVar2 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x2e)" ( (binary_expression "lVar2 + 0x2e" identifier + number_literal) )))) >> number_literal))) ;) }) (else_clause "else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" else (compound_statement "{\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" { (expression_statement "uVar3 = gettext("bad e_ehsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_ehsize (%d != %d)")" identifier = (call_expression "gettext("bad e_ehsize (%d != %d)")" identifier (argument_list "("bad e_ehsize (%d != %d)")" ( (string_literal ""bad e_ehsize (%d != %d)"" " string_content ") )))) ;) comment (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x34);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x34)" identifier (argument_list "(param_1,uVar3,uVar4,0x34)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" identifier = (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" * (cast_expression "(ushort *)(*in_R8 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_R8 + 0x2e)" ( (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" * identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(*in_R8 + 0x2e) >> 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" * (cast_expression "(ushort *)(*in_R8 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_R8 + 0x2e)" ( (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" * identifier) + number_literal) )))) >> number_literal))) ;) }))) (if_statement "if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" if (parenthesized_expression "(uVar4 != 0x28)" ( (binary_expression "uVar4 != 0x28" identifier != number_literal) )) (compound_statement "{\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" { (expression_statement "uVar3 = gettext("bad e_shentsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_shentsize (%d != %d)")" identifier = (call_expression "gettext("bad e_shentsize (%d != %d)")" identifier (argument_list "("bad e_shentsize (%d != %d)")" ( (string_literal ""bad e_shentsize (%d != %d)"" " string_content ") )))) ;) (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x28);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x28)" identifier (argument_list "(param_1,uVar3,uVar4,0x28)" ( identifier , identifier , identifier , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x16) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x16) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x16)" * (cast_expression "(undefined4 *)(param_1 + 0x16)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void Sized_dynobj(Sized_dynobj<32,_true> * this, string * name,\n   Input_file * input_file, off_t offset, Ehdr<32,_true> * ehdr) */\n\nvoid __thiscall\ngold::Sized_dynobj<32,_true>::Sized_dynobj\n          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,\n          Ehdr<32,_true> *ehdr)\n\n{\n  uint uVar1;\n  Ehdr_data<32> *pEVar2;\n  char *pcVar3;\n  ushort uVar4;\n  \n  Dynobj::Dynobj(&this->super_Dynobj,name,input_file,offset);\n  (this->elf_file_).file_ = (Object *)this;\n  (this->super_Dynobj).super_Object._vptr_Object = (_func_int_varargs **)&PTR__Sized_dynobj_00666088\n  ;\n  pEVar2 = ehdr->p_;\n  uVar1 = pEVar2->e_shoff;\n  (this->elf_file_).shoff_ =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  (this->elf_file_).shnum_ = (uint)(ushort)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8);\n  uVar4 = pEVar2->e_shstrndx;\n  (this->elf_file_).large_shndx_offset_ = 0;\n  (this->elf_file_).shstrndx_ = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;\n  }\n  else {\n    pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);\n    uVar4 = ehdr->p_->e_shentsize;\n    uVar4 = uVar4 << 8 | uVar4 >> 8;\n  }\n  if (uVar4 != 0x28) {\n    pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)");\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x28);\n  }\n  this->dynsym_shndx_ = 0xffffffff;\n  this->symbols_ = (Symbols *)0x0;\n  this->defined_count_ = 0;\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_dynobj<32,_true>::Sized_dynobj\n          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,\n          Ehdr<32,_true> *ehdr)\n\n{\n  uint uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::Sized_dynobj\n          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,\n          Ehdr<32,_true> *ehdr)\n\n{\n  uint" identifier > : : (function_declarator "Sized_dynobj\n          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,\n          Ehdr<32,_true> *ehdr)" identifier (parameter_list "(Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,\n          Ehdr<32,_true> *ehdr)" ( (parameter_declaration "Sized_dynobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *name" type_identifier (pointer_declarator "*name" * identifier)) , (parameter_declaration "Input_file *input_file" type_identifier (pointer_declarator "*input_file" * identifier)) , (parameter_declaration "off_t offset" type_identifier identifier) , (parameter_declaration "Ehdr" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *ehdr" type_identifier (ERROR ">" >) (pointer_declarator "*ehdr" * identifier)) ))) { identifier) identifier ;) (expression_statement "Ehdr_data<32> *pEVar2;" (update_expression "Ehdr_data<32> *pEVar2" (binary_expression "Ehdr_data<32> *pEVar2" (binary_expression "Ehdr_data<32" identifier < number_literal) > (pointer_expression "*pEVar2" * identifier)) --) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (labeled_statement "Dynobj::Dynobj(&this->super_Dynobj,name,input_file,offset);" statement_identifier : (ERROR ":" :) (expression_statement "Dynobj(&this->super_Dynobj,name,input_file,offset);" (call_expression "Dynobj(&this->super_Dynobj,name,input_file,offset)" identifier (argument_list "(&this->super_Dynobj,name,input_file,offset)" ( (pointer_expression "&this->super_Dynobj" & (field_expression "this->super_Dynobj" identifier -> field_identifier)) , identifier , identifier , identifier ))) ;)) (expression_statement "(this->elf_file_).file_ = (Object *)this;" (assignment_expression "(this->elf_file_).file_ = (Object *)this" (field_expression "(this->elf_file_).file_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(this->super_Dynobj).super_Object._vptr_Object = (_func_int_varargs **)&PTR__Sized_dynobj_00666088\n  ;" (assignment_expression "(this->super_Dynobj).super_Object._vptr_Object = (_func_int_varargs **)&PTR__Sized_dynobj_00666088" (field_expression "(this->super_Dynobj).super_Object._vptr_Object" (field_expression "(this->super_Dynobj).super_Object" (parenthesized_expression "(this->super_Dynobj)" ( (field_expression "this->super_Dynobj" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Sized_dynobj_00666088" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Sized_dynobj_00666088" & identifier))) ;) (expression_statement "pEVar2 = ehdr->p_;" (assignment_expression "pEVar2 = ehdr->p_" identifier = (field_expression "ehdr->p_" identifier -> field_identifier)) ;) (expression_statement "uVar1 = pEVar2->e_shoff;" (assignment_expression "uVar1 = pEVar2->e_shoff" identifier = (field_expression "pEVar2->e_shoff" identifier -> field_identifier)) ;) (expression_statement "(this->elf_file_).shoff_ =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);" (assignment_expression "(this->elf_file_).shoff_ =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (field_expression "(this->elf_file_).shoff_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) = (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "(this->elf_file_).shnum_ = (uint)(ushort)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8);" (assignment_expression "(this->elf_file_).shnum_ = (uint)(ushort)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8)" (field_expression "(this->elf_file_).shnum_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) = (call_expression "(uint)(ushort)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8)" ( (binary_expression "pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8" (binary_expression "pEVar2->e_shnum << 8" (field_expression "pEVar2->e_shnum" identifier -> field_identifier) << number_literal) | (binary_expression "pEVar2->e_shnum >> 8" (field_expression "pEVar2->e_shnum" identifier -> field_identifier) >> number_literal)) )))) ;) (expression_statement "uVar4 = pEVar2->e_shstrndx;" (assignment_expression "uVar4 = pEVar2->e_shstrndx" identifier = (field_expression "pEVar2->e_shstrndx" identifier -> field_identifier)) ;) (expression_statement "(this->elf_file_).large_shndx_offset_ = 0;" (assignment_expression "(this->elf_file_).large_shndx_offset_ = 0" (field_expression "(this->elf_file_).large_shndx_offset_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(this->elf_file_).shstrndx_ = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);" (assignment_expression "(this->elf_file_).shstrndx_ = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (field_expression "(this->elf_file_).shstrndx_" (parenthesized_expression "(this->elf_file_)" ( (field_expression "this->elf_file_" identifier -> field_identifier) )) . field_identifier) = (call_expression "(uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar4 << 8 | uVar4 >> 8)" ( (binary_expression "uVar4 << 8 | uVar4 >> 8" (binary_expression "uVar4 << 8" identifier << number_literal) | (binary_expression "uVar4 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "uVar4 = pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8;" (assignment_expression "uVar4 = pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8" identifier = (binary_expression "pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8" (binary_expression "pEVar2->e_ehsize << 8" (field_expression "pEVar2->e_ehsize" identifier -> field_identifier) << number_literal) | (binary_expression "pEVar2->e_ehsize >> 8" (field_expression "pEVar2->e_ehsize" identifier -> field_identifier) >> number_literal))) ;) (if_statement "if (uVar4 == 0x34) {\n    uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;\n  }\n  else {\n    pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);\n    uVar4 = ehdr->p_->e_shentsize;\n    uVar4 = uVar4 << 8 | uVar4 >> 8;\n  }" if (parenthesized_expression "(uVar4 == 0x34)" ( (binary_expression "uVar4 == 0x34" identifier == number_literal) )) (compound_statement "{\n    uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;\n  }" { (expression_statement "uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;" (assignment_expression "uVar4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8" identifier = (binary_expression "pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8" (binary_expression "pEVar2->e_shentsize << 8" (field_expression "pEVar2->e_shentsize" identifier -> field_identifier) << number_literal) | (binary_expression "pEVar2->e_shentsize >> 8" (field_expression "pEVar2->e_shentsize" identifier -> field_identifier) >> number_literal))) ;) }) (else_clause "else {\n    pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);\n    uVar4 = ehdr->p_->e_shentsize;\n    uVar4 = uVar4 << 8 | uVar4 >> 8;\n  }" else (compound_statement "{\n    pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");\n                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);\n    uVar4 = ehdr->p_->e_shentsize;\n    uVar4 = uVar4 << 8 | uVar4 >> 8;\n  }" { (expression_statement "pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)");" (assignment_expression "pcVar3 = (char *)gettext("bad e_ehsize (%d != %d)")" identifier = (cast_expression "(char *)gettext("bad e_ehsize (%d != %d)")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("bad e_ehsize (%d != %d)")" identifier (argument_list "("bad e_ehsize (%d != %d)")" ( (string_literal ""bad e_ehsize (%d != %d)"" " string_content ") ))))) ;) comment (labeled_statement "Object::error((Object *)this,pcVar3,(ulong)uVar4,0x34);" statement_identifier : (ERROR ":" :) (expression_statement "error((Object *)this,pcVar3,(ulong)uVar4,0x34);" (call_expression "error((Object *)this,pcVar3,(ulong)uVar4,0x34)" identifier (argument_list "((Object *)this,pcVar3,(ulong)uVar4,0x34)" ( (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) , number_literal ))) ;)) (expression_statement "uVar4 = ehdr->p_->e_shentsize;" (assignment_expression "uVar4 = ehdr->p_->e_shentsize" identifier = (field_expression "ehdr->p_->e_shentsize" (field_expression "ehdr->p_" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "uVar4 = uVar4 << 8 | uVar4 >> 8;" (assignment_expression "uVar4 = uVar4 << 8 | uVar4 >> 8" identifier = (binary_expression "uVar4 << 8 | uVar4 >> 8" (binary_expression "uVar4 << 8" identifier << number_literal) | (binary_expression "uVar4 >> 8" identifier >> number_literal))) ;) }))) (if_statement "if (uVar4 != 0x28) {\n    pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)");\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x28);\n  }" if (parenthesized_expression "(uVar4 != 0x28)" ( (binary_expression "uVar4 != 0x28" identifier != number_literal) )) (compound_statement "{\n    pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)");\n    Object::error((Object *)this,pcVar3,(ulong)uVar4,0x28);\n  }" { (expression_statement "pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)");" (assignment_expression "pcVar3 = (char *)gettext("bad e_shentsize (%d != %d)")" identifier = (cast_expression "(char *)gettext("bad e_shentsize (%d != %d)")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("bad e_shentsize (%d != %d)")" identifier (argument_list "("bad e_shentsize (%d != %d)")" ( (string_literal ""bad e_shentsize (%d != %d)"" " string_content ") ))))) ;) (labeled_statement "Object::error((Object *)this,pcVar3,(ulong)uVar4,0x28);" statement_identifier : (ERROR ":" :) (expression_statement "error((Object *)this,pcVar3,(ulong)uVar4,0x28);" (call_expression "error((Object *)this,pcVar3,(ulong)uVar4,0x28)" identifier (argument_list "((Object *)this,pcVar3,(ulong)uVar4,0x28)" ( (cast_expression "(Object *)this" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (cast_expression "(ulong)uVar4" ( (type_descriptor "ulong" type_identifier) ) identifier) , number_literal ))) ;)) })) (expression_statement "this->dynsym_shndx_ = 0xffffffff;" (assignment_expression "this->dynsym_shndx_ = 0xffffffff" (field_expression "this->dynsym_shndx_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->symbols_ = (Symbols *)0x0;" (assignment_expression "this->symbols_ = (Symbols *)0x0" (field_expression "this->symbols_" identifier -> field_identifier) = (cast_expression "(Symbols *)0x0" ( (type_descriptor "Symbols *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->defined_count_ = 0;" (assignment_expression "this->defined_count_ = 0" (field_expression "this->defined_count_" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00349200(undefined8 *param_1)\n\n{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}\n\n" (function_definition "void FUN_00349200(undefined8 *param_1)\n\n{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_00349200(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long *in_R8;" (sized_type_specifier "long" long) (pointer_declarator "*in_R8" * identifier) ;) (declaration "ushort uVar4;" type_identifier identifier ;) (expression_statement "FUN_0033f410();" (call_expression "FUN_0033f410()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_1[0x12] = param_1;" (assignment_expression "param_1[0x12] = param_1" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = &PTR_FUN_00666088;" (assignment_expression "*param_1 = &PTR_FUN_00666088" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00666088" & identifier)) ;) (expression_statement "lVar2 = *in_R8;" (assignment_expression "lVar2 = *in_R8" identifier = (pointer_expression "*in_R8" * identifier)) ;) (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20);" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20)" identifier = (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);" (assignment_expression "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) )))) ;) (expression_statement "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);" (assignment_expression "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = (call_expression "(uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" ( (binary_expression "*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x30) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" * (cast_expression "(ushort *)(lVar2 + 0x30)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x30) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" * (cast_expression "(ushort *)(lVar2 + 0x30)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x30)" ( (binary_expression "lVar2 + 0x30" identifier + number_literal) )))) >> number_literal)) )))) ;) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x32);" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x32)" identifier = (pointer_expression "*(ushort *)(lVar2 + 0x32)" * (cast_expression "(ushort *)(lVar2 + 0x32)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x32)" ( (binary_expression "lVar2 + 0x32" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" * (cast_expression "(undefined4 *)(param_1 + 0x15)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);" (assignment_expression "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (pointer_expression "*(uint *)((long)param_1 + 0xa4)" * (cast_expression "(uint *)((long)param_1 + 0xa4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa4)" ( (binary_expression "(long)param_1 + 0xa4" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (call_expression "(uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "(uVar4 << 8 | uVar4 >> 8)" ( (binary_expression "uVar4 << 8 | uVar4 >> 8" (binary_expression "uVar4 << 8" identifier << number_literal) | (binary_expression "uVar4 >> 8" identifier >> number_literal)) )))) ;) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" identifier = (binary_expression "*(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x28) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" * (cast_expression "(ushort *)(lVar2 + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x28) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" * (cast_expression "(ushort *)(lVar2 + 0x28)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) >> number_literal))) ;) (if_statement "if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" if (parenthesized_expression "(uVar4 == 0x34)" ( (binary_expression "uVar4 == 0x34" identifier == number_literal) )) (compound_statement "{\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }" { (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" identifier = (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" * (cast_expression "(ushort *)(lVar2 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x2e)" ( (binary_expression "lVar2 + 0x2e" identifier + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(lVar2 + 0x2e) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" * (cast_expression "(ushort *)(lVar2 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x2e)" ( (binary_expression "lVar2 + 0x2e" identifier + number_literal) )))) >> number_literal))) ;) }) (else_clause "else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" else (compound_statement "{\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" { (expression_statement "uVar3 = gettext("bad e_ehsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_ehsize (%d != %d)")" identifier = (call_expression "gettext("bad e_ehsize (%d != %d)")" identifier (argument_list "("bad e_ehsize (%d != %d)")" ( (string_literal ""bad e_ehsize (%d != %d)"" " string_content ") )))) ;) (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x34);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x34)" identifier (argument_list "(param_1,uVar3,uVar4,0x34)" ( identifier , identifier , identifier , number_literal ))) ;) (expression_statement "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" identifier = (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" * (cast_expression "(ushort *)(*in_R8 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_R8 + 0x2e)" ( (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" * identifier) + number_literal) )))) << number_literal) | (binary_expression "*(ushort *)(*in_R8 + 0x2e) >> 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" * (cast_expression "(ushort *)(*in_R8 + 0x2e)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_R8 + 0x2e)" ( (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" * identifier) + number_literal) )))) >> number_literal))) ;) }))) (if_statement "if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" if (parenthesized_expression "(uVar4 != 0x28)" ( (binary_expression "uVar4 != 0x28" identifier != number_literal) )) (compound_statement "{\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" { (expression_statement "uVar3 = gettext("bad e_shentsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_shentsize (%d != %d)")" identifier = (call_expression "gettext("bad e_shentsize (%d != %d)")" identifier (argument_list "("bad e_shentsize (%d != %d)")" ( (string_literal ""bad e_shentsize (%d != %d)"" " string_content ") )))) ;) (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x28);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x28)" identifier (argument_list "(param_1,uVar3,uVar4,0x28)" ( identifier , identifier , identifier , number_literal ))) ;) })) (expression_statement "*(undefined4 *)(param_1 + 0x16) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x16) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x16)" * (cast_expression "(undefined4 *)(param_1 + 0x16)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x16)" ( (binary_expression "param_1 + 0x16" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) | (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression IDENT << LIT) | (binary_expression IDENT >> LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT))) ;) }) (else_clause else (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 , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) << LIT) | (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) >> 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 , LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00349200(undefined8 *param_1)\n\n{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00349200(undefined8 *param_1)" (identifier "FUN_00349200") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long *in_R8;\n  ushort uVar4;\n  \n  FUN_0033f410();\n  param_1[0x12] = param_1;\n  *param_1 = &PTR_FUN_00666088;\n  lVar2 = *in_R8;\n  uVar1 = *(uint *)(lVar2 + 0x20);\n  param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);\n  *(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x32);\n  *(undefined4 *)(param_1 + 0x15) = 0;\n  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);\n  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;\n  if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }\n  if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }\n  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long *in_R8;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*in_R8" (* "*") (identifier "in_R8")) (; ";")) (declaration "ushort uVar4;" (type_identifier "ushort") (identifier "uVar4") (; ";")) (expression_statement "FUN_0033f410();" (call_expression "FUN_0033f410()" (identifier "FUN_0033f410") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_1[0x12] = param_1;" (assignment_expression "param_1[0x12] = param_1" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00666088;" (assignment_expression "*param_1 = &PTR_FUN_00666088" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00666088" (& "&") (identifier "PTR_FUN_00666088"))) (; ";")) (expression_statement "lVar2 = *in_R8;" (assignment_expression "lVar2 = *in_R8" (identifier "lVar2") (= "=") (pointer_expression "*in_R8" (* "*") (identifier "in_R8"))) (; ";")) (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20);" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(lVar2 + 0x20)" (* "*") (cast_expression "(uint *)(lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);" (assignment_expression "param_1[0x13] =\n       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) () ")")))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);" (assignment_expression "*(uint *)(param_1 + 0x14) =\n       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (call_expression "(uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8)" (( "(") (binary_expression "*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x30) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x30)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x30)" (( "(") (binary_expression "lVar2 + 0x30" (identifier "lVar2") (+ "+") (number_literal "0x30")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(lVar2 + 0x30) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x30)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x30)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x30)" (( "(") (binary_expression "lVar2 + 0x30" (identifier "lVar2") (+ "+") (number_literal "0x30")) () ")")))) (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x32);" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x32)" (identifier "uVar4") (= "=") (pointer_expression "*(ushort *)(lVar2 + 0x32)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x32)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x32)" (( "(") (binary_expression "lVar2 + 0x32" (identifier "lVar2") (+ "+") (number_literal "0x32")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x15) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x15) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x15)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x15)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x15)" (( "(") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);" (assignment_expression "*(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (pointer_expression "*(uint *)((long)param_1 + 0xa4)" (* "*") (cast_expression "(uint *)((long)param_1 + 0xa4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xa4)" (( "(") (binary_expression "(long)param_1 + 0xa4" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xa4")) () ")")))) (= "=") (call_expression "(uint)(ushort)(uVar4 << 8 | uVar4 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "(uVar4 << 8 | uVar4 >> 8)" (( "(") (binary_expression "uVar4 << 8 | uVar4 >> 8" (binary_expression "uVar4 << 8" (identifier "uVar4") (<< "<<") (number_literal "8")) (| "|") (binary_expression "uVar4 >> 8" (identifier "uVar4") (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" (identifier "uVar4") (= "=") (binary_expression "*(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x28) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x28)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(lVar2 + 0x28) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x28)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x28)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (if_statement "if (uVar4 == 0x34) {\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }\n  else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" (if "if") (parenthesized_expression "(uVar4 == 0x34)" (( "(") (binary_expression "uVar4 == 0x34" (identifier "uVar4") (== "==") (number_literal "0x34")) () ")")) (compound_statement "{\n    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;\n  }" ({ "{") (expression_statement "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" (identifier "uVar4") (= "=") (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8" (binary_expression "*(ushort *)(lVar2 + 0x2e) << 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x2e)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x2e)" (( "(") (binary_expression "lVar2 + 0x2e" (identifier "lVar2") (+ "+") (number_literal "0x2e")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(lVar2 + 0x2e) >> 8" (pointer_expression "*(ushort *)(lVar2 + 0x2e)" (* "*") (cast_expression "(ushort *)(lVar2 + 0x2e)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x2e)" (( "(") (binary_expression "lVar2 + 0x2e" (identifier "lVar2") (+ "+") (number_literal "0x2e")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (} "}")) (else_clause "else {\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" (else "else") (compound_statement "{\n    uVar3 = gettext("bad e_ehsize (%d != %d)");\n                    \n    FUN_00392b80(param_1,uVar3,uVar4,0x34);\n    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;\n  }" ({ "{") (expression_statement "uVar3 = gettext("bad e_ehsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_ehsize (%d != %d)")" (identifier "uVar3") (= "=") (call_expression "gettext("bad e_ehsize (%d != %d)")" (identifier "gettext") (argument_list "("bad e_ehsize (%d != %d)")" (( "(") (string_literal ""bad e_ehsize (%d != %d)"" (" """) (string_content "bad e_ehsize (%d != %d)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x34);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x34)" (identifier "FUN_00392b80") (argument_list "(param_1,uVar3,uVar4,0x34)" (( "(") (identifier "param_1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (number_literal "0x34") () ")"))) (; ";")) (expression_statement "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;" (assignment_expression "uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" (identifier "uVar4") (= "=") (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8" (binary_expression "*(ushort *)(*in_R8 + 0x2e) << 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" (* "*") (cast_expression "(ushort *)(*in_R8 + 0x2e)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*in_R8 + 0x2e)" (( "(") (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" (* "*") (identifier "in_R8")) (+ "+") (number_literal "0x2e")) () ")")))) (<< "<<") (number_literal "8")) (| "|") (binary_expression "*(ushort *)(*in_R8 + 0x2e) >> 8" (pointer_expression "*(ushort *)(*in_R8 + 0x2e)" (* "*") (cast_expression "(ushort *)(*in_R8 + 0x2e)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*in_R8 + 0x2e)" (( "(") (binary_expression "*in_R8 + 0x2e" (pointer_expression "*in_R8" (* "*") (identifier "in_R8")) (+ "+") (number_literal "0x2e")) () ")")))) (>> ">>") (number_literal "8")))) (; ";")) (} "}")))) (if_statement "if (uVar4 != 0x28) {\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" (if "if") (parenthesized_expression "(uVar4 != 0x28)" (( "(") (binary_expression "uVar4 != 0x28" (identifier "uVar4") (!= "!=") (number_literal "0x28")) () ")")) (compound_statement "{\n    uVar3 = gettext("bad e_shentsize (%d != %d)");\n    FUN_00392b80(param_1,uVar3,uVar4,0x28);\n  }" ({ "{") (expression_statement "uVar3 = gettext("bad e_shentsize (%d != %d)");" (assignment_expression "uVar3 = gettext("bad e_shentsize (%d != %d)")" (identifier "uVar3") (= "=") (call_expression "gettext("bad e_shentsize (%d != %d)")" (identifier "gettext") (argument_list "("bad e_shentsize (%d != %d)")" (( "(") (string_literal ""bad e_shentsize (%d != %d)"" (" """) (string_content "bad e_shentsize (%d != %d)") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00392b80(param_1,uVar3,uVar4,0x28);" (call_expression "FUN_00392b80(param_1,uVar3,uVar4,0x28)" (identifier "FUN_00392b80") (argument_list "(param_1,uVar3,uVar4,0x28)" (( "(") (identifier "param_1") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (number_literal "0x28") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + 0x16) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 0x16) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 0x16)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x16)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x16)" (( "(") (binary_expression "param_1 + 0x16" (identifier "param_1") (+ "+") (number_literal "0x16")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x18] = 0;" (assignment_expression "param_1[0x18] = 0" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void Sized_dynobj(Sized_dynobj<32,_true> * this, string * name,
   Input_file * input_file, off_t offset, Ehdr<32,_true> * ehdr) */

void __thiscall
gold::Sized_dynobj<32,_true>::Sized_dynobj
          (Sized_dynobj<32,_true> *this,string *name,Input_file *input_file,off_t offset,
          Ehdr<32,_true> *ehdr)

{
  uint var_3;
  var_1<32> *pEVar2;
  char *pcVar3;
  type_1 var_4;
  
  Dynobj::var_2(&this->super_Dynobj,name,input_file,offset);
  (this->elf_file_).file_ = (type_2 *)this;
  (this->super_Dynobj).super_Object._vptr_Object = (type_3 **)&PTR__Sized_dynobj_00666088
  ;
  pEVar2 = ehdr->p_;
  var_3 = pEVar2->e_shoff;
  (this->elf_file_).shoff_ =
       (type_4)(var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18);
  (this->elf_file_).shnum_ = (uint)(type_1)(pEVar2->e_shnum << 8 | pEVar2->e_shnum >> 8);
  var_4 = pEVar2->e_shstrndx;
  (this->elf_file_).large_shndx_offset_ = 0;
  (this->elf_file_).shstrndx_ = (uint)(type_1)(var_4 << 8 | var_4 >> 8);
  var_4 = pEVar2->e_ehsize << 8 | pEVar2->e_ehsize >> 8;
  if (var_4 == 0x34) {
    var_4 = pEVar2->e_shentsize << 8 | pEVar2->e_shentsize >> 8;
  }
  else {
    pcVar3 = (char *)var_5("bad e_ehsize (%d != %d)");
                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */
    Object::var_6((type_2 *)this,pcVar3,(type_4)var_4,0x34);
    var_4 = ehdr->p_->e_shentsize;
    var_4 = var_4 << 8 | var_4 >> 8;
  }
  if (var_4 != 0x28) {
    pcVar3 = (char *)var_5("bad e_shentsize (%d != %d)");
    Object::var_6((type_2 *)this,pcVar3,(type_4)var_4,0x28);
  }
  this->dynsym_shndx_ = 0xffffffff;
  this->symbols_ = (type_5 *)0x0;
  this->defined_count_ = 0;
  return;
}


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

void MASKED(undefined8 *param_1)

{
  uint uVar1;
  long lVar2;
  undefined8 uVar3;
  long *in_R8;
  ushort uVar4;
  
  FUN_0033f410();
  param_1[0x12] = param_1;
  *param_1 = &PTR_FUN_00666088;
  lVar2 = *in_R8;
  uVar1 = *(uint *)(lVar2 + 0x20);
  param_1[0x13] =
       (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18);
  *(uint *)(param_1 + 0x14) =
       (uint)(ushort)(*(ushort *)(lVar2 + 0x30) << 8 | *(ushort *)(lVar2 + 0x30) >> 8);
  uVar4 = *(ushort *)(lVar2 + 0x32);
  *(undefined4 *)(param_1 + 0x15) = 0;
  *(uint *)((long)param_1 + 0xa4) = (uint)(ushort)(uVar4 << 8 | uVar4 >> 8);
  uVar4 = *(ushort *)(lVar2 + 0x28) << 8 | *(ushort *)(lVar2 + 0x28) >> 8;
  if (uVar4 == 0x34) {
    uVar4 = *(ushort *)(lVar2 + 0x2e) << 8 | *(ushort *)(lVar2 + 0x2e) >> 8;
  }
  else {
    uVar3 = gettext("bad e_ehsize (%d != %d)");
                    /* try { // try from 003492c5 to 003492fc has its CatchHandler @ 00349302 */
    FUN_00392b80(param_1,uVar3,uVar4,0x34);
    uVar4 = *(ushort *)(*in_R8 + 0x2e) << 8 | *(ushort *)(*in_R8 + 0x2e) >> 8;
  }
  if (uVar4 != 0x28) {
    uVar3 = gettext("bad e_shentsize (%d != %d)");
    FUN_00392b80(param_1,uVar3,uVar4,0x28);
  }
  *(undefined4 *)(param_1 + 0x16) = 0xffffffff;
  param_1[0x17] = 0;
  param_1[0x18] = 0;
  return;
}

