
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DW_SECT": Some values do not have unique names */
/* DWARF original prototype: Section_bounds copy_section(Dwo_file * this, Dwp_output_file *
   output_file, uint shndx, DW_SECT section_id) */

Section_bounds __thiscall
gold::Dwo_file::copy_section
          (Dwo_file *this,Dwp_output_file *output_file,uint shndx,DW_SECT section_id)

{
  pointer pSVar1;
  uchar *contents;
  section_offset_type sVar2;
  uchar *contents_00;
  section_size_type sVar3;
  Section_bounds SVar4;
  Section_bounds SVar5;
  section_offset_type *in_stack_00000004;
  bool is_new;
  section_size_type len;
  undefined4 uStack_14;
  
  uStack_14 = 0x34079;
  pSVar1 = (this->sect_offsets_).
           super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl.
           _M_start + shndx;
  if (pSVar1->size == 0) {
    contents = Object::decompressed_section_contents
                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);
    if (section_id == DW_SECT_STR_OFFSETS) {
      contents_00 = remap_str_offsets(this,contents,len);
      sVar3 = len;
      if ((is_new != false) && (contents != (uchar *)0x0)) {
        operator_delete__(contents);
        sVar3 = len;
      }
    }
    else {
      sVar3 = len;
      contents_00 = contents;
      if (is_new == false) {
        contents_00 = (uchar *)operator_new__(len);
        sVar3 = len;
        memcpy(contents_00,contents,len);
      }
    }
    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);
    *in_stack_00000004 = sVar2;
    pSVar1 = (this->sect_offsets_).
             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl
             ._M_start + shndx;
    in_stack_00000004[1] = len;
    pSVar1->offset = sVar2;
    pSVar1->size = len;
    SVar5.size = len;
    SVar5.offset = (section_offset_type)in_stack_00000004;
    return SVar5;
  }
  sVar3 = pSVar1->size;
  sVar2 = pSVar1->offset;
  in_stack_00000004[1] = sVar3;
  *in_stack_00000004 = sVar2;
  SVar4.size = sVar3;
  SVar4.offset = (section_offset_type)in_stack_00000004;
  return SVar4;
}



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

undefined4 *
FUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)

{
  undefined4 *puVar1;
  void *__src;
  undefined4 uVar2;
  void *__dest;
  size_t sVar3;
  char local_21;
  size_t local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x34079;
  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);
  if (puVar1[1] == 0) {
    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);
    if (param_5 == 6) {
      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);
      sVar3 = local_20[0];
      if ((local_21 != '\0') && (__src != (void *)0x0)) {
        FUN_00180740(__src);
        sVar3 = local_20[0];
      }
    }
    else {
      sVar3 = local_20[0];
      __dest = __src;
      if (local_21 == '\0') {
        __dest = (void *)FUN_0017eb70(local_20[0]);
        sVar3 = local_20[0];
        memcpy(__dest,__src,local_20[0]);
      }
    }
    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);
    *param_1 = uVar2;
    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));
    param_1[1] = local_20[0];
    *puVar1 = uVar2;
    puVar1[1] = local_20[0];
    return param_1;
  }
  uVar2 = *puVar1;
  param_1[1] = puVar1[1];
  *param_1 = uVar2;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x2cdf87
