
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Output_compressed_section * this, Output_file * of) */

void __thiscall
gold::Output_compressed_section::do_write(Output_compressed_section *this,Output_file *of)

{
  byte bVar1;
  uint uVar2;
  uint __n;
  int iVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  uchar *__src;
  
  bVar1 = (this->super_Output_section).super_Output_data.field_0x1c;
  if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0xe3,"offset");
  }
  uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_;
  iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);
  if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");
  }
  __n = (uint)(this->super_Output_section).super_Output_data.data_size_;
  if ((iVar6 < 0) ||
     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),
     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,
     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");
  }
  __src = this->data_;
  if ((__src == (uchar *)0x0) &&
     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");
  }
  memcpy(of->base_ + uVar2,__src,__n);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)

{
  uint uVar1;
  uint __n;
  uint uVar2;
  int iVar3;
  void *__dest;
  void *__src;
  
  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);
  }
  uVar1 = *(uint *)(param_3 + 0x14);
  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);
  }
  __n = *(uint *)(param_3 + 0xc);
  if ((*(int *)(param_3 + 0x18) < 0) ||
     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),
     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2
     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=
       (int)(iVar3 - uVar2) < 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);
  }
  __src = *(void **)(param_3 + 0xec);
  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);
  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);
  }
  memcpy(__dest,__src,__n);
  return;
}


