
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_final_data_size(Output_merge_data * this) */

void __thiscall gold::Output_merge_data::set_final_data_size(Output_merge_data *this)

{
  byte bVar1;
  uchar *puVar2;
  
  puVar2 = (uchar *)realloc(this->p_,this->len_);
  this->p_ = puVar2;
  if ((puVar2 == (uchar *)0x0) && (this->len_ != 0)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");
  }
  bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(section_size_type *)
     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =
         this->len_;
    *(undefined4 *)
     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +
     4) = 0;
    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =
         bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");
}



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

void FUN_001c4a10(int param_1)

{
  byte bVar1;
  int iVar2;
  void *pvVar3;
  undefined4 extraout_EDX;
  
  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));
  *(void **)(param_1 + 0x5c) = pvVar3;
  iVar2 = *(int *)(param_1 + 0x60);
  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);
  }
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar2;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1ca5e9
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH dword ptr [ESI + 0x60]
PUSH dword ptr [ESI + 0x5c]
CALL 0x000291a0
ADD ESP,0x10
TEST EAX,EAX
MOV dword ptr [ESI + 0x5c],EAX
MOV EAX,dword ptr [ESI + 0x60]
JZ 0x001c4a60
MOVZX ECX,byte ptr [ESI + 0x1c]
XOR EDX,EDX
TEST CL,0x2
JNZ 0x001c4a7d
TEST CL,0x8
JNZ 0x001c4a7d
OR ECX,0x2
MOV dword ptr [ESI + 0xc],EAX
MOV dword ptr [ESI + 0x10],EDX
MOV byte ptr [ESI + 0x1c],CL
ADD ESP,0x4
POP EBX
POP ESI
RET
TEST EAX,EAX
JZ 0x001c4a3c
LEA EAX,[EBX + 0xfff1133c]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff1100a]
PUSH 0x18f
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff1132c]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x218
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001c4a10(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}\n\n" comment (function_definition "void FUN_001c4a10(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" primitive_type (function_declarator "FUN_001c4a10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (expression_statement "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));" (assignment_expression "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" identifier = (call_expression "realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" identifier (argument_list "(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" ( (pointer_expression "*(void **)(param_1 + 0x5c)" * (cast_expression "(void **)(param_1 + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0x60)" * (cast_expression "(size_t *)(param_1 + 0x60)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) )))) ;) (expression_statement "*(void **)(param_1 + 0x5c) = pvVar3;" (assignment_expression "*(void **)(param_1 + 0x5c) = pvVar3" (pointer_expression "*(void **)(param_1 + 0x5c)" * (cast_expression "(void **)(param_1 + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x60);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x60)" identifier = (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" if (parenthesized_expression "((pvVar3 == (void *)0x0) && (iVar2 != 0))" ( (binary_expression "(pvVar3 == (void *)0x0) && (iVar2 != 0)" (parenthesized_expression "(pvVar3 == (void *)0x0)" ( (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" identifier (argument_list "("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""set_final_data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",iVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void set_final_data_size(Output_merge_data * this) */\n\nvoid __thiscall gold::Output_merge_data::set_final_data_size(Output_merge_data *this)\n\n{\n  byte bVar1;\n  uchar *puVar2;\n  \n  puVar2 = (uchar *)realloc(this->p_,this->len_);\n  this->p_ = puVar2;\n  if ((puVar2 == (uchar *)0x0) && (this->len_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");\n  }\n  bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;\n    *(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;\n    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}\n\n" comment comment (function_definition "void __thiscall gold::Output_merge_data::set_final_data_size(Output_merge_data *this)\n\n{\n  byte bVar1;\n  uchar *puVar2;\n  \n  puVar2 = (uchar *)realloc(this->p_,this->len_);\n  this->p_ = puVar2;\n  if ((puVar2 == (uchar *)0x0) && (this->len_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");\n  }\n  bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;\n    *(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;\n    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_merge_data::" identifier : : identifier : :) (function_declarator "set_final_data_size(Output_merge_data *this)" identifier (parameter_list "(Output_merge_data *this)" ( (parameter_declaration "Output_merge_data *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uchar *puVar2;\n  \n  puVar2 = (uchar *)realloc(this->p_,this->len_);\n  this->p_ = puVar2;\n  if ((puVar2 == (uchar *)0x0) && (this->len_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");\n  }\n  bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;\n    *(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;\n    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (uchar *)realloc(this->p_,this->len_);" (assignment_expression "puVar2 = (uchar *)realloc(this->p_,this->len_)" identifier = (cast_expression "(uchar *)realloc(this->p_,this->len_)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "realloc(this->p_,this->len_)" identifier (argument_list "(this->p_,this->len_)" ( (field_expression "this->p_" identifier -> field_identifier) , (field_expression "this->len_" identifier -> field_identifier) ))))) ;) (expression_statement "this->p_ = puVar2;" (assignment_expression "this->p_ = puVar2" (field_expression "this->p_" identifier -> field_identifier) = identifier) ;) (if_statement "if ((puVar2 == (uchar *)0x0) && (this->len_ != 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");\n  }" if (parenthesized_expression "((puVar2 == (uchar *)0x0) && (this->len_ != 0))" ( (binary_expression "(puVar2 == (uchar *)0x0) && (this->len_ != 0)" (parenthesized_expression "(puVar2 == (uchar *)0x0)" ( (binary_expression "puVar2 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(this->len_ != 0)" ( (binary_expression "this->len_ != 0" (field_expression "this->len_" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size");" (call_expression "do_gold_unreachable("../../gold/merge.cc",399,"set_final_data_size")" identifier (argument_list "("../../gold/merge.cc",399,"set_final_data_size")" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""set_final_data_size"" " string_content ") ))) ;) })) (expression_statement "bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;" (assignment_expression "bVar1 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c" identifier = (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_merge_base).super_Output_section_data" (parenthesized_expression "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;\n    *(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;\n    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;\n    *(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;\n    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;\n    return;\n  }" { (expression_statement "*(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_;" (assignment_expression "*(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =\n         this->len_" (pointer_expression "*(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" * (cast_expression "(section_size_type *)\n     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" ( (type_descriptor "section_size_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" & (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_merge_base).super_Output_section_data" (parenthesized_expression "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)))) = (field_expression "this->len_" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0;" (assignment_expression "*(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4) = 0" (pointer_expression "*(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4)" * (cast_expression "(undefined4 *)\n     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4)" ( (binary_expression "(int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +\n     4" (cast_expression "(int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" & (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_merge_base).super_Output_section_data" (parenthesized_expression "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2;" (assignment_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =\n         bVar1 | 2" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c" (field_expression "(this->super_Output_merge_base).super_Output_section_data.super_Output_data" (field_expression "(this->super_Output_merge_base).super_Output_section_data" (parenthesized_expression "(this->super_Output_merge_base)" ( (field_expression "this->super_Output_merge_base" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0x218,"set_data_size")" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001c4a10(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}\n\n" (function_definition "void FUN_001c4a10(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" primitive_type (function_declarator "FUN_001c4a10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (expression_statement "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));" (assignment_expression "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" identifier = (call_expression "realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" identifier (argument_list "(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" ( (pointer_expression "*(void **)(param_1 + 0x5c)" * (cast_expression "(void **)(param_1 + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0x60)" * (cast_expression "(size_t *)(param_1 + 0x60)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) )))) )))) ;) (expression_statement "*(void **)(param_1 + 0x5c) = pvVar3;" (assignment_expression "*(void **)(param_1 + 0x5c) = pvVar3" (pointer_expression "*(void **)(param_1 + 0x5c)" * (cast_expression "(void **)(param_1 + 0x5c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x60);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x60)" identifier = (pointer_expression "*(int *)(param_1 + 0x60)" * (cast_expression "(int *)(param_1 + 0x60)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" if (parenthesized_expression "((pvVar3 == (void *)0x0) && (iVar2 != 0))" ( (binary_expression "(pvVar3 == (void *)0x0) && (iVar2 != 0)" (parenthesized_expression "(pvVar3 == (void *)0x0)" ( (binary_expression "pvVar3 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" { (expression_statement "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" identifier (argument_list "("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" ( (string_literal ""../../gold/merge.cc"" " string_content ") , number_literal , (string_literal ""set_final_data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" if (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" ( (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar1 & 8) == 0)" ( (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" ( (binary_expression "bVar1 & 8" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "bVar1 | 2" identifier | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2)" identifier (argument_list "("../../gold/output.h",0x218,"set_data_size",iVar2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""set_data_size"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_001c4a10(int param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" (primitive_type "void") (function_declarator "FUN_001c4a10(int param_1)" (identifier "FUN_001c4a10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  void *pvVar3;\n  undefined4 extraout_EDX;\n  \n  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));\n  *(void **)(param_1 + 0x5c) = pvVar3;\n  iVar2 = *(int *)(param_1 + 0x60);\n  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }\n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "void *pvVar3;" (primitive_type "void") (pointer_declarator "*pvVar3" (* "*") (identifier "pvVar3")) (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (expression_statement "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));" (assignment_expression "pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" (identifier "pvVar3") (= "=") (call_expression "realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" (identifier "realloc") (argument_list "(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60))" (( "(") (pointer_expression "*(void **)(param_1 + 0x5c)" (* "*") (cast_expression "(void **)(param_1 + 0x5c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (, ",") (pointer_expression "*(size_t *)(param_1 + 0x60)" (* "*") (cast_expression "(size_t *)(param_1 + 0x60)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")")))) () ")")))) (; ";")) (expression_statement "*(void **)(param_1 + 0x5c) = pvVar3;" (assignment_expression "*(void **)(param_1 + 0x5c) = pvVar3" (pointer_expression "*(void **)(param_1 + 0x5c)" (* "*") (cast_expression "(void **)(param_1 + 0x5c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (identifier "pvVar3")) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 0x60);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x60)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 0x60)" (* "*") (cast_expression "(int *)(param_1 + 0x60)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" (if "if") (parenthesized_expression "((pvVar3 == (void *)0x0) && (iVar2 != 0))" (( "(") (binary_expression "(pvVar3 == (void *)0x0) && (iVar2 != 0)" (parenthesized_expression "(pvVar3 == (void *)0x0)" (( "(") (binary_expression "pvVar3 == (void *)0x0" (identifier "pvVar3") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);" (call_expression "FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" (identifier "FUN_00069d00") (argument_list "("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX)" (( "(") (string_literal ""../../gold/merge.cc"" (" """) (string_content "../../gold/merge.cc") (" """)) (, ",") (number_literal "399") (, ",") (string_literal ""set_final_data_size"" (" """) (string_content "set_final_data_size") (" """)) (, ",") (identifier "extraout_EDX") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" (if "if") (parenthesized_expression "(((bVar1 & 2) == 0) && ((bVar1 & 8) == 0))" (( "(") (binary_expression "((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)" (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar1 & 8) == 0)" (( "(") (binary_expression "(bVar1 & 8) == 0" (parenthesized_expression "(bVar1 & 8)" (( "(") (binary_expression "bVar1 & 8" (identifier "bVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0xc) = iVar2;\n    *(undefined4 *)(param_1 + 0x10) = 0;\n    *(byte *)(param_1 + 0x1c) = bVar1 | 2;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0xc) = iVar2;" (assignment_expression "*(int *)(param_1 + 0xc) = iVar2" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(byte *)(param_1 + 0x1c) = bVar1 | 2;" (assignment_expression "*(byte *)(param_1 + 0x1c) = bVar1 | 2" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "bVar1 | 2" (identifier "bVar1") (| "|") (number_literal "2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);" (call_expression "FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x218,"set_data_size",iVar2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x218") (, ",") (string_literal ""set_data_size"" (" """) (string_content "set_data_size") (" """)) (, ",") (identifier "iVar2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void set_final_data_size(Output_merge_data * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 var_4;
  type_3 *var_2;
  
  var_2 = (type_3 *)var_1(this->p_,this->len_);
  this->p_ = var_2;
  if ((var_2 == (type_3 *)0x0) && (this->len_ != 0)) {
                    /* WARNING: Subroutine does not return */
    var_3("../../gold/merge.cc",399,"set_final_data_size");
  }
  var_4 = (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c;
  if (((var_4 & 2) == 0) && ((var_4 & 8) == 0)) {
    *(type_4 *)
     &(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ =
         this->len_;
    *(type_5 *)
     ((int)&(this->super_Output_merge_base).super_Output_section_data.super_Output_data.data_size_ +
     4) = 0;
    (this->super_Output_merge_base).super_Output_section_data.super_Output_data.field_0x1c =
         var_4 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("../../gold/output.h",0x218,"set_data_size");
}


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

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

void MASKED(int param_1)

{
  byte bVar1;
  int iVar2;
  void *pvVar3;
  undefined4 extraout_EDX;
  
  pvVar3 = realloc(*(void **)(param_1 + 0x5c),*(size_t *)(param_1 + 0x60));
  *(void **)(param_1 + 0x5c) = pvVar3;
  iVar2 = *(int *)(param_1 + 0x60);
  if ((pvVar3 == (void *)0x0) && (iVar2 != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/merge.cc",399,"set_final_data_size",extraout_EDX);
  }
  bVar1 = *(byte *)(param_1 + 0x1c);
  if (((bVar1 & 2) == 0) && ((bVar1 & 8) == 0)) {
    *(int *)(param_1 + 0xc) = iVar2;
    *(undefined4 *)(param_1 + 0x10) = 0;
    *(byte *)(param_1 + 0x1c) = bVar1 | 2;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0x218,"set_data_size",iVar2);
}

