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

void __regparm3 build_filler_bfd(int include_edata)

{
  _func_bfd_boolean_bfd_ptr_bfd_architecture_ulong *p_Var1;
  lang_input_statement_type *entry;
  bfd *pbVar2;
  ulong uVar3;
  bfd_architecture bVar4;
  bfd_boolean bVar5;
  int iVar6;
  char *pcVar7;
  
  entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);
  pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd);
  filler_bfd = pbVar2;
  entry->the_bfd = pbVar2;
  if (pbVar2 != (bfd *)0x0) {
    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;
    uVar3 = bfd_get_mach(link_info.output_bfd);
    bVar4 = bfd_get_arch(link_info.output_bfd);
    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);
    if (bVar5 != 0) {
      if (include_edata == 0) {
LAB_00061b44:
        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");
        if (reloc_s != (bfd_section *)0x0) {
          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);
          if (iVar6 != 0) {
            bfd_set_section_size(filler_bfd,reloc_s,0,0);
            ldlang_add_file(entry);
            return;
          }
        }
        pcVar7 = "%X%P: can not create .reloc section: %E\n";
      }
      else {
        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");
        if (edata_s != (bfd_section *)0x0) {
          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);
          if (iVar6 != 0) {
            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);
            goto LAB_00061b44;
          }
        }
        pcVar7 = "%X%P: can not create .edata section: %E\n";
      }
      goto LAB_00061b87;
    }
  }
  pcVar7 = "%F%P: can not create BFD: %E\n";
LAB_00061b87:
  pcVar7 = (char *)dcgettext(0,pcVar7,5);
  einfo(pcVar7);
  return;
}



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

void __regparm3 FUN_00061a40(int param_1)

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  
  iVar2 = FUN_00023ea0("dll stuff",3,0);
  iVar3 = bfd_create("dll stuff",DAT_001d1414);
  DAT_001d12a0 = iVar3;
  *(int *)(iVar2 + 0x10) = iVar3;
  if (iVar3 != 0) {
    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);
    uVar4 = bfd_get_mach(DAT_001d1414);
    uVar5 = bfd_get_arch(DAT_001d1414);
    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);
    if (iVar3 != 0) {
      if (param_1 == 0) {
LAB_00061b44:
        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");
        if (DAT_001d1298 != 0) {
          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);
          if (iVar3 != 0) {
            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);
            FUN_000276a0(iVar2);
            return;
          }
        }
        pcVar6 = "%X%P: can not create .reloc section: %E\n";
      }
      else {
        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");
        if (DAT_001d129c != 0) {
          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);
          if (iVar3 != 0) {
            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);
            goto LAB_00061b44;
          }
        }
        pcVar6 = "%X%P: can not create .edata section: %E\n";
      }
      goto LAB_00061b87;
    }
  }
  pcVar6 = "%F%P: can not create BFD: %E\n";
