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

bfd_boolean __regparm3
load_specific_debug_section(dwarf_section_display_enum debug,asection *sec,void *file)

{
  uint uVar1;
  bfd_boolean bVar2;
  int iVar3;
  char *pcVar4;
  void *pvVar5;
  bfd *abfd;
  int iVar6;
  undefined4 uVar7;
  bfd_byte *contents;
  undefined4 uStack_14;
  
  uStack_14 = 0x1c349;
                    /* WARNING: Load size is inaccurate */
  pcVar4 = *file;
  pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40);
  if (pvVar5 != (void *)0x0) {
    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);
    if (iVar3 == 0) {
      return 1;
    }
    free(pvVar5);
                    /* WARNING: Load size is inaccurate */
    pcVar4 = *file;
  }
  iVar6 = debug * 0x40;
  *(char **)(&DAT_0007356c + iVar6) = pcVar4;
  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;
  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;
  uVar7 = *(undefined4 *)((int)&sec->vma + 4);
  *(int *)(&DAT_00073574 + iVar6) = (int)sec->vma;
  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;
  uVar1 = (uint)sec->size;
  iVar3 = *(int *)((int)&sec->size + 4);
  *(uint *)(&DAT_0007357c + iVar6) = uVar1;
  *(int *)(&DAT_00073580 + iVar6) = iVar3;
  contents = (bfd_byte *)malloc(uVar1 + 1);
  *(asection **)(&DAT_00073590 + iVar6) = sec;
  *(bfd_byte **)(&DAT_00073570 + iVar6) = contents;
  if (((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))
     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,
        iVar3 == 0)) {
    free_debug_section(debug);
    uVar7 = (&DAT_00073568)[debug * 0x10];
  }
  else {
    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;
    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {
      return 1;
    }
    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));
    iVar3 = bfd_simple_get_relocated_section_contents
                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);
    if (iVar3 != 0) {
      iVar3 = bfd_get_reloc_upper_bound(file,sec);
      if (iVar3 < 1) {
        return 1;
      }
      pvVar5 = (void *)xmalloc(iVar3);
      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);
      if (iVar3 != 0) {
        *(void **)(&DAT_00073588 + iVar6) = pvVar5;
        *(int *)(&DAT_0007358c + iVar6) = iVar3;
        return 1;
      }
      free(pvVar5);
      return 1;
    }
    free_debug_section(debug);
    uVar7 = (&DAT_00073568)[debug * 0x10];
  }
  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);
  printf(pcVar4,uVar7);
  return 0;
}



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

undefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  char *pcVar4;
  void *pvVar5;
  int iVar6;
  undefined4 uVar7;
  void *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1c349;
  pcVar4 = (char *)*param_3;
  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);
  if (pvVar5 != (void *)0x0) {
    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);
    if (iVar2 == 0) {
      return 1;
    }
    free(pvVar5);
    pcVar4 = (char *)*param_3;
  }
  iVar6 = param_1 * 0x40;
  *(char **)(&DAT_0007356c + iVar6) = pcVar4;
  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;
  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;
  uVar7 = *(undefined4 *)(param_2 + 0x20);
  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);
  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;
  uVar1 = *(uint *)(param_2 + 0x2c);
  iVar2 = *(int *)(param_2 + 0x30);
  *(uint *)(&DAT_0007357c + iVar6) = uVar1;
  *(int *)(&DAT_00073580 + iVar6) = iVar2;
  local_20[0] = malloc(uVar1 + 1);
  *(int *)(&DAT_00073590 + iVar6) = param_2;
  *(void **)(&DAT_00073570 + iVar6) = local_20[0];
  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))
     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,
        iVar3 == 0)) {
    FUN_0001c2b0(param_1);
    uVar7 = (&DAT_00073568)[param_1 * 0x10];
  }
  else {
    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;
    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {
      return 1;
    }
    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));
    iVar2 = bfd_simple_get_relocated_section_contents
                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);
    if (iVar2 != 0) {
      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);
      if (iVar2 < 1) {
        return 1;
      }
      pvVar5 = (void *)xmalloc(iVar2);
      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);
      if (iVar2 != 0) {
        *(void **)(&DAT_00073588 + iVar6) = pvVar5;
        *(int *)(&DAT_0007358c + iVar6) = iVar2;
        return 1;
      }
      free(pvVar5);
      return 1;
    }
    FUN_0001c2b0(param_1);
    uVar7 = (&DAT_00073568)[param_1 * 0x10];
  }
  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);
  printf(pcVar4,uVar7);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000153d0