CALL 0x000559e6
ADD EAX,0x1f02cb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ECX,dword ptr [ESP + 0x30]
MOV EBX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x8],EAX
MOVZX EAX,byte ptr [ECX + 0x1c]
TEST AL,0x4
JZ 0x0019ee0e
MOV EDI,dword ptr [ECX + 0x14]
MOV EBP,dword ptr [ECX + 0x18]
TEST AL,0x2
JZ 0x0019edf1
MOV EAX,dword ptr [ECX + 0xc]
MOV dword ptr [ESP + 0xc],EAX
TEST EBP,EBP
JS 0x0019edd7
XOR EDX,EDX
MOV ESI,dword ptr [EBX + 0xc]
ADD EAX,EDI
ADC EDX,EBP
CMP dword ptr [EBX + 0x8],EAX
SBB ESI,EDX
JL 0x0019edd7
MOV EAX,dword ptr [EBX + 0x10]
MOV EDX,dword ptr [ECX + 0xec]
ADD EAX,EDI
TEST EDX,EDX
JZ 0x0019edb0
SUB ESP,0x4
PUSH dword ptr [ESP + 0x10]
PUSH EDX
PUSH EAX
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x000295c0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ECX + 0x8c]
TEST EDX,EDX
JNZ 0x0019ed91
PUSH EAX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff0ed2c]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xe34
PUSH EAX
CALL 0x00069d00
PUSH EDX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff0ecdc]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0x6f
PUSH EAX
CALL 0x00069d00
PUSH ECX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff0ecec]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xcf
PUSH EAX
CALL 0x00069d00
PUSH EBX
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff0ecf8]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xe3
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}\n\n" comment (function_definition "void __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" if (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 4) == 0)" ( (binary_expression "(*(byte *)(param_3 + 0x1c) & 4) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_3 + 0x1c) & 4" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",param_4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(uint *)(param_3 + 0x14);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x14)" identifier = (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" if (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 2) == 0)" ( (binary_expression "(*(byte *)(param_3 + 0x1c) & 2) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_3 + 0x1c) & 2" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_3)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(uint *)(param_3 + 0xc);" (assignment_expression "__n = *(uint *)(param_3 + 0xc)" identifier = (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" ( (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) < number_literal) )) || (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" ( (comma_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" identifier = (binary_expression "*(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(__n,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(__n,uVar1)" identifier (argument_list "(__n,uVar1)" ( identifier , identifier )))))) , (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1)" identifier = (call_expression "(uint)(*(uint *)(param_4 + 8) < __n + uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_4 + 8) < __n + uVar1)" ( (binary_expression "*(uint *)(param_4 + 8) < __n + uVar1" (pointer_expression "*(uint *)(param_4 + 8)" * (cast_expression "(uint *)(param_4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) < (binary_expression "__n + uVar1" identifier + identifier)) )))) , (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" identifier = (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" identifier (argument_list "(*(int *)(param_4 + 0xc),param_2)" ( (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "__src = *(void **)(param_3 + 0xec);" (assignment_expression "__src = *(void **)(param_3 + 0xec)" identifier = (pointer_expression "*(void **)(param_3 + 0xec)" * (cast_expression "(void **)(param_3 + 0xec)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xec)" ( (binary_expression "param_3 + 0xec" identifier + number_literal) ))))) ;) (expression_statement "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);" (assignment_expression "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1)" identifier = (cast_expression "(void *)(*(int *)(param_4 + 0x10) + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x10) + uVar1)" ( (binary_expression "*(int *)(param_4 + 0x10) + uVar1" (pointer_expression "*(int *)(param_4 + 0x10)" * (cast_expression "(int *)(param_4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (if_statement "if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" if (parenthesized_expression "((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0))" ( (binary_expression "(__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" ( (comma_expression "__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0" (assignment_expression "__src = *(void **)(param_3 + 0x8c)" identifier = (pointer_expression "*(void **)(param_3 + 0x8c)" * (cast_expression "(void **)(param_3 + 0x8c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x8c)" ( (binary_expression "param_3 + 0x8c" identifier + number_literal) ))))) , (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);" (call_expression "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" identifier (argument_list "("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""postprocessing_buffer"" " string_content ") , identifier ))) ;) })) (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void do_write(Output_compressed_section * this, Output_file * of) */\n\nvoid __thiscall\ngold::Output_compressed_section::do_write(Output_compressed_section *this,Output_file *of)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uchar *__src;\n  \n  bVar1 = (this->super_Output_section).super_Output_data.field_0x1c;\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n  uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_;\n  iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n  }\n  __n = (uint)(this->super_Output_section).super_Output_data.data_size_;\n  if ((iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n  }\n  __src = this->data_;\n  if ((__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");\n  }\n  memcpy(of->base_ + uVar2,__src,__n);\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Output_compressed_section::do_write(Output_compressed_section *this,Output_file *of)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uchar *__src;\n  \n  bVar1 = (this->super_Output_section).super_Output_data.field_0x1c;\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n  uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_;\n  iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n  }\n  __n = (uint)(this->super_Output_section).super_Output_data.data_size_;\n  if ((iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n  }\n  __src = this->data_;\n  if ((__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");\n  }\n  memcpy(of->base_ + uVar2,__src,__n);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_compressed_section::" identifier : : identifier : :) (function_declarator "do_write(Output_compressed_section *this,Output_file *of)" identifier (parameter_list "(Output_compressed_section *this,Output_file *of)" ( (parameter_declaration "Output_compressed_section *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  uchar *__src;\n  \n  bVar1 = (this->super_Output_section).super_Output_data.field_0x1c;\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n  uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_;\n  iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n  }\n  __n = (uint)(this->super_Output_section).super_Output_data.data_size_;\n  if ((iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n  }\n  __src = this->data_;\n  if ((__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");\n  }\n  memcpy(of->base_ + uVar2,__src,__n);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uchar *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (expression_statement "bVar1 = (this->super_Output_section).super_Output_data.field_0x1c;" (assignment_expression "bVar1 = (this->super_Output_section).super_Output_data.field_0x1c" identifier = (field_expression "(this->super_Output_section).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section).super_Output_data" (parenthesized_expression "(this->super_Output_section)" ( (field_expression "this->super_Output_section" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }" if (parenthesized_expression "((bVar1 & 4) == 0)" ( (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" ( (binary_expression "bVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xe3,"offset");" (call_expression "do_gold_unreachable("../../gold/output.h",0xe3,"offset")" identifier (argument_list "("../../gold/output.h",0xe3,"offset")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") ))) ;) })) (expression_statement "uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_;" (assignment_expression "uVar2 = (uint)(this->super_Output_section).super_Output_data.offset_" identifier = (field_expression "(uint)(this->super_Output_section).super_Output_data.offset_" (field_expression "(uint)(this->super_Output_section).super_Output_data" (call_expression "(uint)(this->super_Output_section)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->super_Output_section)" ( (field_expression "this->super_Output_section" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (expression_statement "iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);" (assignment_expression "iVar6 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4)" identifier = (pointer_expression "*(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4)" * (cast_expression "(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_section).super_Output_data.offset_ + 4)" ( (binary_expression "(int)&(this->super_Output_section).super_Output_data.offset_ + 4" (cast_expression "(int)&(this->super_Output_section).super_Output_data.offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_section).super_Output_data.offset_" & (field_expression "(this->super_Output_section).super_Output_data.offset_" (field_expression "(this->super_Output_section).super_Output_data" (parenthesized_expression "(this->super_Output_section)" ( (field_expression "this->super_Output_section" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + number_literal) ))))) ;) (if_statement "if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n  }" if (parenthesized_expression "((bVar1 & 2) == 0)" ( (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xcf,"data_size");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xcf,"data_size");" (call_expression "do_gold_unreachable("../../gold/output.h",0xcf,"data_size")" identifier (argument_list "("../../gold/output.h",0xcf,"data_size")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") ))) ;) })) (expression_statement "__n = (uint)(this->super_Output_section).super_Output_data.data_size_;" (assignment_expression "__n = (uint)(this->super_Output_section).super_Output_data.data_size_" identifier = (field_expression "(uint)(this->super_Output_section).super_Output_data.data_size_" (field_expression "(uint)(this->super_Output_section).super_Output_data" (call_expression "(uint)(this->super_Output_section)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->super_Output_section)" ( (field_expression "this->super_Output_section" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (if_statement "if ((iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n  }" if (parenthesized_expression "((iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0))" ( (binary_expression "(iVar6 < 0) ||\n     (iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)" (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0)" ( (comma_expression "iVar3 = *(int *)((int)&of->file_size_ + 4), iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0" (assignment_expression "iVar3 = *(int *)((int)&of->file_size_ + 4)" identifier = (pointer_expression "*(int *)((int)&of->file_size_ + 4)" * (cast_expression "(int *)((int)&of->file_size_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&of->file_size_ + 4)" ( (binary_expression "(int)&of->file_size_ + 4" (cast_expression "(int)&of->file_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&of->file_size_" & (field_expression "of->file_size_" identifier -> field_identifier))) + number_literal) ))))) , (comma_expression "iVar6 = iVar6 + (uint)CARRY4(__n,uVar2),\n     uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0" (assignment_expression "iVar6 = iVar6 + (uint)CARRY4(__n,uVar2)" identifier = (binary_expression "iVar6 + (uint)CARRY4(__n,uVar2)" identifier + (cast_expression "(uint)CARRY4(__n,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(__n,uVar2)" identifier (argument_list "(__n,uVar2)" ( identifier , identifier )))))) , (comma_expression "uVar4 = (uint)((uint)of->file_size_ < __n + uVar2), iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0" (assignment_expression "uVar4 = (uint)((uint)of->file_size_ < __n + uVar2)" identifier = (call_expression "(uint)((uint)of->file_size_ < __n + uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)of->file_size_ < __n + uVar2)" ( (binary_expression "(uint)of->file_size_ < __n + uVar2" (cast_expression "(uint)of->file_size_" ( (type_descriptor "uint" type_identifier) ) (field_expression "of->file_size_" identifier -> field_identifier)) < (binary_expression "__n + uVar2" identifier + identifier)) )))) , (comma_expression "iVar5 = iVar3 - iVar6,\n     (SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0" (assignment_expression "iVar5 = iVar3 - iVar6" identifier = (binary_expression "iVar3 - iVar6" identifier - identifier)) , (binary_expression "(SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)) != (int)(iVar5 - uVar4) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4))" ( (binary_expression "SBORROW4(iVar3,iVar6) != SBORROW4(iVar5,uVar4)" (call_expression "SBORROW4(iVar3,iVar6)" identifier (argument_list "(iVar3,iVar6)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5,uVar4)" identifier (argument_list "(iVar5,uVar4)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar5 - uVar4) < 0" (cast_expression "(int)(iVar5 - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar5 - uVar4)" ( (binary_expression "iVar5 - uVar4" identifier - identifier) ))) < number_literal)))))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");" (call_expression "do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view")" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") ))) ;) })) (expression_statement "__src = this->data_;" (assignment_expression "__src = this->data_" identifier = (field_expression "this->data_" identifier -> field_identifier)) ;) (if_statement "if ((__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");\n  }" if (parenthesized_expression "((__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0))" ( (binary_expression "(__src == (uchar *)0x0) &&\n     (__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)" (parenthesized_expression "(__src == (uchar *)0x0)" ( (binary_expression "__src == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0)" ( (comma_expression "__src = (this->super_Output_section).postprocessing_buffer_, __src == (uchar *)0x0" (assignment_expression "__src = (this->super_Output_section).postprocessing_buffer_" identifier = (field_expression "(this->super_Output_section).postprocessing_buffer_" (parenthesized_expression "(this->super_Output_section)" ( (field_expression "this->super_Output_section" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "__src == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer");" (call_expression "do_gold_unreachable("../../gold/output.h",0xe34,"postprocessing_buffer")" identifier (argument_list "("../../gold/output.h",0xe34,"postprocessing_buffer")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""postprocessing_buffer"" " string_content ") ))) ;) })) (expression_statement "memcpy(of->base_ + uVar2,__src,__n);" (call_expression "memcpy(of->base_ + uVar2,__src,__n)" identifier (argument_list "(of->base_ + uVar2,__src,__n)" ( (binary_expression "of->base_ + uVar2" (field_expression "of->base_" identifier -> field_identifier) + identifier) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" if (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 4) == 0)" ( (binary_expression "(*(byte *)(param_3 + 0x1c) & 4) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_3 + 0x1c) & 4" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" { (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",param_4)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar1 = *(uint *)(param_3 + 0x14);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x14)" identifier = (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" if (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 2) == 0)" ( (binary_expression "(*(byte *)(param_3 + 0x1c) & 2) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 2)" ( (binary_expression "*(byte *)(param_3 + 0x1c) & 2" (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" { (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",param_3)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(uint *)(param_3 + 0xc);" (assignment_expression "__n = *(uint *)(param_3 + 0xc)" identifier = (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" ( (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) < number_literal) )) || (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" ( (comma_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" identifier = (binary_expression "*(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(__n,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(__n,uVar1)" identifier (argument_list "(__n,uVar1)" ( identifier , identifier )))))) , (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1)" identifier = (call_expression "(uint)(*(uint *)(param_4 + 8) < __n + uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_4 + 8) < __n + uVar1)" ( (binary_expression "*(uint *)(param_4 + 8) < __n + uVar1" (pointer_expression "*(uint *)(param_4 + 8)" * (cast_expression "(uint *)(param_4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) < (binary_expression "__n + uVar1" identifier + identifier)) )))) , (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" identifier = (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" identifier (argument_list "(*(int *)(param_4 + 0xc),param_2)" ( (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" { (expression_statement "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "__src = *(void **)(param_3 + 0xec);" (assignment_expression "__src = *(void **)(param_3 + 0xec)" identifier = (pointer_expression "*(void **)(param_3 + 0xec)" * (cast_expression "(void **)(param_3 + 0xec)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xec)" ( (binary_expression "param_3 + 0xec" identifier + number_literal) ))))) ;) (expression_statement "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);" (assignment_expression "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1)" identifier = (cast_expression "(void *)(*(int *)(param_4 + 0x10) + uVar1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_4 + 0x10) + uVar1)" ( (binary_expression "*(int *)(param_4 + 0x10) + uVar1" (pointer_expression "*(int *)(param_4 + 0x10)" * (cast_expression "(int *)(param_4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) + identifier) )))) ;) (if_statement "if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" if (parenthesized_expression "((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0))" ( (binary_expression "(__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" (parenthesized_expression "(__src == (void *)0x0)" ( (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" ( (comma_expression "__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0" (assignment_expression "__src = *(void **)(param_3 + 0x8c)" identifier = (pointer_expression "*(void **)(param_3 + 0x8c)" * (cast_expression "(void **)(param_3 + 0x8c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0x8c)" ( (binary_expression "param_3 + 0x8c" identifier + number_literal) ))))) , (binary_expression "__src == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" { (expression_statement "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);" (call_expression "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" identifier (argument_list "("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""postprocessing_buffer"" " string_content ") , identifier ))) ;) })) (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" identifier (argument_list "(__dest,__src,__n)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (binary_expression IDENT + IDENT)) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - 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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2 FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0019ed30(undefined4 param_1,int param_2,int param_3,int param_4)" (identifier "FUN_0019ed30") (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint __n;\n  uint uVar2;\n  int iVar3;\n  void *__dest;\n  void *__src;\n  \n  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }\n  uVar1 = *(uint *)(param_3 + 0x14);\n  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }\n  __n = *(uint *)(param_3 + 0xc);\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  __src = *(void **)(param_3 + 0xec);\n  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);\n  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }\n  memcpy(__dest,__src,__n);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 4) == 0)" (( "(") (binary_expression "(*(byte *)(param_3 + 0x1c) & 4) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 4)" (( "(") (binary_expression "*(byte *)(param_3 + 0x1c) & 4" (pointer_expression "*(byte *)(param_3 + 0x1c)" (* "*") (cast_expression "(byte *)(param_3 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xe3,"offset",param_4)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) (, ",") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(uint *)(param_3 + 0x14);" (assignment_expression "uVar1 = *(uint *)(param_3 + 0x14)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_3 + 0x14)" (* "*") (cast_expression "(uint *)(param_3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_3 + 0x1c) & 2) == 0)" (( "(") (binary_expression "(*(byte *)(param_3 + 0x1c) & 2) == 0" (parenthesized_expression "(*(byte *)(param_3 + 0x1c) & 2)" (( "(") (binary_expression "*(byte *)(param_3 + 0x1c) & 2" (pointer_expression "*(byte *)(param_3 + 0x1c)" (* "*") (cast_expression "(byte *)(param_3 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);" (call_expression "FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xcf,"data_size",param_3)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xcf") (, ",") (string_literal ""data_size"" (" """) (string_content "data_size") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "__n = *(uint *)(param_3 + 0xc);" (assignment_expression "__n = *(uint *)(param_3 + 0xc)" (identifier "__n") (= "=") (pointer_expression "*(uint *)(param_3 + 0xc)" (* "*") (cast_expression "(uint *)(param_3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" (if "if") (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0))" (( "(") (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0)" (( "(") (comma_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" (identifier "param_2") (= "=") (binary_expression "*(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1)" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (cast_expression "(uint)CARRY4(__n,uVar1)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(__n,uVar1)" (identifier "CARRY4") (argument_list "(__n,uVar1)" (( "(") (identifier "__n") (, ",") (identifier "uVar1") () ")")))))) (, ",") (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1)" (identifier "uVar2") (= "=") (call_expression "(uint)(*(uint *)(param_4 + 8) < __n + uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_4 + 8) < __n + uVar1)" (( "(") (binary_expression "*(uint *)(param_4 + 8) < __n + uVar1" (pointer_expression "*(uint *)(param_4 + 8)" (* "*") (cast_expression "(uint *)(param_4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (< "<") (binary_expression "__n + uVar1" (identifier "__n") (+ "+") (identifier "uVar1"))) () ")")))) (, ",") (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2\n     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" (identifier "iVar3") (= "=") (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" (* "*") (cast_expression "(int *)(param_4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "param_2"))) (, ",") (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n       (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" (( "(") (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" (identifier "SBORROW4") (argument_list "(*(int *)(param_4 + 0xc),param_2)" (( "(") (pointer_expression "*(int *)(param_4 + 0xc)" (* "*") (cast_expression "(int *)(param_4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_2") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar2)" (identifier "SBORROW4") (argument_list "(iVar3,uVar2)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar2") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar2)" (( "(") (binary_expression "iVar3 - uVar2" (identifier "iVar3") (- "-") (identifier "uVar2")) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x6f") (, ",") (string_literal ""get_output_view"" (" """) (string_content "get_output_view") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "__src = *(void **)(param_3 + 0xec);" (assignment_expression "__src = *(void **)(param_3 + 0xec)" (identifier "__src") (= "=") (pointer_expression "*(void **)(param_3 + 0xec)" (* "*") (cast_expression "(void **)(param_3 + 0xec)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0xec)" (( "(") (binary_expression "param_3 + 0xec" (identifier "param_3") (+ "+") (number_literal "0xec")) () ")"))))) (; ";")) (expression_statement "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);" (assignment_expression "__dest = (void *)(*(int *)(param_4 + 0x10) + uVar1)" (identifier "__dest") (= "=") (cast_expression "(void *)(*(int *)(param_4 + 0x10) + uVar1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_4 + 0x10) + uVar1)" (( "(") (binary_expression "*(int *)(param_4 + 0x10) + uVar1" (pointer_expression "*(int *)(param_4 + 0x10)" (* "*") (cast_expression "(int *)(param_4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "uVar1")) () ")")))) (; ";")) (if_statement "if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" (if "if") (parenthesized_expression "((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0))" (( "(") (binary_expression "(__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" (parenthesized_expression "(__src == (void *)0x0)" (( "(") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)" (( "(") (comma_expression "__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0" (assignment_expression "__src = *(void **)(param_3 + 0x8c)" (identifier "__src") (= "=") (pointer_expression "*(void **)(param_3 + 0x8c)" (* "*") (cast_expression "(void **)(param_3 + 0x8c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0x8c)" (( "(") (binary_expression "param_3 + 0x8c" (identifier "param_3") (+ "+") (number_literal "0x8c")) () ")"))))) (, ",") (binary_expression "__src == (void *)0x0" (identifier "__src") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);" (call_expression "FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xe34,"postprocessing_buffer",__dest)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe34") (, ",") (string_literal ""postprocessing_buffer"" (" """) (string_content "postprocessing_buffer") (" """)) (, ",") (identifier "__dest") () ")"))) (; ";")) (} "}"))) (expression_statement "memcpy(__dest,__src,__n);" (call_expression "memcpy(__dest,__src,__n)" (identifier "memcpy") (argument_list "(__dest,__src,__n)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Output_compressed_section * this, Output_file * of) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *of)

{
  type_3 var_1;
  type_4 var_6;
  type_4 var_5;
  int var_7;
  type_4 var_10;
  int var_9;
  int var_3;
  type_5 *var_11;
  
  var_1 = (this->super_Output_section).super_Output_data.field_0x1c;
  if ((var_1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.h",0xe3,"offset");
  }
  var_6 = (type_4)(this->super_Output_section).super_Output_data.offset_;
  var_3 = *(int *)((int)&(this->super_Output_section).super_Output_data.offset_ + 4);
  if ((var_1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.h",0xcf,"data_size");
  }
  var_5 = (type_4)(this->super_Output_section).super_Output_data.data_size_;
  if ((var_3 < 0) ||
     (var_7 = *(int *)((int)&of->file_size_ + 4), var_3 = var_3 + (type_4)var_4(var_5,var_6),
     var_10 = (type_4)((type_4)of->file_size_ < var_5 + var_6), var_9 = var_7 - var_3,
     (var_8(var_7,var_3) != var_8(var_9,var_10)) != (int)(var_9 - var_10) < 0)) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.h",0x6f,"get_output_view");
  }
  var_11 = this->data_;
  if ((var_11 == (type_5 *)0x0) &&
     (var_11 = (this->super_Output_section).postprocessing_buffer_, var_11 == (type_5 *)0x0)) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.h",0xe34,"postprocessing_buffer");
  }
  var_12(of->base_ + var_6,var_11,var_5);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void __regparm2 MASKED(undefined4 param_1,int param_2,int param_3,int param_4)

{
  uint uVar1;
  uint __n;
  uint uVar2;
  int iVar3;
  void *__dest;
  void *__src;
  
  if ((*(byte *)(param_3 + 0x1c) & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xe3,"offset",param_4);
  }
  uVar1 = *(uint *)(param_3 + 0x14);
  if ((*(byte *)(param_3 + 0x1c) & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xcf,"data_size",param_3);
  }
  __n = *(uint *)(param_3 + 0xc);
  if ((*(int *)(param_3 + 0x18) < 0) ||
     (param_2 = *(int *)(param_3 + 0x18) + (uint)CARRY4(__n,uVar1),
     uVar2 = (uint)(*(uint *)(param_4 + 8) < __n + uVar1), iVar3 = *(int *)(param_4 + 0xc) - param_2
     , (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=
       (int)(iVar3 - uVar2) < 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0x6f,"get_output_view",param_2);
  }
  __src = *(void **)(param_3 + 0xec);
  __dest = (void *)(*(int *)(param_4 + 0x10) + uVar1);
  if ((__src == (void *)0x0) && (__src = *(void **)(param_3 + 0x8c), __src == (void *)0x0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.h",0xe34,"postprocessing_buffer",__dest);
  }
  memcpy(__dest,__src,__n);
  return;
}

