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

bfd_boolean __regparm3
slurp_rela_relocs(Filedata *filedata,ulong rel_offset,ulong rel_size,Elf_Internal_Rela **relasp,
                 ulong *nrelasp)

{
  uchar *field;
  uint uVar1;
  bfd_vma bVar2;
  char *pcVar3;
  uchar *puVar4;
  uint uVar5;
  Elf_Internal_Rela *pEVar6;
  uchar *puVar7;
  elf_vma eVar8;
  uint local_3c;
  Elf_Internal_Rela *local_24;
  
  if (is_32bit_elf == 0) {
    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);
    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);
    if (puVar4 == (uchar *)0x0) {
      return 0;
    }
    local_3c = rel_size / 0x18;
    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);
    if (local_24 == (Elf_Internal_Rela *)0x0) {
      free(puVar4);
      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);
      error(pcVar3);
      return 0;
    }
    if (0x17 < rel_size) {
      uVar5 = 0;
      pEVar6 = local_24;
      puVar7 = puVar4;
      do {
        while( true ) {
          eVar8 = (*byte_get)(puVar7,8);
          pEVar6->r_offset = eVar8;
          eVar8 = (*byte_get)(puVar7 + 8,8);
          pEVar6->r_info = eVar8;
          eVar8 = byte_get_signed(puVar7 + 0x10,8);
          pEVar6->r_addend = eVar8;
          if (((filedata->file_header).e_machine != 8) ||
             ((filedata->file_header).e_ident[5] == '\x02')) break;
          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);
          bVar2 = pEVar6->r_info;
          uVar5 = uVar5 + 1;
          puVar7 = puVar7 + 0x18;
          *(uint *)&pEVar6->r_info =
               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;
          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;
          pEVar6 = pEVar6 + 1;
          if (local_3c <= uVar5) goto LAB_0001e620;
        }
        uVar5 = uVar5 + 1;
        puVar7 = puVar7 + 0x18;
        pEVar6 = pEVar6 + 1;
      } while (uVar5 < local_3c);
    }
LAB_0001e620:
    free(puVar4);
  }
  else {
    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);
    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);
    if (puVar4 == (uchar *)0x0) {
      return 0;
    }
    local_3c = rel_size / 0xc;
    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);
    if (local_24 == (Elf_Internal_Rela *)0x0) {
      free(puVar4);
      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);
      error(pcVar3);
      return 0;
    }
    if (0xb < rel_size) {
      uVar5 = 0;
      pEVar6 = local_24;
      puVar7 = puVar4;
      do {
        eVar8 = (*byte_get)(puVar7,4);
        pEVar6->r_offset = eVar8;
        eVar8 = (*byte_get)(puVar7 + 4,4);
        pEVar6->r_info = eVar8;
        field = puVar7 + 8;
        puVar7 = puVar7 + 0xc;
        eVar8 = byte_get_signed(field,4);
        pEVar6->r_addend = eVar8;
        uVar5 = uVar5 + 1;
        pEVar6 = pEVar6 + 1;
      } while (uVar5 < local_3c);
    }
    free(puVar4);
  }
  *relasp = local_24;
  *nrelasp = local_3c;
  return 1;
}



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

undefined4 __regparm3
FUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  void *pvVar4;
  uint uVar5;
  undefined8 *puVar6;
  void *pvVar7;
  undefined8 uVar8;
  uint local_3c;
  undefined8 *local_24;
  
  if (DAT_000b6324 == 0) {
    uVar3 = dcgettext(0,"64-bit relocation data",5);
    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);
    if (pvVar4 == (void *)0x0) {
      return 0;
    }
    local_3c = param_3 / 0x18;
    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);
    if (local_24 == (undefined8 *)0x0) {
      free(pvVar4);
      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);
      error(uVar3);
      return 0;
    }
    if (0x17 < param_3) {
      uVar5 = 0;
      puVar6 = local_24;
      pvVar7 = pvVar4;
      do {
        while( true ) {
          uVar8 = (*DAT_000b9dd8)(pvVar7,8);
          *puVar6 = uVar8;
          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);
          puVar6[1] = uVar8;
          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);
          puVar6[2] = uVar8;
          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;
          uVar2 = *(uint *)((int)puVar6 + 0xc);
          uVar3 = *(undefined4 *)(puVar6 + 1);
          uVar5 = uVar5 + 1;
          pvVar7 = (void *)((int)pvVar7 + 0x18);
          *(uint *)(puVar6 + 1) =
               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;
          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;
          puVar6 = puVar6 + 3;
          if (local_3c <= uVar5) goto LAB_0001e620;
        }
        uVar5 = uVar5 + 1;
        pvVar7 = (void *)((int)pvVar7 + 0x18);
        puVar6 = puVar6 + 3;
      } while (uVar5 < local_3c);
    }