ADD EBX,0x56cb7
SUB ESP,0x3c
MOV dword ptr [ESP + 0x10],EAX
SHL EAX,0x6
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,EAX
MOV EAX,dword ptr [ECX]
MOV dword ptr [ESP + 0x18],ECX
LEA EDI,[EBX + 0x560]
ADD EDX,EDI
MOV dword ptr [ESP + 0x14],EDI
MOV ESI,dword ptr [EDX + 0x10]
TEST ESI,ESI
JZ 0x0001c3ae
SUB ESP,0x8
MOV EDI,ECX
PUSH EAX
PUSH dword ptr [EDX + 0xc]
CALL 0x00014080
ADD ESP,0x10
MOV EDX,0x1
TEST EAX,EAX
JNZ 0x0001c3a0
ADD ESP,0x3c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00014120
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x10]
SHL EBP,0x6
ADD EBP,dword ptr [ESP + 0x14]
MOV dword ptr [EBP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[EBP + 0x10]
MOV dword ptr [EBP + 0x28],0x0
MOV dword ptr [EBP + 0x2c],0x0
MOV ESI,dword ptr [EAX + 0x1c]
MOV EDI,dword ptr [EAX + 0x20]
MOV dword ptr [EBP + 0x14],ESI
MOV dword ptr [EBP + 0x18],EDI
MOV ESI,dword ptr [EAX + 0x2c]
MOV EDI,dword ptr [EAX + 0x30]
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [EBP + 0x1c],ESI
ADD ESI,0x1
MOV dword ptr [EBP + 0x20],EDI
ADC EDI,0x0
SUB ESP,0xc
MOV dword ptr [ESP + 0x28],EDX
PUSH ESI
CALL 0x000143b0
MOV ECX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x3c],EAX
ADD ESP,0x10
MOV dword ptr [EBP + 0x30],ECX
MOV ECX,ESI
OR ECX,EDI
MOV dword ptr [EBP + 0x10],EAX
JZ 0x0001c470
TEST EAX,EAX
MOV EDX,dword ptr [ESP + 0x1c]
JZ 0x0001c470
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0x4
LEA EAX,[ESP + 0x30]
PUSH EAX
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x24]
CALL 0x00014360
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001c470
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBX + 0x103c]
MOV EDX,dword ptr [EDX + 0xc]
MOV byte ptr [EAX + EDX*0x1],0x0
TEST EDI,EDI
JZ 0x0001c45e
MOV ESI,dword ptr [EBP + 0x3c]
TEST ESI,ESI
JNZ 0x0001c4b8
ADD ESP,0x3c
MOV EDX,0x1
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x0001c2b0
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x24]
SHL EAX,0x6
MOV ESI,dword ptr [ECX + EAX*0x1 + 0x8]
ADD ESP,0xc
LEA EAX,[EBX + 0xfffdc33c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141f0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x000140b0
ADD ESP,0x10
XOR EDX,EDX
ADD ESP,0x3c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH dword ptr [EBP + 0x10]
MOV ESI,dword ptr [ESP + 0x18]
PUSH ESI
CALL 0x000144b0
PUSH dword ptr [EBX + 0x1078]
PUSH dword ptr [EBP + 0x10]
PUSH ESI
PUSH dword ptr [ESP + 0x34]
CALL 0x00014650
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0001c528
SUB ESP,0x8
PUSH dword ptr [ESP + 0x14]
MOV EDI,dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x00014770
ADD ESP,0x10
TEST EAX,EAX
JLE 0x0001c45e
SUB ESP,0xc
PUSH EAX
CALL 0x000142b0
PUSH 0x0
PUSH EAX
MOV ESI,EAX
PUSH dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x000146f0
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0001c53c
MOV dword ptr [EBP + 0x28],ESI
MOV dword ptr [EBP + 0x2c],EAX
JMP 0x0001c45e
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001c2b0
MOV ESI,dword ptr [EBP + 0x8]
JMP 0x0001c48a
SUB ESP,0xc
PUSH ESI
CALL 0x00014120
ADD ESP,0x10
MOV EDX,0x1
JMP 0x0001c392
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c340(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "void *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1c349;" (assignment_expression "uStack_14 = 0x1c349" identifier = number_literal) ;) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);" (assignment_expression "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40)" identifier = (pointer_expression "*(void **)(&DAT_00073570 + param_1 * 0x40)" * (cast_expression "(void **)(&DAT_00073570 + param_1 * 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + param_1 * 0x40)" ( (binary_expression "&DAT_00073570 + param_1 * 0x40" (pointer_expression "&DAT_00073570" & identifier) + (binary_expression "param_1 * 0x40" identifier * number_literal)) ))))) ;) (if_statement "if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" if (parenthesized_expression "(pvVar5 != (void *)0x0)" ( (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" { (expression_statement "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);" (assignment_expression "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" identifier = (call_expression "strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" identifier (argument_list "(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" ( (pointer_expression "*(char **)(&DAT_0007356c + param_1 * 0x40)" * (cast_expression "(char **)(&DAT_0007356c + param_1 * 0x40)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + param_1 * 0x40)" ( (binary_expression "&DAT_0007356c + param_1 * 0x40" (pointer_expression "&DAT_0007356c" & identifier) + (binary_expression "param_1 * 0x40" identifier * number_literal)) )))) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) })) (expression_statement "iVar6 = param_1 * 0x40;" (assignment_expression "iVar6 = param_1 * 0x40" identifier = (binary_expression "param_1 * 0x40" identifier * number_literal)) ;) (expression_statement "*(char **)(&DAT_0007356c + iVar6) = pcVar4;" (assignment_expression "*(char **)(&DAT_0007356c + iVar6) = pcVar4" (pointer_expression "*(char **)(&DAT_0007356c + iVar6)" * (cast_expression "(char **)(&DAT_0007356c + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + iVar6)" ( (binary_expression "&DAT_0007356c + iVar6" (pointer_expression "&DAT_0007356c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00073588 + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00073588 + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_00073588 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073588 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(&DAT_0007358c + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_0007358c + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_0007358c + iVar6)" * (cast_expression "(undefined4 *)(&DAT_0007358c + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar7 = *(undefined4 *)(param_2 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*(undefined4 *)(&DAT_00073574 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073574 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073574 + iVar6)" ( (binary_expression "&DAT_00073574 + iVar6" (pointer_expression "&DAT_00073574" & identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;" (assignment_expression "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7" (pointer_expression "*(undefined4 *)(&DAT_00073578 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073578 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073578 + iVar6)" ( (binary_expression "&DAT_00073578 + iVar6" (pointer_expression "&DAT_00073578" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(&DAT_0007357c + iVar6) = uVar1;" (assignment_expression "*(uint *)(&DAT_0007357c + iVar6) = uVar1" (pointer_expression "*(uint *)(&DAT_0007357c + iVar6)" * (cast_expression "(uint *)(&DAT_0007357c + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_00073580 + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_00073580 + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_00073580 + iVar6)" * (cast_expression "(int *)(&DAT_00073580 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073580 + iVar6)" ( (binary_expression "&DAT_00073580 + iVar6" (pointer_expression "&DAT_00073580" & identifier) + identifier) )))) = identifier) ;) (expression_statement "local_20[0] = malloc(uVar1 + 1);" (assignment_expression "local_20[0] = malloc(uVar1 + 1)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "malloc(uVar1 + 1)" identifier (argument_list "(uVar1 + 1)" ( (binary_expression "uVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "*(int *)(&DAT_00073590 + iVar6) = param_2;" (assignment_expression "*(int *)(&DAT_00073590 + iVar6) = param_2" (pointer_expression "*(int *)(&DAT_00073590 + iVar6)" * (cast_expression "(int *)(&DAT_00073590 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073590 + iVar6)" ( (binary_expression "&DAT_00073590 + iVar6" (pointer_expression "&DAT_00073590" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(void **)(&DAT_00073570 + iVar6) = local_20[0];" (assignment_expression "*(void **)(&DAT_00073570 + iVar6) = local_20[0]" (pointer_expression "*(void **)(&DAT_00073570 + iVar6)" * (cast_expression "(void **)(&DAT_00073570 + iVar6)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" if (parenthesized_expression "(((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0))" ( (binary_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" (parenthesized_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))" ( (binary_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0)" (parenthesized_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0)" ( (binary_expression "uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "uVar1 + 1 == 0" (binary_expression "uVar1 + 1" identifier + number_literal) == number_literal) && (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1)" identifier + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < identifier) )))) == number_literal)) )) || (parenthesized_expression "(local_20[0] == (void *)0x0)" ( (binary_expression "local_20[0] == (void *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" ( (comma_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20)" identifier = (call_expression "bfd_get_full_section_contents(param_3,param_2,local_20)" identifier (argument_list "(param_3,param_2,local_20)" ( identifier , identifier , identifier )))) , (comma_expression "iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar2 = DAT_0007403c" identifier = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" { (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "param_1 * 0x10" identifier * number_literal) ])) ;) }) (else_clause "else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" else (compound_statement "{\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" { (expression_statement "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0" (pointer_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" * (cast_expression "(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (binary_expression "*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)" (pointer_expression "*(int *)(&DAT_00073570 + iVar6)" * (cast_expression "(int *)(&DAT_00073570 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) + (pointer_expression "*(int *)(&DAT_0007357c + iVar6)" * (cast_expression "(int *)(&DAT_0007357c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) ))))) )))) = number_literal) ;) (if_statement "if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }" if (parenthesized_expression "((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0))" ( (binary_expression "(iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(&DAT_0007359c + iVar6) == 0)" ( (binary_expression "*(int *)(&DAT_0007359c + iVar6) == 0" (pointer_expression "*(int *)(&DAT_0007359c + iVar6)" * (cast_expression "(int *)(&DAT_0007359c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007359c + iVar6)" ( (binary_expression "&DAT_0007359c + iVar6" (pointer_expression "&DAT_0007359c" & identifier) + identifier) )))) == number_literal) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));" (call_expression "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" identifier (argument_list "(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" ( identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) ))) ;) (expression_statement "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);" (assignment_expression "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" identifier = (call_expression "bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" identifier (argument_list "(param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" { (expression_statement "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);" (assignment_expression "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_3,param_2)" identifier (argument_list "(param_3,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 < 1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pvVar5 = (void *)xmalloc(iVar2);" (assignment_expression "pvVar5 = (void *)xmalloc(iVar2)" identifier = (cast_expression "(void *)xmalloc(iVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);" (assignment_expression "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" identifier = (call_expression "bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" identifier (argument_list "(param_3,param_2,pvVar5,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" { (expression_statement "*(void **)(&DAT_00073588 + iVar6) = pvVar5;" (assignment_expression "*(void **)(&DAT_00073588 + iVar6) = pvVar5" (pointer_expression "*(void **)(&DAT_00073588 + iVar6)" * (cast_expression "(void **)(&DAT_00073588 + iVar6)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_0007358c + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_0007358c + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_0007358c + iVar6)" * (cast_expression "(int *)(&DAT_0007358c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "param_1 * 0x10" identifier * number_literal) ])) ;) }))) (expression_statement "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier (argument_list "(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( number_literal , (string_literal ""\nCan\'t get contents for section \'%s\'.\n"" " escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar4,uVar7);" (call_expression "printf(pcVar4,uVar7)" identifier (argument_list "(pcVar4,uVar7)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3\nload_specific_debug_section(dwarf_section_display_enum debug,asection *sec,void *file)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  bfd *abfd;\n  int iVar6;\n  undefined4 uVar7;\n  bfd_byte *contents;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n                    /* WARNING: Load size is inaccurate */\n  pcVar4 = *file;\n  pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);\n    if (iVar3 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = *file;\n  }\n  iVar6 = debug * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)((int)&sec->vma + 4);\n  *(int *)(&DAT_00073574 + iVar6) = (int)sec->vma;\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = (uint)sec->size;\n  iVar3 = *(int *)((int)&sec->size + 4);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar3;\n  contents = (bfd_byte *)malloc(uVar1 + 1);\n  *(asection **)(&DAT_00073590 + iVar6) = sec;\n  *(bfd_byte **)(&DAT_00073570 + iVar6) = contents;\n  if (((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)) {\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}\n\n" comment (function_definition "bfd_boolean __regparm3\nload_specific_debug_section(dwarf_section_display_enum debug,asection *sec,void *file)\n\n{\n  uint uVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  bfd *abfd;\n  int iVar6;\n  undefined4 uVar7;\n  bfd_byte *contents;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n                    /* WARNING: Load size is inaccurate */\n  pcVar4 = *file;\n  pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);\n    if (iVar3 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = *file;\n  }\n  iVar6 = debug * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)((int)&sec->vma + 4);\n  *(int *)(&DAT_00073574 + iVar6) = (int)sec->vma;\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = (uint)sec->size;\n  iVar3 = *(int *)((int)&sec->size + 4);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar3;\n  contents = (bfd_byte *)malloc(uVar1 + 1);\n  *(asection **)(&DAT_00073590 + iVar6) = sec;\n  *(bfd_byte **)(&DAT_00073570 + iVar6) = contents;\n  if (((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)) {\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "load_specific_debug_section(dwarf_section_display_enum debug,asection *sec,void *file)" identifier (parameter_list "(dwarf_section_display_enum debug,asection *sec,void *file)" ( (parameter_declaration "dwarf_section_display_enum debug" type_identifier identifier) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "void *file" primitive_type (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  bfd_boolean bVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  bfd *abfd;\n  int iVar6;\n  undefined4 uVar7;\n  bfd_byte *contents;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n                    /* WARNING: Load size is inaccurate */\n  pcVar4 = *file;\n  pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);\n    if (iVar3 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = *file;\n  }\n  iVar6 = debug * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)((int)&sec->vma + 4);\n  *(int *)(&DAT_00073574 + iVar6) = (int)sec->vma;\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = (uint)sec->size;\n  iVar3 = *(int *)((int)&sec->size + 4);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar3;\n  contents = (bfd_byte *)malloc(uVar1 + 1);\n  *(asection **)(&DAT_00073590 + iVar6) = sec;\n  *(bfd_byte **)(&DAT_00073570 + iVar6) = contents;\n  if (((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)) {\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "bfd *abfd;" type_identifier (pointer_declarator "*abfd" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "bfd_byte *contents;" type_identifier (pointer_declarator "*contents" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1c349;" (assignment_expression "uStack_14 = 0x1c349" identifier = number_literal) ;) comment (expression_statement "pcVar4 = *file;" (assignment_expression "pcVar4 = *file" identifier = (pointer_expression "*file" * identifier)) ;) (expression_statement "pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40);" (assignment_expression "pvVar5 = *(void **)(&DAT_00073570 + debug * 0x40)" identifier = (pointer_expression "*(void **)(&DAT_00073570 + debug * 0x40)" * (cast_expression "(void **)(&DAT_00073570 + debug * 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + debug * 0x40)" ( (binary_expression "&DAT_00073570 + debug * 0x40" (pointer_expression "&DAT_00073570" & identifier) + (binary_expression "debug * 0x40" identifier * number_literal)) ))))) ;) (if_statement "if (pvVar5 != (void *)0x0) {\n    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);\n    if (iVar3 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = *file;\n  }" if (parenthesized_expression "(pvVar5 != (void *)0x0)" ( (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);\n    if (iVar3 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n                    /* WARNING: Load size is inaccurate */\n    pcVar4 = *file;\n  }" { (expression_statement "iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4);" (assignment_expression "iVar3 = strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4)" identifier = (call_expression "strcmp(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4)" identifier (argument_list "(*(char **)(&DAT_0007356c + debug * 0x40),pcVar4)" ( (pointer_expression "*(char **)(&DAT_0007356c + debug * 0x40)" * (cast_expression "(char **)(&DAT_0007356c + debug * 0x40)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + debug * 0x40)" ( (binary_expression "&DAT_0007356c + debug * 0x40" (pointer_expression "&DAT_0007356c" & identifier) + (binary_expression "debug * 0x40" identifier * number_literal)) )))) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) comment (expression_statement "pcVar4 = *file;" (assignment_expression "pcVar4 = *file" identifier = (pointer_expression "*file" * identifier)) ;) })) (expression_statement "iVar6 = debug * 0x40;" (assignment_expression "iVar6 = debug * 0x40" identifier = (binary_expression "debug * 0x40" identifier * number_literal)) ;) (expression_statement "*(char **)(&DAT_0007356c + iVar6) = pcVar4;" (assignment_expression "*(char **)(&DAT_0007356c + iVar6) = pcVar4" (pointer_expression "*(char **)(&DAT_0007356c + iVar6)" * (cast_expression "(char **)(&DAT_0007356c + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + iVar6)" ( (binary_expression "&DAT_0007356c + iVar6" (pointer_expression "&DAT_0007356c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00073588 + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00073588 + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_00073588 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073588 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(&DAT_0007358c + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_0007358c + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_0007358c + iVar6)" * (cast_expression "(undefined4 *)(&DAT_0007358c + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)((int)&sec->vma + 4);" (assignment_expression "uVar7 = *(undefined4 *)((int)&sec->vma + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&sec->vma + 4)" * (cast_expression "(undefined4 *)((int)&sec->vma + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sec->vma + 4)" ( (binary_expression "(int)&sec->vma + 4" (cast_expression "(int)&sec->vma" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sec->vma" & (field_expression "sec->vma" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(int *)(&DAT_00073574 + iVar6) = (int)sec->vma;" (assignment_expression "*(int *)(&DAT_00073574 + iVar6) = (int)sec->vma" (pointer_expression "*(int *)(&DAT_00073574 + iVar6)" * (cast_expression "(int *)(&DAT_00073574 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073574 + iVar6)" ( (binary_expression "&DAT_00073574 + iVar6" (pointer_expression "&DAT_00073574" & identifier) + identifier) )))) = (cast_expression "(int)sec->vma" ( (type_descriptor "int" primitive_type) ) (field_expression "sec->vma" identifier -> field_identifier))) ;) (expression_statement "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;" (assignment_expression "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7" (pointer_expression "*(undefined4 *)(&DAT_00073578 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073578 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073578 + iVar6)" ( (binary_expression "&DAT_00073578 + iVar6" (pointer_expression "&DAT_00073578" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = (uint)sec->size;" (assignment_expression "uVar1 = (uint)sec->size" identifier = (cast_expression "(uint)sec->size" ( (type_descriptor "uint" type_identifier) ) (field_expression "sec->size" identifier -> field_identifier))) ;) (expression_statement "iVar3 = *(int *)((int)&sec->size + 4);" (assignment_expression "iVar3 = *(int *)((int)&sec->size + 4)" identifier = (pointer_expression "*(int *)((int)&sec->size + 4)" * (cast_expression "(int *)((int)&sec->size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sec->size + 4)" ( (binary_expression "(int)&sec->size + 4" (cast_expression "(int)&sec->size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sec->size" & (field_expression "sec->size" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(uint *)(&DAT_0007357c + iVar6) = uVar1;" (assignment_expression "*(uint *)(&DAT_0007357c + iVar6) = uVar1" (pointer_expression "*(uint *)(&DAT_0007357c + iVar6)" * (cast_expression "(uint *)(&DAT_0007357c + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_00073580 + iVar6) = iVar3;" (assignment_expression "*(int *)(&DAT_00073580 + iVar6) = iVar3" (pointer_expression "*(int *)(&DAT_00073580 + iVar6)" * (cast_expression "(int *)(&DAT_00073580 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073580 + iVar6)" ( (binary_expression "&DAT_00073580 + iVar6" (pointer_expression "&DAT_00073580" & identifier) + identifier) )))) = identifier) ;) (expression_statement "contents = (bfd_byte *)malloc(uVar1 + 1);" (assignment_expression "contents = (bfd_byte *)malloc(uVar1 + 1)" identifier = (cast_expression "(bfd_byte *)malloc(uVar1 + 1)" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(uVar1 + 1)" identifier (argument_list "(uVar1 + 1)" ( (binary_expression "uVar1 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(asection **)(&DAT_00073590 + iVar6) = sec;" (assignment_expression "*(asection **)(&DAT_00073590 + iVar6) = sec" (pointer_expression "*(asection **)(&DAT_00073590 + iVar6)" * (cast_expression "(asection **)(&DAT_00073590 + iVar6)" ( (type_descriptor "asection **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073590 + iVar6)" ( (binary_expression "&DAT_00073590 + iVar6" (pointer_expression "&DAT_00073590" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(bfd_byte **)(&DAT_00073570 + iVar6) = contents;" (assignment_expression "*(bfd_byte **)(&DAT_00073570 + iVar6) = contents" (pointer_expression "*(bfd_byte **)(&DAT_00073570 + iVar6)" * (cast_expression "(bfd_byte **)(&DAT_00073570 + iVar6)" ( (type_descriptor "bfd_byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) = identifier) ;) (if_statement "if (((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)) {\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }" if (parenthesized_expression "(((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0))" ( (binary_expression "((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)" (parenthesized_expression "((uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0))" ( (binary_expression "(uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0) || (contents == (bfd_byte *)0x0)" (parenthesized_expression "(uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0)" ( (binary_expression "uVar1 + 1 == 0 && iVar3 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "uVar1 + 1 == 0" (binary_expression "uVar1 + 1" identifier + number_literal) == number_literal) && (binary_expression "iVar3 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "iVar3 + (uint)(0xfffffffe < uVar1)" identifier + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < identifier) )))) == number_literal)) )) || (parenthesized_expression "(contents == (bfd_byte *)0x0)" ( (binary_expression "contents == (bfd_byte *)0x0" identifier == (cast_expression "(bfd_byte *)0x0" ( (type_descriptor "bfd_byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0)" ( (comma_expression "iVar3 = bfd_get_full_section_contents(file,sec,&contents), bVar2 = is_relocatable,\n        iVar3 == 0" (assignment_expression "iVar3 = bfd_get_full_section_contents(file,sec,&contents)" identifier = (call_expression "bfd_get_full_section_contents(file,sec,&contents)" identifier (argument_list "(file,sec,&contents)" ( identifier , identifier , (pointer_expression "&contents" & identifier) )))) , (comma_expression "bVar2 = is_relocatable,\n        iVar3 == 0" (assignment_expression "bVar2 = is_relocatable" identifier = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }" { (expression_statement "free_debug_section(debug);" (call_expression "free_debug_section(debug)" identifier (argument_list "(debug)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[debug * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[debug * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[debug * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "debug * 0x10" identifier * number_literal) ])) ;) }) (else_clause "else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }" else (compound_statement "{\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);\n    if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    free_debug_section(debug);\n    uVar7 = (&DAT_00073568)[debug * 0x10];\n  }" { (expression_statement "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0" (pointer_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" * (cast_expression "(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (binary_expression "*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)" (pointer_expression "*(int *)(&DAT_00073570 + iVar6)" * (cast_expression "(int *)(&DAT_00073570 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) + (pointer_expression "*(int *)(&DAT_0007357c + iVar6)" * (cast_expression "(int *)(&DAT_0007357c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) ))))) )))) = number_literal) ;) (if_statement "if ((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }" if (parenthesized_expression "((bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0))" ( (binary_expression "(bVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)" (parenthesized_expression "(bVar2 == 0)" ( (binary_expression "bVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(&DAT_0007359c + iVar6) == 0)" ( (binary_expression "*(int *)(&DAT_0007359c + iVar6) == 0" (pointer_expression "*(int *)(&DAT_0007359c + iVar6)" * (cast_expression "(int *)(&DAT_0007359c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007359c + iVar6)" ( (binary_expression "&DAT_0007359c + iVar6" (pointer_expression "&DAT_0007359c" & identifier) + identifier) )))) == number_literal) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6));" (call_expression "bfd_cache_section_contents(sec,*(undefined4 *)(&DAT_00073570 + iVar6))" identifier (argument_list "(sec,*(undefined4 *)(&DAT_00073570 + iVar6))" ( identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) ))) ;) (expression_statement "iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms);" (assignment_expression "iVar3 = bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms)" identifier = (call_expression "bfd_simple_get_relocated_section_contents\n                      (file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms)" identifier (argument_list "(file,sec,*(undefined4 *)(&DAT_00073570 + iVar6),syms)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = bfd_get_reloc_upper_bound(file,sec);\n      if (iVar3 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar3);\n      iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);\n      if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" { (expression_statement "iVar3 = bfd_get_reloc_upper_bound(file,sec);" (assignment_expression "iVar3 = bfd_get_reloc_upper_bound(file,sec)" identifier = (call_expression "bfd_get_reloc_upper_bound(file,sec)" identifier (argument_list "(file,sec)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 < 1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pvVar5 = (void *)xmalloc(iVar3);" (assignment_expression "pvVar5 = (void *)xmalloc(iVar3)" identifier = (cast_expression "(void *)xmalloc(iVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))))) ;) (expression_statement "iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0);" (assignment_expression "iVar3 = bfd_canonicalize_reloc(file,sec,pvVar5,0)" identifier = (call_expression "bfd_canonicalize_reloc(file,sec,pvVar5,0)" identifier (argument_list "(file,sec,pvVar5,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar3;\n        return 1;\n      }" { (expression_statement "*(void **)(&DAT_00073588 + iVar6) = pvVar5;" (assignment_expression "*(void **)(&DAT_00073588 + iVar6) = pvVar5" (pointer_expression "*(void **)(&DAT_00073588 + iVar6)" * (cast_expression "(void **)(&DAT_00073588 + iVar6)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_0007358c + iVar6) = iVar3;" (assignment_expression "*(int *)(&DAT_0007358c + iVar6) = iVar3" (pointer_expression "*(int *)(&DAT_0007358c + iVar6)" * (cast_expression "(int *)(&DAT_0007358c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "free_debug_section(debug);" (call_expression "free_debug_section(debug)" identifier (argument_list "(debug)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[debug * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[debug * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[debug * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "debug * 0x10" identifier * number_literal) ])) ;) }))) (expression_statement "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier (argument_list "(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( number_literal , (string_literal ""\nCan\'t get contents for section \'%s\'.\n"" " escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar4,uVar7);" (call_expression "printf(pcVar4,uVar7)" identifier (argument_list "(pcVar4,uVar7)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001c340(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "void *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1c349;" (assignment_expression "uStack_14 = 0x1c349" identifier = number_literal) ;) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);" (assignment_expression "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40)" identifier = (pointer_expression "*(void **)(&DAT_00073570 + param_1 * 0x40)" * (cast_expression "(void **)(&DAT_00073570 + param_1 * 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + param_1 * 0x40)" ( (binary_expression "&DAT_00073570 + param_1 * 0x40" (pointer_expression "&DAT_00073570" & identifier) + (binary_expression "param_1 * 0x40" identifier * number_literal)) ))))) ;) (if_statement "if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" if (parenthesized_expression "(pvVar5 != (void *)0x0)" ( (binary_expression "pvVar5 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" { (expression_statement "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);" (assignment_expression "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" identifier = (call_expression "strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" identifier (argument_list "(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" ( (pointer_expression "*(char **)(&DAT_0007356c + param_1 * 0x40)" * (cast_expression "(char **)(&DAT_0007356c + param_1 * 0x40)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + param_1 * 0x40)" ( (binary_expression "&DAT_0007356c + param_1 * 0x40" (pointer_expression "&DAT_0007356c" & identifier) + (binary_expression "param_1 * 0x40" identifier * number_literal)) )))) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) })) (expression_statement "iVar6 = param_1 * 0x40;" (assignment_expression "iVar6 = param_1 * 0x40" identifier = (binary_expression "param_1 * 0x40" identifier * number_literal)) ;) (expression_statement "*(char **)(&DAT_0007356c + iVar6) = pcVar4;" (assignment_expression "*(char **)(&DAT_0007356c + iVar6) = pcVar4" (pointer_expression "*(char **)(&DAT_0007356c + iVar6)" * (cast_expression "(char **)(&DAT_0007356c + iVar6)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_0007356c + iVar6)" ( (binary_expression "&DAT_0007356c + iVar6" (pointer_expression "&DAT_0007356c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(undefined4 *)(&DAT_00073588 + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00073588 + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_00073588 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073588 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(&DAT_0007358c + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_0007358c + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_0007358c + iVar6)" * (cast_expression "(undefined4 *)(&DAT_0007358c + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = number_literal) ;) (expression_statement "uVar7 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar7 = *(undefined4 *)(param_2 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x20)" * (cast_expression "(undefined4 *)(param_2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*(undefined4 *)(&DAT_00073574 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073574 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073574 + iVar6)" ( (binary_expression "&DAT_00073574 + iVar6" (pointer_expression "&DAT_00073574" & identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" * (cast_expression "(undefined4 *)(param_2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;" (assignment_expression "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7" (pointer_expression "*(undefined4 *)(&DAT_00073578 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073578 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073578 + iVar6)" ( (binary_expression "&DAT_00073578 + iVar6" (pointer_expression "&DAT_00073578" & identifier) + identifier) )))) = identifier) ;) (expression_statement "uVar1 = *(uint *)(param_2 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x2c)" identifier = (pointer_expression "*(uint *)(param_2 + 0x2c)" * (cast_expression "(uint *)(param_2 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(uint *)(&DAT_0007357c + iVar6) = uVar1;" (assignment_expression "*(uint *)(&DAT_0007357c + iVar6) = uVar1" (pointer_expression "*(uint *)(&DAT_0007357c + iVar6)" * (cast_expression "(uint *)(&DAT_0007357c + iVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_00073580 + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_00073580 + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_00073580 + iVar6)" * (cast_expression "(int *)(&DAT_00073580 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073580 + iVar6)" ( (binary_expression "&DAT_00073580 + iVar6" (pointer_expression "&DAT_00073580" & identifier) + identifier) )))) = identifier) ;) (expression_statement "local_20[0] = malloc(uVar1 + 1);" (assignment_expression "local_20[0] = malloc(uVar1 + 1)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "malloc(uVar1 + 1)" identifier (argument_list "(uVar1 + 1)" ( (binary_expression "uVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "*(int *)(&DAT_00073590 + iVar6) = param_2;" (assignment_expression "*(int *)(&DAT_00073590 + iVar6) = param_2" (pointer_expression "*(int *)(&DAT_00073590 + iVar6)" * (cast_expression "(int *)(&DAT_00073590 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073590 + iVar6)" ( (binary_expression "&DAT_00073590 + iVar6" (pointer_expression "&DAT_00073590" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(void **)(&DAT_00073570 + iVar6) = local_20[0];" (assignment_expression "*(void **)(&DAT_00073570 + iVar6) = local_20[0]" (pointer_expression "*(void **)(&DAT_00073570 + iVar6)" * (cast_expression "(void **)(&DAT_00073570 + iVar6)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" if (parenthesized_expression "(((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0))" ( (binary_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" (parenthesized_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))" ( (binary_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0)" (parenthesized_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0)" ( (binary_expression "uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "uVar1 + 1 == 0" (binary_expression "uVar1 + 1" identifier + number_literal) == number_literal) && (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1)" identifier + (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar1)" ( (binary_expression "0xfffffffe < uVar1" number_literal < identifier) )))) == number_literal)) )) || (parenthesized_expression "(local_20[0] == (void *)0x0)" ( (binary_expression "local_20[0] == (void *)0x0" (subscript_expression "local_20[0]" identifier [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" ( (comma_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20)" identifier = (call_expression "bfd_get_full_section_contents(param_3,param_2,local_20)" identifier (argument_list "(param_3,param_2,local_20)" ( identifier , identifier , identifier )))) , (comma_expression "iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar2 = DAT_0007403c" identifier = identifier) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" { (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "param_1 * 0x10" identifier * number_literal) ])) ;) }) (else_clause "else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" else (compound_statement "{\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" { (expression_statement "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0" (pointer_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" * (cast_expression "(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" ( (binary_expression "*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)" (pointer_expression "*(int *)(&DAT_00073570 + iVar6)" * (cast_expression "(int *)(&DAT_00073570 + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) + (pointer_expression "*(int *)(&DAT_0007357c + iVar6)" * (cast_expression "(int *)(&DAT_0007357c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007357c + iVar6)" ( (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" & identifier) + identifier) ))))) )))) = number_literal) ;) (if_statement "if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }" if (parenthesized_expression "((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0))" ( (binary_expression "(iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(int *)(&DAT_0007359c + iVar6) == 0)" ( (binary_expression "*(int *)(&DAT_0007359c + iVar6) == 0" (pointer_expression "*(int *)(&DAT_0007359c + iVar6)" * (cast_expression "(int *)(&DAT_0007359c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007359c + iVar6)" ( (binary_expression "&DAT_0007359c + iVar6" (pointer_expression "&DAT_0007359c" & identifier) + identifier) )))) == number_literal) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));" (call_expression "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" identifier (argument_list "(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" ( identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) ))) ;) (expression_statement "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);" (assignment_expression "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" identifier = (call_expression "bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" identifier (argument_list "(param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" * (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_00073570 + iVar6)" ( (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" & identifier) + identifier) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" { (expression_statement "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);" (assignment_expression "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2)" identifier = (call_expression "bfd_get_reloc_upper_bound(param_3,param_2)" identifier (argument_list "(param_3,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 < 1) {\n        return 1;\n      }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "pvVar5 = (void *)xmalloc(iVar2);" (assignment_expression "pvVar5 = (void *)xmalloc(iVar2)" identifier = (cast_expression "(void *)xmalloc(iVar2)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);" (assignment_expression "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" identifier = (call_expression "bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" identifier (argument_list "(param_3,param_2,pvVar5,0)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" { (expression_statement "*(void **)(&DAT_00073588 + iVar6) = pvVar5;" (assignment_expression "*(void **)(&DAT_00073588 + iVar6) = pvVar5" (pointer_expression "*(void **)(&DAT_00073588 + iVar6)" * (cast_expression "(void **)(&DAT_00073588 + iVar6)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&DAT_00073588 + iVar6)" ( (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(int *)(&DAT_0007358c + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_0007358c + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_0007358c + iVar6)" * (cast_expression "(int *)(&DAT_0007358c + iVar6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0007358c + iVar6)" ( (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" & identifier) + identifier) )))) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" identifier (argument_list "(pvVar5)" ( identifier ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" identifier = (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" ( (pointer_expression "&DAT_00073568" & identifier) )) [ (binary_expression "param_1 * 0x10" identifier * number_literal) ])) ;) }))) (expression_statement "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" identifier (argument_list "(0,"\nCan\'t get contents for section \'%s\'.\n",5)" ( number_literal , (string_literal ""\nCan\'t get contents for section \'%s\'.\n"" " escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "printf(pcVar4,uVar7);" (call_expression "printf(pcVar4,uVar7)" identifier (argument_list "(pcVar4,uVar7)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + LIT) == LIT) && (binary_expression (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) )))) == LIT)) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) ))))) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) == LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ])) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0001c340(int param_1,int param_2,undefined4 *param_3)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001c340(int param_1,int param_2,undefined4 *param_3)" (identifier "FUN_0001c340") (parameter_list "(int param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  char *pcVar4;\n  void *pvVar5;\n  int iVar6;\n  undefined4 uVar7;\n  void *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1c349;\n  pcVar4 = (char *)*param_3;\n  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);\n  if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }\n  iVar6 = param_1 * 0x40;\n  *(char **)(&DAT_0007356c + iVar6) = pcVar4;\n  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;\n  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;\n  uVar7 = *(undefined4 *)(param_2 + 0x20);\n  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);\n  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;\n  uVar1 = *(uint *)(param_2 + 0x2c);\n  iVar2 = *(int *)(param_2 + 0x30);\n  *(uint *)(&DAT_0007357c + iVar6) = uVar1;\n  *(int *)(&DAT_00073580 + iVar6) = iVar2;\n  local_20[0] = malloc(uVar1 + 1);\n  *(int *)(&DAT_00073590 + iVar6) = param_2;\n  *(void **)(&DAT_00073570 + iVar6) = local_20[0];\n  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);\n  printf(pcVar4,uVar7);\n  return 0;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "void *pvVar5;" (primitive_type "void") (pointer_declarator "*pvVar5" (* "*") (identifier "pvVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "void *local_20 [3];" (primitive_type "void") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1c349;" (assignment_expression "uStack_14 = 0x1c349" (identifier "uStack_14") (= "=") (number_literal "0x1c349")) (; ";")) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);" (assignment_expression "pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40)" (identifier "pvVar5") (= "=") (pointer_expression "*(void **)(&DAT_00073570 + param_1 * 0x40)" (* "*") (cast_expression "(void **)(&DAT_00073570 + param_1 * 0x40)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_00073570 + param_1 * 0x40)" (( "(") (binary_expression "&DAT_00073570 + param_1 * 0x40" (pointer_expression "&DAT_00073570" (& "&") (identifier "DAT_00073570")) (+ "+") (binary_expression "param_1 * 0x40" (identifier "param_1") (* "*") (number_literal "0x40"))) () ")"))))) (; ";")) (if_statement "if (pvVar5 != (void *)0x0) {\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" (if "if") (parenthesized_expression "(pvVar5 != (void *)0x0)" (( "(") (binary_expression "pvVar5 != (void *)0x0" (identifier "pvVar5") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);\n    if (iVar2 == 0) {\n      return 1;\n    }\n    free(pvVar5);\n    pcVar4 = (char *)*param_3;\n  }" ({ "{") (expression_statement "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);" (assignment_expression "iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" (identifier "iVar2") (= "=") (call_expression "strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" (identifier "strcmp") (argument_list "(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4)" (( "(") (pointer_expression "*(char **)(&DAT_0007356c + param_1 * 0x40)" (* "*") (cast_expression "(char **)(&DAT_0007356c + param_1 * 0x40)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_0007356c + param_1 * 0x40)" (( "(") (binary_expression "&DAT_0007356c + param_1 * 0x40" (pointer_expression "&DAT_0007356c" (& "&") (identifier "DAT_0007356c")) (+ "+") (binary_expression "param_1 * 0x40" (identifier "param_1") (* "*") (number_literal "0x40"))) () ")")))) (, ",") (identifier "pcVar4") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" (identifier "free") (argument_list "(pvVar5)" (( "(") (identifier "pvVar5") () ")"))) (; ";")) (expression_statement "pcVar4 = (char *)*param_3;" (assignment_expression "pcVar4 = (char *)*param_3" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (} "}"))) (expression_statement "iVar6 = param_1 * 0x40;" (assignment_expression "iVar6 = param_1 * 0x40" (identifier "iVar6") (= "=") (binary_expression "param_1 * 0x40" (identifier "param_1") (* "*") (number_literal "0x40"))) (; ";")) (expression_statement "*(char **)(&DAT_0007356c + iVar6) = pcVar4;" (assignment_expression "*(char **)(&DAT_0007356c + iVar6) = pcVar4" (pointer_expression "*(char **)(&DAT_0007356c + iVar6)" (* "*") (cast_expression "(char **)(&DAT_0007356c + iVar6)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_0007356c + iVar6)" (( "(") (binary_expression "&DAT_0007356c + iVar6" (pointer_expression "&DAT_0007356c" (& "&") (identifier "DAT_0007356c")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "pcVar4")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00073588 + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_00073588 + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_00073588 + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_00073588 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073588 + iVar6)" (( "(") (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" (& "&") (identifier "DAT_00073588")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(&DAT_0007358c + iVar6) = 0;" (assignment_expression "*(undefined4 *)(&DAT_0007358c + iVar6) = 0" (pointer_expression "*(undefined4 *)(&DAT_0007358c + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_0007358c + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007358c + iVar6)" (( "(") (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" (& "&") (identifier "DAT_0007358c")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = *(undefined4 *)(param_2 + 0x20);" (assignment_expression "uVar7 = *(undefined4 *)(param_2 + 0x20)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);" (assignment_expression "*(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c)" (pointer_expression "*(undefined4 *)(&DAT_00073574 + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_00073574 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073574 + iVar6)" (( "(") (binary_expression "&DAT_00073574 + iVar6" (pointer_expression "&DAT_00073574" (& "&") (identifier "DAT_00073574")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;" (assignment_expression "*(undefined4 *)(&DAT_00073578 + iVar6) = uVar7" (pointer_expression "*(undefined4 *)(&DAT_00073578 + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_00073578 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073578 + iVar6)" (( "(") (binary_expression "&DAT_00073578 + iVar6" (pointer_expression "&DAT_00073578" (& "&") (identifier "DAT_00073578")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar1 = *(uint *)(param_2 + 0x2c);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x2c)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 0x2c)" (* "*") (cast_expression "(uint *)(param_2 + 0x2c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x30)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(uint *)(&DAT_0007357c + iVar6) = uVar1;" (assignment_expression "*(uint *)(&DAT_0007357c + iVar6) = uVar1" (pointer_expression "*(uint *)(&DAT_0007357c + iVar6)" (* "*") (cast_expression "(uint *)(&DAT_0007357c + iVar6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007357c + iVar6)" (( "(") (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" (& "&") (identifier "DAT_0007357c")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(int *)(&DAT_00073580 + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_00073580 + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_00073580 + iVar6)" (* "*") (cast_expression "(int *)(&DAT_00073580 + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073580 + iVar6)" (( "(") (binary_expression "&DAT_00073580 + iVar6" (pointer_expression "&DAT_00073580" (& "&") (identifier "DAT_00073580")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "local_20[0] = malloc(uVar1 + 1);" (assignment_expression "local_20[0] = malloc(uVar1 + 1)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "malloc(uVar1 + 1)" (identifier "malloc") (argument_list "(uVar1 + 1)" (( "(") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*(int *)(&DAT_00073590 + iVar6) = param_2;" (assignment_expression "*(int *)(&DAT_00073590 + iVar6) = param_2" (pointer_expression "*(int *)(&DAT_00073590 + iVar6)" (* "*") (cast_expression "(int *)(&DAT_00073590 + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073590 + iVar6)" (( "(") (binary_expression "&DAT_00073590 + iVar6" (pointer_expression "&DAT_00073590" (& "&") (identifier "DAT_00073590")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(void **)(&DAT_00073570 + iVar6) = local_20[0];" (assignment_expression "*(void **)(&DAT_00073570 + iVar6) = local_20[0]" (pointer_expression "*(void **)(&DAT_00073570 + iVar6)" (* "*") (cast_expression "(void **)(&DAT_00073570 + iVar6)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_00073570 + iVar6)" (( "(") (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" (& "&") (identifier "DAT_00073570")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)) {\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }\n  else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" (if "if") (parenthesized_expression "(((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0))" (( "(") (binary_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))\n     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" (parenthesized_expression "((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))" (( "(") (binary_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0)" (parenthesized_expression "(uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0)" (( "(") (binary_expression "uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "uVar1 + 1 == 0" (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1) == 0" (binary_expression "iVar2 + (uint)(0xfffffffe < uVar1)" (identifier "iVar2") (+ "+") (call_expression "(uint)(0xfffffffe < uVar1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xfffffffe < uVar1)" (( "(") (binary_expression "0xfffffffe < uVar1" (number_literal "0xfffffffe") (< "<") (identifier "uVar1")) () ")")))) (== "==") (number_literal "0"))) () ")")) (|| "||") (parenthesized_expression "(local_20[0] == (void *)0x0)" (( "(") (binary_expression "local_20[0] == (void *)0x0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0)" (( "(") (comma_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20)" (identifier "iVar3") (= "=") (call_expression "bfd_get_full_section_contents(param_3,param_2,local_20)" (identifier "bfd_get_full_section_contents") (argument_list "(param_3,param_2,local_20)" (( "(") (identifier "param_3") (, ",") (identifier "param_2") (, ",") (identifier "local_20") () ")")))) (, ",") (comma_expression "iVar2 = DAT_0007403c,\n        iVar3 == 0" (assignment_expression "iVar2 = DAT_0007403c" (identifier "iVar2") (= "=") (identifier "DAT_0007403c")) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" ({ "{") (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" (identifier "FUN_0001c2b0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" (identifier "uVar7") (= "=") (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" (( "(") (pointer_expression "&DAT_00073568" (& "&") (identifier "DAT_00073568")) () ")")) ([ "[") (binary_expression "param_1 * 0x10" (identifier "param_1") (* "*") (number_literal "0x10")) (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" (else "else") (compound_statement "{\n    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;\n    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }\n    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));\n    iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);\n    if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }\n    FUN_0001c2b0(param_1);\n    uVar7 = (&DAT_00073568)[param_1 * 0x10];\n  }" ({ "{") (expression_statement "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;" (assignment_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0" (pointer_expression "*(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" (* "*") (cast_expression "(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6))" (( "(") (binary_expression "*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)" (pointer_expression "*(int *)(&DAT_00073570 + iVar6)" (* "*") (cast_expression "(int *)(&DAT_00073570 + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073570 + iVar6)" (( "(") (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" (& "&") (identifier "DAT_00073570")) (+ "+") (identifier "iVar6")) () ")")))) (+ "+") (pointer_expression "*(int *)(&DAT_0007357c + iVar6)" (* "*") (cast_expression "(int *)(&DAT_0007357c + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007357c + iVar6)" (( "(") (binary_expression "&DAT_0007357c + iVar6" (pointer_expression "&DAT_0007357c" (& "&") (identifier "DAT_0007357c")) (+ "+") (identifier "iVar6")) () ")"))))) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {\n      return 1;\n    }" (if "if") (parenthesized_expression "((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0))" (( "(") (binary_expression "(iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)" (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(int *)(&DAT_0007359c + iVar6) == 0)" (( "(") (binary_expression "*(int *)(&DAT_0007359c + iVar6) == 0" (pointer_expression "*(int *)(&DAT_0007359c + iVar6)" (* "*") (cast_expression "(int *)(&DAT_0007359c + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007359c + iVar6)" (( "(") (binary_expression "&DAT_0007359c + iVar6" (pointer_expression "&DAT_0007359c" (& "&") (identifier "DAT_0007359c")) (+ "+") (identifier "iVar6")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));" (call_expression "bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" (identifier "bfd_cache_section_contents") (argument_list "(param_2,*(undefined4 *)(&DAT_00073570 + iVar6))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073570 + iVar6)" (( "(") (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" (& "&") (identifier "DAT_00073570")) (+ "+") (identifier "iVar6")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);" (assignment_expression "iVar2 = bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" (identifier "iVar2") (= "=") (call_expression "bfd_simple_get_relocated_section_contents\n                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" (identifier "bfd_simple_get_relocated_section_contents") (argument_list "(param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078)" (( "(") (identifier "param_3") (, ",") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(&DAT_00073570 + iVar6)" (* "*") (cast_expression "(undefined4 *)(&DAT_00073570 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_00073570 + iVar6)" (( "(") (binary_expression "&DAT_00073570 + iVar6" (pointer_expression "&DAT_00073570" (& "&") (identifier "DAT_00073570")) (+ "+") (identifier "iVar6")) () ")")))) (, ",") (identifier "DAT_00074078") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);\n      if (iVar2 < 1) {\n        return 1;\n      }\n      pvVar5 = (void *)xmalloc(iVar2);\n      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);\n      if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }\n      free(pvVar5);\n      return 1;\n    }" ({ "{") (expression_statement "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);" (assignment_expression "iVar2 = bfd_get_reloc_upper_bound(param_3,param_2)" (identifier "iVar2") (= "=") (call_expression "bfd_get_reloc_upper_bound(param_3,param_2)" (identifier "bfd_get_reloc_upper_bound") (argument_list "(param_3,param_2)" (( "(") (identifier "param_3") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar2 < 1) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar2 < 1)" (( "(") (binary_expression "iVar2 < 1" (identifier "iVar2") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "pvVar5 = (void *)xmalloc(iVar2);" (assignment_expression "pvVar5 = (void *)xmalloc(iVar2)" (identifier "pvVar5") (= "=") (cast_expression "(void *)xmalloc(iVar2)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(iVar2)" (identifier "xmalloc") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (expression_statement "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);" (assignment_expression "iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" (identifier "iVar2") (= "=") (call_expression "bfd_canonicalize_reloc(param_3,param_2,pvVar5,0)" (identifier "bfd_canonicalize_reloc") (argument_list "(param_3,param_2,pvVar5,0)" (( "(") (identifier "param_3") (, ",") (identifier "param_2") (, ",") (identifier "pvVar5") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(void **)(&DAT_00073588 + iVar6) = pvVar5;\n        *(int *)(&DAT_0007358c + iVar6) = iVar2;\n        return 1;\n      }" ({ "{") (expression_statement "*(void **)(&DAT_00073588 + iVar6) = pvVar5;" (assignment_expression "*(void **)(&DAT_00073588 + iVar6) = pvVar5" (pointer_expression "*(void **)(&DAT_00073588 + iVar6)" (* "*") (cast_expression "(void **)(&DAT_00073588 + iVar6)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&DAT_00073588 + iVar6)" (( "(") (binary_expression "&DAT_00073588 + iVar6" (pointer_expression "&DAT_00073588" (& "&") (identifier "DAT_00073588")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "pvVar5")) (; ";")) (expression_statement "*(int *)(&DAT_0007358c + iVar6) = iVar2;" (assignment_expression "*(int *)(&DAT_0007358c + iVar6) = iVar2" (pointer_expression "*(int *)(&DAT_0007358c + iVar6)" (* "*") (cast_expression "(int *)(&DAT_0007358c + iVar6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0007358c + iVar6)" (( "(") (binary_expression "&DAT_0007358c + iVar6" (pointer_expression "&DAT_0007358c" (& "&") (identifier "DAT_0007358c")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "free(pvVar5);" (call_expression "free(pvVar5)" (identifier "free") (argument_list "(pvVar5)" (( "(") (identifier "pvVar5") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "FUN_0001c2b0(param_1);" (call_expression "FUN_0001c2b0(param_1)" (identifier "FUN_0001c2b0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar7 = (&DAT_00073568)[param_1 * 0x10];" (assignment_expression "uVar7 = (&DAT_00073568)[param_1 * 0x10]" (identifier "uVar7") (= "=") (subscript_expression "(&DAT_00073568)[param_1 * 0x10]" (parenthesized_expression "(&DAT_00073568)" (( "(") (pointer_expression "&DAT_00073568" (& "&") (identifier "DAT_00073568")) () ")")) ([ "[") (binary_expression "param_1 * 0x10" (identifier "param_1") (* "*") (number_literal "0x10")) (] "]"))) (; ";")) (} "}")))) (expression_statement "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" (identifier "pcVar4") (= "=") (cast_expression "(char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5)" (identifier "dcgettext") (argument_list "(0,"\nCan\'t get contents for section \'%s\'.\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""\nCan\'t get contents for section \'%s\'.\n"" (" """) (escape_sequence "\n") (string_content "Can") (escape_sequence "\'") (string_content "t get contents for section ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content ".") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "printf(pcVar4,uVar7);" (call_expression "printf(pcVar4,uVar7)" (identifier "printf") (argument_list "(pcVar4,uVar7)" (( "(") (identifier "pcVar4") (, ",") (identifier "uVar7") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

type_1 __regparm3
function_1(type_2 var_1,type_3 *sec,void *file)

{
  type_4 var_8;
  type_1 var_12;
  int var_4;
  char *pcVar4;
  void *var_2;
  type_5 *abfd;
  int var_6;
  type_6 uVar7;
  type_7 *var_9;
  type_6 uStack_14;
  
  uStack_14 = 0x1c349;
                    /* WARNING: Load size is inaccurate */
  pcVar4 = *file;
  var_2 = *(void **)(&DAT_00073570 + var_1 * 0x40);
  if (var_2 != (void *)0x0) {
    var_4 = var_3(*(char **)(&DAT_0007356c + var_1 * 0x40),pcVar4);
    if (var_4 == 0) {
      return 1;
    }
    var_5(var_2);
                    /* WARNING: Load size is inaccurate */
    pcVar4 = *file;
  }
  var_6 = var_1 * 0x40;
  *(char **)(&DAT_0007356c + var_6) = pcVar4;
  *(type_6 *)(&DAT_00073588 + var_6) = 0;
  *(type_6 *)(&DAT_0007358c + var_6) = 0;
  uVar7 = *(type_6 *)((int)&sec->vma + 4);
  *(int *)(&DAT_00073574 + var_6) = (int)sec->vma;
  *(type_6 *)(&DAT_00073578 + var_6) = uVar7;
  var_8 = (type_4)sec->size;
  var_4 = *(int *)((int)&sec->size + 4);
  *(type_4 *)(&DAT_0007357c + var_6) = var_8;
  *(int *)(&DAT_00073580 + var_6) = var_4;
  var_9 = (type_7 *)var_7(var_8 + 1);
  *(type_3 **)(&DAT_00073590 + var_6) = sec;
  *(type_7 **)(&DAT_00073570 + var_6) = var_9;
  if (((var_8 + 1 == 0 && var_4 + (type_4)(0xfffffffe < var_8) == 0) || (var_9 == (type_7 *)0x0))
     || (var_4 = var_10(file,sec,&var_9), var_12 = is_relocatable,
        var_4 == 0)) {
    var_11(var_1);
    uVar7 = (&DAT_00073568)[var_1 * 0x10];
  }
  else {
    *(type_8 *)(*(int *)(&DAT_00073570 + var_6) + *(int *)(&DAT_0007357c + var_6)) = 0;
    if ((var_12 == 0) || (*(int *)(&DAT_0007359c + var_6) == 0)) {
      return 1;
    }
    var_13(sec,*(type_6 *)(&DAT_00073570 + var_6));
    var_4 = var_14
                      (file,sec,*(type_6 *)(&DAT_00073570 + var_6),syms);
    if (var_4 != 0) {
      var_4 = var_15(file,sec);
      if (var_4 < 1) {
        return 1;
      }
      var_2 = (void *)var_16(var_4);
      var_4 = var_17(file,sec,var_2,0);
      if (var_4 != 0) {
        *(void **)(&DAT_00073588 + var_6) = var_2;
        *(int *)(&DAT_0007358c + var_6) = var_4;
        return 1;
      }
      var_5(var_2);
      return 1;
    }
    var_11(var_1);
    uVar7 = (&DAT_00073568)[var_1 * 0x10];
  }
  pcVar4 = (char *)var_18(0,"\nCan\'t get contents for section \'%s\'.\n",5);
  var_19(pcVar4,uVar7);
  return 0;
}


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

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

undefined4 __regparm3 MASKED(int param_1,int param_2,undefined4 *param_3)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  char *pcVar4;
  void *pvVar5;
  int iVar6;
  undefined4 uVar7;
  void *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1c349;
  pcVar4 = (char *)*param_3;
  pvVar5 = *(void **)(&DAT_00073570 + param_1 * 0x40);
  if (pvVar5 != (void *)0x0) {
    iVar2 = strcmp(*(char **)(&DAT_0007356c + param_1 * 0x40),pcVar4);
    if (iVar2 == 0) {
      return 1;
    }
    free(pvVar5);
    pcVar4 = (char *)*param_3;
  }
  iVar6 = param_1 * 0x40;
  *(char **)(&DAT_0007356c + iVar6) = pcVar4;
  *(undefined4 *)(&DAT_00073588 + iVar6) = 0;
  *(undefined4 *)(&DAT_0007358c + iVar6) = 0;
  uVar7 = *(undefined4 *)(param_2 + 0x20);
  *(undefined4 *)(&DAT_00073574 + iVar6) = *(undefined4 *)(param_2 + 0x1c);
  *(undefined4 *)(&DAT_00073578 + iVar6) = uVar7;
  uVar1 = *(uint *)(param_2 + 0x2c);
  iVar2 = *(int *)(param_2 + 0x30);
  *(uint *)(&DAT_0007357c + iVar6) = uVar1;
  *(int *)(&DAT_00073580 + iVar6) = iVar2;
  local_20[0] = malloc(uVar1 + 1);
  *(int *)(&DAT_00073590 + iVar6) = param_2;
  *(void **)(&DAT_00073570 + iVar6) = local_20[0];
  if (((uVar1 + 1 == 0 && iVar2 + (uint)(0xfffffffe < uVar1) == 0) || (local_20[0] == (void *)0x0))
     || (iVar3 = bfd_get_full_section_contents(param_3,param_2,local_20), iVar2 = DAT_0007403c,
        iVar3 == 0)) {
    FUN_0001c2b0(param_1);
    uVar7 = (&DAT_00073568)[param_1 * 0x10];
  }
  else {
    *(undefined1 *)(*(int *)(&DAT_00073570 + iVar6) + *(int *)(&DAT_0007357c + iVar6)) = 0;
    if ((iVar2 == 0) || (*(int *)(&DAT_0007359c + iVar6) == 0)) {
      return 1;
    }
    bfd_cache_section_contents(param_2,*(undefined4 *)(&DAT_00073570 + iVar6));
    iVar2 = bfd_simple_get_relocated_section_contents
                      (param_3,param_2,*(undefined4 *)(&DAT_00073570 + iVar6),DAT_00074078);
    if (iVar2 != 0) {
      iVar2 = bfd_get_reloc_upper_bound(param_3,param_2);
      if (iVar2 < 1) {
        return 1;
      }
      pvVar5 = (void *)xmalloc(iVar2);
      iVar2 = bfd_canonicalize_reloc(param_3,param_2,pvVar5,0);
      if (iVar2 != 0) {
        *(void **)(&DAT_00073588 + iVar6) = pvVar5;
        *(int *)(&DAT_0007358c + iVar6) = iVar2;
        return 1;
      }
      free(pvVar5);
      return 1;
    }
    FUN_0001c2b0(param_1);
    uVar7 = (&DAT_00073568)[param_1 * 0x10];
  }
  pcVar4 = (char *)dcgettext(0,"\nCan\'t get contents for section \'%s\'.\n",5);
  printf(pcVar4,uVar7);
  return 0;
}

