
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void do_write(Output_attributes_section_data * this, Output_file * of)
    */

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

{
  byte bVar1;
  uint uVar2;
  uint __n;
  int iVar3;
  uchar *puVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  void *in_stack_ffffffbc;
  size_t in_stack_ffffffc0;
  vector<unsigned_char,_std::allocator<unsigned_char>_> buffer;
  
  bVar1 = (this->super_Output_section_data).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_data).super_Output_data.offset_;
  iVar7 = *(int *)((int)&(this->super_Output_section_data).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_data).super_Output_data.data_size_;
  if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");
  }
  if ((-1 < iVar7) &&
     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),
     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,
     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)) {
    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =
         (pointer)0x0;
    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =
         (pointer)0x0;
    puVar4 = of->base_;
    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.
    _M_end_of_storage = (pointer)0x0;
                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */
    Attributes_section_data::write
              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);
    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl
                    ._M_finish -
               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl
                    ._M_start) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");
    }
    memcpy(puVar4 + uVar2,
           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start
           ,__n);
    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {
      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start
          != (pointer)0x0) {
        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.
                        _M_impl._M_start);
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */
    do_gold_unreachable("../../gold/output.h",0xe3,"offset");
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");
}



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

void FUN_00226380(int param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  uint __n;
  uint uVar3;
  int iVar4;
  void *pvVar5;
  int iVar6;
  int iVar7;
  void *local_28;
  int local_24;
  undefined4 local_20;
  
  bVar1 = *(byte *)(param_1 + 0x1c);
  if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);
  }
  uVar2 = *(uint *)(param_1 + 0x14);
  iVar6 = *(int *)(param_1 + 0x18);
  if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);
  }
  __n = *(uint *)(param_1 + 0xc);
  if (*(int *)(param_1 + 0x10) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);
  }
  if ((-1 < iVar6) &&
     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),
     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,
     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {
    local_28 = (void *)0x0;
    local_24 = 0;
    iVar6 = *(int *)(param_2 + 0x10);
    local_20 = 0;
                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */
    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);
    if (__n != local_24 - (int)local_28) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);
    }
    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);
    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {
      if (local_28 != (void *)0x0) {
        FUN_003ae080(local_28);
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */
    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);
}