LAB_00061b87:
  uVar4 = dcgettext(0,pcVar6,5);
  FUN_00034d20(uVar4);
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x16d5b7
SUB ESP,0x20
MOV dword ptr [ESP + 0x10],EAX
PUSH 0x0
PUSH 0x3
LEA EBP,[EBX + 0xfffdea3e]
PUSH EBP
CALL 0x00023ea0
POP ESI
LEA ESI,[EBX + 0x23e0]
MOV EDI,EAX
POP EAX
PUSH dword ptr [ESI + 0x34]
PUSH EBP
CALL 0x00016570
ADD ESP,0x10
MOV dword ptr [EBX + 0x22a0],EAX
MOV dword ptr [EDI + 0x10],EAX
TEST EAX,EAX
JZ 0x00061ba8
MOV EAX,dword ptr [EAX + 0x4]
SUB ESP,0xc
MOV EBP,dword ptr [EAX + 0x154]
PUSH dword ptr [ESI + 0x34]
CALL 0x00016910
MOV dword ptr [ESP + 0x18],EAX
POP ECX
PUSH dword ptr [ESI + 0x34]
CALL 0x00016780
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0xc]
PUSH ECX
PUSH EAX
PUSH dword ptr [EBX + 0x22a0]
CALL EBP
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00061ba8
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EBX + 0x22a0]
TEST EDX,EDX
JZ 0x00061b44
SUB ESP,0x8
LEA EDX,[EBX + 0xfffdea66]
PUSH EDX
PUSH EAX
CALL 0x00016120
ADD ESP,0x10
MOV dword ptr [EBX + 0x229c],EAX
TEST EAX,EAX
JZ 0x00061b10
SUB ESP,0x4
PUSH 0x204103
PUSH EAX
PUSH dword ptr [EBX + 0x22a0]
CALL 0x00016cc0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00061b20
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdef7c]
PUSH 0x5
JMP 0x00061b87
MOV EAX,dword ptr [EBX + 0x228c]
XOR EDX,EDX
PUSH EDX
PUSH EAX
PUSH dword ptr [EBX + 0x229c]
PUSH dword ptr [EBX + 0x22a0]
CALL 0x000167f0
MOV EAX,dword ptr [EBX + 0x22a0]
ADD ESP,0x10
SUB ESP,0x8
LEA EDX,[EBX + 0xfffdea6d]
PUSH EDX
PUSH EAX
CALL 0x00016120
ADD ESP,0x10
MOV dword ptr [EBX + 0x2298],EAX
TEST EAX,EAX
JZ 0x00061b7c
SUB ESP,0x4
PUSH 0x204103
PUSH EAX
PUSH dword ptr [EBX + 0x22a0]
CALL 0x00016cc0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00061bb8
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdefa8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00016310
MOV dword ptr [ESP],EAX
CALL 0x00034d20
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdea48]
PUSH 0x5
JMP 0x00061b87
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EBX + 0x2298]
PUSH dword ptr [EBX + 0x22a0]
CALL 0x000167f0
MOV dword ptr [ESP],EDI
CALL 0x000276a0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00061a40(int param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00061a40(int param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00061a40(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar2 = FUN_00023ea0("dll stuff",3,0);" (assignment_expression "iVar2 = FUN_00023ea0("dll stuff",3,0)" identifier = (call_expression "FUN_00023ea0("dll stuff",3,0)" identifier (argument_list "("dll stuff",3,0)" ( (string_literal ""dll stuff"" " string_content ") , number_literal , number_literal )))) ;) (expression_statement "iVar3 = bfd_create("dll stuff",DAT_001d1414);" (assignment_expression "iVar3 = bfd_create("dll stuff",DAT_001d1414)" identifier = (call_expression "bfd_create("dll stuff",DAT_001d1414)" identifier (argument_list "("dll stuff",DAT_001d1414)" ( (string_literal ""dll stuff"" " string_content ") , identifier )))) ;) (expression_statement "DAT_001d12a0 = iVar3;" (assignment_expression "DAT_001d12a0 = iVar3" identifier = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = iVar3;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" { (expression_statement "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);" (assignment_expression "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154)" identifier = (pointer_expression "*(code **)(*(int *)(iVar3 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(iVar3 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar3 + 4) + 0x154)" ( (binary_expression "*(int *)(iVar3 + 4) + 0x154" (pointer_expression "*(int *)(iVar3 + 4)" * (cast_expression "(int *)(iVar3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = bfd_get_mach(DAT_001d1414);" (assignment_expression "uVar4 = bfd_get_mach(DAT_001d1414)" identifier = (call_expression "bfd_get_mach(DAT_001d1414)" identifier (argument_list "(DAT_001d1414)" ( identifier )))) ;) (expression_statement "uVar5 = bfd_get_arch(DAT_001d1414);" (assignment_expression "uVar5 = bfd_get_arch(DAT_001d1414)" identifier = (call_expression "bfd_get_arch(DAT_001d1414)" identifier (argument_list "(DAT_001d1414)" ( identifier )))) ;) (expression_statement "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);" (assignment_expression "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4)" identifier = (call_expression "(*pcVar1)(DAT_001d12a0,uVar5,uVar4)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(DAT_001d12a0,uVar5,uVar4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" { (if_statement "if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }" { (labeled_statement "LAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" statement_identifier : (expression_statement "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" (assignment_expression "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc")" identifier = (call_expression "bfd_make_section_old_way(DAT_001d12a0,".reloc")" identifier (argument_list "(DAT_001d12a0,".reloc")" ( identifier , (string_literal "".reloc"" " string_content ") )))) ;)) (if_statement "if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" if (parenthesized_expression "(DAT_001d1298 != 0)" ( (binary_expression "DAT_001d1298 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" { (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" identifier = (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" identifier (argument_list "(DAT_001d12a0,DAT_001d1298,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" { (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0)" identifier (argument_list "(DAT_001d12a0,DAT_001d1298,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_000276a0(iVar2);" (call_expression "FUN_000276a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "pcVar6 = "%X%P: can not create .reloc section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .reloc section: %E\n"" identifier = (string_literal ""%X%P: can not create .reloc section: %E\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" else (compound_statement "{\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" { (expression_statement "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");" (assignment_expression "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata")" identifier = (call_expression "bfd_make_section_old_way(DAT_001d12a0,".edata")" identifier (argument_list "(DAT_001d12a0,".edata")" ( identifier , (string_literal "".edata"" " string_content ") )))) ;) (if_statement "if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" if (parenthesized_expression "(DAT_001d129c != 0)" ( (binary_expression "DAT_001d129c != 0" identifier != number_literal) )) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" { (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" identifier = (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" identifier (argument_list "(DAT_001d12a0,DAT_001d129c,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" { (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" identifier (argument_list "(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" ( identifier , identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_00061b44;" goto statement_identifier ;) })) })) (expression_statement "pcVar6 = "%X%P: can not create .edata section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .edata section: %E\n"" identifier = (string_literal ""%X%P: can not create .edata section: %E\n"" " string_content escape_sequence ")) ;) }))) (goto_statement "goto LAB_00061b87;" goto statement_identifier ;) })) })) (expression_statement "pcVar6 = "%F%P: can not create BFD: %E\n";" (assignment_expression "pcVar6 = "%F%P: can not create BFD: %E\n"" identifier = (string_literal ""%F%P: can not create BFD: %E\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "FUN_00034d20(uVar4);" (call_expression "FUN_00034d20(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 build_filler_bfd(int include_edata)\n\n{\n  _func_bfd_boolean_bfd_ptr_bfd_architecture_ulong *p_Var1;\n  lang_input_statement_type *entry;\n  bfd *pbVar2;\n  ulong uVar3;\n  bfd_architecture bVar4;\n  bfd_boolean bVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);\n  pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd);\n  filler_bfd = pbVar2;\n  entry->the_bfd = pbVar2;\n  if (pbVar2 != (bfd *)0x0) {\n    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;\n    uVar3 = bfd_get_mach(link_info.output_bfd);\n    bVar4 = bfd_get_arch(link_info.output_bfd);\n    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);\n    if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar7 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  pcVar7 = (char *)dcgettext(0,pcVar7,5);\n  einfo(pcVar7);\n  return;\n}\n\n" comment (function_definition "void __regparm3 build_filler_bfd(int include_edata)\n\n{\n  _func_bfd_boolean_bfd_ptr_bfd_architecture_ulong *p_Var1;\n  lang_input_statement_type *entry;\n  bfd *pbVar2;\n  ulong uVar3;\n  bfd_architecture bVar4;\n  bfd_boolean bVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);\n  pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd);\n  filler_bfd = pbVar2;\n  entry->the_bfd = pbVar2;\n  if (pbVar2 != (bfd *)0x0) {\n    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;\n    uVar3 = bfd_get_mach(link_info.output_bfd);\n    bVar4 = bfd_get_arch(link_info.output_bfd);\n    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);\n    if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar7 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  pcVar7 = (char *)dcgettext(0,pcVar7,5);\n  einfo(pcVar7);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "build_filler_bfd(int include_edata)" identifier (parameter_list "(int include_edata)" ( (parameter_declaration "int include_edata" primitive_type identifier) ))) (compound_statement "{\n  _func_bfd_boolean_bfd_ptr_bfd_architecture_ulong *p_Var1;\n  lang_input_statement_type *entry;\n  bfd *pbVar2;\n  ulong uVar3;\n  bfd_architecture bVar4;\n  bfd_boolean bVar5;\n  int iVar6;\n  char *pcVar7;\n  \n  entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);\n  pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd);\n  filler_bfd = pbVar2;\n  entry->the_bfd = pbVar2;\n  if (pbVar2 != (bfd *)0x0) {\n    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;\n    uVar3 = bfd_get_mach(link_info.output_bfd);\n    bVar4 = bfd_get_arch(link_info.output_bfd);\n    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);\n    if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar7 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  pcVar7 = (char *)dcgettext(0,pcVar7,5);\n  einfo(pcVar7);\n  return;\n}" { (declaration "_func_bfd_boolean_bfd_ptr_bfd_architecture_ulong *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "lang_input_statement_type *entry;" type_identifier (pointer_declarator "*entry" * identifier) ;) (declaration "bfd *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "bfd_architecture bVar4;" type_identifier identifier ;) (declaration "bfd_boolean bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (expression_statement "entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);" (assignment_expression "entry = lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0)" identifier = (call_expression "lang_add_input_file("dll stuff",lang_input_file_is_fake_enum,(char *)0x0)" identifier (argument_list "("dll stuff",lang_input_file_is_fake_enum,(char *)0x0)" ( (string_literal ""dll stuff"" " string_content ") , identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd);" (assignment_expression "pbVar2 = (bfd *)bfd_create("dll stuff",link_info.output_bfd)" identifier = (cast_expression "(bfd *)bfd_create("dll stuff",link_info.output_bfd)" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_create("dll stuff",link_info.output_bfd)" identifier (argument_list "("dll stuff",link_info.output_bfd)" ( (string_literal ""dll stuff"" " string_content ") , (field_expression "link_info.output_bfd" identifier . field_identifier) ))))) ;) (expression_statement "filler_bfd = pbVar2;" (assignment_expression "filler_bfd = pbVar2" identifier = identifier) ;) (expression_statement "entry->the_bfd = pbVar2;" (assignment_expression "entry->the_bfd = pbVar2" (field_expression "entry->the_bfd" identifier -> field_identifier) = identifier) ;) (if_statement "if (pbVar2 != (bfd *)0x0) {\n    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;\n    uVar3 = bfd_get_mach(link_info.output_bfd);\n    bVar4 = bfd_get_arch(link_info.output_bfd);\n    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);\n    if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" if (parenthesized_expression "(pbVar2 != (bfd *)0x0)" ( (binary_expression "pbVar2 != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;\n    uVar3 = bfd_get_mach(link_info.output_bfd);\n    bVar4 = bfd_get_arch(link_info.output_bfd);\n    bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);\n    if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" { (expression_statement "p_Var1 = pbVar2->xvec->_bfd_set_arch_mach;" (assignment_expression "p_Var1 = pbVar2->xvec->_bfd_set_arch_mach" identifier = (field_expression "pbVar2->xvec->_bfd_set_arch_mach" (field_expression "pbVar2->xvec" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "uVar3 = bfd_get_mach(link_info.output_bfd);" (assignment_expression "uVar3 = bfd_get_mach(link_info.output_bfd)" identifier = (call_expression "bfd_get_mach(link_info.output_bfd)" identifier (argument_list "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )))) ;) (expression_statement "bVar4 = bfd_get_arch(link_info.output_bfd);" (assignment_expression "bVar4 = bfd_get_arch(link_info.output_bfd)" identifier = (call_expression "bfd_get_arch(link_info.output_bfd)" identifier (argument_list "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )))) ;) (expression_statement "bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3);" (assignment_expression "bVar5 = (*p_Var1)(filler_bfd,bVar4,uVar3)" identifier = (call_expression "(*p_Var1)(filler_bfd,bVar4,uVar3)" (parenthesized_expression "(*p_Var1)" ( (pointer_expression "*p_Var1" * identifier) )) (argument_list "(filler_bfd,bVar4,uVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (bVar5 != 0) {\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" if (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" { (if_statement "if (include_edata == 0) {\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }" if (parenthesized_expression "(include_edata == 0)" ( (binary_expression "include_edata == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");\n        if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }\n        pcVar7 = "%X%P: can not create .reloc section: %E\n";\n      }" { (labeled_statement "LAB_00061b44:\n        reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");" statement_identifier : (expression_statement "reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc");" (assignment_expression "reloc_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc")" identifier = (cast_expression "(bfd_section *)bfd_make_section_old_way(filler_bfd,".reloc")" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_make_section_old_way(filler_bfd,".reloc")" identifier (argument_list "(filler_bfd,".reloc")" ( identifier , (string_literal "".reloc"" " string_content ") ))))) ;)) (if_statement "if (reloc_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }" if (parenthesized_expression "(reloc_s != (bfd_section *)0x0)" ( (binary_expression "reloc_s != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }\n        }" { (expression_statement "iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103);" (assignment_expression "iVar6 = bfd_set_section_flags(filler_bfd,reloc_s,0x204103)" identifier = (call_expression "bfd_set_section_flags(filler_bfd,reloc_s,0x204103)" identifier (argument_list "(filler_bfd,reloc_s,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(filler_bfd,reloc_s,0,0);\n            ldlang_add_file(entry);\n            return;\n          }" { (expression_statement "bfd_set_section_size(filler_bfd,reloc_s,0,0);" (call_expression "bfd_set_section_size(filler_bfd,reloc_s,0,0)" identifier (argument_list "(filler_bfd,reloc_s,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "ldlang_add_file(entry);" (call_expression "ldlang_add_file(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "pcVar7 = "%X%P: can not create .reloc section: %E\n";" (assignment_expression "pcVar7 = "%X%P: can not create .reloc section: %E\n"" identifier = (string_literal ""%X%P: can not create .reloc section: %E\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }" else (compound_statement "{\n        edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");\n        if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar7 = "%X%P: can not create .edata section: %E\n";\n      }" { (expression_statement "edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata");" (assignment_expression "edata_s = (bfd_section *)bfd_make_section_old_way(filler_bfd,".edata")" identifier = (cast_expression "(bfd_section *)bfd_make_section_old_way(filler_bfd,".edata")" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bfd_make_section_old_way(filler_bfd,".edata")" identifier (argument_list "(filler_bfd,".edata")" ( identifier , (string_literal "".edata"" " string_content ") ))))) ;) (if_statement "if (edata_s != (bfd_section *)0x0) {\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }" if (parenthesized_expression "(edata_s != (bfd_section *)0x0)" ( (binary_expression "edata_s != (bfd_section *)0x0" identifier != (cast_expression "(bfd_section *)0x0" ( (type_descriptor "bfd_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);\n          if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }\n        }" { (expression_statement "iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103);" (assignment_expression "iVar6 = bfd_set_section_flags(filler_bfd,edata_s,0x204103)" identifier = (call_expression "bfd_set_section_flags(filler_bfd,edata_s,0x204103)" identifier (argument_list "(filler_bfd,edata_s,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar6 != 0) {\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);\n            goto LAB_00061b44;\n          }" { (expression_statement "bfd_set_section_size(filler_bfd,edata_s,edata_sz,0);" (call_expression "bfd_set_section_size(filler_bfd,edata_s,edata_sz,0)" identifier (argument_list "(filler_bfd,edata_s,edata_sz,0)" ( identifier , identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_00061b44;" goto statement_identifier ;) })) })) (expression_statement "pcVar7 = "%X%P: can not create .edata section: %E\n";" (assignment_expression "pcVar7 = "%X%P: can not create .edata section: %E\n"" identifier = (string_literal ""%X%P: can not create .edata section: %E\n"" " string_content escape_sequence ")) ;) }))) (goto_statement "goto LAB_00061b87;" goto statement_identifier ;) })) })) (expression_statement "pcVar7 = "%F%P: can not create BFD: %E\n";" (assignment_expression "pcVar7 = "%F%P: can not create BFD: %E\n"" identifier = (string_literal ""%F%P: can not create BFD: %E\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_00061b87:\n  pcVar7 = (char *)dcgettext(0,pcVar7,5);" statement_identifier : (expression_statement "pcVar7 = (char *)dcgettext(0,pcVar7,5);" (assignment_expression "pcVar7 = (char *)dcgettext(0,pcVar7,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar7,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar7,5)" identifier (argument_list "(0,pcVar7,5)" ( number_literal , identifier , number_literal ))))) ;)) (expression_statement "einfo(pcVar7);" (call_expression "einfo(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00061a40(int param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00061a40(int param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00061a40(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "iVar2 = FUN_00023ea0("dll stuff",3,0);" (assignment_expression "iVar2 = FUN_00023ea0("dll stuff",3,0)" identifier = (call_expression "FUN_00023ea0("dll stuff",3,0)" identifier (argument_list "("dll stuff",3,0)" ( (string_literal ""dll stuff"" " string_content ") , number_literal , number_literal )))) ;) (expression_statement "iVar3 = bfd_create("dll stuff",DAT_001d1414);" (assignment_expression "iVar3 = bfd_create("dll stuff",DAT_001d1414)" identifier = (call_expression "bfd_create("dll stuff",DAT_001d1414)" identifier (argument_list "("dll stuff",DAT_001d1414)" ( (string_literal ""dll stuff"" " string_content ") , identifier )))) ;) (expression_statement "DAT_001d12a0 = iVar3;" (assignment_expression "DAT_001d12a0 = iVar3" identifier = identifier) ;) (expression_statement "*(int *)(iVar2 + 0x10) = iVar3;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" { (expression_statement "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);" (assignment_expression "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154)" identifier = (pointer_expression "*(code **)(*(int *)(iVar3 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(iVar3 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar3 + 4) + 0x154)" ( (binary_expression "*(int *)(iVar3 + 4) + 0x154" (pointer_expression "*(int *)(iVar3 + 4)" * (cast_expression "(int *)(iVar3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar4 = bfd_get_mach(DAT_001d1414);" (assignment_expression "uVar4 = bfd_get_mach(DAT_001d1414)" identifier = (call_expression "bfd_get_mach(DAT_001d1414)" identifier (argument_list "(DAT_001d1414)" ( identifier )))) ;) (expression_statement "uVar5 = bfd_get_arch(DAT_001d1414);" (assignment_expression "uVar5 = bfd_get_arch(DAT_001d1414)" identifier = (call_expression "bfd_get_arch(DAT_001d1414)" identifier (argument_list "(DAT_001d1414)" ( identifier )))) ;) (expression_statement "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);" (assignment_expression "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4)" identifier = (call_expression "(*pcVar1)(DAT_001d12a0,uVar5,uVar4)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(DAT_001d12a0,uVar5,uVar4)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" { (if_statement "if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }" { (labeled_statement "LAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" statement_identifier : (expression_statement "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" (assignment_expression "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc")" identifier = (call_expression "bfd_make_section_old_way(DAT_001d12a0,".reloc")" identifier (argument_list "(DAT_001d12a0,".reloc")" ( identifier , (string_literal "".reloc"" " string_content ") )))) ;)) (if_statement "if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" if (parenthesized_expression "(DAT_001d1298 != 0)" ( (binary_expression "DAT_001d1298 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" { (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" identifier = (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" identifier (argument_list "(DAT_001d12a0,DAT_001d1298,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" { (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0)" identifier (argument_list "(DAT_001d12a0,DAT_001d1298,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "FUN_000276a0(iVar2);" (call_expression "FUN_000276a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })) })) (expression_statement "pcVar6 = "%X%P: can not create .reloc section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .reloc section: %E\n"" identifier = (string_literal ""%X%P: can not create .reloc section: %E\n"" " string_content escape_sequence ")) ;) }) (else_clause "else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" else (compound_statement "{\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" { (expression_statement "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");" (assignment_expression "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata")" identifier = (call_expression "bfd_make_section_old_way(DAT_001d12a0,".edata")" identifier (argument_list "(DAT_001d12a0,".edata")" ( identifier , (string_literal "".edata"" " string_content ") )))) ;) (if_statement "if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" if (parenthesized_expression "(DAT_001d129c != 0)" ( (binary_expression "DAT_001d129c != 0" identifier != number_literal) )) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" { (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" identifier = (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" identifier (argument_list "(DAT_001d12a0,DAT_001d129c,0x204103)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" { (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" identifier (argument_list "(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" ( identifier , identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_00061b44;" goto statement_identifier ;) })) })) (expression_statement "pcVar6 = "%X%P: can not create .edata section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .edata section: %E\n"" identifier = (string_literal ""%X%P: can not create .edata section: %E\n"" " string_content escape_sequence ")) ;) }))) (goto_statement "goto LAB_00061b87;" goto statement_identifier ;) })) })) (expression_statement "pcVar6 = "%F%P: can not create BFD: %E\n";" (assignment_expression "pcVar6 = "%F%P: can not create BFD: %E\n"" identifier = (string_literal ""%F%P: can not create BFD: %E\n"" " string_content escape_sequence ")) ;) (labeled_statement "LAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);" statement_identifier : (expression_statement "uVar4 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar6,5)" identifier = (call_expression "dcgettext(0,pcVar6,5)" identifier (argument_list "(0,pcVar6,5)" ( number_literal , identifier , number_literal )))) ;)) (expression_statement "FUN_00034d20(uVar4);" (call_expression "FUN_00034d20(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) }))) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content escape_sequence ")) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , LIT )))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00061a40(int param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00061a40(int param_1)" (identifier "FUN_00061a40") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  \n  iVar2 = FUN_00023ea0("dll stuff",3,0);\n  iVar3 = bfd_create("dll stuff",DAT_001d1414);\n  DAT_001d12a0 = iVar3;\n  *(int *)(iVar2 + 0x10) = iVar3;\n  if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }\n  pcVar6 = "%F%P: can not create BFD: %E\n";\nLAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);\n  FUN_00034d20(uVar4);\n  return;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (expression_statement "iVar2 = FUN_00023ea0("dll stuff",3,0);" (assignment_expression "iVar2 = FUN_00023ea0("dll stuff",3,0)" (identifier "iVar2") (= "=") (call_expression "FUN_00023ea0("dll stuff",3,0)" (identifier "FUN_00023ea0") (argument_list "("dll stuff",3,0)" (( "(") (string_literal ""dll stuff"" (" """) (string_content "dll stuff") (" """)) (, ",") (number_literal "3") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar3 = bfd_create("dll stuff",DAT_001d1414);" (assignment_expression "iVar3 = bfd_create("dll stuff",DAT_001d1414)" (identifier "iVar3") (= "=") (call_expression "bfd_create("dll stuff",DAT_001d1414)" (identifier "bfd_create") (argument_list "("dll stuff",DAT_001d1414)" (( "(") (string_literal ""dll stuff"" (" """) (string_content "dll stuff") (" """)) (, ",") (identifier "DAT_001d1414") () ")")))) (; ";")) (expression_statement "DAT_001d12a0 = iVar3;" (assignment_expression "DAT_001d12a0 = iVar3" (identifier "DAT_001d12a0") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar2 + 0x10) = iVar3;" (assignment_expression "*(int *)(iVar2 + 0x10) = iVar3" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 != 0) {\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);\n    uVar4 = bfd_get_mach(DAT_001d1414);\n    uVar5 = bfd_get_arch(DAT_001d1414);\n    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);\n    if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }\n  }" ({ "{") (expression_statement "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);" (assignment_expression "pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(*(int *)(iVar3 + 4) + 0x154)" (* "*") (cast_expression "(code **)(*(int *)(iVar3 + 4) + 0x154)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 4) + 0x154)" (( "(") (binary_expression "*(int *)(iVar3 + 4) + 0x154" (pointer_expression "*(int *)(iVar3 + 4)" (* "*") (cast_expression "(int *)(iVar3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x154")) () ")"))))) (; ";")) (expression_statement "uVar4 = bfd_get_mach(DAT_001d1414);" (assignment_expression "uVar4 = bfd_get_mach(DAT_001d1414)" (identifier "uVar4") (= "=") (call_expression "bfd_get_mach(DAT_001d1414)" (identifier "bfd_get_mach") (argument_list "(DAT_001d1414)" (( "(") (identifier "DAT_001d1414") () ")")))) (; ";")) (expression_statement "uVar5 = bfd_get_arch(DAT_001d1414);" (assignment_expression "uVar5 = bfd_get_arch(DAT_001d1414)" (identifier "uVar5") (= "=") (call_expression "bfd_get_arch(DAT_001d1414)" (identifier "bfd_get_arch") (argument_list "(DAT_001d1414)" (( "(") (identifier "DAT_001d1414") () ")")))) (; ";")) (expression_statement "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);" (assignment_expression "iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4)" (identifier "iVar3") (= "=") (call_expression "(*pcVar1)(DAT_001d12a0,uVar5,uVar4)" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "(DAT_001d12a0,uVar5,uVar4)" (( "(") (identifier "DAT_001d12a0") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }\n      goto LAB_00061b87;\n    }" ({ "{") (if_statement "if (param_1 == 0) {\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }\n      else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");\n        if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }\n        pcVar6 = "%X%P: can not create .reloc section: %E\n";\n      }" ({ "{") (labeled_statement "LAB_00061b44:\n        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" (statement_identifier "LAB_00061b44") (: ":") (expression_statement "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");" (assignment_expression "DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc")" (identifier "DAT_001d1298") (= "=") (call_expression "bfd_make_section_old_way(DAT_001d12a0,".reloc")" (identifier "bfd_make_section_old_way") (argument_list "(DAT_001d12a0,".reloc")" (( "(") (identifier "DAT_001d12a0") (, ",") (string_literal "".reloc"" (" """) (string_content ".reloc") (" """)) () ")")))) (; ";"))) (if_statement "if (DAT_001d1298 != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" (if "if") (parenthesized_expression "(DAT_001d1298 != 0)" (( "(") (binary_expression "DAT_001d1298 != 0" (identifier "DAT_001d1298") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }\n        }" ({ "{") (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" (identifier "iVar3") (= "=") (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103)" (identifier "bfd_set_section_flags") (argument_list "(DAT_001d12a0,DAT_001d1298,0x204103)" (( "(") (identifier "DAT_001d12a0") (, ",") (identifier "DAT_001d1298") (, ",") (number_literal "0x204103") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);\n            FUN_000276a0(iVar2);\n            return;\n          }" ({ "{") (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0)" (identifier "bfd_set_section_size") (argument_list "(DAT_001d12a0,DAT_001d1298,0,0)" (( "(") (identifier "DAT_001d12a0") (, ",") (identifier "DAT_001d1298") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000276a0(iVar2);" (call_expression "FUN_000276a0(iVar2)" (identifier "FUN_000276a0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar6 = "%X%P: can not create .reloc section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .reloc section: %E\n"" (identifier "pcVar6") (= "=") (string_literal ""%X%P: can not create .reloc section: %E\n"" (" """) (string_content "%X%P: can not create .reloc section: %E") (escape_sequence "\n") (" """))) (; ";")) (} "}")) (else_clause "else {\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" (else "else") (compound_statement "{\n        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");\n        if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }\n        pcVar6 = "%X%P: can not create .edata section: %E\n";\n      }" ({ "{") (expression_statement "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");" (assignment_expression "DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata")" (identifier "DAT_001d129c") (= "=") (call_expression "bfd_make_section_old_way(DAT_001d12a0,".edata")" (identifier "bfd_make_section_old_way") (argument_list "(DAT_001d12a0,".edata")" (( "(") (identifier "DAT_001d12a0") (, ",") (string_literal "".edata"" (" """) (string_content ".edata") (" """)) () ")")))) (; ";")) (if_statement "if (DAT_001d129c != 0) {\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" (if "if") (parenthesized_expression "(DAT_001d129c != 0)" (( "(") (binary_expression "DAT_001d129c != 0" (identifier "DAT_001d129c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);\n          if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }\n        }" ({ "{") (expression_statement "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);" (assignment_expression "iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" (identifier "iVar3") (= "=") (call_expression "bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103)" (identifier "bfd_set_section_flags") (argument_list "(DAT_001d12a0,DAT_001d129c,0x204103)" (( "(") (identifier "DAT_001d12a0") (, ",") (identifier "DAT_001d129c") (, ",") (number_literal "0x204103") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);\n            goto LAB_00061b44;\n          }" ({ "{") (expression_statement "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);" (call_expression "bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" (identifier "bfd_set_section_size") (argument_list "(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0)" (( "(") (identifier "DAT_001d12a0") (, ",") (identifier "DAT_001d129c") (, ",") (identifier "DAT_001d128c") (, ",") (number_literal "0") () ")"))) (; ";")) (goto_statement "goto LAB_00061b44;" (goto "goto") (statement_identifier "LAB_00061b44") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar6 = "%X%P: can not create .edata section: %E\n";" (assignment_expression "pcVar6 = "%X%P: can not create .edata section: %E\n"" (identifier "pcVar6") (= "=") (string_literal ""%X%P: can not create .edata section: %E\n"" (" """) (string_content "%X%P: can not create .edata section: %E") (escape_sequence "\n") (" """))) (; ";")) (} "}")))) (goto_statement "goto LAB_00061b87;" (goto "goto") (statement_identifier "LAB_00061b87") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar6 = "%F%P: can not create BFD: %E\n";" (assignment_expression "pcVar6 = "%F%P: can not create BFD: %E\n"" (identifier "pcVar6") (= "=") (string_literal ""%F%P: can not create BFD: %E\n"" (" """) (string_content "%F%P: can not create BFD: %E") (escape_sequence "\n") (" """))) (; ";")) (labeled_statement "LAB_00061b87:\n  uVar4 = dcgettext(0,pcVar6,5);" (statement_identifier "LAB_00061b87") (: ":") (expression_statement "uVar4 = dcgettext(0,pcVar6,5);" (assignment_expression "uVar4 = dcgettext(0,pcVar6,5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,pcVar6,5)" (identifier "dcgettext") (argument_list "(0,pcVar6,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar6") (, ",") (number_literal "5") () ")")))) (; ";"))) (expression_statement "FUN_00034d20(uVar4);" (call_expression "FUN_00034d20(uVar4)" (identifier "FUN_00034d20") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(int var_7)

{
  type_1 *p_Var1;
  type_2 *entry;
  type_3 *var_3;
  type_4 uVar3;
  type_5 bVar4;
  type_6 var_6;
  int var_11;
  char *pcVar7;
  
  entry = var_1("dll stuff",lang_input_file_is_fake_enum,(char *)0x0);
  var_3 = (type_3 *)var_2("dll stuff",link_info.output_bfd);
  filler_bfd = var_3;
  entry->the_bfd = var_3;
  if (var_3 != (type_3 *)0x0) {
    p_Var1 = var_3->xvec->_bfd_set_arch_mach;
    uVar3 = var_4(link_info.output_bfd);
    bVar4 = var_5(link_info.output_bfd);
    var_6 = (*p_Var1)(filler_bfd,bVar4,uVar3);
    if (var_6 != 0) {
      if (var_7 == 0) {
LAB_00061b44:
        var_9 = (type_7 *)var_8(filler_bfd,".reloc");
        if (var_9 != (type_7 *)0x0) {
          var_11 = var_10(filler_bfd,var_9,0x204103);
          if (var_11 != 0) {
            var_12(filler_bfd,var_9,0,0);
            var_13(entry);
            return;
          }
        }
        pcVar7 = "%X%P: can not create .reloc section: %E\n";
      }
      else {
        var_14 = (type_7 *)var_8(filler_bfd,".edata");
        if (var_14 != (type_7 *)0x0) {
          var_11 = var_10(filler_bfd,var_14,0x204103);
          if (var_11 != 0) {
            var_12(filler_bfd,var_14,edata_sz,0);
            goto LAB_00061b44;
          }
        }
        pcVar7 = "%X%P: can not create .edata section: %E\n";
      }
      goto LAB_00061b87;
    }
  }
  pcVar7 = "%F%P: can not create BFD: %E\n";
LAB_00061b87:
  pcVar7 = (char *)var_15(0,pcVar7,5);
  var_16(pcVar7);
  return;
}


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

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

void __regparm3 MASKED(int param_1)

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char *pcVar6;
  
  iVar2 = FUN_00023ea0("dll stuff",3,0);
  iVar3 = bfd_create("dll stuff",DAT_001d1414);
  DAT_001d12a0 = iVar3;
  *(int *)(iVar2 + 0x10) = iVar3;
  if (iVar3 != 0) {
    pcVar1 = *(code **)(*(int *)(iVar3 + 4) + 0x154);
    uVar4 = bfd_get_mach(DAT_001d1414);
    uVar5 = bfd_get_arch(DAT_001d1414);
    iVar3 = (*pcVar1)(DAT_001d12a0,uVar5,uVar4);
    if (iVar3 != 0) {
      if (param_1 == 0) {
LAB_00061b44:
        DAT_001d1298 = bfd_make_section_old_way(DAT_001d12a0,".reloc");
        if (DAT_001d1298 != 0) {
          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d1298,0x204103);
          if (iVar3 != 0) {
            bfd_set_section_size(DAT_001d12a0,DAT_001d1298,0,0);
            FUN_000276a0(iVar2);
            return;
          }
        }
        pcVar6 = "%X%P: can not create .reloc section: %E\n";
      }
      else {
        DAT_001d129c = bfd_make_section_old_way(DAT_001d12a0,".edata");
        if (DAT_001d129c != 0) {
          iVar3 = bfd_set_section_flags(DAT_001d12a0,DAT_001d129c,0x204103);
          if (iVar3 != 0) {
            bfd_set_section_size(DAT_001d12a0,DAT_001d129c,DAT_001d128c,0);
            goto LAB_00061b44;
          }
        }
        pcVar6 = "%X%P: can not create .edata section: %E\n";
      }
      goto LAB_00061b87;
    }
  }
  pcVar6 = "%F%P: can not create BFD: %E\n";
LAB_00061b87:
  uVar4 = dcgettext(0,pcVar6,5);
  FUN_00034d20(uVar4);
  return;
}

