
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void copy_symbols_data(Relobj * this, Symbols_data * gc_sd,
   Read_symbols_data * sd, uint section_header_size) */

void __thiscall
gold::Relobj::copy_symbols_data
          (Relobj *this,Symbols_data *gc_sd,Read_symbols_data *sd,uint section_header_size)

{
  File_view *pFVar1;
  section_offset_type sVar2;
  uint uVar3;
  uchar *puVar4;
  size_t sVar5;
  
  puVar4 = (uchar *)operator_new__(section_header_size);
  pFVar1 = sd->section_headers;
  gc_sd->section_headers_data = puVar4;
  memcpy(puVar4,pFVar1->data_,section_header_size);
  puVar4 = (uchar *)operator_new__(sd->section_names_size);
  pFVar1 = sd->section_names;
  sVar5 = sd->section_names_size;
  gc_sd->section_names_data = puVar4;
  memcpy(puVar4,pFVar1->data_,sVar5);
  pFVar1 = sd->symbols;
  gc_sd->section_names_size = sVar5;
  if (pFVar1 == (File_view *)0x0) {
    gc_sd->symbols_data = (uchar *)0x0;
    sVar5 = sd->symbols_size;
  }
  else {
    puVar4 = (uchar *)operator_new__(sd->symbols_size);
    pFVar1 = sd->symbols;
    sVar5 = sd->symbols_size;
    gc_sd->symbols_data = puVar4;
    memcpy(puVar4,pFVar1->data_,sVar5);
  }
  sVar2 = sd->external_symbols_offset;
  gc_sd->symbols_size = sVar5;
  uVar3 = sd->symbol_names_size;
  gc_sd->external_symbols_offset = sVar2;
  if (sd->symbol_names != (File_view *)0x0) {
    puVar4 = (uchar *)operator_new__(uVar3);
    pFVar1 = sd->symbol_names;
    sVar5 = sd->symbol_names_size;
    gc_sd->symbol_names_data = puVar4;
    memcpy(puVar4,pFVar1->data_,sVar5);
    gc_sd->symbol_names_size = sVar5;
    return;
  }
  gc_sd->symbol_names_data = (uchar *)0x0;
  gc_sd->symbol_names_size = uVar3;
  return;
}



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

void FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)

{
  int iVar1;
  int iVar2;
  void *pvVar3;
  size_t sVar4;
  
  pvVar3 = (void *)FUN_001e5180(param_4);
  iVar1 = *param_3;
  *param_2 = pvVar3;
  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);
  pvVar3 = (void *)FUN_001e5180(param_3[2]);
  iVar1 = param_3[1];
  sVar4 = param_3[2];
  param_2[1] = pvVar3;
  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
  iVar1 = param_3[3];
  param_2[2] = sVar4;
  if (iVar1 == 0) {
    param_2[3] = 0;
    sVar4 = param_3[4];
  }
  else {
    pvVar3 = (void *)FUN_001e5180(param_3[4]);
    iVar1 = param_3[3];
    sVar4 = param_3[4];
    param_2[3] = pvVar3;
    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
  }
  iVar1 = param_3[5];
  param_2[4] = sVar4;
  iVar2 = param_3[7];
  param_2[5] = iVar1;
  if (param_3[6] != 0) {
    pvVar3 = (void *)FUN_001e5180(iVar2);
    iVar1 = param_3[6];
    sVar4 = param_3[7];
    param_2[6] = pvVar3;
    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
    param_2[7] = sVar4;
    return;
  }
  param_2[6] = 0;
  param_2[7] = iVar2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2dd4e7
