
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_write(Eh_frame * this, Output_file * of) */

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

{
}



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

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

{
  byte bVar1;
  uint uVar2;
  int iVar3;
  
  bVar1 = *(byte *)(param_3 + 0x1c);
  if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);
  }
  if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);
  }
  if ((*(int *)(param_3 + 0x18) < 0) ||
     (param_2 = *(int *)(param_3 + 0x18) +
                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),
     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),
     iVar3 = *(int *)(param_4 + 0xc) - param_2,
     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=
     (int)(iVar3 - uVar2) < 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);
  }
  iVar3 = FUN_001a4d60(DAT_004144e8);
  if (iVar3 == 1) {
    FUN_0021e570();
    return;
  }
  if (iVar3 != 0) {
    if (iVar3 == 2) {
      FUN_0021e960();
      return;
    }
    if (iVar3 == 3) {
      FUN_0021ed50();
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);
  }
  FUN_0021e180();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x1f90d7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x34]
MOVZX EAX,byte ptr [ESI + 0x1c]
TEST AL,0x4
JZ 0x0021b054
MOV EDI,dword ptr [ESI + 0x14]
MOV EBP,dword ptr [ESI + 0x18]
MOV dword ptr [ESP + 0x8],EDI
MOV dword ptr [ESP + 0xc],EBP
TEST AL,0x2
JZ 0x0021b03b
MOV EBP,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESI + 0xc]
TEST EBP,EBP
JS 0x0021b00c
MOV EDI,dword ptr [ECX + 0xc]
XOR EDX,EDX
ADD EAX,dword ptr [ESP + 0x8]
ADC EDX,dword ptr [ESP + 0xc]
CMP dword ptr [ECX + 0x8],EAX
SBB EDI,EDX
JL 0x0021b00c
LEA EAX,[EBX + 0x4e8]
MOV EDI,dword ptr [ESP + 0x8]
SUB ESP,0xc
ADD EDI,dword ptr [ECX + 0x10]
PUSH dword ptr [EAX]
CALL 0x001a4d60
ADD ESP,0x10
CMP EAX,0x1
JZ 0x0021aff8
TEST EAX,EAX
JZ 0x0021afe0
CMP EAX,0x2
JZ 0x0021afc8
CMP EAX,0x3
JNZ 0x0021b022
MOV dword ptr [ESP + 0x34],EDI
MOV dword ptr [ESP + 0x30],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0021ed50
MOV dword ptr [ESP + 0x34],EDI
MOV dword ptr [ESP + 0x30],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0021e960
MOV dword ptr [ESP + 0x34],EDI
MOV dword ptr [ESP + 0x30],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0021e180
MOV dword ptr [ESP + 0x34],EDI
MOV dword ptr [ESP + 0x30],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x0021e570
LEA EAX,[EBX + 0xffefdbb8]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0x6f
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffefdaec]
PUSH EAX
LEA EAX,[EBX + 0xffefd987]
PUSH 0x50d
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffefdbc8]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xcf
PUSH EAX
CALL 0x000da200
PUSH EAX
LEA EAX,[EBX + 0xffefdbd4]
PUSH EAX
LEA EAX,[EBX + 0xffee2e5c]
PUSH 0xe3
PUSH EAX
CALL 0x000da200
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2 FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}\n\n" comment (function_definition "void __regparm2 FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_3 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_3 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_000da200("../../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 ))) ;) })) (if_statement "if ((bVar1 & 2) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../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_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_000da200("../../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 ))) ;) })) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" ( (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) < number_literal) )) || (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" ( (comma_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" identifier = (binary_expression "*(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" identifier (argument_list "(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" ( (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) )))))) , (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" identifier = (call_expression "(uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" ( (binary_expression "*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_4 + 8)" * (cast_expression "(uint *)(param_4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) < (binary_expression "*(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) + (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))))) )))) , (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" identifier = (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" identifier (argument_list "(*(int *)(param_4 + 0xc),param_2)" ( (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" { comment (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar3 = FUN_001a4d60(DAT_004144e8);" (assignment_expression "iVar3 = FUN_001a4d60(DAT_004144e8)" identifier = (call_expression "FUN_001a4d60(DAT_004144e8)" identifier (argument_list "(DAT_004144e8)" ( identifier )))) ;) (if_statement "if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_0021e570();\n    return;\n  }" { (expression_statement "FUN_0021e570();" (call_expression "FUN_0021e570()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" { (if_statement "if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      FUN_0021e960();\n      return;\n    }" { (expression_statement "FUN_0021e960();" (call_expression "FUN_0021e960()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }" if (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) (compound_statement "{\n      FUN_0021ed50();\n      return;\n    }" { (expression_statement "FUN_0021ed50();" (call_expression "FUN_0021ed50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);" (call_expression "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" identifier (argument_list "("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_0021e180();" (call_expression "FUN_0021e180()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void do_write(Eh_frame * this, Output_file * of) */\n\nvoid __thiscall gold::Eh_frame::do_write(Eh_frame *this,Output_file *of)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall gold::Eh_frame::do_write(Eh_frame *this,Output_file *of)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Eh_frame::" identifier : : identifier : :) (function_declarator "do_write(Eh_frame *this,Output_file *of)" identifier (parameter_list "(Eh_frame *this,Output_file *of)" ( (parameter_declaration "Eh_frame *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm2 FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "bVar1 = *(byte *)(param_3 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_3 + 0x1c)" identifier = (pointer_expression "*(byte *)(param_3 + 0x1c)" * (cast_expression "(byte *)(param_3 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x1c)" ( (binary_expression "param_3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../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_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }" { (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_000da200("../../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 ))) ;) })) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../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_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" { (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_000da200("../../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 ))) ;) })) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" if (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0))" ( (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" ( (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) < number_literal) )) || (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" ( (comma_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" identifier = (binary_expression "*(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (pointer_expression "*(int *)(param_3 + 0x18)" * (cast_expression "(int *)(param_3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x18)" ( (binary_expression "param_3 + 0x18" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" identifier (argument_list "(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" ( (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))) )))))) , (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" identifier = (call_expression "(uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" ( (binary_expression "*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_4 + 8)" * (cast_expression "(uint *)(param_4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) < (binary_expression "*(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) + (pointer_expression "*(uint *)(param_3 + 0x14)" * (cast_expression "(uint *)(param_3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x14)" ( (binary_expression "param_3 + 0x14" identifier + number_literal) )))))) )))) , (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" identifier = (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) - identifier)) , (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" ( (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" identifier (argument_list "(*(int *)(param_4 + 0xc),param_2)" ( (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) )))) , identifier ))) != (call_expression "SBORROW4(iVar3,uVar2)" identifier (argument_list "(iVar3,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar2)" ( (binary_expression "iVar3 - uVar2" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" { (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2)" identifier (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""get_output_view"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar3 = FUN_001a4d60(DAT_004144e8);" (assignment_expression "iVar3 = FUN_001a4d60(DAT_004144e8)" identifier = (call_expression "FUN_001a4d60(DAT_004144e8)" identifier (argument_list "(DAT_004144e8)" ( identifier )))) ;) (if_statement "if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }" if (parenthesized_expression "(iVar3 == 1)" ( (binary_expression "iVar3 == 1" identifier == number_literal) )) (compound_statement "{\n    FUN_0021e570();\n    return;\n  }" { (expression_statement "FUN_0021e570();" (call_expression "FUN_0021e570()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" { (if_statement "if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      FUN_0021e960();\n      return;\n    }" { (expression_statement "FUN_0021e960();" (call_expression "FUN_0021e960()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }" if (parenthesized_expression "(iVar3 == 3)" ( (binary_expression "iVar3 == 3" identifier == number_literal) )) (compound_statement "{\n      FUN_0021ed50();\n      return;\n    }" { (expression_statement "FUN_0021ed50();" (call_expression "FUN_0021ed50()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);" (call_expression "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" identifier (argument_list "("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_0021e180();" (call_expression "FUN_0021e180()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 ))) ;) })) (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 ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))))) , (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2 FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)\n\n{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0021af20(undefined4 param_1,int param_2,int param_3,int param_4)" (identifier "FUN_0021af20") (parameter_list "(undefined4 param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  int iVar3;\n  \n  bVar1 = *(byte *)(param_3 + 0x1c);\n  if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }\n  if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }\n  if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }\n  iVar3 = FUN_001a4d60(DAT_004144e8);\n  if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }\n  if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }\n  FUN_0021e180();\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "bVar1 = *(byte *)(param_3 + 0x1c);" (assignment_expression "bVar1 = *(byte *)(param_3 + 0x1c)" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)(param_3 + 0x1c)" (* "*") (cast_expression "(byte *)(param_3 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x1c)" (( "(") (binary_expression "param_3 + 0x1c" (identifier "param_3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if ((bVar1 & 4) == 0) {\n                    \n    FUN_000da200("../../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_000da200("../../gold/output.h",0xe3,"offset",bVar1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);" (call_expression "FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1)" (identifier "FUN_000da200") (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") () ")"))) (; ";")) (} "}"))) (if_statement "if ((bVar1 & 2) == 0) {\n                    \n    FUN_000da200("../../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_000da200("../../gold/output.h",0xcf,"data_size",bVar1);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);" (call_expression "FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1)" (identifier "FUN_000da200") (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") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)) {\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" (if "if") (parenthesized_expression "((*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0))" (( "(") (binary_expression "(*(int *)(param_3 + 0x18) < 0) ||\n     (param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" (parenthesized_expression "(*(int *)(param_3 + 0x18) < 0)" (( "(") (binary_expression "*(int *)(param_3 + 0x18) < 0" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0)" (( "(") (comma_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),\n     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "param_2 = *(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (identifier "param_2") (= "=") (binary_expression "*(int *)(param_3 + 0x18) +\n                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (pointer_expression "*(int *)(param_3 + 0x18)" (* "*") (cast_expression "(int *)(param_3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x18)" (( "(") (binary_expression "param_3 + 0x18" (identifier "param_3") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (cast_expression "(uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (identifier "CARRY4") (argument_list "(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14))" (( "(") (pointer_expression "*(uint *)(param_3 + 0xc)" (* "*") (cast_expression "(uint *)(param_3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(uint *)(param_3 + 0x14)" (* "*") (cast_expression "(uint *)(param_3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))) () ")")))))) (, ",") (comma_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),\n     iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" (identifier "uVar2") (= "=") (call_expression "(uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14))" (( "(") (binary_expression "*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_4 + 8)" (* "*") (cast_expression "(uint *)(param_4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (< "<") (binary_expression "*(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)" (pointer_expression "*(uint *)(param_3 + 0xc)" (* "*") (cast_expression "(uint *)(param_3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (pointer_expression "*(uint *)(param_3 + 0x14)" (* "*") (cast_expression "(uint *)(param_3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x14)" (( "(") (binary_expression "param_3 + 0x14" (identifier "param_3") (+ "+") (number_literal "0x14")) () ")")))))) () ")")))) (, ",") (comma_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2,\n     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (assignment_expression "iVar3 = *(int *)(param_4 + 0xc) - param_2" (identifier "iVar3") (= "=") (binary_expression "*(int *)(param_4 + 0xc) - param_2" (pointer_expression "*(int *)(param_4 + 0xc)" (* "*") (cast_expression "(int *)(param_4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (identifier "param_2"))) (, ",") (binary_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=\n     (int)(iVar3 - uVar2) < 0" (parenthesized_expression "(SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2))" (( "(") (binary_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)" (call_expression "SBORROW4(*(int *)(param_4 + 0xc),param_2)" (identifier "SBORROW4") (argument_list "(*(int *)(param_4 + 0xc),param_2)" (( "(") (pointer_expression "*(int *)(param_4 + 0xc)" (* "*") (cast_expression "(int *)(param_4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_2") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,uVar2)" (identifier "SBORROW4") (argument_list "(iVar3,uVar2)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar2") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar3 - uVar2) < 0" (cast_expression "(int)(iVar3 - uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - uVar2)" (( "(") (binary_expression "iVar3 - uVar2" (identifier "iVar3") (- "-") (identifier "uVar2")) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);\n  }" ({ "{") (expression_statement "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);" (call_expression "FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2)" (identifier "FUN_000da200") (argument_list "("../../gold/output.h",0x6f,"get_output_view",param_2)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0x6f") (, ",") (string_literal ""get_output_view"" (" """) (string_content "get_output_view") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_001a4d60(DAT_004144e8);" (assignment_expression "iVar3 = FUN_001a4d60(DAT_004144e8)" (identifier "iVar3") (= "=") (call_expression "FUN_001a4d60(DAT_004144e8)" (identifier "FUN_001a4d60") (argument_list "(DAT_004144e8)" (( "(") (identifier "DAT_004144e8") () ")")))) (; ";")) (if_statement "if (iVar3 == 1) {\n    FUN_0021e570();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 == 1)" (( "(") (binary_expression "iVar3 == 1" (identifier "iVar3") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    FUN_0021e570();\n    return;\n  }" ({ "{") (expression_statement "FUN_0021e570();" (call_expression "FUN_0021e570()" (identifier "FUN_0021e570") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar3 != 0) {\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }\n    if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }\n                    \n    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);\n  }" ({ "{") (if_statement "if (iVar3 == 2) {\n      FUN_0021e960();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 2)" (( "(") (binary_expression "iVar3 == 2" (identifier "iVar3") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      FUN_0021e960();\n      return;\n    }" ({ "{") (expression_statement "FUN_0021e960();" (call_expression "FUN_0021e960()" (identifier "FUN_0021e960") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar3 == 3) {\n      FUN_0021ed50();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar3 == 3)" (( "(") (binary_expression "iVar3 == 3" (identifier "iVar3") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      FUN_0021ed50();\n      return;\n    }" ({ "{") (expression_statement "FUN_0021ed50();" (call_expression "FUN_0021ed50()" (identifier "FUN_0021ed50") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);" (call_expression "FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" (identifier "FUN_000da200") (argument_list "("../../gold/ehframe.cc",0x50d,"do_write",iVar3)" (( "(") (string_literal ""../../gold/ehframe.cc"" (" """) (string_content "../../gold/ehframe.cc") (" """)) (, ",") (number_literal "0x50d") (, ",") (string_literal ""do_write"" (" """) (string_content "do_write") (" """)) (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0021e180();" (call_expression "FUN_0021e180()" (identifier "FUN_0021e180") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void do_write(Eh_frame * this, Output_file * of) */

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

{
}


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

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

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

{
  byte bVar1;
  uint uVar2;
  int iVar3;
  
  bVar1 = *(byte *)(param_3 + 0x1c);
  if ((bVar1 & 4) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xe3,"offset",bVar1);
  }
  if ((bVar1 & 2) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0xcf,"data_size",bVar1);
  }
  if ((*(int *)(param_3 + 0x18) < 0) ||
     (param_2 = *(int *)(param_3 + 0x18) +
                (uint)CARRY4(*(uint *)(param_3 + 0xc),*(uint *)(param_3 + 0x14)),
     uVar2 = (uint)(*(uint *)(param_4 + 8) < *(uint *)(param_3 + 0xc) + *(uint *)(param_3 + 0x14)),
     iVar3 = *(int *)(param_4 + 0xc) - param_2,
     (SBORROW4(*(int *)(param_4 + 0xc),param_2) != SBORROW4(iVar3,uVar2)) !=
     (int)(iVar3 - uVar2) < 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/output.h",0x6f,"get_output_view",param_2);
  }
  iVar3 = FUN_001a4d60(DAT_004144e8);
  if (iVar3 == 1) {
    FUN_0021e570();
    return;
  }
  if (iVar3 != 0) {
    if (iVar3 == 2) {
      FUN_0021e960();
      return;
    }
    if (iVar3 == 3) {
      FUN_0021ed50();
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_000da200("../../gold/ehframe.cc",0x50d,"do_write",iVar3);
  }
  FUN_0021e180();
  return;
}