CALL 0x00074f02
ADD EAX,0x3c3c7b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [EBP + -0x38],EAX
MOV ESI,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x34],EAX
MOVZX EAX,byte ptr [ESI + 0x1c]
TEST AL,0x4
JZ 0x002264bd
MOV EDX,dword ptr [ESI + 0x14]
MOV ECX,dword ptr [ESI + 0x18]
MOV dword ptr [EBP + -0x30],EDX
MOV dword ptr [EBP + -0x2c],ECX
TEST AL,0x2
JZ 0x002264a1
MOV EBX,dword ptr [ESI + 0xc]
XOR EDX,EDX
MOV EDI,EBX
MOV EAX,EBX
XOR EDI,EBX
OR EDI,dword ptr [ESI + 0x10]
JNZ 0x00226485
MOV EDI,dword ptr [EBP + -0x2c]
TEST EDI,EDI
JS 0x0022646c
MOV ECX,dword ptr [EBP + -0x34]
ADD EAX,dword ptr [EBP + -0x30]
ADC EDX,dword ptr [EBP + -0x2c]
CMP dword ptr [ECX + 0x8],EAX
MOV ECX,dword ptr [ECX + 0xc]
SBB ECX,EDX
JL 0x0022646c
MOV EDX,dword ptr [EBP + -0x34]
MOV EAX,dword ptr [EBP + -0x30]
SUB ESP,0x8
MOV dword ptr [EBP + -0x24],0x0
MOV dword ptr [EBP + -0x20],0x0
ADD EAX,dword ptr [EDX + 0x10]
MOV dword ptr [EBP + -0x1c],0x0
MOV EDI,EAX
LEA EAX,[EBP + -0x24]
PUSH EAX
PUSH dword ptr [ESI + 0x2c]
CALL 0x00226300
MOV EDX,dword ptr [EBP + -0x24]
MOV EAX,dword ptr [EBP + -0x20]
ADD ESP,0x10
SUB EAX,EDX
CMP EBX,EAX
JNZ 0x002264f5
SUB ESP,0x4
PUSH EBX
MOV EBX,dword ptr [EBP + -0x38]
PUSH EDX
PUSH EDI
CALL 0x000392d0
ADD ESP,0x10
TEST byte ptr [ESI + 0x1c],0x4
JZ 0x002264d9
MOV EAX,dword ptr [EBP + -0x24]
TEST EAX,EAX
JZ 0x00226464
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
CALL 0x003ae080
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [EBP + -0x38]
PUSH ECX
LEA EAX,[EBX + 0xffe9b914]
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0x6f
PUSH EAX
CALL 0x002446e0
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
LEA EAX,[EBX + 0xffe9b924]
PUSH EAX
LEA EAX,[EBX + 0xffe634b4]
PUSH 0xc0
PUSH EAX
CALL 0x002446e0
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
LEA EAX,[EBX + 0xffe9b934]
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0xcf
PUSH EAX
CALL 0x002446e0
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
LEA EAX,[EBX + 0xffe9b90c]
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0xe3
PUSH EAX
CALL 0x002446e0
MOV EBX,dword ptr [EBP + -0x38]
PUSH EAX
LEA EAX,[EBX + 0xffe9b90c]
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0xe3
PUSH EAX
CALL 0x002446e0
MOV EBX,dword ptr [EBP + -0x38]
PUSH EDX
LEA EAX,[EBX + 0xffe9b940]
PUSH EAX
LEA EAX,[EBX + 0xffe9b7c1]
PUSH 0x1c5
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00226380(int param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}\n\n" comment (function_definition "void FUN_00226380(int param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" primitive_type (function_declarator "FUN_00226380(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\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    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\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    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(uint *)(param_1 + 0xc);" (assignment_expression "__n = *(uint *)(param_1 + 0xc)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);" (call_expression "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",__n)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (if_statement "if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" if (parenthesized_expression "((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0))" ( (binary_expression "(-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) && (parenthesized_expression "(iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" ( (comma_expression "iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar7 = 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 "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2)" identifier = (call_expression "(uint)(*(uint *)(param_2 + 8) < __n + uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < __n + uVar2)" ( (binary_expression "*(uint *)(param_2 + 8) < __n + uVar2" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (binary_expression "__n + uVar2" identifier + identifier)) )))) , (comma_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7" identifier = (binary_expression "*(int *)(param_2 + 0xc) - iVar7" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) - identifier)) , (comma_expression "iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar6 = iVar4 - uVar3" identifier = (binary_expression "iVar4 - uVar3" identifier - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7)" identifier (argument_list "(*(int *)(param_2 + 0xc),iVar7)" ( (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "iVar6 < 0" identifier < number_literal)))))) ))) )) (compound_statement "{\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" { (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar6 = *(int *)(param_2 + 0x10)" identifier = (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) comment (expression_statement "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);" (call_expression "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c),&local_28)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (__n != local_24 - (int)local_28) {\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" if (parenthesized_expression "(__n != local_24 - (int)local_28)" ( (binary_expression "__n != local_24 - (int)local_28" identifier != (binary_expression "local_24 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" { comment (expression_statement "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);" (call_expression "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28)" identifier (argument_list "("../../gold/attributes.cc",0x1c5,"do_write",local_28)" ( (string_literal ""../../gold/attributes.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (expression_statement "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);" (assignment_expression "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n)" identifier = (call_expression "memcpy((void *)(uVar2 + iVar6),local_28,__n)" identifier (argument_list "((void *)(uVar2 + iVar6),local_28,__n)" ( (cast_expression "(void *)(uVar2 + iVar6)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + iVar6)" ( (binary_expression "uVar2 + iVar6" identifier + identifier) ))) , identifier , identifier )))) ;) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" { (if_statement "if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_003ae080(local_28);\n      }" { (expression_statement "FUN_003ae080(local_28);" (call_expression "FUN_003ae080(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) })) (return_statement "return;" return ;) })) comment comment (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",pvVar5)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);" (call_expression "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",iVar6)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void do_write(Output_attributes_section_data * this, Output_file * of)\n    */\n\nvoid __thiscall\ngold::Output_attributes_section_data::do_write(Output_attributes_section_data *this,Output_file *of)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  int iVar3;\n  uchar *puVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  void *in_stack_ffffffbc;\n  size_t in_stack_ffffffc0;\n  vector<unsigned_char,_std::allocator<unsigned_char>_> buffer;\n  \n  bVar1 = (this->super_Output_section_data).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_data).super_Output_data.offset_;\n  iVar7 = *(int *)((int)&(this->super_Output_section_data).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_data).super_Output_data.data_size_;\n  if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n  }\n  if ((-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)) {\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;\n    puVar4 = of->base_;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);\n    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }\n    memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);\n    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_attributes_section_data::do_write(Output_attributes_section_data *this,Output_file *of)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  int iVar3;\n  uchar *puVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  void *in_stack_ffffffbc;\n  size_t in_stack_ffffffc0;\n  vector<unsigned_char,_std::allocator<unsigned_char>_> buffer;\n  \n  bVar1 = (this->super_Output_section_data).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_data).super_Output_data.offset_;\n  iVar7 = *(int *)((int)&(this->super_Output_section_data).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_data).super_Output_data.data_size_;\n  if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n  }\n  if ((-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)) {\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;\n    puVar4 = of->base_;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);\n    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }\n    memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);\n    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_attributes_section_data::" identifier : : identifier : :) (function_declarator "do_write(Output_attributes_section_data *this,Output_file *of)" identifier (parameter_list "(Output_attributes_section_data *this,Output_file *of)" ( (parameter_declaration "Output_attributes_section_data *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  uchar *puVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  void *in_stack_ffffffbc;\n  size_t in_stack_ffffffc0;\n  vector<unsigned_char,_std::allocator<unsigned_char>_> buffer;\n  \n  bVar1 = (this->super_Output_section_data).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_data).super_Output_data.offset_;\n  iVar7 = *(int *)((int)&(this->super_Output_section_data).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_data).super_Output_data.data_size_;\n  if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n  }\n  if ((-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)) {\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;\n    puVar4 = of->base_;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);\n    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }\n    memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);\n    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0x6f,"get_output_view");\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 "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *in_stack_ffffffbc;" primitive_type (pointer_declarator "*in_stack_ffffffbc" * identifier) ;) (declaration "size_t in_stack_ffffffc0;" primitive_type identifier ;) (ERROR "vector<unsigned_char,_std::" (comma_expression "vector<unsigned_char,_std" (binary_expression "vector<unsigned_char" identifier < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_> buffer;" (binary_expression "allocator<unsigned_char>_> buffer" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) > identifier) ;) (expression_statement "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c;" (assignment_expression "bVar1 = (this->super_Output_section_data).super_Output_data.field_0x1c" identifier = (field_expression "(this->super_Output_section_data).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" 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_data).super_Output_data.offset_;" (assignment_expression "uVar2 = (uint)(this->super_Output_section_data).super_Output_data.offset_" identifier = (field_expression "(uint)(this->super_Output_section_data).super_Output_data.offset_" (field_expression "(uint)(this->super_Output_section_data).super_Output_data" (call_expression "(uint)(this->super_Output_section_data)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (expression_statement "iVar7 = *(int *)((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4);" (assignment_expression "iVar7 = *(int *)((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4)" identifier = (pointer_expression "*(int *)((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4)" * (cast_expression "(int *)((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4)" ( (binary_expression "(int)&(this->super_Output_section_data).super_Output_data.offset_ + 4" (cast_expression "(int)&(this->super_Output_section_data).super_Output_data.offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_section_data).super_Output_data.offset_" & (field_expression "(this->super_Output_section_data).super_Output_data.offset_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" 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_data).super_Output_data.data_size_;" (assignment_expression "__n = (uint)(this->super_Output_section_data).super_Output_data.data_size_" identifier = (field_expression "(uint)(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(uint)(this->super_Output_section_data).super_Output_data" (call_expression "(uint)(this->super_Output_section_data)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) ))) . field_identifier) . field_identifier)) ;) (if_statement "if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n  }" if (parenthesized_expression "(*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0)" ( (binary_expression "*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0" (pointer_expression "*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" * (cast_expression "(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4)" ( (binary_expression "(int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4" (cast_expression "(int)&(this->super_Output_section_data).super_Output_data.data_size_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(this->super_Output_section_data).super_Output_data.data_size_" & (field_expression "(this->super_Output_section_data).super_Output_data.data_size_" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types");" (call_expression "do_gold_unreachable("../../gold/gold.h",0xc0,"convert_types")" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types")" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") ))) ;) })) (if_statement "if ((-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)) {\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;\n    puVar4 = of->base_;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);\n    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }\n    memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);\n    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }" if (parenthesized_expression "((-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0))" ( (binary_expression "(-1 < iVar7) &&\n     (iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)" (parenthesized_expression "(-1 < iVar7)" ( (binary_expression "-1 < iVar7" number_literal < identifier) )) && (parenthesized_expression "(iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0)" ( (comma_expression "iVar7 = iVar7 + (uint)CARRY4(__n,uVar2), iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0" (assignment_expression "iVar7 = iVar7 + (uint)CARRY4(__n,uVar2)" identifier = (binary_expression "iVar7 + (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 "iVar3 = *(int *)((int)&of->file_size_ + 4),\n     uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 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 "uVar5 = (uint)((uint)of->file_size_ < __n + uVar2), iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0" (assignment_expression "uVar5 = (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 "iVar6 = iVar3 - iVar7,\n     (SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0" (assignment_expression "iVar6 = iVar3 - iVar7" identifier = (binary_expression "iVar3 - iVar7" identifier - identifier)) , (binary_expression "(SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)) == (int)(iVar6 - uVar5) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5))" ( (binary_expression "SBORROW4(iVar3,iVar7) != SBORROW4(iVar6,uVar5)" (call_expression "SBORROW4(iVar3,iVar7)" identifier (argument_list "(iVar3,iVar7)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar6,uVar5)" identifier (argument_list "(iVar6,uVar5)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar6 - uVar5) < 0" (cast_expression "(int)(iVar6 - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar6 - uVar5)" ( (binary_expression "iVar6 - uVar5" identifier - identifier) ))) < number_literal)))))) ))) )) (compound_statement "{\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;\n    puVar4 = of->base_;\n    buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;\n                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */\n    Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);\n    if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }\n    memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);\n    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */\n    do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n  }" { (ERROR "buffer.super__Vector_base<unsigned_char,_std::" (comma_expression "buffer.super__Vector_base<unsigned_char,_std" (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0;" (assignment_expression "allocator<unsigned_char>_>._M_impl._M_start =\n         (pointer)0x0" (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (ERROR "buffer.super__Vector_base<unsigned_char,_std::" (comma_expression "buffer.super__Vector_base<unsigned_char,_std" (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0;" (assignment_expression "allocator<unsigned_char>_>._M_impl._M_finish =\n         (pointer)0x0" (field_expression "allocator<unsigned_char>_>._M_impl._M_finish" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) (expression_statement "puVar4 = of->base_;" (assignment_expression "puVar4 = of->base_" identifier = (field_expression "of->base_" identifier -> field_identifier)) ;) (ERROR "buffer.super__Vector_base<unsigned_char,_std::" (comma_expression "buffer.super__Vector_base<unsigned_char,_std" (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , identifier) : :) (expression_statement "allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0;" (assignment_expression "allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage = (pointer)0x0" (field_expression "allocator<unsigned_char>_>._M_impl.\n    _M_end_of_storage" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) ;) comment (labeled_statement "Attributes_section_data::write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);" statement_identifier : (ERROR ":" :) (expression_statement "write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0);" (call_expression "write\n              (this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0)" identifier (argument_list "(this->attributes_section_data_,(int)&buffer,in_stack_ffffffbc,in_stack_ffffffc0)" ( (field_expression "this->attributes_section_data_" identifier -> field_identifier) , (cast_expression "(int)&buffer" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&buffer" & identifier)) , identifier , identifier ))) ;)) (if_statement "if (__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }" if (parenthesized_expression "(__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_start)" ( (ERROR "__n != (int)buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std::" (comma_expression "__n != (int)buffer.super__Vector_base<unsigned_char,_std" (binary_expression "__n != (int)buffer.super__Vector_base<unsigned_char" identifier != (binary_expression "(int)buffer.super__Vector_base<unsigned_char" (cast_expression "(int)buffer.super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "buffer.super__Vector_base" identifier . field_identifier)) < identifier)) , identifier) : : (comma_expression "allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char,_std" (binary_expression "allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base<unsigned_char" (binary_expression "allocator<unsigned_char>_>._M_impl\n                    ._M_finish -\n               (int)buffer.super__Vector_base" (field_expression "allocator<unsigned_char>_>._M_impl\n                    ._M_finish" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)buffer.super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "buffer.super__Vector_base" identifier . field_identifier))) < identifier) , identifier) : :) (field_expression "allocator<unsigned_char>_>._M_impl\n                    ._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write");" (call_expression "do_gold_unreachable("../../gold/attributes.cc",0x1c5,"do_write")" identifier (argument_list "("../../gold/attributes.cc",0x1c5,"do_write")" ( (string_literal ""../../gold/attributes.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") ))) ;) })) (expression_statement "memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n);" (call_expression "memcpy(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n)" identifier (argument_list "(puVar4 + uVar2,\n           buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n           ,__n)" ( (binary_expression "puVar4 + uVar2" identifier + identifier) , (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , (ERROR "_std::" identifier : :) (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) , identifier ))) ;) (if_statement "if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }" if (parenthesized_expression "(((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0)" ( (binary_expression "((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0" (parenthesized_expression "((this->super_Output_section_data).super_Output_data.field_0x1c & 4)" ( (binary_expression "(this->super_Output_section_data).super_Output_data.field_0x1c & 4" (field_expression "(this->super_Output_section_data).super_Output_data.field_0x1c" (field_expression "(this->super_Output_section_data).super_Output_data" (parenthesized_expression "(this->super_Output_section_data)" ( (field_expression "this->super_Output_section_data" identifier -> field_identifier) )) . field_identifier) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }\n      return;\n    }" { (if_statement "if (buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0) {\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }" if (parenthesized_expression "(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0)" ( (ERROR "buffer.super__Vector_base<unsigned_char,_std::" (comma_expression "buffer.super__Vector_base<unsigned_char,_std" (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , identifier) : :) (binary_expression "allocator<unsigned_char>_>._M_impl._M_start\n          != (pointer)0x0" (field_expression "allocator<unsigned_char>_>._M_impl._M_start" (field_expression "allocator<unsigned_char>_>._M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n        operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);\n      }" { (expression_statement "operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start);" (call_expression "operator_delete(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start)" identifier (argument_list "(buffer.super__Vector_base<unsigned_char,_std::allocator<unsigned_char>_>.\n                        _M_impl._M_start)" ( (binary_expression "buffer.super__Vector_base<unsigned_char" (field_expression "buffer.super__Vector_base" identifier . field_identifier) < identifier) , (ERROR "_std::" identifier : :) (field_expression "allocator<unsigned_char>_>.\n                        _M_impl._M_start" (field_expression "allocator<unsigned_char>_>.\n                        _M_impl" (binary_expression "allocator<unsigned_char>_" (binary_expression "allocator<unsigned_char" identifier < identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ))) ;) })) (return_statement "return;" return ;) })) comment 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 ") ))) ;) })) 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 ") ))) ;) })))
(translation_unit "void FUN_00226380(int param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}\n\n" (function_definition "void FUN_00226380(int param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" primitive_type (function_declarator "FUN_00226380(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\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                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }" { (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x14)" identifier = (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\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                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" { (expression_statement "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1)" identifier (argument_list "("../../gold/output.h",0xcf,"data_size",bVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""data_size"" " string_content ") , identifier ))) ;) })) (expression_statement "__n = *(uint *)(param_1 + 0xc);" (assignment_expression "__n = *(uint *)(param_1 + 0xc)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" ( (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" { (expression_statement "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);" (call_expression "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n)" identifier (argument_list "("../../gold/gold.h",0xc0,"convert_types",__n)" ( (string_literal ""../../gold/gold.h"" " string_content ") , number_literal , (string_literal ""convert_types"" " string_content ") , identifier ))) ;) })) (if_statement "if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" if (parenthesized_expression "((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0))" ( (binary_expression "(-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) && (parenthesized_expression "(iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" ( (comma_expression "iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar7 = 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 "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2)" identifier = (call_expression "(uint)(*(uint *)(param_2 + 8) < __n + uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_2 + 8) < __n + uVar2)" ( (binary_expression "*(uint *)(param_2 + 8) < __n + uVar2" (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) < (binary_expression "__n + uVar2" identifier + identifier)) )))) , (comma_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7" identifier = (binary_expression "*(int *)(param_2 + 0xc) - iVar7" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) - identifier)) , (comma_expression "iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar6 = iVar4 - uVar3" identifier = (binary_expression "iVar4 - uVar3" identifier - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" ( (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7)" identifier (argument_list "(*(int *)(param_2 + 0xc),iVar7)" ( (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar4,uVar3)" identifier (argument_list "(iVar4,uVar3)" ( identifier , identifier )))) )) == (binary_expression "iVar6 < 0" identifier < number_literal)))))) ))) )) (compound_statement "{\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" { (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar6 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar6 = *(int *)(param_2 + 0x10)" identifier = (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);" (call_expression "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x2c),&local_28)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" * (cast_expression "(undefined4 *)(param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) , (pointer_expression "&local_28" & identifier) ))) ;) (if_statement "if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" if (parenthesized_expression "(__n != local_24 - (int)local_28)" ( (binary_expression "__n != local_24 - (int)local_28" identifier != (binary_expression "local_24 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" { (expression_statement "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);" (call_expression "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28)" identifier (argument_list "("../../gold/attributes.cc",0x1c5,"do_write",local_28)" ( (string_literal ""../../gold/attributes.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (expression_statement "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);" (assignment_expression "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n)" identifier = (call_expression "memcpy((void *)(uVar2 + iVar6),local_28,__n)" identifier (argument_list "((void *)(uVar2 + iVar6),local_28,__n)" ( (cast_expression "(void *)(uVar2 + iVar6)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar2 + iVar6)" ( (binary_expression "uVar2 + iVar6" identifier + identifier) ))) , identifier , identifier )))) ;) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" { (if_statement "if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_003ae080(local_28);\n      }" { (expression_statement "FUN_003ae080(local_28);" (call_expression "FUN_003ae080(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",pvVar5)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);" (call_expression "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",iVar6)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & 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) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (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)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT - 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 IDENT < LIT)))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))) , IDENT , 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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_00226380(int param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" (primitive_type "void") (function_declarator "FUN_00226380(int param_1,int param_2)" (identifier "FUN_00226380") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  uint __n;\n  uint uVar3;\n  int iVar4;\n  void *pvVar5;\n  int iVar6;\n  int iVar7;\n  void *local_28;\n  int local_24;\n  undefined4 local_20;\n  \n  bVar1 = *(byte *)(param_1 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  uVar2 = *(uint *)(param_1 + 0x14);\n  iVar6 = *(int *)(param_1 + 0x18);\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  __n = *(uint *)(param_1 + 0xc);\n  if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }\n  if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "void *pvVar5;" (primitive_type "void") (pointer_declarator "*pvVar5" (* "*") (identifier "pvVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "void *local_28;" (primitive_type "void") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "bVar1 = *(byte *)(param_1 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_1 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }" (if "if") (parenthesized_expression "((bVar1 & 4) == 0)" (( "(") (binary_expression "(bVar1 & 4) == 0" (parenthesized_expression "(bVar1 & 4)" (( "(") (binary_expression "bVar1 & 4" (identifier "bVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0xe3,"offset",bVar1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) (, ",") (identifier "bVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(param_1 + 0x14);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x14)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x18)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" (if "if") (parenthesized_expression "((bVar1 & 2) == 0)" (( "(") (binary_expression "(bVar1 & 2) == 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0xcf,"data_size",bVar1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xcf") (, ",") (string_literal ""data_size"" (" """) (string_content "data_size") (" """)) (, ",") (identifier "bVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "__n = *(uint *)(param_1 + 0xc);" (assignment_expression "__n = *(uint *)(param_1 + 0xc)" (identifier "__n") (= "=") (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x10) != 0) {\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) != 0" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);" (call_expression "FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n)" (identifier "FUN_002446e0") (argument_list "("../../gold/gold.h",0xc0,"convert_types",__n)" (( "(") (string_literal ""../../gold/gold.h"" (" """) (string_content "../../gold/gold.h") (" """)) (, ",") (number_literal "0xc0") (, ",") (string_literal ""convert_types"" (" """) (string_content "convert_types") (" """)) (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (if_statement "if ((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" (if "if") (parenthesized_expression "((-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0))" (( "(") (binary_expression "(-1 < iVar6) &&\n     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" (parenthesized_expression "(-1 < iVar6)" (( "(") (binary_expression "-1 < iVar6" (number_literal "-1") (< "<") (identifier "iVar6")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)" (( "(") (comma_expression "iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar7 = iVar6 + (uint)CARRY4(__n,uVar2)" (identifier "iVar7") (= "=") (binary_expression "iVar6 + (uint)CARRY4(__n,uVar2)" (identifier "iVar6") (+ "+") (cast_expression "(uint)CARRY4(__n,uVar2)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(__n,uVar2)" (identifier "CARRY4") (argument_list "(__n,uVar2)" (( "(") (identifier "__n") (, ",") (identifier "uVar2") () ")")))))) (, ",") (comma_expression "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),\n     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2)" (identifier "uVar3") (= "=") (call_expression "(uint)(*(uint *)(param_2 + 8) < __n + uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_2 + 8) < __n + uVar2)" (( "(") (binary_expression "*(uint *)(param_2 + 8) < __n + uVar2" (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (< "<") (binary_expression "__n + uVar2" (identifier "__n") (+ "+") (identifier "uVar2"))) () ")")))) (, ",") (comma_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar4 = *(int *)(param_2 + 0xc) - iVar7" (identifier "iVar4") (= "=") (binary_expression "*(int *)(param_2 + 0xc) - iVar7" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "iVar7"))) (, ",") (comma_expression "iVar6 = iVar4 - uVar3,\n     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (assignment_expression "iVar6 = iVar4 - uVar3" (identifier "iVar6") (= "=") (binary_expression "iVar4 - uVar3" (identifier "iVar4") (- "-") (identifier "uVar3"))) (, ",") (binary_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3))" (( "(") (binary_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)" (call_expression "SBORROW4(*(int *)(param_2 + 0xc),iVar7)" (identifier "SBORROW4") (argument_list "(*(int *)(param_2 + 0xc),iVar7)" (( "(") (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "iVar7") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar4,uVar3)" (identifier "SBORROW4") (argument_list "(iVar4,uVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "uVar3") () ")")))) () ")")) (== "==") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0"))))))) () ")"))) () ")")) (compound_statement "{\n    local_28 = (void *)0x0;\n    local_24 = 0;\n    iVar6 = *(int *)(param_2 + 0x10);\n    local_20 = 0;\n                    \n    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);\n    if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }\n    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);\n    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }\n                    \n                    \n    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);\n  }" ({ "{") (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" (identifier "local_28") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = *(int *)(param_2 + 0x10);" (assignment_expression "iVar6 = *(int *)(param_2 + 0x10)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);" (call_expression "FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28)" (identifier "FUN_00226300") (argument_list "(*(undefined4 *)(param_1 + 0x2c),&local_28)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (if_statement "if (__n != local_24 - (int)local_28) {\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" (if "if") (parenthesized_expression "(__n != local_24 - (int)local_28)" (( "(") (binary_expression "__n != local_24 - (int)local_28" (identifier "__n") (!= "!=") (binary_expression "local_24 - (int)local_28" (identifier "local_24") (- "-") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28")))) () ")")) (compound_statement "{\n                    \n      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);\n    }" ({ "{") (expression_statement "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);" (call_expression "FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28)" (identifier "FUN_002446e0") (argument_list "("../../gold/attributes.cc",0x1c5,"do_write",local_28)" (( "(") (string_literal ""../../gold/attributes.cc"" (" """) (string_content "../../gold/attributes.cc") (" """)) (, ",") (number_literal "0x1c5") (, ",") (string_literal ""do_write"" (" """) (string_content "do_write") (" """)) (, ",") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (expression_statement "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);" (assignment_expression "pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n)" (identifier "pvVar5") (= "=") (call_expression "memcpy((void *)(uVar2 + iVar6),local_28,__n)" (identifier "memcpy") (argument_list "((void *)(uVar2 + iVar6),local_28,__n)" (( "(") (cast_expression "(void *)(uVar2 + iVar6)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar2 + iVar6)" (( "(") (binary_expression "uVar2 + iVar6" (identifier "uVar2") (+ "+") (identifier "iVar6")) () ")"))) (, ",") (identifier "local_28") (, ",") (identifier "__n") () ")")))) (; ";")) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }\n      return;\n    }" ({ "{") (if_statement "if (local_28 != (void *)0x0) {\n        FUN_003ae080(local_28);\n      }" (if "if") (parenthesized_expression "(local_28 != (void *)0x0)" (( "(") (binary_expression "local_28 != (void *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        FUN_003ae080(local_28);\n      }" ({ "{") (expression_statement "FUN_003ae080(local_28);" (call_expression "FUN_003ae080(local_28)" (identifier "FUN_003ae080") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0xe3,"offset",pvVar5)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) (, ",") (identifier "pvVar5") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);" (call_expression "FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0x6f,"get_output_view",iVar6)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x6f") (, ",") (string_literal ""get_output_view"" (" """) (string_content "get_output_view") (" """)) (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void do_write(Output_attributes_section_data * this, Output_file * of)
    */

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

{
  type_3 var_5;
  type_4 var_10;
  type_4 var_9;
  int var_11;
  type_5 *var_17;
  type_4 var_14;
  int var_13;
  int var_7;
  void *in_stack_ffffffbc;
  size_t in_stack_ffffffc0;
  vector<var_2,_std::var_1<var_2>var_3> var_4;
  
  var_5 = (this->super_Output_section_data).super_Output_data.field_0x1c;
  if ((var_5 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/output.h",0xe3,"offset");
  }
  var_10 = (type_4)(this->super_Output_section_data).super_Output_data.offset_;
  var_7 = *(int *)((int)&(this->super_Output_section_data).super_Output_data.offset_ + 4);
  if ((var_5 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/output.h",0xcf,"data_size");
  }
  var_9 = (type_4)(this->super_Output_section_data).super_Output_data.data_size_;
  if (*(int *)((int)&(this->super_Output_section_data).super_Output_data.data_size_ + 4) != 0) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/gold.h",0xc0,"convert_types");
  }
  if ((-1 < var_7) &&
     (var_7 = var_7 + (type_4)var_8(var_9,var_10), var_11 = *(int *)((int)&of->file_size_ + 4),
     var_14 = (type_4)((type_4)of->file_size_ < var_9 + var_10), var_13 = var_11 - var_7,
     (var_12(var_11,var_7) != var_12(var_13,var_14)) == (int)(var_13 - var_14) < 0)) {
    var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl._M_start =
         (type_6)0x0;
    var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl._M_finish =
         (type_6)0x0;
    var_17 = of->base_;
    var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl.
    _M_end_of_storage = (type_6)0x0;
                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */
    Attributes_section_data::var_15
              (this->attributes_section_data_,(int)&var_4,in_stack_ffffffbc,in_stack_ffffffc0);
    if (var_9 != (int)var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl
                    ._M_finish -
               (int)var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl
                    ._M_start) {
                    /* WARNING: Subroutine does not return */
      var_6("../../gold/attributes.cc",0x1c5,"do_write");
    }
    var_16(var_17 + var_10,
           var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl._M_start
           ,var_9);
    if (((this->super_Output_section_data).super_Output_data.field_0x1c & 4) != 0) {
      if (var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>._M_impl._M_start
          != (type_6)0x0) {
        var_18(var_4.super__Vector_base<var_2,_std::var_1<var_2>var_3>.
                        _M_impl._M_start);
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */
    var_6("../../gold/output.h",0xe3,"offset");
  }
                    /* WARNING: Subroutine does not return */
  var_6("../../gold/output.h",0x6f,"get_output_view");
}


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

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

void MASKED(int param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  uint __n;
  uint uVar3;
  int iVar4;
  void *pvVar5;
  int iVar6;
  int iVar7;
  void *local_28;
  int local_24;
  undefined4 local_20;
  
  bVar1 = *(byte *)(param_1 + 0x1c);
  if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xe3,"offset",bVar1);
  }
  uVar2 = *(uint *)(param_1 + 0x14);
  iVar6 = *(int *)(param_1 + 0x18);
  if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xcf,"data_size",bVar1);
  }
  __n = *(uint *)(param_1 + 0xc);
  if (*(int *)(param_1 + 0x10) != 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/gold.h",0xc0,"convert_types",__n);
  }
  if ((-1 < iVar6) &&
     (iVar7 = iVar6 + (uint)CARRY4(__n,uVar2), uVar3 = (uint)(*(uint *)(param_2 + 8) < __n + uVar2),
     iVar4 = *(int *)(param_2 + 0xc) - iVar7, iVar6 = iVar4 - uVar3,
     (SBORROW4(*(int *)(param_2 + 0xc),iVar7) != SBORROW4(iVar4,uVar3)) == iVar6 < 0)) {
    local_28 = (void *)0x0;
    local_24 = 0;
    iVar6 = *(int *)(param_2 + 0x10);
    local_20 = 0;
                    /* try { // try from 0022641b to 0022641f has its CatchHandler @ 00226511 */
    FUN_00226300(*(undefined4 *)(param_1 + 0x2c),&local_28);
    if (__n != local_24 - (int)local_28) {
                    /* WARNING: Subroutine does not return */
      FUN_002446e0("../../gold/attributes.cc",0x1c5,"do_write",local_28);
    }
    pvVar5 = memcpy((void *)(uVar2 + iVar6),local_28,__n);
    if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {
      if (local_28 != (void *)0x0) {
        FUN_003ae080(local_28);
      }
      return;
    }
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 002264f0 to 00226510 has its CatchHandler @ 00226511 */
    FUN_002446e0("../../gold/output.h",0xe3,"offset",pvVar5);
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0x6f,"get_output_view",iVar6);
}