SUB ESP,0x18
MOV EBP,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x34]
MOV EDI,dword ptr [ESP + 0x30]
PUSH EBP
CALL 0x001e5180
MOV EDX,dword ptr [ESI]
ADD ESP,0xc
MOV dword ptr [EDI],EAX
MOV EDX,dword ptr [EDX + 0x8]
PUSH EBP
PUSH EDX
PUSH EAX
CALL 0x000295c0
POP EDX
PUSH dword ptr [ESI + 0x8]
CALL 0x001e5180
MOV EDX,dword ptr [ESI + 0x4]
MOV EBP,dword ptr [ESI + 0x8]
ADD ESP,0xc
MOV dword ptr [EDI + 0x4],EAX
MOV EDX,dword ptr [EDX + 0x8]
PUSH EBP
PUSH EDX
PUSH EAX
CALL 0x000295c0
MOV ECX,dword ptr [ESI + 0xc]
MOV dword ptr [EDI + 0x8],EBP
ADD ESP,0x10
TEST ECX,ECX
JZ 0x000b1be0
SUB ESP,0xc
PUSH dword ptr [ESI + 0x10]
CALL 0x001e5180
MOV EDX,dword ptr [ESI + 0xc]
MOV EBP,dword ptr [ESI + 0x10]
ADD ESP,0xc
MOV dword ptr [EDI + 0xc],EAX
MOV EDX,dword ptr [EDX + 0x8]
PUSH EBP
PUSH EDX
PUSH EAX
CALL 0x000295c0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x14]
MOV dword ptr [EDI + 0x10],EBP
MOV EBP,dword ptr [ESI + 0x1c]
MOV dword ptr [EDI + 0x14],EAX
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x000b1bf0
SUB ESP,0xc
PUSH EBP
CALL 0x001e5180
MOV EDX,dword ptr [ESI + 0x18]
MOV EBP,dword ptr [ESI + 0x1c]
ADD ESP,0xc
MOV dword ptr [EDI + 0x18],EAX
MOV EDX,dword ptr [EDX + 0x8]
PUSH EBP
PUSH EDX
PUSH EAX
CALL 0x000295c0
ADD ESP,0x10
MOV dword ptr [EDI + 0x1c],EBP
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EDI + 0xc],0x0
MOV EBP,dword ptr [ESI + 0x10]
JMP 0x000b1b98
MOV dword ptr [EDI + 0x18],0x0
MOV dword ptr [EDI + 0x1c],EBP
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "size_t param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_4);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_4)" identifier = (cast_expression "(void *)FUN_001e5180(param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_4)" identifier (argument_list "(param_4)" ( identifier ))))) ;) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_2 = pvVar3;" (assignment_expression "*param_2 = pvVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),param_4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[2]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[2])" identifier = (cast_expression "(void *)FUN_001e5180(param_3[2])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))))) ;) (expression_statement "iVar1 = param_3[1];" (assignment_expression "iVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[2];" (assignment_expression "sVar4 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = pvVar3;" (assignment_expression "param_2[1] = pvVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = sVar4;" (assignment_expression "param_2[2] = sVar4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }" { (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" else (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" { (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[4]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[4])" identifier = (cast_expression "(void *)FUN_001e5180(param_3[4])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_3[4])" identifier (argument_list "(param_3[4])" ( (subscript_expression "param_3[4]" identifier [ number_literal ]) ))))) ;) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "param_2[3] = pvVar3;" (assignment_expression "param_2[3] = pvVar3" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) }))) (expression_statement "iVar1 = param_3[5];" (assignment_expression "iVar1 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = sVar4;" (assignment_expression "param_2[4] = sVar4" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = param_3[7];" (assignment_expression "iVar2 = param_3[7]" identifier = (subscript_expression "param_3[7]" identifier [ number_literal ])) ;) (expression_statement "param_2[5] = iVar1;" (assignment_expression "param_2[5] = iVar1" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" if (parenthesized_expression "(param_3[6] != 0)" ( (binary_expression "param_3[6] != 0" (subscript_expression "param_3[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" { (expression_statement "pvVar3 = (void *)FUN_001e5180(iVar2);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(iVar2)" identifier = (cast_expression "(void *)FUN_001e5180(iVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "iVar1 = param_3[6];" (assignment_expression "iVar1 = param_3[6]" identifier = (subscript_expression "param_3[6]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[7];" (assignment_expression "sVar4 = param_3[7]" identifier = (subscript_expression "param_3[7]" identifier [ number_literal ])) ;) (expression_statement "param_2[6] = pvVar3;" (assignment_expression "param_2[6] = pvVar3" (subscript_expression "param_2[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "param_2[7] = sVar4;" (assignment_expression "param_2[7] = sVar4" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[7] = iVar2;" (assignment_expression "param_2[7] = iVar2" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void copy_symbols_data(Relobj * this, Symbols_data * gc_sd,\n   Read_symbols_data * sd, uint section_header_size) */\n\nvoid __thiscall\ngold::Relobj::copy_symbols_data\n          (Relobj *this,Symbols_data *gc_sd,Read_symbols_data *sd,uint section_header_size)\n\n{\n  File_view *pFVar1;\n  section_offset_type sVar2;\n  uint uVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  \n  puVar4 = (uchar *)operator_new__(section_header_size);\n  pFVar1 = sd->section_headers;\n  gc_sd->section_headers_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,section_header_size);\n  puVar4 = (uchar *)operator_new__(sd->section_names_size);\n  pFVar1 = sd->section_names;\n  sVar5 = sd->section_names_size;\n  gc_sd->section_names_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,sVar5);\n  pFVar1 = sd->symbols;\n  gc_sd->section_names_size = sVar5;\n  if (pFVar1 == (File_view *)0x0) {\n    gc_sd->symbols_data = (uchar *)0x0;\n    sVar5 = sd->symbols_size;\n  }\n  else {\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }\n  sVar2 = sd->external_symbols_offset;\n  gc_sd->symbols_size = sVar5;\n  uVar3 = sd->symbol_names_size;\n  gc_sd->external_symbols_offset = sVar2;\n  if (sd->symbol_names != (File_view *)0x0) {\n    puVar4 = (uchar *)operator_new__(uVar3);\n    pFVar1 = sd->symbol_names;\n    sVar5 = sd->symbol_names_size;\n    gc_sd->symbol_names_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n    gc_sd->symbol_names_size = sVar5;\n    return;\n  }\n  gc_sd->symbol_names_data = (uchar *)0x0;\n  gc_sd->symbol_names_size = uVar3;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Relobj::copy_symbols_data\n          (Relobj *this,Symbols_data *gc_sd,Read_symbols_data *sd,uint section_header_size)\n\n{\n  File_view *pFVar1;\n  section_offset_type sVar2;\n  uint uVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  \n  puVar4 = (uchar *)operator_new__(section_header_size);\n  pFVar1 = sd->section_headers;\n  gc_sd->section_headers_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,section_header_size);\n  puVar4 = (uchar *)operator_new__(sd->section_names_size);\n  pFVar1 = sd->section_names;\n  sVar5 = sd->section_names_size;\n  gc_sd->section_names_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,sVar5);\n  pFVar1 = sd->symbols;\n  gc_sd->section_names_size = sVar5;\n  if (pFVar1 == (File_view *)0x0) {\n    gc_sd->symbols_data = (uchar *)0x0;\n    sVar5 = sd->symbols_size;\n  }\n  else {\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }\n  sVar2 = sd->external_symbols_offset;\n  gc_sd->symbols_size = sVar5;\n  uVar3 = sd->symbol_names_size;\n  gc_sd->external_symbols_offset = sVar2;\n  if (sd->symbol_names != (File_view *)0x0) {\n    puVar4 = (uchar *)operator_new__(uVar3);\n    pFVar1 = sd->symbol_names;\n    sVar5 = sd->symbol_names_size;\n    gc_sd->symbol_names_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n    gc_sd->symbol_names_size = sVar5;\n    return;\n  }\n  gc_sd->symbol_names_data = (uchar *)0x0;\n  gc_sd->symbol_names_size = uVar3;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Relobj::" identifier : : identifier : :) (function_declarator "copy_symbols_data\n          (Relobj *this,Symbols_data *gc_sd,Read_symbols_data *sd,uint section_header_size)" identifier (parameter_list "(Relobj *this,Symbols_data *gc_sd,Read_symbols_data *sd,uint section_header_size)" ( (parameter_declaration "Relobj *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbols_data *gc_sd" type_identifier (pointer_declarator "*gc_sd" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) , (parameter_declaration "uint section_header_size" type_identifier identifier) ))) (compound_statement "{\n  File_view *pFVar1;\n  section_offset_type sVar2;\n  uint uVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  \n  puVar4 = (uchar *)operator_new__(section_header_size);\n  pFVar1 = sd->section_headers;\n  gc_sd->section_headers_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,section_header_size);\n  puVar4 = (uchar *)operator_new__(sd->section_names_size);\n  pFVar1 = sd->section_names;\n  sVar5 = sd->section_names_size;\n  gc_sd->section_names_data = puVar4;\n  memcpy(puVar4,pFVar1->data_,sVar5);\n  pFVar1 = sd->symbols;\n  gc_sd->section_names_size = sVar5;\n  if (pFVar1 == (File_view *)0x0) {\n    gc_sd->symbols_data = (uchar *)0x0;\n    sVar5 = sd->symbols_size;\n  }\n  else {\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }\n  sVar2 = sd->external_symbols_offset;\n  gc_sd->symbols_size = sVar5;\n  uVar3 = sd->symbol_names_size;\n  gc_sd->external_symbols_offset = sVar2;\n  if (sd->symbol_names != (File_view *)0x0) {\n    puVar4 = (uchar *)operator_new__(uVar3);\n    pFVar1 = sd->symbol_names;\n    sVar5 = sd->symbol_names_size;\n    gc_sd->symbol_names_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n    gc_sd->symbol_names_size = sVar5;\n    return;\n  }\n  gc_sd->symbol_names_data = (uchar *)0x0;\n  gc_sd->symbol_names_size = uVar3;\n  return;\n}" { (declaration "File_view *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "section_offset_type sVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (expression_statement "puVar4 = (uchar *)operator_new__(section_header_size);" (assignment_expression "puVar4 = (uchar *)operator_new__(section_header_size)" identifier = (cast_expression "(uchar *)operator_new__(section_header_size)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(section_header_size)" identifier (argument_list "(section_header_size)" ( identifier ))))) ;) (expression_statement "pFVar1 = sd->section_headers;" (assignment_expression "pFVar1 = sd->section_headers" identifier = (field_expression "sd->section_headers" identifier -> field_identifier)) ;) (expression_statement "gc_sd->section_headers_data = puVar4;" (assignment_expression "gc_sd->section_headers_data = puVar4" (field_expression "gc_sd->section_headers_data" identifier -> field_identifier) = identifier) ;) (expression_statement "memcpy(puVar4,pFVar1->data_,section_header_size);" (call_expression "memcpy(puVar4,pFVar1->data_,section_header_size)" identifier (argument_list "(puVar4,pFVar1->data_,section_header_size)" ( identifier , (field_expression "pFVar1->data_" identifier -> field_identifier) , identifier ))) ;) (expression_statement "puVar4 = (uchar *)operator_new__(sd->section_names_size);" (assignment_expression "puVar4 = (uchar *)operator_new__(sd->section_names_size)" identifier = (cast_expression "(uchar *)operator_new__(sd->section_names_size)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(sd->section_names_size)" identifier (argument_list "(sd->section_names_size)" ( (field_expression "sd->section_names_size" identifier -> field_identifier) ))))) ;) (expression_statement "pFVar1 = sd->section_names;" (assignment_expression "pFVar1 = sd->section_names" identifier = (field_expression "sd->section_names" identifier -> field_identifier)) ;) (expression_statement "sVar5 = sd->section_names_size;" (assignment_expression "sVar5 = sd->section_names_size" identifier = (field_expression "sd->section_names_size" identifier -> field_identifier)) ;) (expression_statement "gc_sd->section_names_data = puVar4;" (assignment_expression "gc_sd->section_names_data = puVar4" (field_expression "gc_sd->section_names_data" identifier -> field_identifier) = identifier) ;) (expression_statement "memcpy(puVar4,pFVar1->data_,sVar5);" (call_expression "memcpy(puVar4,pFVar1->data_,sVar5)" identifier (argument_list "(puVar4,pFVar1->data_,sVar5)" ( identifier , (field_expression "pFVar1->data_" identifier -> field_identifier) , identifier ))) ;) (expression_statement "pFVar1 = sd->symbols;" (assignment_expression "pFVar1 = sd->symbols" identifier = (field_expression "sd->symbols" identifier -> field_identifier)) ;) (expression_statement "gc_sd->section_names_size = sVar5;" (assignment_expression "gc_sd->section_names_size = sVar5" (field_expression "gc_sd->section_names_size" identifier -> field_identifier) = identifier) ;) (if_statement "if (pFVar1 == (File_view *)0x0) {\n    gc_sd->symbols_data = (uchar *)0x0;\n    sVar5 = sd->symbols_size;\n  }\n  else {\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }" if (parenthesized_expression "(pFVar1 == (File_view *)0x0)" ( (binary_expression "pFVar1 == (File_view *)0x0" identifier == (cast_expression "(File_view *)0x0" ( (type_descriptor "File_view *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    gc_sd->symbols_data = (uchar *)0x0;\n    sVar5 = sd->symbols_size;\n  }" { (expression_statement "gc_sd->symbols_data = (uchar *)0x0;" (assignment_expression "gc_sd->symbols_data = (uchar *)0x0" (field_expression "gc_sd->symbols_data" identifier -> field_identifier) = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sVar5 = sd->symbols_size;" (assignment_expression "sVar5 = sd->symbols_size" identifier = (field_expression "sd->symbols_size" identifier -> field_identifier)) ;) }) (else_clause "else {\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }" else (compound_statement "{\n    puVar4 = (uchar *)operator_new__(sd->symbols_size);\n    pFVar1 = sd->symbols;\n    sVar5 = sd->symbols_size;\n    gc_sd->symbols_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n  }" { (expression_statement "puVar4 = (uchar *)operator_new__(sd->symbols_size);" (assignment_expression "puVar4 = (uchar *)operator_new__(sd->symbols_size)" identifier = (cast_expression "(uchar *)operator_new__(sd->symbols_size)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(sd->symbols_size)" identifier (argument_list "(sd->symbols_size)" ( (field_expression "sd->symbols_size" identifier -> field_identifier) ))))) ;) (expression_statement "pFVar1 = sd->symbols;" (assignment_expression "pFVar1 = sd->symbols" identifier = (field_expression "sd->symbols" identifier -> field_identifier)) ;) (expression_statement "sVar5 = sd->symbols_size;" (assignment_expression "sVar5 = sd->symbols_size" identifier = (field_expression "sd->symbols_size" identifier -> field_identifier)) ;) (expression_statement "gc_sd->symbols_data = puVar4;" (assignment_expression "gc_sd->symbols_data = puVar4" (field_expression "gc_sd->symbols_data" identifier -> field_identifier) = identifier) ;) (expression_statement "memcpy(puVar4,pFVar1->data_,sVar5);" (call_expression "memcpy(puVar4,pFVar1->data_,sVar5)" identifier (argument_list "(puVar4,pFVar1->data_,sVar5)" ( identifier , (field_expression "pFVar1->data_" identifier -> field_identifier) , identifier ))) ;) }))) (expression_statement "sVar2 = sd->external_symbols_offset;" (assignment_expression "sVar2 = sd->external_symbols_offset" identifier = (field_expression "sd->external_symbols_offset" identifier -> field_identifier)) ;) (expression_statement "gc_sd->symbols_size = sVar5;" (assignment_expression "gc_sd->symbols_size = sVar5" (field_expression "gc_sd->symbols_size" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar3 = sd->symbol_names_size;" (assignment_expression "uVar3 = sd->symbol_names_size" identifier = (field_expression "sd->symbol_names_size" identifier -> field_identifier)) ;) (expression_statement "gc_sd->external_symbols_offset = sVar2;" (assignment_expression "gc_sd->external_symbols_offset = sVar2" (field_expression "gc_sd->external_symbols_offset" identifier -> field_identifier) = identifier) ;) (if_statement "if (sd->symbol_names != (File_view *)0x0) {\n    puVar4 = (uchar *)operator_new__(uVar3);\n    pFVar1 = sd->symbol_names;\n    sVar5 = sd->symbol_names_size;\n    gc_sd->symbol_names_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n    gc_sd->symbol_names_size = sVar5;\n    return;\n  }" if (parenthesized_expression "(sd->symbol_names != (File_view *)0x0)" ( (binary_expression "sd->symbol_names != (File_view *)0x0" (field_expression "sd->symbol_names" identifier -> field_identifier) != (cast_expression "(File_view *)0x0" ( (type_descriptor "File_view *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar4 = (uchar *)operator_new__(uVar3);\n    pFVar1 = sd->symbol_names;\n    sVar5 = sd->symbol_names_size;\n    gc_sd->symbol_names_data = puVar4;\n    memcpy(puVar4,pFVar1->data_,sVar5);\n    gc_sd->symbol_names_size = sVar5;\n    return;\n  }" { (expression_statement "puVar4 = (uchar *)operator_new__(uVar3);" (assignment_expression "puVar4 = (uchar *)operator_new__(uVar3)" identifier = (cast_expression "(uchar *)operator_new__(uVar3)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))))) ;) (expression_statement "pFVar1 = sd->symbol_names;" (assignment_expression "pFVar1 = sd->symbol_names" identifier = (field_expression "sd->symbol_names" identifier -> field_identifier)) ;) (expression_statement "sVar5 = sd->symbol_names_size;" (assignment_expression "sVar5 = sd->symbol_names_size" identifier = (field_expression "sd->symbol_names_size" identifier -> field_identifier)) ;) (expression_statement "gc_sd->symbol_names_data = puVar4;" (assignment_expression "gc_sd->symbol_names_data = puVar4" (field_expression "gc_sd->symbol_names_data" identifier -> field_identifier) = identifier) ;) (expression_statement "memcpy(puVar4,pFVar1->data_,sVar5);" (call_expression "memcpy(puVar4,pFVar1->data_,sVar5)" identifier (argument_list "(puVar4,pFVar1->data_,sVar5)" ( identifier , (field_expression "pFVar1->data_" identifier -> field_identifier) , identifier ))) ;) (expression_statement "gc_sd->symbol_names_size = sVar5;" (assignment_expression "gc_sd->symbol_names_size = sVar5" (field_expression "gc_sd->symbol_names_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "gc_sd->symbol_names_data = (uchar *)0x0;" (assignment_expression "gc_sd->symbol_names_data = (uchar *)0x0" (field_expression "gc_sd->symbol_names_data" identifier -> field_identifier) = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "gc_sd->symbol_names_size = uVar3;" (assignment_expression "gc_sd->symbol_names_size = uVar3" (field_expression "gc_sd->symbol_names_size" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}\n\n" (function_definition "void FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" primitive_type (function_declarator "FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "size_t param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_4);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_4)" identifier = (cast_expression "(void *)FUN_001e5180(param_4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_4)" identifier (argument_list "(param_4)" ( identifier ))))) ;) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_2 = pvVar3;" (assignment_expression "*param_2 = pvVar3" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),param_4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[2]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[2])" identifier = (cast_expression "(void *)FUN_001e5180(param_3[2])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))))) ;) (expression_statement "iVar1 = param_3[1];" (assignment_expression "iVar1 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[2];" (assignment_expression "sVar4 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[1] = pvVar3;" (assignment_expression "param_2[1] = pvVar3" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = sVar4;" (assignment_expression "param_2[2] = sVar4" (subscript_expression "param_2[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }" { (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) }) (else_clause "else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" else (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" { (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[4]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[4])" identifier = (cast_expression "(void *)FUN_001e5180(param_3[4])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(param_3[4])" identifier (argument_list "(param_3[4])" ( (subscript_expression "param_3[4]" identifier [ number_literal ]) ))))) ;) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "param_2[3] = pvVar3;" (assignment_expression "param_2[3] = pvVar3" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) }))) (expression_statement "iVar1 = param_3[5];" (assignment_expression "iVar1 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = sVar4;" (assignment_expression "param_2[4] = sVar4" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = param_3[7];" (assignment_expression "iVar2 = param_3[7]" identifier = (subscript_expression "param_3[7]" identifier [ number_literal ])) ;) (expression_statement "param_2[5] = iVar1;" (assignment_expression "param_2[5] = iVar1" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" if (parenthesized_expression "(param_3[6] != 0)" ( (binary_expression "param_3[6] != 0" (subscript_expression "param_3[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" { (expression_statement "pvVar3 = (void *)FUN_001e5180(iVar2);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(iVar2)" identifier = (cast_expression "(void *)FUN_001e5180(iVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5180(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "iVar1 = param_3[6];" (assignment_expression "iVar1 = param_3[6]" identifier = (subscript_expression "param_3[6]" identifier [ number_literal ])) ;) (expression_statement "sVar4 = param_3[7];" (assignment_expression "sVar4 = param_3[7]" identifier = (subscript_expression "param_3[7]" identifier [ number_literal ])) ;) (expression_statement "param_2[6] = pvVar3;" (assignment_expression "param_2[6] = pvVar3" (subscript_expression "param_2[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" identifier (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" ( identifier , (pointer_expression "*(void **)(iVar1 + 8)" * (cast_expression "(void **)(iVar1 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "param_2[7] = sVar4;" (assignment_expression "param_2[7] = sVar4" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[7] = iVar2;" (assignment_expression "param_2[7] = iVar2" (subscript_expression "param_2[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (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 (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (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 (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)\n\n{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000b1b10(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" (identifier "FUN_000b1b10") (parameter_list "(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "size_t param_4" (primitive_type "size_t") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  void *pvVar3;\n  size_t sVar4;\n  \n  pvVar3 = (void *)FUN_001e5180(param_4);\n  iVar1 = *param_3;\n  *param_2 = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);\n  pvVar3 = (void *)FUN_001e5180(param_3[2]);\n  iVar1 = param_3[1];\n  sVar4 = param_3[2];\n  param_2[1] = pvVar3;\n  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  iVar1 = param_3[3];\n  param_2[2] = sVar4;\n  if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }\n  iVar1 = param_3[5];\n  param_2[4] = sVar4;\n  iVar2 = param_3[7];\n  param_2[5] = iVar1;\n  if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }\n  param_2[6] = 0;\n  param_2[7] = iVar2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *pvVar3;" (primitive_type "void") (pointer_declarator "*pvVar3" (* "*") (identifier "pvVar3")) (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_4);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_4)" (identifier "pvVar3") (= "=") (cast_expression "(void *)FUN_001e5180(param_4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(param_4)" (identifier "FUN_001e5180") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))))) (; ";")) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" (identifier "iVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_2 = pvVar3;" (assignment_expression "*param_2 = pvVar3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),param_4)" (identifier "memcpy") (argument_list "(pvVar3,*(void **)(iVar1 + 8),param_4)" (( "(") (identifier "pvVar3") (, ",") (pointer_expression "*(void **)(iVar1 + 8)" (* "*") (cast_expression "(void **)(iVar1 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[2]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[2])" (identifier "pvVar3") (= "=") (cast_expression "(void *)FUN_001e5180(param_3[2])" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(param_3[2])" (identifier "FUN_001e5180") (argument_list "(param_3[2])" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))))) (; ";")) (expression_statement "iVar1 = param_3[1];" (assignment_expression "iVar1 = param_3[1]" (identifier "iVar1") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "sVar4 = param_3[2];" (assignment_expression "sVar4 = param_3[2]" (identifier "sVar4") (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_2[1] = pvVar3;" (assignment_expression "param_2[1] = pvVar3" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" (identifier "memcpy") (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" (( "(") (identifier "pvVar3") (, ",") (pointer_expression "*(void **)(iVar1 + 8)" (* "*") (cast_expression "(void **)(iVar1 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "sVar4") () ")"))) (; ";")) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" (identifier "iVar1") (= "=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_2[2] = sVar4;" (assignment_expression "param_2[2] = sVar4" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "sVar4")) (; ";")) (if_statement "if (iVar1 == 0) {\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }\n  else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_2[3] = 0;\n    sVar4 = param_3[4];\n  }" ({ "{") (expression_statement "param_2[3] = 0;" (assignment_expression "param_2[3] = 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" (identifier "sVar4") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" (else "else") (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(param_3[4]);\n    iVar1 = param_3[3];\n    sVar4 = param_3[4];\n    param_2[3] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n  }" ({ "{") (expression_statement "pvVar3 = (void *)FUN_001e5180(param_3[4]);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(param_3[4])" (identifier "pvVar3") (= "=") (cast_expression "(void *)FUN_001e5180(param_3[4])" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(param_3[4])" (identifier "FUN_001e5180") (argument_list "(param_3[4])" (( "(") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]")) () ")"))))) (; ";")) (expression_statement "iVar1 = param_3[3];" (assignment_expression "iVar1 = param_3[3]" (identifier "iVar1") (= "=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "sVar4 = param_3[4];" (assignment_expression "sVar4 = param_3[4]" (identifier "sVar4") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_2[3] = pvVar3;" (assignment_expression "param_2[3] = pvVar3" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" (identifier "memcpy") (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" (( "(") (identifier "pvVar3") (, ",") (pointer_expression "*(void **)(iVar1 + 8)" (* "*") (cast_expression "(void **)(iVar1 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "sVar4") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar1 = param_3[5];" (assignment_expression "iVar1 = param_3[5]" (identifier "iVar1") (= "=") (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "param_2[4] = sVar4;" (assignment_expression "param_2[4] = sVar4" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "sVar4")) (; ";")) (expression_statement "iVar2 = param_3[7];" (assignment_expression "iVar2 = param_3[7]" (identifier "iVar2") (= "=") (subscript_expression "param_3[7]" (identifier "param_3") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "param_2[5] = iVar1;" (assignment_expression "param_2[5] = iVar1" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (param_3[6] != 0) {\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" (if "if") (parenthesized_expression "(param_3[6] != 0)" (( "(") (binary_expression "param_3[6] != 0" (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pvVar3 = (void *)FUN_001e5180(iVar2);\n    iVar1 = param_3[6];\n    sVar4 = param_3[7];\n    param_2[6] = pvVar3;\n    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);\n    param_2[7] = sVar4;\n    return;\n  }" ({ "{") (expression_statement "pvVar3 = (void *)FUN_001e5180(iVar2);" (assignment_expression "pvVar3 = (void *)FUN_001e5180(iVar2)" (identifier "pvVar3") (= "=") (cast_expression "(void *)FUN_001e5180(iVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5180(iVar2)" (identifier "FUN_001e5180") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (expression_statement "iVar1 = param_3[6];" (assignment_expression "iVar1 = param_3[6]" (identifier "iVar1") (= "=") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "sVar4 = param_3[7];" (assignment_expression "sVar4 = param_3[7]" (identifier "sVar4") (= "=") (subscript_expression "param_3[7]" (identifier "param_3") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "param_2[6] = pvVar3;" (assignment_expression "param_2[6] = pvVar3" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);" (call_expression "memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4)" (identifier "memcpy") (argument_list "(pvVar3,*(void **)(iVar1 + 8),sVar4)" (( "(") (identifier "pvVar3") (, ",") (pointer_expression "*(void **)(iVar1 + 8)" (* "*") (cast_expression "(void **)(iVar1 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "sVar4") () ")"))) (; ";")) (expression_statement "param_2[7] = sVar4;" (assignment_expression "param_2[7] = sVar4" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "sVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_2[6] = 0;" (assignment_expression "param_2[6] = 0" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[7] = iVar2;" (assignment_expression "param_2[7] = iVar2" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void copy_symbols_data(Relobj * this, Symbols_data * gc_sd,
   Read_symbols_data * sd, uint section_header_size) */

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *gc_sd,type_3 *sd,type_4 section_header_size)

{
  type_5 *var_3;
  type_6 sVar2;
  type_4 uVar3;
  type_7 *puVar4;
  size_t sVar5;
  
  puVar4 = (type_7 *)var_1(section_header_size);
  var_3 = sd->section_headers;
  gc_sd->section_headers_data = puVar4;
  var_2(puVar4,var_3->data_,section_header_size);
  puVar4 = (type_7 *)var_1(sd->section_names_size);
  var_3 = sd->section_names;
  sVar5 = sd->section_names_size;
  gc_sd->section_names_data = puVar4;
  var_2(puVar4,var_3->data_,sVar5);
  var_3 = sd->symbols;
  gc_sd->section_names_size = sVar5;
  if (var_3 == (type_5 *)0x0) {
    gc_sd->symbols_data = (type_7 *)0x0;
    sVar5 = sd->symbols_size;
  }
  else {
    puVar4 = (type_7 *)var_1(sd->symbols_size);
    var_3 = sd->symbols;
    sVar5 = sd->symbols_size;
    gc_sd->symbols_data = puVar4;
    var_2(puVar4,var_3->data_,sVar5);
  }
  sVar2 = sd->external_symbols_offset;
  gc_sd->symbols_size = sVar5;
  uVar3 = sd->symbol_names_size;
  gc_sd->external_symbols_offset = sVar2;
  if (sd->symbol_names != (type_5 *)0x0) {
    puVar4 = (type_7 *)var_1(uVar3);
    var_3 = sd->symbol_names;
    sVar5 = sd->symbol_names_size;
    gc_sd->symbol_names_data = puVar4;
    var_2(puVar4,var_3->data_,sVar5);
    gc_sd->symbol_names_size = sVar5;
    return;
  }
  gc_sd->symbol_names_data = (type_7 *)0x0;
  gc_sd->symbol_names_size = uVar3;
  return;
}


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

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

void MASKED(undefined4 param_1,undefined4 *param_2,int *param_3,size_t param_4)

{
  int iVar1;
  int iVar2;
  void *pvVar3;
  size_t sVar4;
  
  pvVar3 = (void *)FUN_001e5180(param_4);
  iVar1 = *param_3;
  *param_2 = pvVar3;
  memcpy(pvVar3,*(void **)(iVar1 + 8),param_4);
  pvVar3 = (void *)FUN_001e5180(param_3[2]);
  iVar1 = param_3[1];
  sVar4 = param_3[2];
  param_2[1] = pvVar3;
  memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
  iVar1 = param_3[3];
  param_2[2] = sVar4;
  if (iVar1 == 0) {
    param_2[3] = 0;
    sVar4 = param_3[4];
  }
  else {
    pvVar3 = (void *)FUN_001e5180(param_3[4]);
    iVar1 = param_3[3];
    sVar4 = param_3[4];
    param_2[3] = pvVar3;
    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
  }
  iVar1 = param_3[5];
  param_2[4] = sVar4;
  iVar2 = param_3[7];
  param_2[5] = iVar1;
  if (param_3[6] != 0) {
    pvVar3 = (void *)FUN_001e5180(iVar2);
    iVar1 = param_3[6];
    sVar4 = param_3[7];
    param_2[6] = pvVar3;
    memcpy(pvVar3,*(void **)(iVar1 + 8),sVar4);
    param_2[7] = sVar4;
    return;
  }
  param_2[6] = 0;
  param_2[7] = iVar2;
  return;
}