LAB_0001e620:
    free(pvVar4);
  }
  else {
    uVar3 = dcgettext(0,"32-bit relocation data",5);
    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);
    if (pvVar4 == (void *)0x0) {
      return 0;
    }
    local_3c = param_3 / 0xc;
    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);
    if (local_24 == (undefined8 *)0x0) {
      free(pvVar4);
      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);
      error(uVar3);
      return 0;
    }
    if (0xb < param_3) {
      uVar5 = 0;
      puVar6 = local_24;
      pvVar7 = pvVar4;
      do {
        uVar8 = (*DAT_000b9dd8)(pvVar7,4);
        *puVar6 = uVar8;
        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);
        puVar6[1] = uVar8;
        iVar1 = (int)pvVar7 + 8;
        pvVar7 = (void *)((int)pvVar7 + 0xc);
        uVar8 = FUN_00067030(iVar1,4);
        puVar6[2] = uVar8;
        uVar5 = uVar5 + 1;
        puVar6 = puVar6 + 3;
      } while (uVar5 < local_3c);
    }
    free(pvVar4);
  }
  *param_4 = (int)local_24;
  *param_5 = local_3c;
  return 1;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,ECX
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x95c93
SUB ESP,0x2c
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP],ECX
MOV dword ptr [ESP + 0x4],0x0
MOV ESI,dword ptr [EBX + 0x2324]
TEST ESI,ESI
JZ 0x0001e4d0
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc28be]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV ECX,EBP
MOV dword ptr [ESP],EAX
XOR EAX,EAX
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x14]
PUSH 0x0
PUSH 0x1
MOV EDX,dword ptr [ESP + 0x28]
CALL 0x0001bf90
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0001e4ba
MOV EAX,EDI
MOV EDX,0xaaaaaaab
SUB ESP,0x8
MUL EDX
SHR EDX,0x3
MOV dword ptr [ESP + 0x8],EDX
PUSH 0x18
PUSH EDX
CALL 0x0005dac0
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001e490
CMP EDI,0xb
JBE 0x0001e45c
MOV EDI,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x18]
XOR ECX,ECX
LEA EBP,[EBX + 0x5dd8]
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x8
ADD ESI,0x18
PUSH 0x4
PUSH EDI
CALL dword ptr [EBP]
MOV dword ptr [ESI + -0x18],EAX
MOV dword ptr [ESI + -0x14],EDX
POP EAX
LEA EAX,[EDI + 0x4]
POP EDX
PUSH 0x4
PUSH EAX
CALL dword ptr [EBP]
MOV dword ptr [ESI + -0x10],EAX
MOV dword ptr [ESI + -0xc],EDX
POP ECX
POP EAX
LEA EAX,[EDI + 0x8]
PUSH 0x4
ADD EDI,0xc
PUSH EAX
CALL 0x00067030
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV dword ptr [ESI + -0x8],EAX
MOV dword ptr [ESI + -0x4],EDX
ADD ECX,0x1
CMP dword ptr [ESP],ECX
JA 0x0001e410
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000130a0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x40]
MOV EBX,dword ptr [ESP + 0x18]
MOV ESI,0x1
MOV ECX,dword ptr [ESP]
MOV dword ptr [EAX],EBX
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [EAX],ECX
ADD ESP,0x2c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000130a0
ADD ESP,0xc
LEA EAX,[EBX + 0xfffc28d5]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV dword ptr [ESP],EAX
CALL 0x00066870
ADD ESP,0x10
ADD ESP,0x2c
XOR ESI,ESI
POP EBX
MOV EAX,ESI
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffc28f3]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV ECX,EBP
MOV dword ptr [ESP],EAX
XOR EAX,EAX
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x14]
PUSH 0x0
PUSH 0x1
MOV EDX,dword ptr [ESP + 0x28]
CALL 0x0001bf90
MOV dword ptr [ESP + 0x3c],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0001e4ba
MOV EAX,EDI
MOV EDX,0xaaaaaaab
SUB ESP,0x8
MUL EDX
SHR EDX,0x4
MOV dword ptr [ESP + 0x8],EDX
PUSH 0x18
PUSH EDX
CALL 0x0005dac0
MOV dword ptr [ESP + 0x28],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001e638
CMP EDI,0x17
JBE 0x0001e620
LEA EBP,[EBX + 0x5dd8]
XOR ECX,ECX
MOV EDI,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0xc],EBP
MOV EBP,ECX
JMP 0x0001e56a
ADD EBP,0x1
ADD EDI,0x18
ADD ESI,0x18
CMP dword ptr [ESP],EBP
JBE 0x0001e620
SUB ESP,0x8
PUSH 0x8
PUSH EDI
MOV EAX,dword ptr [ESP + 0x1c]
CALL dword ptr [EAX]
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x4],EDX
POP EAX
LEA EAX,[EDI + 0x8]
POP EDX
PUSH 0x8
PUSH EAX
MOV EAX,dword ptr [ESP + 0x1c]
CALL dword ptr [EAX]
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0xc],EDX
POP ECX
POP EAX
LEA EAX,[EDI + 0x10]
PUSH 0x8
PUSH EAX
CALL 0x00067030
ADD ESP,0x10
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESI + 0x14],EDX
CMP word ptr [EAX + 0x42],0x8
JNZ 0x0001e558
CMP byte ptr [EAX + 0x15],0x2
JZ 0x0001e558
MOV EDX,dword ptr [ESI + 0xc]
MOV EAX,dword ptr [ESI + 0x8]
ADD EBP,0x1
ADD EDI,0x18
ADD ESI,0x18
MOV dword ptr [ESP + 0x14],EDX
MOV ECX,dword ptr [ESP + 0x14]
SHR EDX,0x18
MOV dword ptr [ESP + 0x10],EAX
SHR ECX,0x8
MOV EAX,ECX
MOV ECX,EDX
MOV EDX,dword ptr [ESP + 0x14]
AND EAX,0xff00
OR ECX,EAX
MOV EAX,dword ptr [ESP + 0x10]
SHRD EAX,EDX,0x18
MOV EDX,dword ptr [ESP + 0x10]
AND EAX,0xff0000
OR EAX,ECX
MOV ECX,dword ptr [ESP + 0x14]
SHRD EDX,ECX,0x8
AND EDX,0xff000000
OR EDX,EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESI + -0x10],EDX
MOV dword ptr [ESI + -0xc],EAX
CMP dword ptr [ESP],EBP
JA 0x0001e56a
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [ESP + 0x28]
CALL 0x000130a0
ADD ESP,0x10
JMP 0x0001e46b
SUB ESP,0xc
PUSH dword ptr [ESP + 0x28]
CALL 0x000130a0
ADD ESP,0xc
LEA EAX,[EBX + 0xfffc28d5]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000130f0
MOV dword ptr [ESP],EAX
CALL 0x00066870
ADD ESP,0x10
JMP 0x0001e483
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "undefined8 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (if_statement "if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" if (parenthesized_expression "(DAT_000b6324 == 0)" ( (binary_expression "DAT_000b6324 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }" { (expression_statement "uVar3 = dcgettext(0,"64-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"64-bit relocation data",5)" identifier = (call_expression "dcgettext(0,"64-bit relocation data",5)" identifier (argument_list "(0,"64-bit relocation data",5)" ( number_literal , (string_literal ""64-bit relocation data"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" identifier = (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" identifier (argument_list "(1,0,param_3,0,uVar3)" ( number_literal , number_literal , identifier , number_literal , identifier ))))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = param_3 / 0x18;" (assignment_expression "local_3c = param_3 / 0x18" identifier = (binary_expression "param_3 / 0x18" identifier / number_literal)) ;) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" identifier = (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005dac0(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (undefined8 *)0x0)" ( (binary_expression "local_24 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" { (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0x17 < param_3)" ( (binary_expression "0x17 < param_3" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" identifier = identifier) ;) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      }" { (while_statement "while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" { (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,8)" identifier = (call_expression "(*DAT_000b9dd8)(pvVar7,8)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "(pvVar7,8)" ( identifier , number_literal )))) ;) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8)" identifier = (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 8,8)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "((int)pvVar7 + 8,8)" ( (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);" (assignment_expression "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8)" identifier = (call_expression "FUN_00067030((int)pvVar7 + 0x10,8)" identifier (argument_list "((int)pvVar7 + 0x10,8)" ( (binary_expression "(int)pvVar7 + 0x10" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;" if (parenthesized_expression "((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02'))" ( (binary_expression "(*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')" (parenthesized_expression "(*(short *)(param_1 + 0x42) != 8)" ( (binary_expression "*(short *)(param_1 + 0x42) != 8" (pointer_expression "*(short *)(param_1 + 0x42)" * (cast_expression "(short *)(param_1 + 0x42)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x42)" ( (binary_expression "param_1 + 0x42" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 0x15) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x15) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x15)" * (cast_expression "(char *)(param_1 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = *(uint *)((int)puVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)((int)puVar6 + 0xc)" identifier = (pointer_expression "*(uint *)((int)puVar6 + 0xc)" * (cast_expression "(uint *)((int)puVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0xc)" ( (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 1);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 1)" identifier = (pointer_expression "*(undefined4 *)(puVar6 + 1)" * (cast_expression "(undefined4 *)(puVar6 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 1)" ( (binary_expression "puVar6 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" identifier = (cast_expression "(void *)((int)pvVar7 + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0x18)" ( (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;" (assignment_expression "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (pointer_expression "*(uint *)(puVar6 + 1)" * (cast_expression "(uint *)(puVar6 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 1)" ( (binary_expression "puVar6 + 1" identifier + number_literal) )))) = (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 << 0x18" identifier << number_literal) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 >> 0x18" identifier >> number_literal)) | (binary_expression "uVar2 >> 8 & 0xff00" (binary_expression "uVar2 >> 8" identifier >> number_literal) & number_literal))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar6 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar6 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0xc)" ( (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (if_statement "if (local_3c <= uVar5) goto LAB_0001e620;" if (parenthesized_expression "(local_3c <= uVar5)" ( (binary_expression "local_3c <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0001e620;" goto statement_identifier ;)) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" identifier = (cast_expression "(void *)((int)pvVar7 + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0x18)" ( (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (labeled_statement "LAB_0001e620:\n    free(pvVar4);" statement_identifier : (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;)) }) (else_clause "else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" else (compound_statement "{\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" { (expression_statement "uVar3 = dcgettext(0,"32-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"32-bit relocation data",5)" identifier = (call_expression "dcgettext(0,"32-bit relocation data",5)" identifier (argument_list "(0,"32-bit relocation data",5)" ( number_literal , (string_literal ""32-bit relocation data"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" identifier = (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" identifier (argument_list "(1,0,param_3,0,uVar3)" ( number_literal , number_literal , identifier , number_literal , identifier ))))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = param_3 / 0xc;" (assignment_expression "local_3c = param_3 / 0xc" identifier = (binary_expression "param_3 / 0xc" identifier / number_literal)) ;) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" identifier = (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005dac0(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (undefined8 *)0x0)" ( (binary_expression "local_24 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" { (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0xb < param_3)" ( (binary_expression "0xb < param_3" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" identifier = identifier) ;) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" identifier = identifier) ;) (do_statement "do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      }" { (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,4)" identifier = (call_expression "(*DAT_000b9dd8)(pvVar7,4)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "(pvVar7,4)" ( identifier , number_literal )))) ;) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4)" identifier = (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 4,4)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "((int)pvVar7 + 4,4)" ( (binary_expression "(int)pvVar7 + 4" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = (int)pvVar7 + 8;" (assignment_expression "iVar1 = (int)pvVar7 + 8" identifier = (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0xc);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0xc)" identifier = (cast_expression "(void *)((int)pvVar7 + 0xc)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0xc)" ( (binary_expression "(int)pvVar7 + 0xc" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar8 = FUN_00067030(iVar1,4);" (assignment_expression "uVar8 = FUN_00067030(iVar1,4)" identifier = (call_expression "FUN_00067030(iVar1,4)" identifier (argument_list "(iVar1,4)" ( identifier , number_literal )))) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) }))) (expression_statement "*param_4 = (int)local_24;" (assignment_expression "*param_4 = (int)local_24" (pointer_expression "*param_4" * identifier) = (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_5 = local_3c;" (assignment_expression "*param_5 = local_3c" (pointer_expression "*param_5" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbfd_boolean __regparm3\nslurp_rela_relocs(Filedata *filedata,ulong rel_offset,ulong rel_size,Elf_Internal_Rela **relasp,\n                 ulong *nrelasp)\n\n{\n  uchar *field;\n  uint uVar1;\n  bfd_vma bVar2;\n  char *pcVar3;\n  uchar *puVar4;\n  uint uVar5;\n  Elf_Internal_Rela *pEVar6;\n  uchar *puVar7;\n  elf_vma eVar8;\n  uint local_3c;\n  Elf_Internal_Rela *local_24;\n  \n  if (is_32bit_elf == 0) {\n    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0x18;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(puVar4);\n  }\n  else {\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }\n  *relasp = local_24;\n  *nrelasp = local_3c;\n  return 1;\n}\n\n" comment (function_definition "bfd_boolean __regparm3\nslurp_rela_relocs(Filedata *filedata,ulong rel_offset,ulong rel_size,Elf_Internal_Rela **relasp,\n                 ulong *nrelasp)\n\n{\n  uchar *field;\n  uint uVar1;\n  bfd_vma bVar2;\n  char *pcVar3;\n  uchar *puVar4;\n  uint uVar5;\n  Elf_Internal_Rela *pEVar6;\n  uchar *puVar7;\n  elf_vma eVar8;\n  uint local_3c;\n  Elf_Internal_Rela *local_24;\n  \n  if (is_32bit_elf == 0) {\n    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0x18;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(puVar4);\n  }\n  else {\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }\n  *relasp = local_24;\n  *nrelasp = local_3c;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "slurp_rela_relocs(Filedata *filedata,ulong rel_offset,ulong rel_size,Elf_Internal_Rela **relasp,\n                 ulong *nrelasp)" identifier (parameter_list "(Filedata *filedata,ulong rel_offset,ulong rel_size,Elf_Internal_Rela **relasp,\n                 ulong *nrelasp)" ( (parameter_declaration "Filedata *filedata" type_identifier (pointer_declarator "*filedata" * identifier)) , (parameter_declaration "ulong rel_offset" type_identifier identifier) , (parameter_declaration "ulong rel_size" type_identifier identifier) , (parameter_declaration "Elf_Internal_Rela **relasp" type_identifier (pointer_declarator "**relasp" * (pointer_declarator "*relasp" * identifier))) , (parameter_declaration "ulong *nrelasp" type_identifier (pointer_declarator "*nrelasp" * identifier)) ))) (compound_statement "{\n  uchar *field;\n  uint uVar1;\n  bfd_vma bVar2;\n  char *pcVar3;\n  uchar *puVar4;\n  uint uVar5;\n  Elf_Internal_Rela *pEVar6;\n  uchar *puVar7;\n  elf_vma eVar8;\n  uint local_3c;\n  Elf_Internal_Rela *local_24;\n  \n  if (is_32bit_elf == 0) {\n    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0x18;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(puVar4);\n  }\n  else {\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }\n  *relasp = local_24;\n  *nrelasp = local_3c;\n  return 1;\n}" { (declaration "uchar *field;" type_identifier (pointer_declarator "*field" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bfd_vma bVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "Elf_Internal_Rela *pEVar6;" type_identifier (pointer_declarator "*pEVar6" * identifier) ;) (declaration "uchar *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "elf_vma eVar8;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "Elf_Internal_Rela *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (if_statement "if (is_32bit_elf == 0) {\n    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0x18;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(puVar4);\n  }\n  else {\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }" if (parenthesized_expression "(is_32bit_elf == 0)" ( (binary_expression "is_32bit_elf == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0x18;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(puVar4);\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"64-bit relocation data",5)" identifier = (cast_expression "(char *)dcgettext(0,"64-bit relocation data",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"64-bit relocation data",5)" identifier (argument_list "(0,"64-bit relocation data",5)" ( number_literal , (string_literal ""64-bit relocation data"" " string_content ") , number_literal ))))) ;) (expression_statement "puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);" (assignment_expression "puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" identifier = (cast_expression "(uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" identifier (argument_list "((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , number_literal , (cast_expression "(ulonglong)rel_size" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , identifier ))))) ;) (if_statement "if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar4 == (uchar *)0x0)" ( (binary_expression "puVar4 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = rel_size / 0x18;" (assignment_expression "local_3c = rel_size / 0x18" identifier = (binary_expression "rel_size / 0x18" identifier / number_literal)) ;) (expression_statement "local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);" (assignment_expression "local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18)" identifier = (cast_expression "(Elf_Internal_Rela *)cmalloc(local_3c,0x18)" ( (type_descriptor "Elf_Internal_Rela *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "cmalloc(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (Elf_Internal_Rela *)0x0)" ( (binary_expression "local_24 == (Elf_Internal_Rela *)0x0" identifier == (cast_expression "(Elf_Internal_Rela *)0x0" ( (type_descriptor "Elf_Internal_Rela *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }" { (expression_statement "free(puVar4);" (call_expression "free(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"out of memory parsing relocs\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(pcVar3);" (call_expression "error(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x17 < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0x17 < rel_size)" ( (binary_expression "0x17 < rel_size" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "pEVar6 = local_24;" (assignment_expression "pEVar6 = local_24" identifier = identifier) ;) (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        puVar7 = puVar7 + 0x18;\n        pEVar6 = pEVar6 + 1;\n      }" { (while_statement "while( true ) {\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          eVar8 = (*byte_get)(puVar7,8);\n          pEVar6->r_offset = eVar8;\n          eVar8 = (*byte_get)(puVar7 + 8,8);\n          pEVar6->r_info = eVar8;\n          eVar8 = byte_get_signed(puVar7 + 0x10,8);\n          pEVar6->r_addend = eVar8;\n          if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;\n          uVar1 = *(uint *)((int)&pEVar6->r_info + 4);\n          bVar2 = pEVar6->r_info;\n          uVar5 = uVar5 + 1;\n          puVar7 = puVar7 + 0x18;\n          *(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;\n          *(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;\n          pEVar6 = pEVar6 + 1;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" { (expression_statement "eVar8 = (*byte_get)(puVar7,8);" (assignment_expression "eVar8 = (*byte_get)(puVar7,8)" identifier = (call_expression "(*byte_get)(puVar7,8)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar7,8)" ( identifier , number_literal )))) ;) (expression_statement "pEVar6->r_offset = eVar8;" (assignment_expression "pEVar6->r_offset = eVar8" (field_expression "pEVar6->r_offset" identifier -> field_identifier) = identifier) ;) (expression_statement "eVar8 = (*byte_get)(puVar7 + 8,8);" (assignment_expression "eVar8 = (*byte_get)(puVar7 + 8,8)" identifier = (call_expression "(*byte_get)(puVar7 + 8,8)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar7 + 8,8)" ( (binary_expression "puVar7 + 8" identifier + number_literal) , number_literal )))) ;) (expression_statement "pEVar6->r_info = eVar8;" (assignment_expression "pEVar6->r_info = eVar8" (field_expression "pEVar6->r_info" identifier -> field_identifier) = identifier) ;) (expression_statement "eVar8 = byte_get_signed(puVar7 + 0x10,8);" (assignment_expression "eVar8 = byte_get_signed(puVar7 + 0x10,8)" identifier = (call_expression "byte_get_signed(puVar7 + 0x10,8)" identifier (argument_list "(puVar7 + 0x10,8)" ( (binary_expression "puVar7 + 0x10" identifier + number_literal) , number_literal )))) ;) (expression_statement "pEVar6->r_addend = eVar8;" (assignment_expression "pEVar6->r_addend = eVar8" (field_expression "pEVar6->r_addend" identifier -> field_identifier) = identifier) ;) (if_statement "if (((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')) break;" if (parenthesized_expression "(((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02'))" ( (binary_expression "((filedata->file_header).e_machine != 8) ||\n             ((filedata->file_header).e_ident[5] == '\x02')" (parenthesized_expression "((filedata->file_header).e_machine != 8)" ( (binary_expression "(filedata->file_header).e_machine != 8" (field_expression "(filedata->file_header).e_machine" (parenthesized_expression "(filedata->file_header)" ( (field_expression "filedata->file_header" identifier -> field_identifier) )) . field_identifier) != number_literal) )) || (parenthesized_expression "((filedata->file_header).e_ident[5] == '\x02')" ( (binary_expression "(filedata->file_header).e_ident[5] == '\x02'" (subscript_expression "(filedata->file_header).e_ident[5]" (field_expression "(filedata->file_header).e_ident" (parenthesized_expression "(filedata->file_header)" ( (field_expression "filedata->file_header" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *(uint *)((int)&pEVar6->r_info + 4);" (assignment_expression "uVar1 = *(uint *)((int)&pEVar6->r_info + 4)" identifier = (pointer_expression "*(uint *)((int)&pEVar6->r_info + 4)" * (cast_expression "(uint *)((int)&pEVar6->r_info + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar6->r_info + 4)" ( (binary_expression "(int)&pEVar6->r_info + 4" (cast_expression "(int)&pEVar6->r_info" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar6->r_info" & (field_expression "pEVar6->r_info" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "bVar2 = pEVar6->r_info;" (assignment_expression "bVar2 = pEVar6->r_info" identifier = (field_expression "pEVar6->r_info" identifier -> field_identifier)) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 0x18;" (assignment_expression "puVar7 = puVar7 + 0x18" identifier = (binary_expression "puVar7 + 0x18" identifier + number_literal)) ;) (expression_statement "*(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00;" (assignment_expression "*(uint *)&pEVar6->r_info =\n               uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00" (pointer_expression "*(uint *)&pEVar6->r_info" * (cast_expression "(uint *)&pEVar6->r_info" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pEVar6->r_info" & (field_expression "pEVar6->r_info" identifier -> field_identifier)))) = (binary_expression "uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18 | uVar1 >> 8 & 0xff00" (binary_expression "uVar1 << 0x18 | (uVar1 & 0xff00) << 8 | uVar1 >> 0x18" (binary_expression "uVar1 << 0x18 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 << 0x18" identifier << number_literal) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 >> 0x18" identifier >> number_literal)) | (binary_expression "uVar1 >> 8 & 0xff00" (binary_expression "uVar1 >> 8" identifier >> number_literal) & number_literal))) ;) (expression_statement "*(int *)((int)&pEVar6->r_info + 4) = (int)bVar2;" (assignment_expression "*(int *)((int)&pEVar6->r_info + 4) = (int)bVar2" (pointer_expression "*(int *)((int)&pEVar6->r_info + 4)" * (cast_expression "(int *)((int)&pEVar6->r_info + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar6->r_info + 4)" ( (binary_expression "(int)&pEVar6->r_info + 4" (cast_expression "(int)&pEVar6->r_info" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar6->r_info" & (field_expression "pEVar6->r_info" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(int)bVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pEVar6 = pEVar6 + 1;" (assignment_expression "pEVar6 = pEVar6 + 1" identifier = (binary_expression "pEVar6 + 1" identifier + number_literal)) ;) (if_statement "if (local_3c <= uVar5) goto LAB_0001e620;" if (parenthesized_expression "(local_3c <= uVar5)" ( (binary_expression "local_3c <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0001e620;" goto statement_identifier ;)) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 0x18;" (assignment_expression "puVar7 = puVar7 + 0x18" identifier = (binary_expression "puVar7 + 0x18" identifier + number_literal)) ;) (expression_statement "pEVar6 = pEVar6 + 1;" (assignment_expression "pEVar6 = pEVar6 + 1" identifier = (binary_expression "pEVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (labeled_statement "LAB_0001e620:\n    free(puVar4);" statement_identifier : (expression_statement "free(puVar4);" (call_expression "free(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;)) }) (else_clause "else {\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }" else (compound_statement "{\n    pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);\n    puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);\n    if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }\n    local_3c = rel_size / 0xc;\n    local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);\n    if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }\n    if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }\n    free(puVar4);\n  }" { (expression_statement "pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"32-bit relocation data",5)" identifier = (cast_expression "(char *)dcgettext(0,"32-bit relocation data",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"32-bit relocation data",5)" identifier (argument_list "(0,"32-bit relocation data",5)" ( number_literal , (string_literal ""32-bit relocation data"" " string_content ") , number_literal ))))) ;) (expression_statement "puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3);" (assignment_expression "puVar4 = (uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" identifier = (cast_expression "(uchar *)get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "get_data((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" identifier (argument_list "((void *)0x0,filedata,rel_offset,1,(ulonglong)rel_size,pcVar3)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , identifier , number_literal , (cast_expression "(ulonglong)rel_size" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , identifier ))))) ;) (if_statement "if (puVar4 == (uchar *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar4 == (uchar *)0x0)" ( (binary_expression "puVar4 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = rel_size / 0xc;" (assignment_expression "local_3c = rel_size / 0xc" identifier = (binary_expression "rel_size / 0xc" identifier / number_literal)) ;) (expression_statement "local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18);" (assignment_expression "local_24 = (Elf_Internal_Rela *)cmalloc(local_3c,0x18)" identifier = (cast_expression "(Elf_Internal_Rela *)cmalloc(local_3c,0x18)" ( (type_descriptor "Elf_Internal_Rela *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "cmalloc(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (Elf_Internal_Rela *)0x0) {\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (Elf_Internal_Rela *)0x0)" ( (binary_expression "local_24 == (Elf_Internal_Rela *)0x0" identifier == (cast_expression "(Elf_Internal_Rela *)0x0" ( (type_descriptor "Elf_Internal_Rela *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(puVar4);\n      pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);\n      error(pcVar3);\n      return 0;\n    }" { (expression_statement "free(puVar4);" (call_expression "free(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"out of memory parsing relocs\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(pcVar3);" (call_expression "error(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0xb < rel_size) {\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0xb < rel_size)" ( (binary_expression "0xb < rel_size" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      pEVar6 = local_24;\n      puVar7 = puVar4;\n      do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "pEVar6 = local_24;" (assignment_expression "pEVar6 = local_24" identifier = identifier) ;) (expression_statement "puVar7 = puVar4;" (assignment_expression "puVar7 = puVar4" identifier = identifier) ;) (do_statement "do {\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        eVar8 = (*byte_get)(puVar7,4);\n        pEVar6->r_offset = eVar8;\n        eVar8 = (*byte_get)(puVar7 + 4,4);\n        pEVar6->r_info = eVar8;\n        field = puVar7 + 8;\n        puVar7 = puVar7 + 0xc;\n        eVar8 = byte_get_signed(field,4);\n        pEVar6->r_addend = eVar8;\n        uVar5 = uVar5 + 1;\n        pEVar6 = pEVar6 + 1;\n      }" { (expression_statement "eVar8 = (*byte_get)(puVar7,4);" (assignment_expression "eVar8 = (*byte_get)(puVar7,4)" identifier = (call_expression "(*byte_get)(puVar7,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar7,4)" ( identifier , number_literal )))) ;) (expression_statement "pEVar6->r_offset = eVar8;" (assignment_expression "pEVar6->r_offset = eVar8" (field_expression "pEVar6->r_offset" identifier -> field_identifier) = identifier) ;) (expression_statement "eVar8 = (*byte_get)(puVar7 + 4,4);" (assignment_expression "eVar8 = (*byte_get)(puVar7 + 4,4)" identifier = (call_expression "(*byte_get)(puVar7 + 4,4)" (parenthesized_expression "(*byte_get)" ( (pointer_expression "*byte_get" * identifier) )) (argument_list "(puVar7 + 4,4)" ( (binary_expression "puVar7 + 4" identifier + number_literal) , number_literal )))) ;) (expression_statement "pEVar6->r_info = eVar8;" (assignment_expression "pEVar6->r_info = eVar8" (field_expression "pEVar6->r_info" identifier -> field_identifier) = identifier) ;) (expression_statement "field = puVar7 + 8;" (assignment_expression "field = puVar7 + 8" identifier = (binary_expression "puVar7 + 8" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + 0xc;" (assignment_expression "puVar7 = puVar7 + 0xc" identifier = (binary_expression "puVar7 + 0xc" identifier + number_literal)) ;) (expression_statement "eVar8 = byte_get_signed(field,4);" (assignment_expression "eVar8 = byte_get_signed(field,4)" identifier = (call_expression "byte_get_signed(field,4)" identifier (argument_list "(field,4)" ( identifier , number_literal )))) ;) (expression_statement "pEVar6->r_addend = eVar8;" (assignment_expression "pEVar6->r_addend = eVar8" (field_expression "pEVar6->r_addend" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "pEVar6 = pEVar6 + 1;" (assignment_expression "pEVar6 = pEVar6 + 1" identifier = (binary_expression "pEVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (expression_statement "free(puVar4);" (call_expression "free(puVar4)" identifier (argument_list "(puVar4)" ( identifier ))) ;) }))) (expression_statement "*relasp = local_24;" (assignment_expression "*relasp = local_24" (pointer_expression "*relasp" * identifier) = identifier) ;) (expression_statement "*nrelasp = local_3c;" (assignment_expression "*nrelasp = local_3c" (pointer_expression "*nrelasp" * identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3\nFUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "undefined8 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "void *pvVar7;" primitive_type (pointer_declarator "*pvVar7" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "undefined8 *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (if_statement "if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" if (parenthesized_expression "(DAT_000b6324 == 0)" ( (binary_expression "DAT_000b6324 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }" { (expression_statement "uVar3 = dcgettext(0,"64-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"64-bit relocation data",5)" identifier = (call_expression "dcgettext(0,"64-bit relocation data",5)" identifier (argument_list "(0,"64-bit relocation data",5)" ( number_literal , (string_literal ""64-bit relocation data"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" identifier = (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" identifier (argument_list "(1,0,param_3,0,uVar3)" ( number_literal , number_literal , identifier , number_literal , identifier ))))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = param_3 / 0x18;" (assignment_expression "local_3c = param_3 / 0x18" identifier = (binary_expression "param_3 / 0x18" identifier / number_literal)) ;) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" identifier = (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005dac0(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (undefined8 *)0x0)" ( (binary_expression "local_24 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" { (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0x17 < param_3)" ( (binary_expression "0x17 < param_3" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" identifier = identifier) ;) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      }" { (while_statement "while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" { (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,8)" identifier = (call_expression "(*DAT_000b9dd8)(pvVar7,8)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "(pvVar7,8)" ( identifier , number_literal )))) ;) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8)" identifier = (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 8,8)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "((int)pvVar7 + 8,8)" ( (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);" (assignment_expression "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8)" identifier = (call_expression "FUN_00067030((int)pvVar7 + 0x10,8)" identifier (argument_list "((int)pvVar7 + 0x10,8)" ( (binary_expression "(int)pvVar7 + 0x10" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;" if (parenthesized_expression "((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02'))" ( (binary_expression "(*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')" (parenthesized_expression "(*(short *)(param_1 + 0x42) != 8)" ( (binary_expression "*(short *)(param_1 + 0x42) != 8" (pointer_expression "*(short *)(param_1 + 0x42)" * (cast_expression "(short *)(param_1 + 0x42)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x42)" ( (binary_expression "param_1 + 0x42" identifier + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 0x15) == '\x02')" ( (binary_expression "*(char *)(param_1 + 0x15) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x15)" * (cast_expression "(char *)(param_1 + 0x15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x15)" ( (binary_expression "param_1 + 0x15" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = *(uint *)((int)puVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)((int)puVar6 + 0xc)" identifier = (pointer_expression "*(uint *)((int)puVar6 + 0xc)" * (cast_expression "(uint *)((int)puVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0xc)" ( (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 1);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 1)" identifier = (pointer_expression "*(undefined4 *)(puVar6 + 1)" * (cast_expression "(undefined4 *)(puVar6 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 1)" ( (binary_expression "puVar6 + 1" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" identifier = (cast_expression "(void *)((int)pvVar7 + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0x18)" ( (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;" (assignment_expression "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (pointer_expression "*(uint *)(puVar6 + 1)" * (cast_expression "(uint *)(puVar6 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar6 + 1)" ( (binary_expression "puVar6 + 1" identifier + number_literal) )))) = (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 << 0x18" identifier << number_literal) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 >> 0x18" identifier >> number_literal)) | (binary_expression "uVar2 >> 8 & 0xff00" (binary_expression "uVar2 >> 8" identifier >> number_literal) & number_literal))) ;) (expression_statement "*(undefined4 *)((int)puVar6 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar6 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar6 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar6 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 0xc)" ( (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) (if_statement "if (local_3c <= uVar5) goto LAB_0001e620;" if (parenthesized_expression "(local_3c <= uVar5)" ( (binary_expression "local_3c <= uVar5" identifier <= identifier) )) (goto_statement "goto LAB_0001e620;" goto statement_identifier ;)) })) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" identifier = (cast_expression "(void *)((int)pvVar7 + 0x18)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0x18)" ( (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (labeled_statement "LAB_0001e620:\n    free(pvVar4);" statement_identifier : (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;)) }) (else_clause "else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" else (compound_statement "{\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" { (expression_statement "uVar3 = dcgettext(0,"32-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"32-bit relocation data",5)" identifier = (call_expression "dcgettext(0,"32-bit relocation data",5)" identifier (argument_list "(0,"32-bit relocation data",5)" ( number_literal , (string_literal ""32-bit relocation data"" " string_content ") , number_literal )))) ;) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" identifier = (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" identifier (argument_list "(1,0,param_3,0,uVar3)" ( number_literal , number_literal , identifier , number_literal , identifier ))))) ;) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pvVar4 == (void *)0x0)" ( (binary_expression "pvVar4 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_3c = param_3 / 0xc;" (assignment_expression "local_3c = param_3 / 0xc" identifier = (binary_expression "param_3 / 0xc" identifier / number_literal)) ;) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" identifier = (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005dac0(local_3c,0x18)" identifier (argument_list "(local_3c,0x18)" ( identifier , number_literal ))))) ;) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" if (parenthesized_expression "(local_24 == (undefined8 *)0x0)" ( (binary_expression "local_24 == (undefined8 *)0x0" identifier == (cast_expression "(undefined8 *)0x0" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" { (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" identifier = (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" identifier (argument_list "(0,"out of memory parsing relocs\n",5)" ( number_literal , (string_literal ""out of memory parsing relocs\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" if (parenthesized_expression "(0xb < param_3)" ( (binary_expression "0xb < param_3" number_literal < identifier) )) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" identifier = identifier) ;) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" identifier = identifier) ;) (do_statement "do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" do (compound_statement "{\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      }" { (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,4)" identifier = (call_expression "(*DAT_000b9dd8)(pvVar7,4)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "(pvVar7,4)" ( identifier , number_literal )))) ;) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4)" identifier = (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 4,4)" (parenthesized_expression "(*DAT_000b9dd8)" ( (pointer_expression "*DAT_000b9dd8" * identifier) )) (argument_list "((int)pvVar7 + 4,4)" ( (binary_expression "(int)pvVar7 + 4" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , number_literal )))) ;) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = (int)pvVar7 + 8;" (assignment_expression "iVar1 = (int)pvVar7 + 8" identifier = (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0xc);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0xc)" identifier = (cast_expression "(void *)((int)pvVar7 + 0xc)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar7 + 0xc)" ( (binary_expression "(int)pvVar7 + 0xc" (cast_expression "(int)pvVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "uVar8 = FUN_00067030(iVar1,4);" (assignment_expression "uVar8 = FUN_00067030(iVar1,4)" identifier = (call_expression "FUN_00067030(iVar1,4)" identifier (argument_list "(iVar1,4)" ( identifier , number_literal )))) ;) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" identifier = (binary_expression "uVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" identifier = (binary_expression "puVar6 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar5 < local_3c)" ( (binary_expression "uVar5 < local_3c" identifier < identifier) )) ;) })) (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" identifier (argument_list "(pvVar4)" ( identifier ))) ;) }))) (expression_statement "*param_4 = (int)local_24;" (assignment_expression "*param_4 = (int)local_24" (pointer_expression "*param_4" * identifier) = (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_5 = local_3c;" (assignment_expression "*param_5 = local_3c" (pointer_expression "*param_5" * identifier) = identifier) ;) (return_statement "return 1;" 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 IDENT) , (parameter_declaration TYPE (pointer_declarator * 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , IDENT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT << LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT >> LIT)) | (binary_expression (binary_expression IDENT >> LIT) & LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT , IDENT , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3\nFUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001e360(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" (identifier "FUN_0001e360") (parameter_list "(int param_1,undefined4 param_2,uint param_3,int *param_4,uint *param_5)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "uint *param_5" (type_identifier "uint") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  void *pvVar4;\n  uint uVar5;\n  undefined8 *puVar6;\n  void *pvVar7;\n  undefined8 uVar8;\n  uint local_3c;\n  undefined8 *local_24;\n  \n  if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }\n  *param_4 = (int)local_24;\n  *param_5 = local_3c;\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "undefined8 *puVar6;" (type_identifier "undefined8") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "void *pvVar7;" (primitive_type "void") (pointer_declarator "*pvVar7" (* "*") (identifier "pvVar7")) (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (declaration "uint local_3c;" (type_identifier "uint") (identifier "local_3c") (; ";")) (declaration "undefined8 *local_24;" (type_identifier "undefined8") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (if_statement "if (DAT_000b6324 == 0) {\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }\n  else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" (if "if") (parenthesized_expression "(DAT_000b6324 == 0)" (( "(") (binary_expression "DAT_000b6324 == 0" (identifier "DAT_000b6324") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = dcgettext(0,"64-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0x18;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\nLAB_0001e620:\n    free(pvVar4);\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"64-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"64-bit relocation data",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"64-bit relocation data",5)" (identifier "dcgettext") (argument_list "(0,"64-bit relocation data",5)" (( "(") (number_literal "0") (, ",") (string_literal ""64-bit relocation data"" (" """) (string_content "64-bit relocation data") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" (identifier "pvVar4") (= "=") (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" (identifier "FUN_0001bf90") (argument_list "(1,0,param_3,0,uVar3)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (number_literal "0") (, ",") (identifier "uVar3") () ")"))))) (; ";")) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(pvVar4 == (void *)0x0)" (( "(") (binary_expression "pvVar4 == (void *)0x0" (identifier "pvVar4") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_3c = param_3 / 0x18;" (assignment_expression "local_3c = param_3 / 0x18" (identifier "local_3c") (= "=") (binary_expression "param_3 / 0x18" (identifier "param_3") (/ "/") (number_literal "0x18"))) (; ";")) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" (identifier "local_24") (= "=") (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005dac0(local_3c,0x18)" (identifier "FUN_0005dac0") (argument_list "(local_3c,0x18)" (( "(") (identifier "local_3c") (, ",") (number_literal "0x18") () ")"))))) (; ";")) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" (if "if") (parenthesized_expression "(local_24 == (undefined8 *)0x0)" (( "(") (binary_expression "local_24 == (undefined8 *)0x0" (identifier "local_24") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" ({ "{") (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" (identifier "free") (argument_list "(pvVar4)" (( "(") (identifier "pvVar4") () ")"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" (identifier "dcgettext") (argument_list "(0,"out of memory parsing relocs\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""out of memory parsing relocs\n"" (" """) (string_content "out of memory parsing relocs") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" (identifier "error") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (0x17 < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" (if "if") (parenthesized_expression "(0x17 < param_3)" (( "(") (binary_expression "0x17 < param_3" (number_literal "0x17") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" (identifier "puVar6") (= "=") (identifier "local_24")) (; ";")) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" (identifier "pvVar7") (= "=") (identifier "pvVar4")) (; ";")) (do_statement "do {\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" (do "do") (compound_statement "{\n        while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }\n        uVar5 = uVar5 + 1;\n        pvVar7 = (void *)((int)pvVar7 + 0x18);\n        puVar6 = puVar6 + 3;\n      }" ({ "{") (while_statement "while( true ) {\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          uVar8 = (*DAT_000b9dd8)(pvVar7,8);\n          *puVar6 = uVar8;\n          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);\n          puVar6[1] = uVar8;\n          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);\n          puVar6[2] = uVar8;\n          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;\n          uVar2 = *(uint *)((int)puVar6 + 0xc);\n          uVar3 = *(undefined4 *)(puVar6 + 1);\n          uVar5 = uVar5 + 1;\n          pvVar7 = (void *)((int)pvVar7 + 0x18);\n          *(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;\n          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;\n          puVar6 = puVar6 + 3;\n          if (local_3c <= uVar5) goto LAB_0001e620;\n        }" ({ "{") (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,8)" (identifier "uVar8") (= "=") (call_expression "(*DAT_000b9dd8)(pvVar7,8)" (parenthesized_expression "(*DAT_000b9dd8)" (( "(") (pointer_expression "*DAT_000b9dd8" (* "*") (identifier "DAT_000b9dd8")) () ")")) (argument_list "(pvVar7,8)" (( "(") (identifier "pvVar7") (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8)" (identifier "uVar8") (= "=") (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 8,8)" (parenthesized_expression "(*DAT_000b9dd8)" (( "(") (pointer_expression "*DAT_000b9dd8" (* "*") (identifier "DAT_000b9dd8")) () ")")) (argument_list "((int)pvVar7 + 8,8)" (( "(") (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "8")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);" (assignment_expression "uVar8 = FUN_00067030((int)pvVar7 + 0x10,8)" (identifier "uVar8") (= "=") (call_expression "FUN_00067030((int)pvVar7 + 0x10,8)" (identifier "FUN_00067030") (argument_list "((int)pvVar7 + 0x10,8)" (( "(") (binary_expression "(int)pvVar7 + 0x10" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "0x10")) (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (if_statement "if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;" (if "if") (parenthesized_expression "((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02'))" (( "(") (binary_expression "(*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')" (parenthesized_expression "(*(short *)(param_1 + 0x42) != 8)" (( "(") (binary_expression "*(short *)(param_1 + 0x42) != 8" (pointer_expression "*(short *)(param_1 + 0x42)" (* "*") (cast_expression "(short *)(param_1 + 0x42)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x42)" (( "(") (binary_expression "param_1 + 0x42" (identifier "param_1") (+ "+") (number_literal "0x42")) () ")")))) (!= "!=") (number_literal "8")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + 0x15) == '\x02')" (( "(") (binary_expression "*(char *)(param_1 + 0x15) == '\x02'" (pointer_expression "*(char *)(param_1 + 0x15)" (* "*") (cast_expression "(char *)(param_1 + 0x15)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x15)" (( "(") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar2 = *(uint *)((int)puVar6 + 0xc);" (assignment_expression "uVar2 = *(uint *)((int)puVar6 + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)((int)puVar6 + 0xc)" (* "*") (cast_expression "(uint *)((int)puVar6 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0xc)" (( "(") (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(puVar6 + 1);" (assignment_expression "uVar3 = *(undefined4 *)(puVar6 + 1)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(puVar6 + 1)" (* "*") (cast_expression "(undefined4 *)(puVar6 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 1)" (( "(") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" (identifier "pvVar7") (= "=") (cast_expression "(void *)((int)pvVar7 + 0x18)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar7 + 0x18)" (( "(") (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;" (assignment_expression "*(uint *)(puVar6 + 1) =\n               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (pointer_expression "*(uint *)(puVar6 + 1)" (* "*") (cast_expression "(uint *)(puVar6 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar6 + 1)" (( "(") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1")) () ")")))) (= "=") (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18" (binary_expression "uVar2 << 0x18 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18"))) (| "|") (binary_expression "uVar2 >> 8 & 0xff00" (binary_expression "uVar2 >> 8" (identifier "uVar2") (>> ">>") (number_literal "8")) (& "&") (number_literal "0xff00")))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar6 + 0xc) = uVar3;" (assignment_expression "*(undefined4 *)((int)puVar6 + 0xc) = uVar3" (pointer_expression "*(undefined4 *)((int)puVar6 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar6 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 0xc)" (( "(") (binary_expression "(int)puVar6 + 0xc" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (local_3c <= uVar5) goto LAB_0001e620;" (if "if") (parenthesized_expression "(local_3c <= uVar5)" (( "(") (binary_expression "local_3c <= uVar5" (identifier "local_3c") (<= "<=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_0001e620;" (goto "goto") (statement_identifier "LAB_0001e620") (; ";"))) (} "}"))) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0x18);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0x18)" (identifier "pvVar7") (= "=") (cast_expression "(void *)((int)pvVar7 + 0x18)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar7 + 0x18)" (( "(") (binary_expression "(int)pvVar7 + 0x18" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < local_3c)" (( "(") (binary_expression "uVar5 < local_3c" (identifier "uVar5") (< "<") (identifier "local_3c")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0001e620:\n    free(pvVar4);" (statement_identifier "LAB_0001e620") (: ":") (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" (identifier "free") (argument_list "(pvVar4)" (( "(") (identifier "pvVar4") () ")"))) (; ";"))) (} "}")) (else_clause "else {\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" (else "else") (compound_statement "{\n    uVar3 = dcgettext(0,"32-bit relocation data",5);\n    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);\n    if (pvVar4 == (void *)0x0) {\n      return 0;\n    }\n    local_3c = param_3 / 0xc;\n    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);\n    if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }\n    if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }\n    free(pvVar4);\n  }" ({ "{") (expression_statement "uVar3 = dcgettext(0,"32-bit relocation data",5);" (assignment_expression "uVar3 = dcgettext(0,"32-bit relocation data",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"32-bit relocation data",5)" (identifier "dcgettext") (argument_list "(0,"32-bit relocation data",5)" (( "(") (number_literal "0") (, ",") (string_literal ""32-bit relocation data"" (" """) (string_content "32-bit relocation data") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);" (assignment_expression "pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3)" (identifier "pvVar4") (= "=") (cast_expression "(void *)FUN_0001bf90(1,0,param_3,0,uVar3)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001bf90(1,0,param_3,0,uVar3)" (identifier "FUN_0001bf90") (argument_list "(1,0,param_3,0,uVar3)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (identifier "param_3") (, ",") (number_literal "0") (, ",") (identifier "uVar3") () ")"))))) (; ";")) (if_statement "if (pvVar4 == (void *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(pvVar4 == (void *)0x0)" (( "(") (binary_expression "pvVar4 == (void *)0x0" (identifier "pvVar4") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_3c = param_3 / 0xc;" (assignment_expression "local_3c = param_3 / 0xc" (identifier "local_3c") (= "=") (binary_expression "param_3 / 0xc" (identifier "param_3") (/ "/") (number_literal "0xc"))) (; ";")) (expression_statement "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);" (assignment_expression "local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18)" (identifier "local_24") (= "=") (cast_expression "(undefined8 *)FUN_0005dac0(local_3c,0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005dac0(local_3c,0x18)" (identifier "FUN_0005dac0") (argument_list "(local_3c,0x18)" (( "(") (identifier "local_3c") (, ",") (number_literal "0x18") () ")"))))) (; ";")) (if_statement "if (local_24 == (undefined8 *)0x0) {\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" (if "if") (parenthesized_expression "(local_24 == (undefined8 *)0x0)" (( "(") (binary_expression "local_24 == (undefined8 *)0x0" (identifier "local_24") (== "==") (cast_expression "(undefined8 *)0x0" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(pvVar4);\n      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);\n      error(uVar3);\n      return 0;\n    }" ({ "{") (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" (identifier "free") (argument_list "(pvVar4)" (( "(") (identifier "pvVar4") () ")"))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);" (assignment_expression "uVar3 = dcgettext(0,"out of memory parsing relocs\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"out of memory parsing relocs\n",5)" (identifier "dcgettext") (argument_list "(0,"out of memory parsing relocs\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""out of memory parsing relocs\n"" (" """) (string_content "out of memory parsing relocs") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar3);" (call_expression "error(uVar3)" (identifier "error") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (0xb < param_3) {\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" (if "if") (parenthesized_expression "(0xb < param_3)" (( "(") (binary_expression "0xb < param_3" (number_literal "0xb") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      uVar5 = 0;\n      puVar6 = local_24;\n      pvVar7 = pvVar4;\n      do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);\n    }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar6 = local_24;" (assignment_expression "puVar6 = local_24" (identifier "puVar6") (= "=") (identifier "local_24")) (; ";")) (expression_statement "pvVar7 = pvVar4;" (assignment_expression "pvVar7 = pvVar4" (identifier "pvVar7") (= "=") (identifier "pvVar4")) (; ";")) (do_statement "do {\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      } while (uVar5 < local_3c);" (do "do") (compound_statement "{\n        uVar8 = (*DAT_000b9dd8)(pvVar7,4);\n        *puVar6 = uVar8;\n        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);\n        puVar6[1] = uVar8;\n        iVar1 = (int)pvVar7 + 8;\n        pvVar7 = (void *)((int)pvVar7 + 0xc);\n        uVar8 = FUN_00067030(iVar1,4);\n        puVar6[2] = uVar8;\n        uVar5 = uVar5 + 1;\n        puVar6 = puVar6 + 3;\n      }" ({ "{") (expression_statement "uVar8 = (*DAT_000b9dd8)(pvVar7,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)(pvVar7,4)" (identifier "uVar8") (= "=") (call_expression "(*DAT_000b9dd8)(pvVar7,4)" (parenthesized_expression "(*DAT_000b9dd8)" (( "(") (pointer_expression "*DAT_000b9dd8" (* "*") (identifier "DAT_000b9dd8")) () ")")) (argument_list "(pvVar7,4)" (( "(") (identifier "pvVar7") (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "*puVar6 = uVar8;" (assignment_expression "*puVar6 = uVar8" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);" (assignment_expression "uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4)" (identifier "uVar8") (= "=") (call_expression "(*DAT_000b9dd8)((int)pvVar7 + 4,4)" (parenthesized_expression "(*DAT_000b9dd8)" (( "(") (pointer_expression "*DAT_000b9dd8" (* "*") (identifier "DAT_000b9dd8")) () ")")) (argument_list "((int)pvVar7 + 4,4)" (( "(") (binary_expression "(int)pvVar7 + 4" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "4")) (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "puVar6[1] = uVar8;" (assignment_expression "puVar6[1] = uVar8" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "iVar1 = (int)pvVar7 + 8;" (assignment_expression "iVar1 = (int)pvVar7 + 8" (identifier "iVar1") (= "=") (binary_expression "(int)pvVar7 + 8" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "8"))) (; ";")) (expression_statement "pvVar7 = (void *)((int)pvVar7 + 0xc);" (assignment_expression "pvVar7 = (void *)((int)pvVar7 + 0xc)" (identifier "pvVar7") (= "=") (cast_expression "(void *)((int)pvVar7 + 0xc)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pvVar7 + 0xc)" (( "(") (binary_expression "(int)pvVar7 + 0xc" (cast_expression "(int)pvVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar7")) (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "uVar8 = FUN_00067030(iVar1,4);" (assignment_expression "uVar8 = FUN_00067030(iVar1,4)" (identifier "uVar8") (= "=") (call_expression "FUN_00067030(iVar1,4)" (identifier "FUN_00067030") (argument_list "(iVar1,4)" (( "(") (identifier "iVar1") (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "puVar6[2] = uVar8;" (assignment_expression "puVar6[2] = uVar8" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar5 = uVar5 + 1;" (assignment_expression "uVar5 = uVar5 + 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = puVar6 + 3;" (assignment_expression "puVar6 = puVar6 + 3" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 3" (identifier "puVar6") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar5 < local_3c)" (( "(") (binary_expression "uVar5 < local_3c" (identifier "uVar5") (< "<") (identifier "local_3c")) () ")")) (; ";")) (} "}"))) (expression_statement "free(pvVar4);" (call_expression "free(pvVar4)" (identifier "free") (argument_list "(pvVar4)" (( "(") (identifier "pvVar4") () ")"))) (; ";")) (} "}")))) (expression_statement "*param_4 = (int)local_24;" (assignment_expression "*param_4 = (int)local_24" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24"))) (; ";")) (expression_statement "*param_5 = local_3c;" (assignment_expression "*param_5 = local_3c" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "local_3c")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 __regparm3
function_1(type_2 *filedata,type_3 rel_offset,type_3 var_5,type_4 **relasp,
                 type_3 *nrelasp)

{
  type_5 *field;
  type_6 var_13;
  type_7 bVar2;
  char *pcVar3;
  type_5 *var_4;
  type_6 var_12;
  type_4 *var_14;
  type_5 *var_10;
  type_8 eVar8;
  type_6 var_15;
  type_4 *var_7;
  
  if (var_1 == 0) {
    pcVar3 = (char *)var_2(0,"64-bit relocation data",5);
    var_4 = (type_5 *)var_3((void *)0x0,filedata,rel_offset,1,(type_9)var_5,pcVar3);
    if (var_4 == (type_5 *)0x0) {
      return 0;
    }
    var_15 = var_5 / 0x18;
    var_7 = (type_4 *)var_6(var_15,0x18);
    if (var_7 == (type_4 *)0x0) {
      var_8(var_4);
      pcVar3 = (char *)var_2(0,"out of memory parsing relocs\n",5);
      var_9(pcVar3);
      return 0;
    }
    if (0x17 < var_5) {
      var_12 = 0;
      var_14 = var_7;
      var_10 = var_4;
      do {
        while( true ) {
          eVar8 = (*byte_get)(var_10,8);
          var_14->r_offset = eVar8;
          eVar8 = (*byte_get)(var_10 + 8,8);
          var_14->r_info = eVar8;
          eVar8 = var_11(var_10 + 0x10,8);
          var_14->r_addend = eVar8;
          if (((filedata->file_header).e_machine != 8) ||
             ((filedata->file_header).e_ident[5] == '\x02')) break;
          var_13 = *(type_6 *)((int)&var_14->r_info + 4);
          bVar2 = var_14->r_info;
          var_12 = var_12 + 1;
          var_10 = var_10 + 0x18;
          *(type_6 *)&var_14->r_info =
               var_13 << 0x18 | (var_13 & 0xff00) << 8 | var_13 >> 0x18 | var_13 >> 8 & 0xff00;
          *(int *)((int)&var_14->r_info + 4) = (int)bVar2;
          var_14 = var_14 + 1;
          if (var_15 <= var_12) goto LAB_0001e620;
        }
        var_12 = var_12 + 1;
        var_10 = var_10 + 0x18;
        var_14 = var_14 + 1;
      } while (var_12 < var_15);
    }
LAB_0001e620:
    var_8(var_4);
  }
  else {
    pcVar3 = (char *)var_2(0,"32-bit relocation data",5);
    var_4 = (type_5 *)var_3((void *)0x0,filedata,rel_offset,1,(type_9)var_5,pcVar3);
    if (var_4 == (type_5 *)0x0) {
      return 0;
    }
    var_15 = var_5 / 0xc;
    var_7 = (type_4 *)var_6(var_15,0x18);
    if (var_7 == (type_4 *)0x0) {
      var_8(var_4);
      pcVar3 = (char *)var_2(0,"out of memory parsing relocs\n",5);
      var_9(pcVar3);
      return 0;
    }
    if (0xb < var_5) {
      var_12 = 0;
      var_14 = var_7;
      var_10 = var_4;
      do {
        eVar8 = (*byte_get)(var_10,4);
        var_14->r_offset = eVar8;
        eVar8 = (*byte_get)(var_10 + 4,4);
        var_14->r_info = eVar8;
        field = var_10 + 8;
        var_10 = var_10 + 0xc;
        eVar8 = var_11(field,4);
        var_14->r_addend = eVar8;
        var_12 = var_12 + 1;
        var_14 = var_14 + 1;
      } while (var_12 < var_15);
    }
    var_8(var_4);
  }
  *relasp = var_7;
  *nrelasp = var_15;
  return 1;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (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 (number_literal) (string_literal (string_content)) (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) (number_literal) (identifier) (number_literal) (identifier)))))) (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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (break_statement)) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (number_literal))))) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (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) (number_literal) (identifier) (number_literal) (identifier)))))) (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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (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,undefined4 param_2,uint param_3,int *param_4,uint *param_5)

{
  int iVar1;
  uint uVar2;
  undefined4 uVar3;
  void *pvVar4;
  uint uVar5;
  undefined8 *puVar6;
  void *pvVar7;
  undefined8 uVar8;
  uint local_3c;
  undefined8 *local_24;
  
  if (DAT_000b6324 == 0) {
    uVar3 = dcgettext(0,"64-bit relocation data",5);
    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);
    if (pvVar4 == (void *)0x0) {
      return 0;
    }
    local_3c = param_3 / 0x18;
    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);
    if (local_24 == (undefined8 *)0x0) {
      free(pvVar4);
      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);
      error(uVar3);
      return 0;
    }
    if (0x17 < param_3) {
      uVar5 = 0;
      puVar6 = local_24;
      pvVar7 = pvVar4;
      do {
        while( true ) {
          uVar8 = (*DAT_000b9dd8)(pvVar7,8);
          *puVar6 = uVar8;
          uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 8,8);
          puVar6[1] = uVar8;
          uVar8 = FUN_00067030((int)pvVar7 + 0x10,8);
          puVar6[2] = uVar8;
          if ((*(short *)(param_1 + 0x42) != 8) || (*(char *)(param_1 + 0x15) == '\x02')) break;
          uVar2 = *(uint *)((int)puVar6 + 0xc);
          uVar3 = *(undefined4 *)(puVar6 + 1);
          uVar5 = uVar5 + 1;
          pvVar7 = (void *)((int)pvVar7 + 0x18);
          *(uint *)(puVar6 + 1) =
               uVar2 << 0x18 | (uVar2 & 0xff00) << 8 | uVar2 >> 0x18 | uVar2 >> 8 & 0xff00;
          *(undefined4 *)((int)puVar6 + 0xc) = uVar3;
          puVar6 = puVar6 + 3;
          if (local_3c <= uVar5) goto LAB_0001e620;
        }
        uVar5 = uVar5 + 1;
        pvVar7 = (void *)((int)pvVar7 + 0x18);
        puVar6 = puVar6 + 3;
      } while (uVar5 < local_3c);
    }
LAB_0001e620:
    free(pvVar4);
  }
  else {
    uVar3 = dcgettext(0,"32-bit relocation data",5);
    pvVar4 = (void *)FUN_0001bf90(1,0,param_3,0,uVar3);
    if (pvVar4 == (void *)0x0) {
      return 0;
    }
    local_3c = param_3 / 0xc;
    local_24 = (undefined8 *)FUN_0005dac0(local_3c,0x18);
    if (local_24 == (undefined8 *)0x0) {
      free(pvVar4);
      uVar3 = dcgettext(0,"out of memory parsing relocs\n",5);
      error(uVar3);
      return 0;
    }
    if (0xb < param_3) {
      uVar5 = 0;
      puVar6 = local_24;
      pvVar7 = pvVar4;
      do {
        uVar8 = (*DAT_000b9dd8)(pvVar7,4);
        *puVar6 = uVar8;
        uVar8 = (*DAT_000b9dd8)((int)pvVar7 + 4,4);
        puVar6[1] = uVar8;
        iVar1 = (int)pvVar7 + 8;
        pvVar7 = (void *)((int)pvVar7 + 0xc);
        uVar8 = FUN_00067030(iVar1,4);
        puVar6[2] = uVar8;
        uVar5 = uVar5 + 1;
        puVar6 = puVar6 + 3;
      } while (uVar5 < local_3c);
    }
    free(pvVar4);
  }
  *param_4 = (int)local_24;
  *param_5 = local_3c;
  return 1;
}