SUB ESP,0x2c
MOV ECX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [ESP + 0x4c]
MOV ESI,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ECX + 0x20]
LEA EDI,[EDX*0x8 + 0x0]
ADD EAX,EDI
MOV ECX,dword ptr [EAX + 0x4]
TEST ECX,ECX
JZ 0x000340c0
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x4],EDX
MOV dword ptr [ESI],EAX
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
PUSH 0x0
LEA EAX,[ESP + 0x2b]
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH EDX
MOV EAX,dword ptr [ESP + 0x60]
PUSH dword ptr [EAX + 0x4]
CALL 0x00092060
ADD ESP,0x20
CMP dword ptr [ESP + 0x50],0x6
MOV EBP,EAX
JZ 0x00034160
CMP byte ptr [ESP + 0x1b],0x0
MOV EDX,dword ptr [ESP + 0x1c]
JZ 0x00034130
SUB ESP,0xc
PUSH 0x1
PUSH EDX
PUSH EBP
PUSH dword ptr [ESP + 0x68]
PUSH dword ptr [ESP + 0x64]
CALL 0x00033d10
MOV EBX,dword ptr [ESP + 0x64]
MOV EDX,dword ptr [ESP + 0x3c]
ADD ESP,0x20
MOV dword ptr [ESI],EAX
ADD EDI,dword ptr [EBX + 0x20]
MOV dword ptr [ESI + 0x4],EDX
MOV dword ptr [EDI],EAX
MOV EAX,ESI
MOV dword ptr [EDI + 0x4],EDX
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
SUB ESP,0xc
PUSH EDX
CALL 0x0017eb70
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0xc
PUSH EDX
MOV dword ptr [ESP + 0x14],EDX
PUSH EBP
PUSH EAX
MOV dword ptr [ESP + 0x18],EAX
CALL 0x000265c0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV EBP,ECX
JMP 0x000340f3
SUB ESP,0x4
PUSH dword ptr [ESP + 0x20]
PUSH EAX
PUSH dword ptr [ESP + 0x50]
CALL 0x00032b30
ADD ESP,0x10
CMP byte ptr [ESP + 0x1b],0x0
JZ 0x0003417f
TEST EBP,EBP
JNZ 0x00034190
MOV EDX,dword ptr [ESP + 0x1c]
MOV EBP,EAX
JMP 0x000340f3
MOV dword ptr [ESP + 0x8],EAX
SUB ESP,0xc
PUSH EBP
CALL 0x00180740
MOV EDX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
MOV EBP,EAX
JMP 0x000340f3
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)\n\n{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)\n\n{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" * (function_declarator "FUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "size_t local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34079;" (assignment_expression "uStack_14 = 0x34079" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x20) + param_4 * 8)" ( (binary_expression "*(int *)(param_2 + 0x20) + param_4 * 8" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + (binary_expression "param_4 * 8" identifier * number_literal)) )))) ;) (if_statement "if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" if (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" { (expression_statement "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);" (assignment_expression "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" identifier = (cast_expression "(void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" identifier (argument_list "(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" ( (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) )))) , identifier , identifier , (pointer_expression "&local_21" & identifier) , number_literal ))))) ;) (if_statement "if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" if (parenthesized_expression "(param_5 == 6)" ( (binary_expression "param_5 == 6" identifier == number_literal) )) (compound_statement "{\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }" { (expression_statement "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);" (assignment_expression "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0])" identifier = (cast_expression "(void *)FUN_00032b30(param_2,__src,local_20[0])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00032b30(param_2,__src,local_20[0])" identifier (argument_list "(param_2,__src,local_20[0])" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" if (parenthesized_expression "((local_21 != '\0') && (__src != (void *)0x0))" ( (binary_expression "(local_21 != '\0') && (__src != (void *)0x0)" (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(__src != (void *)0x0)" ( (binary_expression "__src != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" { (expression_statement "FUN_00180740(__src);" (call_expression "FUN_00180740(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" else (compound_statement "{\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" { (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "__dest = __src;" (assignment_expression "__dest = __src" identifier = identifier) ;) (if_statement "if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" if (parenthesized_expression "(local_21 == '\0')" ( (binary_expression "local_21 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" { (expression_statement "__dest = (void *)FUN_0017eb70(local_20[0]);" (assignment_expression "__dest = (void *)FUN_0017eb70(local_20[0])" identifier = (cast_expression "(void *)FUN_0017eb70(local_20[0])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017eb70(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) ))))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "memcpy(__dest,__src,local_20[0]);" (call_expression "memcpy(__dest,__src,local_20[0])" identifier (argument_list "(__dest,__src,local_20[0])" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) })) }))) (expression_statement "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);" (assignment_expression "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1)" identifier = (call_expression "FUN_00033d10(param_3,param_5,__dest,sVar3,1)" identifier (argument_list "(param_3,param_5,__dest,sVar3,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));" (assignment_expression "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" identifier = (cast_expression "(undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 * 8 + *(int *)(param_2 + 0x20))" ( (binary_expression "param_4 * 8 + *(int *)(param_2 + 0x20)" (binary_expression "param_4 * 8" identifier * number_literal) + (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) )))) ;) (expression_statement "param_1[1] = local_20[0];" (assignment_expression "param_1[1] = local_20[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_20[0];" (assignment_expression "puVar1[1] = local_20[0]" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "param_1[1] = puVar1[1];" (assignment_expression "param_1[1] = puVar1[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DW_SECT": Some values do not have unique names */\n/* DWARF original prototype: Section_bounds copy_section(Dwo_file * this, Dwp_output_file *\n   output_file, uint shndx, DW_SECT section_id) */\n\nSection_bounds __thiscall\ngold::Dwo_file::copy_section\n          (Dwo_file *this,Dwp_output_file *output_file,uint shndx,DW_SECT section_id)\n\n{\n  pointer pSVar1;\n  uchar *contents;\n  section_offset_type sVar2;\n  uchar *contents_00;\n  section_size_type sVar3;\n  Section_bounds SVar4;\n  Section_bounds SVar5;\n  section_offset_type *in_stack_00000004;\n  bool is_new;\n  section_size_type len;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl.\n           _M_start + shndx;\n  if (pSVar1->size == 0) {\n    contents = Object::decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);\n    if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }\n    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);\n    *in_stack_00000004 = sVar2;\n    pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl\n             ._M_start + shndx;\n    in_stack_00000004[1] = len;\n    pSVar1->offset = sVar2;\n    pSVar1->size = len;\n    SVar5.size = len;\n    SVar5.offset = (section_offset_type)in_stack_00000004;\n    return SVar5;\n  }\n  sVar3 = pSVar1->size;\n  sVar2 = pSVar1->offset;\n  in_stack_00000004[1] = sVar3;\n  *in_stack_00000004 = sVar2;\n  SVar4.size = sVar3;\n  SVar4.offset = (section_offset_type)in_stack_00000004;\n  return SVar4;\n}\n\n" comment comment comment (function_definition "Section_bounds __thiscall\ngold::Dwo_file::copy_section\n          (Dwo_file *this,Dwp_output_file *output_file,uint shndx,DW_SECT section_id)\n\n{\n  pointer pSVar1;\n  uchar *contents;\n  section_offset_type sVar2;\n  uchar *contents_00;\n  section_size_type sVar3;\n  Section_bounds SVar4;\n  Section_bounds SVar5;\n  section_offset_type *in_stack_00000004;\n  bool is_new;\n  section_size_type len;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl.\n           _M_start + shndx;\n  if (pSVar1->size == 0) {\n    contents = Object::decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);\n    if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }\n    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);\n    *in_stack_00000004 = sVar2;\n    pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl\n             ._M_start + shndx;\n    in_stack_00000004[1] = len;\n    pSVar1->offset = sVar2;\n    pSVar1->size = len;\n    SVar5.size = len;\n    SVar5.offset = (section_offset_type)in_stack_00000004;\n    return SVar5;\n  }\n  sVar3 = pSVar1->size;\n  sVar2 = pSVar1->offset;\n  in_stack_00000004[1] = sVar3;\n  *in_stack_00000004 = sVar2;\n  SVar4.size = sVar3;\n  SVar4.offset = (section_offset_type)in_stack_00000004;\n  return SVar4;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwo_file::" identifier : : identifier : :) (function_declarator "copy_section\n          (Dwo_file *this,Dwp_output_file *output_file,uint shndx,DW_SECT section_id)" identifier (parameter_list "(Dwo_file *this,Dwp_output_file *output_file,uint shndx,DW_SECT section_id)" ( (parameter_declaration "Dwo_file *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Dwp_output_file *output_file" type_identifier (pointer_declarator "*output_file" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "DW_SECT section_id" type_identifier identifier) ))) (compound_statement "{\n  pointer pSVar1;\n  uchar *contents;\n  section_offset_type sVar2;\n  uchar *contents_00;\n  section_size_type sVar3;\n  Section_bounds SVar4;\n  Section_bounds SVar5;\n  section_offset_type *in_stack_00000004;\n  bool is_new;\n  section_size_type len;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl.\n           _M_start + shndx;\n  if (pSVar1->size == 0) {\n    contents = Object::decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);\n    if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }\n    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);\n    *in_stack_00000004 = sVar2;\n    pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl\n             ._M_start + shndx;\n    in_stack_00000004[1] = len;\n    pSVar1->offset = sVar2;\n    pSVar1->size = len;\n    SVar5.size = len;\n    SVar5.offset = (section_offset_type)in_stack_00000004;\n    return SVar5;\n  }\n  sVar3 = pSVar1->size;\n  sVar2 = pSVar1->offset;\n  in_stack_00000004[1] = sVar3;\n  *in_stack_00000004 = sVar2;\n  SVar4.size = sVar3;\n  SVar4.offset = (section_offset_type)in_stack_00000004;\n  return SVar4;\n}" { (declaration "pointer pSVar1;" type_identifier identifier ;) (declaration "uchar *contents;" type_identifier (pointer_declarator "*contents" * identifier) ;) (declaration "section_offset_type sVar2;" type_identifier identifier ;) (declaration "uchar *contents_00;" type_identifier (pointer_declarator "*contents_00" * identifier) ;) (declaration "section_size_type sVar3;" type_identifier identifier ;) (declaration "Section_bounds SVar4;" type_identifier identifier ;) (declaration "Section_bounds SVar5;" type_identifier identifier ;) (declaration "section_offset_type *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "bool is_new;" primitive_type identifier ;) (declaration "section_size_type len;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34079;" (assignment_expression "uStack_14 = 0x34079" identifier = number_literal) ;) (ERROR "pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold::Section_bounds,_std::allocator<gold::" (comma_expression "pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold::Section_bounds,_std" (assignment_expression "pSVar1 = (this->sect_offsets_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->sect_offsets_).\n           super__Vector_base<gold" (field_expression "(this->sect_offsets_).\n           super__Vector_base" (parenthesized_expression "(this->sect_offsets_)" ( (field_expression "this->sect_offsets_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Section_bounds" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Section_bounds>_>._M_impl.\n           _M_start + shndx;" (binary_expression "Section_bounds>_>._M_impl.\n           _M_start + shndx" (field_expression "Section_bounds>_>._M_impl.\n           _M_start" (field_expression "Section_bounds>_>._M_impl" (binary_expression "Section_bounds>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) + identifier) ;) (if_statement "if (pSVar1->size == 0) {\n    contents = Object::decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);\n    if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }\n    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);\n    *in_stack_00000004 = sVar2;\n    pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl\n             ._M_start + shndx;\n    in_stack_00000004[1] = len;\n    pSVar1->offset = sVar2;\n    pSVar1->size = len;\n    SVar5.size = len;\n    SVar5.offset = (section_offset_type)in_stack_00000004;\n    return SVar5;\n  }" if (parenthesized_expression "(pSVar1->size == 0)" ( (binary_expression "pSVar1->size == 0" (field_expression "pSVar1->size" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    contents = Object::decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);\n    if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }\n    sVar2 = Dwp_output_file::add_contribution(output_file,section_id,contents_00,sVar3,1);\n    *in_stack_00000004 = sVar2;\n    pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::Section_bounds>_>._M_impl\n             ._M_start + shndx;\n    in_stack_00000004[1] = len;\n    pSVar1->offset = sVar2;\n    pSVar1->size = len;\n    SVar5.size = len;\n    SVar5.offset = (section_offset_type)in_stack_00000004;\n    return SVar5;\n  }" { (ERROR "contents = Object::" (assignment_expression "contents = Object" identifier = identifier) : :) (expression_statement "decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0);" (call_expression "decompressed_section_contents\n                         (&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0)" identifier (argument_list "(&this->obj_->super_Object,shndx,&len,&is_new,(uint64_t *)0x0)" ( (pointer_expression "&this->obj_->super_Object" & (field_expression "this->obj_->super_Object" (field_expression "this->obj_" identifier -> field_identifier) -> field_identifier)) , identifier , (pointer_expression "&len" & identifier) , (pointer_expression "&is_new" & identifier) , (cast_expression "(uint64_t *)0x0" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (section_id == DW_SECT_STR_OFFSETS) {\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }\n    else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }" if (parenthesized_expression "(section_id == DW_SECT_STR_OFFSETS)" ( (binary_expression "section_id == DW_SECT_STR_OFFSETS" identifier == identifier) )) (compound_statement "{\n      contents_00 = remap_str_offsets(this,contents,len);\n      sVar3 = len;\n      if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }\n    }" { (expression_statement "contents_00 = remap_str_offsets(this,contents,len);" (assignment_expression "contents_00 = remap_str_offsets(this,contents,len)" identifier = (call_expression "remap_str_offsets(this,contents,len)" identifier (argument_list "(this,contents,len)" ( identifier , identifier , identifier )))) ;) (expression_statement "sVar3 = len;" (assignment_expression "sVar3 = len" identifier = identifier) ;) (if_statement "if ((is_new != false) && (contents != (uchar *)0x0)) {\n        operator_delete__(contents);\n        sVar3 = len;\n      }" if (parenthesized_expression "((is_new != false) && (contents != (uchar *)0x0))" ( (binary_expression "(is_new != false) && (contents != (uchar *)0x0)" (parenthesized_expression "(is_new != false)" ( (binary_expression "is_new != false" identifier != false) )) && (parenthesized_expression "(contents != (uchar *)0x0)" ( (binary_expression "contents != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        operator_delete__(contents);\n        sVar3 = len;\n      }" { (expression_statement "operator_delete__(contents);" (call_expression "operator_delete__(contents)" identifier (argument_list "(contents)" ( identifier ))) ;) (expression_statement "sVar3 = len;" (assignment_expression "sVar3 = len" identifier = identifier) ;) })) }) (else_clause "else {\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }" else (compound_statement "{\n      sVar3 = len;\n      contents_00 = contents;\n      if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }\n    }" { (expression_statement "sVar3 = len;" (assignment_expression "sVar3 = len" identifier = identifier) ;) (expression_statement "contents_00 = contents;" (assignment_expression "contents_00 = contents" identifier = identifier) ;) (if_statement "if (is_new == false) {\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }" if (parenthesized_expression "(is_new == false)" ( (binary_expression "is_new == false" identifier == false) )) (compound_statement "{\n        contents_00 = (uchar *)operator_new__(len);\n        sVar3 = len;\n        memcpy(contents_00,contents,len);\n      }" { (expression_statement "contents_00 = (uchar *)operator_new__(len);" (assignment_expression "contents_00 = (uchar *)operator_new__(len)" identifier = (cast_expression "(uchar *)operator_new__(len)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(len)" identifier (argument_list "(len)" ( identifier ))))) ;) (expression_statement "sVar3 = len;" (assignment_expression "sVar3 = len" identifier = identifier) ;) (expression_statement "memcpy(contents_00,contents,len);" (call_expression "memcpy(contents_00,contents,len)" identifier (argument_list "(contents_00,contents,len)" ( identifier , identifier , identifier ))) ;) })) }))) (ERROR "sVar2 = Dwp_output_file::" (assignment_expression "sVar2 = Dwp_output_file" identifier = identifier) : :) (expression_statement "add_contribution(output_file,section_id,contents_00,sVar3,1);" (call_expression "add_contribution(output_file,section_id,contents_00,sVar3,1)" identifier (argument_list "(output_file,section_id,contents_00,sVar3,1)" ( identifier , identifier , identifier , identifier , number_literal ))) ;) (expression_statement "*in_stack_00000004 = sVar2;" (assignment_expression "*in_stack_00000004 = sVar2" (pointer_expression "*in_stack_00000004" * identifier) = identifier) ;) (ERROR "pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std::allocator<gold::" (comma_expression "pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold::Section_bounds,_std" (assignment_expression "pSVar1 = (this->sect_offsets_).\n             super__Vector_base<gold" identifier = (binary_expression "(this->sect_offsets_).\n             super__Vector_base<gold" (field_expression "(this->sect_offsets_).\n             super__Vector_base" (parenthesized_expression "(this->sect_offsets_)" ( (field_expression "this->sect_offsets_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Section_bounds" : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Section_bounds>_>._M_impl\n             ._M_start + shndx;" (binary_expression "Section_bounds>_>._M_impl\n             ._M_start + shndx" (field_expression "Section_bounds>_>._M_impl\n             ._M_start" (field_expression "Section_bounds>_>._M_impl" (binary_expression "Section_bounds>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) + identifier) ;) (expression_statement "in_stack_00000004[1] = len;" (assignment_expression "in_stack_00000004[1] = len" (subscript_expression "in_stack_00000004[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pSVar1->offset = sVar2;" (assignment_expression "pSVar1->offset = sVar2" (field_expression "pSVar1->offset" identifier -> field_identifier) = identifier) ;) (expression_statement "pSVar1->size = len;" (assignment_expression "pSVar1->size = len" (field_expression "pSVar1->size" identifier -> field_identifier) = identifier) ;) (expression_statement "SVar5.size = len;" (assignment_expression "SVar5.size = len" (field_expression "SVar5.size" identifier . field_identifier) = identifier) ;) (expression_statement "SVar5.offset = (section_offset_type)in_stack_00000004;" (assignment_expression "SVar5.offset = (section_offset_type)in_stack_00000004" (field_expression "SVar5.offset" identifier . field_identifier) = (cast_expression "(section_offset_type)in_stack_00000004" ( (type_descriptor "section_offset_type" type_identifier) ) identifier)) ;) (return_statement "return SVar5;" return identifier ;) })) (expression_statement "sVar3 = pSVar1->size;" (assignment_expression "sVar3 = pSVar1->size" identifier = (field_expression "pSVar1->size" identifier -> field_identifier)) ;) (expression_statement "sVar2 = pSVar1->offset;" (assignment_expression "sVar2 = pSVar1->offset" identifier = (field_expression "pSVar1->offset" identifier -> field_identifier)) ;) (expression_statement "in_stack_00000004[1] = sVar3;" (assignment_expression "in_stack_00000004[1] = sVar3" (subscript_expression "in_stack_00000004[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*in_stack_00000004 = sVar2;" (assignment_expression "*in_stack_00000004 = sVar2" (pointer_expression "*in_stack_00000004" * identifier) = identifier) ;) (expression_statement "SVar4.size = sVar3;" (assignment_expression "SVar4.size = sVar3" (field_expression "SVar4.size" identifier . field_identifier) = identifier) ;) (expression_statement "SVar4.offset = (section_offset_type)in_stack_00000004;" (assignment_expression "SVar4.offset = (section_offset_type)in_stack_00000004" (field_expression "SVar4.offset" identifier . field_identifier) = (cast_expression "(section_offset_type)in_stack_00000004" ( (type_descriptor "section_offset_type" type_identifier) ) identifier)) ;) (return_statement "return SVar4;" return identifier ;) })))
(translation_unit "undefined4 *\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)\n\n{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)\n\n{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" * (function_declarator "FUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" identifier (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "int param_5" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char local_21;" primitive_type identifier ;) (declaration "size_t local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x34079;" (assignment_expression "uStack_14 = 0x34079" identifier = number_literal) ;) (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" identifier = (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x20) + param_4 * 8)" ( (binary_expression "*(int *)(param_2 + 0x20) + param_4 * 8" (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + (binary_expression "param_4 * 8" identifier * number_literal)) )))) ;) (if_statement "if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" if (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" { (expression_statement "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);" (assignment_expression "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" identifier = (cast_expression "(void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" identifier (argument_list "(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" ( (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) )))) , identifier , identifier , (pointer_expression "&local_21" & identifier) , number_literal ))))) ;) (if_statement "if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" if (parenthesized_expression "(param_5 == 6)" ( (binary_expression "param_5 == 6" identifier == number_literal) )) (compound_statement "{\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }" { (expression_statement "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);" (assignment_expression "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0])" identifier = (cast_expression "(void *)FUN_00032b30(param_2,__src,local_20[0])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00032b30(param_2,__src,local_20[0])" identifier (argument_list "(param_2,__src,local_20[0])" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" if (parenthesized_expression "((local_21 != '\0') && (__src != (void *)0x0))" ( (binary_expression "(local_21 != '\0') && (__src != (void *)0x0)" (parenthesized_expression "(local_21 != '\0')" ( (binary_expression "local_21 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(__src != (void *)0x0)" ( (binary_expression "__src != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" { (expression_statement "FUN_00180740(__src);" (call_expression "FUN_00180740(__src)" identifier (argument_list "(__src)" ( identifier ))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" else (compound_statement "{\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" { (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "__dest = __src;" (assignment_expression "__dest = __src" identifier = identifier) ;) (if_statement "if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" if (parenthesized_expression "(local_21 == '\0')" ( (binary_expression "local_21 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" { (expression_statement "__dest = (void *)FUN_0017eb70(local_20[0]);" (assignment_expression "__dest = (void *)FUN_0017eb70(local_20[0])" identifier = (cast_expression "(void *)FUN_0017eb70(local_20[0])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017eb70(local_20[0])" identifier (argument_list "(local_20[0])" ( (subscript_expression "local_20[0]" identifier [ number_literal ]) ))))) ;) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "memcpy(__dest,__src,local_20[0]);" (call_expression "memcpy(__dest,__src,local_20[0])" identifier (argument_list "(__dest,__src,local_20[0])" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) ))) ;) })) }))) (expression_statement "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);" (assignment_expression "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1)" identifier = (call_expression "FUN_00033d10(param_3,param_5,__dest,sVar3,1)" identifier (argument_list "(param_3,param_5,__dest,sVar3,1)" ( identifier , identifier , identifier , identifier , number_literal )))) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));" (assignment_expression "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" identifier = (cast_expression "(undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 * 8 + *(int *)(param_2 + 0x20))" ( (binary_expression "param_4 * 8 + *(int *)(param_2 + 0x20)" (binary_expression "param_4 * 8" identifier * number_literal) + (pointer_expression "*(int *)(param_2 + 0x20)" * (cast_expression "(int *)(param_2 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) )))) ;) (expression_statement "param_1[1] = local_20[0];" (assignment_expression "param_1[1] = local_20[0]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[1] = local_20[0];" (assignment_expression "puVar1[1] = local_20[0]" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "param_1[1] = puVar1[1];" (assignment_expression "param_1[1] = puVar1[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , (pointer_expression & IDENT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)\n\n{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" (* "*") (function_declarator "FUN_00034070(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" (identifier "FUN_00034070") (parameter_list "(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  void *__src;\n  undefined4 uVar2;\n  void *__dest;\n  size_t sVar3;\n  char local_21;\n  size_t local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x34079;\n  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);\n  if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }\n  uVar2 = *puVar1;\n  param_1[1] = puVar1[1];\n  *param_1 = uVar2;\n  return param_1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char local_21;" (primitive_type "char") (identifier "local_21") (; ";")) (declaration "size_t local_20 [3];" (primitive_type "size_t") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x34079;" (assignment_expression "uStack_14 = 0x34079" (identifier "uStack_14") (= "=") (number_literal "0x34079")) (; ";")) (expression_statement "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);" (assignment_expression "puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x20) + param_4 * 8)" (( "(") (binary_expression "*(int *)(param_2 + 0x20) + param_4 * 8" (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (binary_expression "param_4 * 8" (identifier "param_4") (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (puVar1[1] == 0) {\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" (if "if") (parenthesized_expression "(puVar1[1] == 0)" (( "(") (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);\n    if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }\n    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);\n    *param_1 = uVar2;\n    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));\n    param_1[1] = local_20[0];\n    *puVar1 = uVar2;\n    puVar1[1] = local_20[0];\n    return param_1;\n  }" ({ "{") (expression_statement "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);" (assignment_expression "__src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" (identifier "__src") (= "=") (cast_expression "(void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" (identifier "FUN_00092060") (argument_list "(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0)" (( "(") (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")) () ")")))) (, ",") (identifier "param_4") (, ",") (identifier "local_20") (, ",") (pointer_expression "&local_21" (& "&") (identifier "local_21")) (, ",") (number_literal "0") () ")"))))) (; ";")) (if_statement "if (param_5 == 6) {\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }\n    else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" (if "if") (parenthesized_expression "(param_5 == 6)" (( "(") (binary_expression "param_5 == 6" (identifier "param_5") (== "==") (number_literal "6")) () ")")) (compound_statement "{\n      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);\n      sVar3 = local_20[0];\n      if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }\n    }" ({ "{") (expression_statement "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);" (assignment_expression "__dest = (void *)FUN_00032b30(param_2,__src,local_20[0])" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_00032b30(param_2,__src,local_20[0])" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00032b30(param_2,__src,local_20[0])" (identifier "FUN_00032b30") (argument_list "(param_2,__src,local_20[0])" (( "(") (identifier "param_2") (, ",") (identifier "__src") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))))) (; ";")) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" (identifier "sVar3") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if ((local_21 != '\0') && (__src != (void *)0x0)) {\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" (if "if") (parenthesized_expression "((local_21 != '\0') && (__src != (void *)0x0))" (( "(") (binary_expression "(local_21 != '\0') && (__src != (void *)0x0)" (parenthesized_expression "(local_21 != '\0')" (( "(") (binary_expression "local_21 != '\0'" (identifier "local_21") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(__src != (void *)0x0)" (( "(") (binary_expression "__src != (void *)0x0" (identifier "__src") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n        FUN_00180740(__src);\n        sVar3 = local_20[0];\n      }" ({ "{") (expression_statement "FUN_00180740(__src);" (call_expression "FUN_00180740(__src)" (identifier "FUN_00180740") (argument_list "(__src)" (( "(") (identifier "__src") () ")"))) (; ";")) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" (identifier "sVar3") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" (else "else") (compound_statement "{\n      sVar3 = local_20[0];\n      __dest = __src;\n      if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }\n    }" ({ "{") (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" (identifier "sVar3") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "__dest = __src;" (assignment_expression "__dest = __src" (identifier "__dest") (= "=") (identifier "__src")) (; ";")) (if_statement "if (local_21 == '\0') {\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" (if "if") (parenthesized_expression "(local_21 == '\0')" (( "(") (binary_expression "local_21 == '\0'" (identifier "local_21") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        __dest = (void *)FUN_0017eb70(local_20[0]);\n        sVar3 = local_20[0];\n        memcpy(__dest,__src,local_20[0]);\n      }" ({ "{") (expression_statement "__dest = (void *)FUN_0017eb70(local_20[0]);" (assignment_expression "__dest = (void *)FUN_0017eb70(local_20[0])" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_0017eb70(local_20[0])" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017eb70(local_20[0])" (identifier "FUN_0017eb70") (argument_list "(local_20[0])" (( "(") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))))) (; ";")) (expression_statement "sVar3 = local_20[0];" (assignment_expression "sVar3 = local_20[0]" (identifier "sVar3") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "memcpy(__dest,__src,local_20[0]);" (call_expression "memcpy(__dest,__src,local_20[0])" (identifier "memcpy") (argument_list "(__dest,__src,local_20[0])" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);" (assignment_expression "uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1)" (identifier "uVar2") (= "=") (call_expression "FUN_00033d10(param_3,param_5,__dest,sVar3,1)" (identifier "FUN_00033d10") (argument_list "(param_3,param_5,__dest,sVar3,1)" (( "(") (identifier "param_3") (, ",") (identifier "param_5") (, ",") (identifier "__dest") (, ",") (identifier "sVar3") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));" (assignment_expression "puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 * 8 + *(int *)(param_2 + 0x20))" (( "(") (binary_expression "param_4 * 8 + *(int *)(param_2 + 0x20)" (binary_expression "param_4 * 8" (identifier "param_4") (* "*") (number_literal "8")) (+ "+") (pointer_expression "*(int *)(param_2 + 0x20)" (* "*") (cast_expression "(int *)(param_2 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")))) (; ";")) (expression_statement "param_1[1] = local_20[0];" (assignment_expression "param_1[1] = local_20[0]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1[1] = local_20[0];" (assignment_expression "puVar1[1] = local_20[0]" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "param_1[1] = puVar1[1];" (assignment_expression "param_1[1] = puVar1[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = uVar2;" (assignment_expression "*param_1 = uVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DW_SECT": Some values do not have unique names */
/* DWARF original prototype: Section_bounds copy_section(Dwo_file * this, Dwp_output_file *
   output_file, uint shndx, DW_SECT section_id) */

type_1 __thiscall
gold::type_2::function_1
          (type_2 *this,type_3 *output_file,type_4 var_2,type_5 var_4)

{
  type_6 pSVar1;
  type_7 *var_8;
  type_8 sVar2;
  type_7 *contents_00;
  type_9 sVar3;
  type_1 SVar4;
  type_1 SVar5;
  type_8 *in_stack_00000004;
  bool var_7;
  type_9 len;
  type_10 uStack_14;
  
  uStack_14 = 0x34079;
  pSVar1 = (this->sect_offsets_).
           super__Vector_base<gold::type_1,_std::allocator<gold::type_1>var_1>._M_impl.
           _M_start + var_2;
  if (pSVar1->size == 0) {
    var_8 = Object::var_3
                         (&this->obj_->super_Object,var_2,&len,&var_7,(uint64_t *)0x0);
    if (var_4 == var_5) {
      contents_00 = var_6(this,var_8,len);
      sVar3 = len;
      if ((var_7 != false) && (var_8 != (type_7 *)0x0)) {
        var_9(var_8);
        sVar3 = len;
      }
    }
    else {
      sVar3 = len;
      contents_00 = var_8;
      if (var_7 == false) {
        contents_00 = (type_7 *)var_10(len);
        sVar3 = len;
        var_11(contents_00,var_8,len);
      }
    }
    sVar2 = type_3::var_12(output_file,var_4,contents_00,sVar3,1);
    *in_stack_00000004 = sVar2;
    pSVar1 = (this->sect_offsets_).
             super__Vector_base<gold::type_1,_std::allocator<gold::type_1>var_1>._M_impl
             ._M_start + var_2;
    in_stack_00000004[1] = len;
    pSVar1->offset = sVar2;
    pSVar1->size = len;
    SVar5.size = len;
    SVar5.offset = (type_8)in_stack_00000004;
    return SVar5;
  }
  sVar3 = pSVar1->size;
  sVar2 = pSVar1->offset;
  in_stack_00000004[1] = sVar3;
  *in_stack_00000004 = sVar2;
  SVar4.size = sVar3;
  SVar4.offset = (type_8)in_stack_00000004;
  return SVar4;
}


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

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

undefined4 *
MASKED(undefined4 *param_1,int param_2,undefined4 param_3,int param_4,int param_5)

{
  undefined4 *puVar1;
  void *__src;
  undefined4 uVar2;
  void *__dest;
  size_t sVar3;
  char local_21;
  size_t local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x34079;
  puVar1 = (undefined4 *)(*(int *)(param_2 + 0x20) + param_4 * 8);
  if (puVar1[1] == 0) {
    __src = (void *)FUN_00092060(*(undefined4 *)(param_2 + 4),param_4,local_20,&local_21,0);
    if (param_5 == 6) {
      __dest = (void *)FUN_00032b30(param_2,__src,local_20[0]);
      sVar3 = local_20[0];
      if ((local_21 != '\0') && (__src != (void *)0x0)) {
        FUN_00180740(__src);
        sVar3 = local_20[0];
      }
    }
    else {
      sVar3 = local_20[0];
      __dest = __src;
      if (local_21 == '\0') {
        __dest = (void *)FUN_0017eb70(local_20[0]);
        sVar3 = local_20[0];
        memcpy(__dest,__src,local_20[0]);
      }
    }
    uVar2 = FUN_00033d10(param_3,param_5,__dest,sVar3,1);
    *param_1 = uVar2;
    puVar1 = (undefined4 *)(param_4 * 8 + *(int *)(param_2 + 0x20));
    param_1[1] = local_20[0];
    *puVar1 = uVar2;
    puVar1[1] = local_20[0];
    return param_1;
  }
  uVar2 = *puVar1;
  param_1[1] = puVar1[1];
  *param_1 = uVar2;
  return param_1;
}

