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

Elf_Internal_Sym * __regparm3
get_symbol_for_build_attribute
          (Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)

{
  uint uVar1;
  Elf_Internal_Sym *pEVar2;
  Elf_Internal_Sym *pEVar3;
  Filedata *pFVar4;
  Elf_Internal_Sym *pEVar5;
  char *reason;
  uint uVar6;
  byte bVar7;
  Elf_Internal_Sym *pEVar8;
  Elf_Internal_Shdr *pEVar9;
  Elf_Internal_Shdr *section;
  Elf_Internal_Sym *local_28;
  char *local_24;
  
  pEVar9 = filedata->section_headers;
  pFVar4 = get_symbol_for_build_attribute::saved_filedata;
  if ((pEVar9 != (Elf_Internal_Shdr *)0x0) &&
     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||
       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&
      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,
      pEVar9 < pEVar9 + uVar6)))) {
    do {
      if (section->sh_type == 2) {
        if (is_32bit_elf == 0) {
          get_symbol_for_build_attribute::symtab =
               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);
        }
        else {
          get_symbol_for_build_attribute::symtab =
               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);
        }
        uVar1 = section->sh_link;
        pEVar9 = filedata->section_headers;
        uVar6 = (filedata->file_header).e_shnum;
        if (uVar1 < uVar6) {
          reason = (char *)dcgettext(0,"string table",5);
          get_symbol_for_build_attribute::strtab =
               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,
                                pEVar9[uVar1].sh_size,reason);
          get_symbol_for_build_attribute::strtablen = 0;
          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {
            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;
          }
          uVar6 = (filedata->file_header).e_shnum;
          pEVar9 = filedata->section_headers;
        }
      }
      section = section + 1;
      pFVar4 = filedata;
    } while (section < pEVar9 + uVar6);
  }
  get_symbol_for_build_attribute::saved_filedata = pFVar4;
  if (((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||
      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||
     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,
     pEVar8 <= get_symbol_for_build_attribute::symtab)) {
    return (Elf_Internal_Sym *)0x0;
  }
  local_28 = (Elf_Internal_Sym *)0x0;
  pEVar5 = get_symbol_for_build_attribute::symtab;
  do {
    pEVar3 = local_28;
    if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&
       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {
      local_24 = get_symbol_for_build_attribute::strtab + uVar6;
      if ((*local_24 == '\0') ||
         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&
          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;
      bVar7 = pEVar5->st_info & 0xf;
      if (is_open_attr == 0) {
        if (bVar7 != 2) goto LAB_00022e38;
        goto LAB_00022f99;
      }
      if (bVar7 == 2) goto LAB_00022e38;
      if ((bVar7 != 4) && (bVar7 != 1)) {
        bVar7 = pEVar5->st_info >> 4;
        if (bVar7 == 0) {
          if (local_28 == (Elf_Internal_Sym *)0x0) {
            pEVar3 = pEVar5;
          }
        }
        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&
                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {
          pEVar3 = pEVar5;
        }
        goto LAB_00022e38;
      }
      pEVar3 = pEVar5;
      local_28 = pEVar5;
      pEVar2 = pEVar8;
      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;
    }
    else {
LAB_00022e38:
      local_28 = pEVar3;
      pEVar2 = pEVar5;
    }
    pEVar5 = pEVar2 + 1;
    if (pEVar8 <= pEVar5) {
      if (local_28 != (Elf_Internal_Sym *)0x0) {
        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;
        pEVar5 = local_28;
LAB_00022f99:
        *pname = local_24;
        local_28 = pEVar5;
      }
      return local_28;
    }
  } while( true );
}



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

int * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int *piVar4;
  undefined4 uVar5;
  uint uVar6;
  byte bVar7;
  int *piVar8;
  uint uVar9;
  uint uVar10;
  int *local_28;
  char *local_24;
  
  uVar9 = *(uint *)(param_1 + 0x5c);
  iVar1 = DAT_000b538c;
  if ((uVar9 != 0) &&
     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&
      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,
      uVar9 < uVar9 + uVar6 * 0x48)))) {
    do {
      if (*(int *)(uVar10 + 4) == 2) {
        if (DAT_000b6324 == 0) {
          DAT_000b5e64 = (int *)FUN_00022830();
        }
        else {
          DAT_000b5e64 = (int *)FUN_000222e0();
        }
        uVar9 = *(uint *)(param_1 + 0x5c);
        uVar6 = *(uint *)(param_1 + 0x54);
        if (*(uint *)(uVar10 + 0x28) < uVar6) {
          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;
          uVar5 = dcgettext(0,"string table",5);
          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),
                                      *(undefined4 *)(iVar1 + 0x24),uVar5);
          DAT_000b5380 = 0;
          if (DAT_000b5384 != 0) {
            DAT_000b5380 = *(uint *)(iVar1 + 0x20);
          }
          uVar6 = *(uint *)(param_1 + 0x54);
          uVar9 = *(uint *)(param_1 + 0x5c);
        }
      }
      uVar10 = uVar10 + 0x48;
      iVar1 = param_1;
    } while (uVar10 < uVar9 + uVar6 * 0x48);
  }
  DAT_000b538c = iVar1;
  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||
     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {
    return (int *)0x0;
  }
  local_28 = (int *)0x0;
  piVar4 = DAT_000b5e64;
  do {
    piVar3 = local_28;
    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {
      local_24 = (char *)(DAT_000b5384 + uVar9);
      if ((*local_24 == '\0') ||
         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&
          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;
      bVar7 = *(byte *)(piVar4 + 5) & 0xf;
      if (param_3 == 0) {
        if (bVar7 != 2) goto LAB_00022e38;
        goto LAB_00022f99;
      }
      if (bVar7 == 2) goto LAB_00022e38;
      if ((bVar7 != 4) && (bVar7 != 1)) {
        bVar7 = *(byte *)(piVar4 + 5) >> 4;
        if (bVar7 == 0) {
          if (local_28 == (int *)0x0) {
            piVar3 = piVar4;
          }
        }
        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&
                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {
          piVar3 = piVar4;
        }
        goto LAB_00022e38;
      }
      piVar3 = piVar4;
      local_28 = piVar4;
      piVar2 = piVar8;
      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;
    }
    else {
LAB_00022e38:
      local_28 = piVar3;
      piVar2 = piVar4;
    }
    piVar4 = piVar2 + 7;
    if (piVar8 <= piVar4) {
      if (local_28 != (int *)0x0) {
        local_24 = (char *)(DAT_000b5384 + local_28[4]);
        piVar4 = local_28;
LAB_00022f99:
        *param_4 = (int)local_24;
        local_28 = piVar4;
      }
      return local_28;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x91277
SUB ESP,0x2c
MOV dword ptr [ESP + 0x14],EDX
MOV EDX,dword ptr [EAX + 0x5c]
MOV dword ptr [ESP + 0x1c],ECX
TEST EDX,EDX
JZ 0x00022de6
MOV EDI,EAX
MOV EAX,dword ptr [EBX + 0x138c]
MOV ESI,EDX
TEST EAX,EAX
JZ 0x00022db3
CMP EAX,EDI
JZ 0x00022de6
MOV EAX,dword ptr [EDI + 0x54]
LEA EBP,[EBX + 0xfffc4162]
MOV dword ptr [ESP + 0x10],EBP
LEA EBP,[EBX + 0x1388]
LEA ECX,[EAX + EAX*0x8]
MOV dword ptr [ESP + 0xc],EBP
LEA ECX,[EDX + ECX*0x8]
CMP EDX,ECX
JC 0x00022f71
LEA ESI,[ESI]
NOP
MOV dword ptr [EBX + 0x138c],EDI
MOV EAX,dword ptr [EBX + 0x1e64]
TEST EAX,EAX
JZ 0x00023018
MOV EBP,dword ptr [EBX + 0x1384]
TEST EBP,EBP
JZ 0x00023018
IMUL EDX,dword ptr [EBX + 0x1388],0x1c
ADD EDX,EAX
CMP EAX,EDX
JNC 0x00023018
MOV EBX,dword ptr [EBX + 0x1380]
MOV ECX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x14],0x0
MOV dword ptr [ESP + 0x10],EBX
XOR EBX,EBX
JMP 0x00022e45
ADD EAX,0x1c
CMP EAX,dword ptr [ESP + 0xc]
JNC 0x00022fe0
MOV ESI,dword ptr [EAX]
MOV EDI,dword ptr [EAX + 0x4]
XOR ESI,ECX
XOR EDI,EBX
OR EDI,ESI
JNZ 0x00022e38
MOV ESI,dword ptr [EAX + 0x10]
CMP ESI,dword ptr [ESP + 0x10]
JNC 0x00022e38
LEA EDX,[EBP + ESI*0x1]
MOVZX EDI,byte ptr [EDX]
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,EDI
TEST DL,DL
JZ 0x00022e38
CMP DL,0x24
JZ 0x00022ff8
MOVZX EDI,byte ptr [EAX + 0x14]
MOV ESI,EDI
AND ESI,0xf
MOV EDX,ESI
MOV ESI,dword ptr [ESP + 0x1c]
TEST ESI,ESI
JZ 0x00022f90
CMP DL,0x2
JZ 0x00022e38
CMP DL,0x4
JZ 0x00022fb8
CMP DL,0x1
JZ 0x00022fb8
MOV EDX,EDI
SHR DL,0x4
JZ 0x0002302c
CMP DL,0x1
JNZ 0x00022e38
MOV EDI,dword ptr [ESP + 0x14]
TEST EDI,EDI
JZ 0x0002303e
MOVZX EDX,byte ptr [EDI + 0x14]
MOV ESI,EDX
AND ESI,0xf
MOV EDX,ESI
CMP DL,0x1
CMOVNZ EDI,EAX
MOV dword ptr [ESP + 0x14],EDI
JMP 0x00022e38
MOV EBP,dword ptr [EBX + 0x2324]
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,ESI
MOV EAX,EDI
TEST EBP,EBP
JZ 0x00022f80
CALL 0x000222e0
MOV ECX,dword ptr [ESI + 0x28]
MOV EDX,dword ptr [EDI + 0x5c]
MOV dword ptr [EBX + 0x1e64],EAX
MOV EAX,dword ptr [EDI + 0x54]
CMP ECX,EAX
JNC 0x00022f60
SUB ESP,0x4
LEA EAX,[ECX + ECX*0x8]
PUSH 0x5
LEA EBP,[EDX + EAX*0x8]
PUSH dword ptr [ESP + 0x18]
PUSH 0x0
CALL 0x000130f0
MOV ECX,dword ptr [EBP + 0x18]
MOV EDX,EDI
MOV dword ptr [ESP],EAX
XOR EAX,EAX
PUSH dword ptr [EBP + 0x24]
PUSH dword ptr [EBP + 0x20]
PUSH 0x0
PUSH 0x1
CALL 0x0001bf90
ADD ESP,0x20
XOR EDX,EDX
MOV dword ptr [EBX + 0x1384],EAX
TEST EAX,EAX
JZ 0x00022f4f
MOV EDX,dword ptr [EBP + 0x20]
MOV dword ptr [EBX + 0x1380],EDX
MOV EAX,dword ptr [EDI + 0x54]
MOV EDX,dword ptr [EDI + 0x5c]
LEA ESI,[ESI]
NOP
LEA ECX,[EAX + EAX*0x8]
ADD ESI,0x48
LEA ECX,[EDX + ECX*0x8]
CMP ESI,ECX
JNC 0x00022de0
CMP dword ptr [ESI + 0x4],0x2
JNZ 0x00022f60
JMP 0x00022ee0
CALL 0x00022830
JMP 0x00022efb
CMP DL,0x2
JNZ 0x00022e38
MOV EDX,dword ptr [ESP + 0x40]
MOV EBX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [EDX],EBX
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [EAX + 0xc]
OR ESI,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x14],EAX
JZ 0x00022e38
MOV EAX,dword ptr [ESP + 0xc]
ADD EAX,0x1c
CMP EAX,dword ptr [ESP + 0xc]
JC 0x00022e45
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x00022fa7
MOV EAX,dword ptr [ESP + 0x14]
ADD EBP,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0x18],EBP
JMP 0x00022f99
CMP byte ptr [EBP + ESI*0x1 + 0x1],0x0
JZ 0x00022e75
CMP byte ptr [EBP + ESI*0x1 + 0x2],0x0
JNZ 0x00022e75
JMP 0x00022e38
MOV dword ptr [ESP + 0x14],0x0
MOV EAX,dword ptr [ESP + 0x14]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x14]
TEST EDX,EDX
CMOVZ EDX,EAX
MOV dword ptr [ESP + 0x14],EDX
JMP 0x00022e38
MOV dword ptr [ESP + 0x14],EAX
JMP 0x00022e38
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}\n\n" comment (function_definition "int * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = DAT_000b538c;" (assignment_expression "iVar1 = DAT_000b538c" identifier = identifier) ;) (if_statement "if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" if (parenthesized_expression "((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))))" ( (binary_expression "(uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" ( (parenthesized_expression "((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))" ( (binary_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" (parenthesized_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1))" ( (binary_expression "DAT_000b538c == 0 || (DAT_000b538c != param_1)" (binary_expression "DAT_000b538c == 0" identifier == number_literal) || (parenthesized_expression "(DAT_000b538c != param_1)" ( (binary_expression "DAT_000b538c != param_1" identifier != identifier) ))) )) && (parenthesized_expression "(uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" ( (comma_expression "uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) , (comma_expression "uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar10 = uVar9" identifier = identifier) , (comma_expression "iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "iVar1 = param_1" identifier = identifier) , (binary_expression "uVar9 < uVar9 + uVar6 * 0x48" identifier < (binary_expression "uVar9 + uVar6 * 0x48" identifier + (binary_expression "uVar6 * 0x48" identifier * number_literal)))))) ))) )) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" { (do_statement "do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);" do (compound_statement "{\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    }" { (if_statement "if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" if (parenthesized_expression "(*(int *)(uVar10 + 4) == 2)" ( (binary_expression "*(int *)(uVar10 + 4) == 2" (pointer_expression "*(int *)(uVar10 + 4)" * (cast_expression "(int *)(uVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 4)" ( (binary_expression "uVar10 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" { (if_statement "if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" if (parenthesized_expression "(DAT_000b6324 == 0)" ( (binary_expression "DAT_000b6324 == 0" identifier == number_literal) )) (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }" { (expression_statement "DAT_000b5e64 = (int *)FUN_00022830();" (assignment_expression "DAT_000b5e64 = (int *)FUN_00022830()" identifier = (cast_expression "(int *)FUN_00022830()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00022830()" identifier (argument_list "()" ( ))))) ;) }) (else_clause "else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" else (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" { (expression_statement "DAT_000b5e64 = (int *)FUN_000222e0();" (assignment_expression "DAT_000b5e64 = (int *)FUN_000222e0()" identifier = (cast_expression "(int *)FUN_000222e0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000222e0()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" if (parenthesized_expression "(*(uint *)(uVar10 + 0x28) < uVar6)" ( (binary_expression "*(uint *)(uVar10 + 0x28) < uVar6" (pointer_expression "*(uint *)(uVar10 + 0x28)" * (cast_expression "(uint *)(uVar10 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 0x28)" ( (binary_expression "uVar10 + 0x28" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" { (expression_statement "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;" (assignment_expression "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" identifier = (binary_expression "uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" identifier + (binary_expression "*(uint *)(uVar10 + 0x28) * 0x48" (pointer_expression "*(uint *)(uVar10 + 0x28)" * (cast_expression "(uint *)(uVar10 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 0x28)" ( (binary_expression "uVar10 + 0x28" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" identifier = (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal )))) ;) (expression_statement "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" identifier = (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" identifier (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" ( number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "DAT_000b5380 = 0;" (assignment_expression "DAT_000b5380 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" if (parenthesized_expression "(DAT_000b5384 != 0)" ( (binary_expression "DAT_000b5384 != 0" identifier != number_literal) )) (compound_statement "{\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" { (expression_statement "DAT_000b5380 = *(uint *)(iVar1 + 0x20);" (assignment_expression "DAT_000b5380 = *(uint *)(iVar1 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar1 + 0x20)" * (cast_expression "(uint *)(iVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) })) })) (expression_statement "uVar10 = uVar10 + 0x48;" (assignment_expression "uVar10 = uVar10 + 0x48" identifier = (binary_expression "uVar10 + 0x48" identifier + number_literal)) ;) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(uVar10 < uVar9 + uVar6 * 0x48)" ( (binary_expression "uVar10 < uVar9 + uVar6 * 0x48" identifier < (binary_expression "uVar9 + uVar6 * 0x48" identifier + (binary_expression "uVar6 * 0x48" identifier * number_literal))) )) ;) })) (expression_statement "DAT_000b538c = iVar1;" (assignment_expression "DAT_000b538c = iVar1" identifier = identifier) ;) (if_statement "if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }" if (parenthesized_expression "(((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64))" ( (binary_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" (parenthesized_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0))" ( (binary_expression "(DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)" (parenthesized_expression "(DAT_000b5e64 == (int *)0x0)" ( (binary_expression "DAT_000b5e64 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(DAT_000b5384 == 0)" ( (binary_expression "DAT_000b5384 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" ( (comma_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64" (assignment_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7" identifier = (binary_expression "DAT_000b5e64 + DAT_000b5388 * 7" identifier + (binary_expression "DAT_000b5388 * 7" identifier * number_literal))) , (binary_expression "piVar8 <= DAT_000b5e64" identifier <= identifier)) ))) )) (compound_statement "{\n    return (int *)0x0;\n  }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = DAT_000b5e64;" (assignment_expression "piVar4 = DAT_000b5e64" identifier = identifier) ;) (do_statement "do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );" do (compound_statement "{\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  }" { (expression_statement "piVar3 = local_28;" (assignment_expression "piVar3 = local_28" identifier = identifier) ;) (if_statement "if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" if (parenthesized_expression "((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380))" ( (binary_expression "(piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)" (parenthesized_expression "(piVar4[1] == 0 && *piVar4 == param_2)" ( (binary_expression "piVar4[1] == 0 && *piVar4 == param_2" (binary_expression "piVar4[1] == 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) == number_literal) && (binary_expression "*piVar4 == param_2" (pointer_expression "*piVar4" * identifier) == identifier)) )) && (parenthesized_expression "(uVar9 = piVar4[4], uVar9 < DAT_000b5380)" ( (comma_expression "uVar9 = piVar4[4], uVar9 < DAT_000b5380" (assignment_expression "uVar9 = piVar4[4]" identifier = (subscript_expression "piVar4[4]" identifier [ number_literal ])) , (binary_expression "uVar9 < DAT_000b5380" identifier < identifier)) ))) )) (compound_statement "{\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }" { (expression_statement "local_24 = (char *)(DAT_000b5384 + uVar9);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + uVar9)" identifier = (cast_expression "(char *)(DAT_000b5384 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + uVar9)" ( (binary_expression "DAT_000b5384 + uVar9" identifier + identifier) )))) ;) (if_statement "if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;" if (parenthesized_expression "((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))))" ( (binary_expression "(*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" (parenthesized_expression "(*local_24 == '\0')" ( (binary_expression "*local_24 == '\0'" (pointer_expression "*local_24" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" ( (parenthesized_expression "((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))" ( (binary_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" (parenthesized_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'))" ( (binary_expression "*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" (binary_expression "*local_24 == '$'" (pointer_expression "*local_24" * identifier) == (char_literal "'$'" ' character ')) && (parenthesized_expression "(*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" ( (binary_expression "*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 1 + uVar9)" * (cast_expression "(char *)(DAT_000b5384 + 1 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + 1 + uVar9)" ( (binary_expression "DAT_000b5384 + 1 + uVar9" (binary_expression "DAT_000b5384 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" ( (binary_expression "*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 2 + uVar9)" * (cast_expression "(char *)(DAT_000b5384 + 2 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + 2 + uVar9)" ( (binary_expression "DAT_000b5384 + 2 + uVar9" (binary_expression "DAT_000b5384 + 2" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (expression_statement "bVar7 = *(byte *)(piVar4 + 5) & 0xf;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) & 0xf" identifier = (binary_expression "*(byte *)(piVar4 + 5) & 0xf" (pointer_expression "*(byte *)(piVar4 + 5)" * (cast_expression "(byte *)(piVar4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 5)" ( (binary_expression "piVar4 + 5" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" { (if_statement "if (bVar7 != 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 != 2)" ( (binary_expression "bVar7 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (goto_statement "goto LAB_00022f99;" goto statement_identifier ;) })) (if_statement "if (bVar7 == 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 == 2)" ( (binary_expression "bVar7 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (if_statement "if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" if (parenthesized_expression "((bVar7 != 4) && (bVar7 != 1))" ( (binary_expression "(bVar7 != 4) && (bVar7 != 1)" (parenthesized_expression "(bVar7 != 4)" ( (binary_expression "bVar7 != 4" identifier != number_literal) )) && (parenthesized_expression "(bVar7 != 1)" ( (binary_expression "bVar7 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" { (expression_statement "bVar7 = *(byte *)(piVar4 + 5) >> 4;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) >> 4" identifier = (binary_expression "*(byte *)(piVar4 + 5) >> 4" (pointer_expression "*(byte *)(piVar4 + 5)" * (cast_expression "(byte *)(piVar4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 5)" ( (binary_expression "piVar4 + 5" identifier + number_literal) )))) >> number_literal)) ;) (if_statement "if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }" { (if_statement "if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }" if (parenthesized_expression "(local_28 == (int *)0x0)" ( (binary_expression "local_28 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            piVar3 = piVar4;\n          }" { (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) })) }) (else_clause "else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" else (if_statement "if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" if (parenthesized_expression "(((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1))" ( (binary_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" (parenthesized_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0))" ( (binary_expression "(bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)" (parenthesized_expression "(bVar7 == 1)" ( (binary_expression "bVar7 == 1" identifier == number_literal) )) && (parenthesized_expression "(piVar3 = piVar4, local_28 != (int *)0x0)" ( (comma_expression "piVar3 = piVar4, local_28 != (int *)0x0" (assignment_expression "piVar3 = piVar4" identifier = identifier) , (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" ( (comma_expression "piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1" (assignment_expression "piVar3 = local_28" identifier = identifier) , (binary_expression "(*(byte *)(local_28 + 5) & 0xf) != 1" (parenthesized_expression "(*(byte *)(local_28 + 5) & 0xf)" ( (binary_expression "*(byte *)(local_28 + 5) & 0xf" (pointer_expression "*(byte *)(local_28 + 5)" * (cast_expression "(byte *)(local_28 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 5)" ( (binary_expression "local_28 + 5" identifier + number_literal) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          piVar3 = piVar4;\n        }" { (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) })))) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;) })) (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) (expression_statement "piVar2 = piVar8;" (assignment_expression "piVar2 = piVar8" identifier = identifier) ;) (if_statement "if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;" if (parenthesized_expression "(piVar4[3] == 0 && piVar4[2] == 0)" ( (binary_expression "piVar4[3] == 0 && piVar4[2] == 0" (binary_expression "piVar4[3] == 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) == number_literal) && (binary_expression "piVar4[2] == 0" (subscript_expression "piVar4[2]" identifier [ number_literal ]) == number_literal)) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" else (compound_statement "{\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" { (labeled_statement "LAB_00022e38:\n      local_28 = piVar3;" statement_identifier : (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" identifier = identifier) ;)) (expression_statement "piVar2 = piVar4;" (assignment_expression "piVar2 = piVar4" identifier = identifier) ;) }))) (expression_statement "piVar4 = piVar2 + 7;" (assignment_expression "piVar4 = piVar2 + 7" identifier = (binary_expression "piVar2 + 7" identifier + number_literal)) ;) (if_statement "if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" if (parenthesized_expression "(piVar8 <= piVar4)" ( (binary_expression "piVar8 <= piVar4" identifier <= identifier) )) (compound_statement "{\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" { (if_statement "if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" if (parenthesized_expression "(local_28 != (int *)0x0)" ( (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" { (expression_statement "local_24 = (char *)(DAT_000b5384 + local_28[4]);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + local_28[4])" identifier = (cast_expression "(char *)(DAT_000b5384 + local_28[4])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + local_28[4])" ( (binary_expression "DAT_000b5384 + local_28[4]" identifier + (subscript_expression "local_28[4]" identifier [ number_literal ])) )))) ;) (expression_statement "piVar4 = local_28;" (assignment_expression "piVar4 = local_28" identifier = identifier) ;) (labeled_statement "LAB_00022f99:\n        *param_4 = (int)local_24;" statement_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 "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) })) (return_statement "return local_28;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nElf_Internal_Sym * __regparm3\nget_symbol_for_build_attribute\n          (Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)\n\n{\n  uint uVar1;\n  Elf_Internal_Sym *pEVar2;\n  Elf_Internal_Sym *pEVar3;\n  Filedata *pFVar4;\n  Elf_Internal_Sym *pEVar5;\n  char *reason;\n  uint uVar6;\n  byte bVar7;\n  Elf_Internal_Sym *pEVar8;\n  Elf_Internal_Shdr *pEVar9;\n  Elf_Internal_Shdr *section;\n  Elf_Internal_Sym *local_28;\n  char *local_24;\n  \n  pEVar9 = filedata->section_headers;\n  pFVar4 = get_symbol_for_build_attribute::saved_filedata;\n  if ((pEVar9 != (Elf_Internal_Shdr *)0x0) &&\n     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)))) {\n    do {\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    } while (section < pEVar9 + uVar6);\n  }\n  get_symbol_for_build_attribute::saved_filedata = pFVar4;\n  if (((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||\n     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab)) {\n    return (Elf_Internal_Sym *)0x0;\n  }\n  local_28 = (Elf_Internal_Sym *)0x0;\n  pEVar5 = get_symbol_for_build_attribute::symtab;\n  do {\n    pEVar3 = local_28;\n    if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }\n    pEVar5 = pEVar2 + 1;\n    if (pEVar8 <= pEVar5) {\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }\n  } while( true );\n}\n\n" comment (ERROR "Elf_Internal_Sym * __regparm3\nget_symbol_for_build_attribute\n          (Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)" (binary_expression "Elf_Internal_Sym * __regparm3\nget_symbol_for_build_attribute\n          (Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)" identifier * (ERROR "__regparm3" identifier) (call_expression "get_symbol_for_build_attribute\n          (Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)" identifier (argument_list "(Filedata *filedata,ulong offset,bfd_boolean is_open_attr,char **pname)" ( (binary_expression "Filedata *filedata" identifier * identifier) , (ERROR "ulong" identifier) identifier , (ERROR "bfd_boolean" identifier) identifier , (binary_expression "char **pname" identifier * (pointer_expression "*pname" * identifier)) ))))) (compound_statement "{\n  uint uVar1;\n  Elf_Internal_Sym *pEVar2;\n  Elf_Internal_Sym *pEVar3;\n  Filedata *pFVar4;\n  Elf_Internal_Sym *pEVar5;\n  char *reason;\n  uint uVar6;\n  byte bVar7;\n  Elf_Internal_Sym *pEVar8;\n  Elf_Internal_Shdr *pEVar9;\n  Elf_Internal_Shdr *section;\n  Elf_Internal_Sym *local_28;\n  char *local_24;\n  \n  pEVar9 = filedata->section_headers;\n  pFVar4 = get_symbol_for_build_attribute::saved_filedata;\n  if ((pEVar9 != (Elf_Internal_Shdr *)0x0) &&\n     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)))) {\n    do {\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    } while (section < pEVar9 + uVar6);\n  }\n  get_symbol_for_build_attribute::saved_filedata = pFVar4;\n  if (((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||\n     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab)) {\n    return (Elf_Internal_Sym *)0x0;\n  }\n  local_28 = (Elf_Internal_Sym *)0x0;\n  pEVar5 = get_symbol_for_build_attribute::symtab;\n  do {\n    pEVar3 = local_28;\n    if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }\n    pEVar5 = pEVar2 + 1;\n    if (pEVar8 <= pEVar5) {\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "Elf_Internal_Sym *pEVar2;" type_identifier (pointer_declarator "*pEVar2" * identifier) ;) (declaration "Elf_Internal_Sym *pEVar3;" type_identifier (pointer_declarator "*pEVar3" * identifier) ;) (declaration "Filedata *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (declaration "Elf_Internal_Sym *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "char *reason;" primitive_type (pointer_declarator "*reason" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "Elf_Internal_Sym *pEVar8;" type_identifier (pointer_declarator "*pEVar8" * identifier) ;) (declaration "Elf_Internal_Shdr *pEVar9;" type_identifier (pointer_declarator "*pEVar9" * identifier) ;) (declaration "Elf_Internal_Shdr *section;" type_identifier (pointer_declarator "*section" * identifier) ;) (declaration "Elf_Internal_Sym *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "pEVar9 = filedata->section_headers;" (assignment_expression "pEVar9 = filedata->section_headers" identifier = (field_expression "filedata->section_headers" identifier -> field_identifier)) ;) (expression_statement "pFVar4 = get_symbol_for_build_attribute::saved_filedata;" (assignment_expression "pFVar4 = get_symbol_for_build_attribute" identifier = identifier) (ERROR "::saved_filedata" : : identifier) ;) (if_statement "if ((pEVar9 != (Elf_Internal_Shdr *)0x0) &&\n     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)))) {\n    do {\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    } while (section < pEVar9 + uVar6);\n  }" if (parenthesized_expression "((pEVar9 != (Elf_Internal_Shdr *)0x0) &&\n     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6))))" ( (binary_expression "(pEVar9 != (Elf_Internal_Shdr *)0x0) &&\n     (((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)))" (parenthesized_expression "(pEVar9 != (Elf_Internal_Shdr *)0x0)" ( (binary_expression "pEVar9 != (Elf_Internal_Shdr *)0x0" identifier != (cast_expression "(Elf_Internal_Shdr *)0x0" ( (type_descriptor "Elf_Internal_Shdr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)))" ( (parenthesized_expression "((get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6))" ( (binary_expression "(get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)) &&\n      (uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)" (parenthesized_expression "(get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata))" ( (binary_expression "get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0 ||\n       (get_symbol_for_build_attribute::saved_filedata != filedata)" (binary_expression "get_symbol_for_build_attribute::saved_filedata == (Filedata *)0x0" identifier (ERROR "::saved_filedata" : : identifier) == (cast_expression "(Filedata *)0x0" ( (type_descriptor "Filedata *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(get_symbol_for_build_attribute::saved_filedata != filedata)" ( (binary_expression "get_symbol_for_build_attribute::saved_filedata != filedata" identifier (ERROR "::saved_filedata" : : identifier) != identifier) ))) )) && (parenthesized_expression "(uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6)" ( (comma_expression "uVar6 = (filedata->file_header).e_shnum, section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6" (assignment_expression "uVar6 = (filedata->file_header).e_shnum" identifier = (field_expression "(filedata->file_header).e_shnum" (parenthesized_expression "(filedata->file_header)" ( (field_expression "filedata->file_header" identifier -> field_identifier) )) . field_identifier)) , (comma_expression "section = pEVar9, pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6" (assignment_expression "section = pEVar9" identifier = identifier) , (comma_expression "pFVar4 = filedata,\n      pEVar9 < pEVar9 + uVar6" (assignment_expression "pFVar4 = filedata" identifier = identifier) , (binary_expression "pEVar9 < pEVar9 + uVar6" identifier < (binary_expression "pEVar9 + uVar6" identifier + identifier))))) ))) )) ))) )) (compound_statement "{\n    do {\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    } while (section < pEVar9 + uVar6);\n  }" { (do_statement "do {\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    } while (section < pEVar9 + uVar6);" do (compound_statement "{\n      if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }\n      section = section + 1;\n      pFVar4 = filedata;\n    }" { (if_statement "if (section->sh_type == 2) {\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }" if (parenthesized_expression "(section->sh_type == 2)" ( (binary_expression "section->sh_type == 2" (field_expression "section->sh_type" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        uVar1 = section->sh_link;\n        pEVar9 = filedata->section_headers;\n        uVar6 = (filedata->file_header).e_shnum;\n        if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }\n      }" { (if_statement "if (is_32bit_elf == 0) {\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }\n        else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }" if (parenthesized_expression "(is_32bit_elf == 0)" ( (binary_expression "is_32bit_elf == 0" identifier == number_literal) )) (compound_statement "{\n          get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }" { (labeled_statement "get_symbol_for_build_attribute::symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);" statement_identifier : (ERROR ":" :) (expression_statement "symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);" (assignment_expression "symtab =\n               get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms)" identifier = (call_expression "get_64bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms)" identifier (argument_list "(filedata,section,&get_symbol_for_build_attribute::nsyms)" ( identifier , identifier , (pointer_expression "&get_symbol_for_build_attribute" & identifier) (ERROR "::nsyms" : : identifier) )))) ;)) }) (else_clause "else {\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }" else (compound_statement "{\n          get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);\n        }" { (labeled_statement "get_symbol_for_build_attribute::symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);" statement_identifier : (ERROR ":" :) (expression_statement "symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms);" (assignment_expression "symtab =\n               get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms)" identifier = (call_expression "get_32bit_elf_symbols(filedata,section,&get_symbol_for_build_attribute::nsyms)" identifier (argument_list "(filedata,section,&get_symbol_for_build_attribute::nsyms)" ( identifier , identifier , (pointer_expression "&get_symbol_for_build_attribute" & identifier) (ERROR "::nsyms" : : identifier) )))) ;)) }))) (expression_statement "uVar1 = section->sh_link;" (assignment_expression "uVar1 = section->sh_link" identifier = (field_expression "section->sh_link" identifier -> field_identifier)) ;) (expression_statement "pEVar9 = filedata->section_headers;" (assignment_expression "pEVar9 = filedata->section_headers" identifier = (field_expression "filedata->section_headers" identifier -> field_identifier)) ;) (expression_statement "uVar6 = (filedata->file_header).e_shnum;" (assignment_expression "uVar6 = (filedata->file_header).e_shnum" identifier = (field_expression "(filedata->file_header).e_shnum" (parenthesized_expression "(filedata->file_header)" ( (field_expression "filedata->file_header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (uVar1 < uVar6) {\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }" if (parenthesized_expression "(uVar1 < uVar6)" ( (binary_expression "uVar1 < uVar6" identifier < identifier) )) (compound_statement "{\n          reason = (char *)dcgettext(0,"string table",5);\n          get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);\n          get_symbol_for_build_attribute::strtablen = 0;\n          if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }\n          uVar6 = (filedata->file_header).e_shnum;\n          pEVar9 = filedata->section_headers;\n        }" { (expression_statement "reason = (char *)dcgettext(0,"string table",5);" (assignment_expression "reason = (char *)dcgettext(0,"string table",5)" identifier = (cast_expression "(char *)dcgettext(0,"string table",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal ))))) ;) (labeled_statement "get_symbol_for_build_attribute::strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);" statement_identifier : (ERROR ":" :) (expression_statement "strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason);" (assignment_expression "strtab =\n               (char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason)" identifier = (cast_expression "(char *)get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_data((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason)" identifier (argument_list "((void *)0x0,filedata,(ulong)pEVar9[uVar1].sh_offset,1,\n                                pEVar9[uVar1].sh_size,reason)" ( (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , identifier , (cast_expression "(ulong)pEVar9[uVar1].sh_offset" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pEVar9[uVar1].sh_offset" (subscript_expression "pEVar9[uVar1]" identifier [ identifier ]) . field_identifier)) , number_literal , (field_expression "pEVar9[uVar1].sh_size" (subscript_expression "pEVar9[uVar1]" identifier [ identifier ]) . field_identifier) , identifier ))))) ;)) (labeled_statement "get_symbol_for_build_attribute::strtablen = 0;" statement_identifier : (ERROR ":" :) (expression_statement "strtablen = 0;" (assignment_expression "strtablen = 0" identifier = number_literal) ;)) (if_statement "if (get_symbol_for_build_attribute::strtab != (char *)0x0) {\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }" if (parenthesized_expression "(get_symbol_for_build_attribute::strtab != (char *)0x0)" ( (binary_expression "get_symbol_for_build_attribute::strtab != (char *)0x0" identifier (ERROR "::strtab" : : identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;\n          }" { (labeled_statement "get_symbol_for_build_attribute::strtablen = (ulong)pEVar9[uVar1].sh_size;" statement_identifier : (ERROR ":" :) (expression_statement "strtablen = (ulong)pEVar9[uVar1].sh_size;" (assignment_expression "strtablen = (ulong)pEVar9[uVar1].sh_size" identifier = (cast_expression "(ulong)pEVar9[uVar1].sh_size" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pEVar9[uVar1].sh_size" (subscript_expression "pEVar9[uVar1]" identifier [ identifier ]) . field_identifier))) ;)) })) (expression_statement "uVar6 = (filedata->file_header).e_shnum;" (assignment_expression "uVar6 = (filedata->file_header).e_shnum" identifier = (field_expression "(filedata->file_header).e_shnum" (parenthesized_expression "(filedata->file_header)" ( (field_expression "filedata->file_header" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pEVar9 = filedata->section_headers;" (assignment_expression "pEVar9 = filedata->section_headers" identifier = (field_expression "filedata->section_headers" identifier -> field_identifier)) ;) })) })) (expression_statement "section = section + 1;" (assignment_expression "section = section + 1" identifier = (binary_expression "section + 1" identifier + number_literal)) ;) (expression_statement "pFVar4 = filedata;" (assignment_expression "pFVar4 = filedata" identifier = identifier) ;) }) while (parenthesized_expression "(section < pEVar9 + uVar6)" ( (binary_expression "section < pEVar9 + uVar6" identifier < (binary_expression "pEVar9 + uVar6" identifier + identifier)) )) ;) })) (labeled_statement "get_symbol_for_build_attribute::saved_filedata = pFVar4;" statement_identifier : (ERROR ":" :) (expression_statement "saved_filedata = pFVar4;" (assignment_expression "saved_filedata = pFVar4" identifier = identifier) ;)) (if_statement "if (((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||\n     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab)) {\n    return (Elf_Internal_Sym *)0x0;\n  }" if (parenthesized_expression "(((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||\n     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab))" ( (binary_expression "((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)) ||\n     (pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab)" (parenthesized_expression "((get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0))" ( (binary_expression "(get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0) ||\n      (get_symbol_for_build_attribute::strtab == (char *)0x0)" (parenthesized_expression "(get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0)" ( (binary_expression "get_symbol_for_build_attribute::symtab == (Elf_Internal_Sym *)0x0" identifier (ERROR "::symtab" : : identifier) == (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(get_symbol_for_build_attribute::strtab == (char *)0x0)" ( (binary_expression "get_symbol_for_build_attribute::strtab == (char *)0x0" identifier (ERROR "::strtab" : : identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute::symtab)" ( (comma_expression "pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute::nsyms,\n     pEVar8 <= get_symbol_for_build_attribute" (binary_expression "pEVar8 = get_symbol_for_build_attribute::symtab + get_symbol_for_build_attribute" (assignment_expression "pEVar8 = get_symbol_for_build_attribute" identifier = identifier) (ERROR "::symtab" : : identifier) + identifier) (ERROR "::nsyms" : : identifier) , (binary_expression "pEVar8 <= get_symbol_for_build_attribute" identifier <= identifier)) (ERROR "::symtab" : : identifier) ))) )) (compound_statement "{\n    return (Elf_Internal_Sym *)0x0;\n  }" { (return_statement "return (Elf_Internal_Sym *)0x0;" return (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "local_28 = (Elf_Internal_Sym *)0x0;" (assignment_expression "local_28 = (Elf_Internal_Sym *)0x0" identifier = (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pEVar5 = get_symbol_for_build_attribute::symtab;" (assignment_expression "pEVar5 = get_symbol_for_build_attribute" identifier = identifier) (ERROR "::symtab" : : identifier) ;) (do_statement "do {\n    pEVar3 = local_28;\n    if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }\n    pEVar5 = pEVar2 + 1;\n    if (pEVar8 <= pEVar5) {\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }\n  } while( true );" do (compound_statement "{\n    pEVar3 = local_28;\n    if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }\n    pEVar5 = pEVar2 + 1;\n    if (pEVar8 <= pEVar5) {\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }\n  }" { (expression_statement "pEVar3 = local_28;" (assignment_expression "pEVar3 = local_28" identifier = identifier) ;) (if_statement "if ((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)) {\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }" if (parenthesized_expression "((*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen))" ( (binary_expression "(*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset) &&\n       (uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)" (parenthesized_expression "(*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset)" ( (binary_expression "*(int *)((int)&pEVar5->st_value + 4) == 0 && (ulong)pEVar5->st_value == offset" (binary_expression "*(int *)((int)&pEVar5->st_value + 4) == 0" (pointer_expression "*(int *)((int)&pEVar5->st_value + 4)" * (cast_expression "(int *)((int)&pEVar5->st_value + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar5->st_value + 4)" ( (binary_expression "(int)&pEVar5->st_value + 4" (cast_expression "(int)&pEVar5->st_value" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar5->st_value" & (field_expression "pEVar5->st_value" identifier -> field_identifier))) + number_literal) )))) == number_literal) && (binary_expression "(ulong)pEVar5->st_value == offset" (cast_expression "(ulong)pEVar5->st_value" ( (type_descriptor "ulong" type_identifier) ) (field_expression "pEVar5->st_value" identifier -> field_identifier)) == identifier)) )) && (parenthesized_expression "(uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute::strtablen)" ( (comma_expression "uVar6 = pEVar5->st_name, uVar6 < get_symbol_for_build_attribute" (assignment_expression "uVar6 = pEVar5->st_name" identifier = (field_expression "pEVar5->st_name" identifier -> field_identifier)) , (binary_expression "uVar6 < get_symbol_for_build_attribute" identifier < identifier)) (ERROR "::strtablen" : : identifier) ))) )) (compound_statement "{\n      local_24 = get_symbol_for_build_attribute::strtab + uVar6;\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;\n      bVar7 = pEVar5->st_info & 0xf;\n      if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }\n      pEVar3 = pEVar5;\n      local_28 = pEVar5;\n      pEVar2 = pEVar8;\n      if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;\n    }" { (expression_statement "local_24 = get_symbol_for_build_attribute::strtab + uVar6;" (binary_expression "local_24 = get_symbol_for_build_attribute::strtab + uVar6" (assignment_expression "local_24 = get_symbol_for_build_attribute" identifier = identifier) (ERROR "::strtab" : : identifier) + identifier) ;) (if_statement "if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))) goto LAB_00022e38;" if (parenthesized_expression "((*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0'))))" ( (binary_expression "(*local_24 == '\0') ||\n         (((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))" (parenthesized_expression "(*local_24 == '\0')" ( (binary_expression "*local_24 == '\0'" (pointer_expression "*local_24" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')))" ( (parenthesized_expression "((*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0'))" ( (binary_expression "(*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')) &&\n          (get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')" (parenthesized_expression "(*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0'))" ( (binary_expression "*local_24 == '$' && (get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')" (binary_expression "*local_24 == '$'" (pointer_expression "*local_24" * identifier) == (char_literal "'$'" ' character ')) && (parenthesized_expression "(get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0')" ( (binary_expression "get_symbol_for_build_attribute::strtab[uVar6 + 1] != '\0'" (subscript_expression "get_symbol_for_build_attribute::strtab[uVar6 + 1]" identifier (ERROR "::strtab" : : identifier) [ (binary_expression "uVar6 + 1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0')" ( (binary_expression "get_symbol_for_build_attribute::strtab[uVar6 + 2] == '\0'" (subscript_expression "get_symbol_for_build_attribute::strtab[uVar6 + 2]" identifier (ERROR "::strtab" : : identifier) [ (binary_expression "uVar6 + 2" identifier + number_literal) ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (expression_statement "bVar7 = pEVar5->st_info & 0xf;" (assignment_expression "bVar7 = pEVar5->st_info & 0xf" identifier = (binary_expression "pEVar5->st_info & 0xf" (field_expression "pEVar5->st_info" identifier -> field_identifier) & number_literal)) ;) (if_statement "if (is_open_attr == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" if (parenthesized_expression "(is_open_attr == 0)" ( (binary_expression "is_open_attr == 0" identifier == number_literal) )) (compound_statement "{\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" { (if_statement "if (bVar7 != 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 != 2)" ( (binary_expression "bVar7 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (goto_statement "goto LAB_00022f99;" goto statement_identifier ;) })) (if_statement "if (bVar7 == 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 == 2)" ( (binary_expression "bVar7 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (if_statement "if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }" if (parenthesized_expression "((bVar7 != 4) && (bVar7 != 1))" ( (binary_expression "(bVar7 != 4) && (bVar7 != 1)" (parenthesized_expression "(bVar7 != 4)" ( (binary_expression "bVar7 != 4" identifier != number_literal) )) && (parenthesized_expression "(bVar7 != 1)" ( (binary_expression "bVar7 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        bVar7 = pEVar5->st_info >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }\n        goto LAB_00022e38;\n      }" { (expression_statement "bVar7 = pEVar5->st_info >> 4;" (assignment_expression "bVar7 = pEVar5->st_info >> 4" identifier = (binary_expression "pEVar5->st_info >> 4" (field_expression "pEVar5->st_info" identifier -> field_identifier) >> number_literal)) ;) (if_statement "if (bVar7 == 0) {\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }\n        else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }\n        }" { (if_statement "if (local_28 == (Elf_Internal_Sym *)0x0) {\n            pEVar3 = pEVar5;\n          }" if (parenthesized_expression "(local_28 == (Elf_Internal_Sym *)0x0)" ( (binary_expression "local_28 == (Elf_Internal_Sym *)0x0" identifier == (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pEVar3 = pEVar5;\n          }" { (expression_statement "pEVar3 = pEVar5;" (assignment_expression "pEVar3 = pEVar5" identifier = identifier) ;) })) }) (else_clause "else if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }" else (if_statement "if (((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)) {\n          pEVar3 = pEVar5;\n        }" if (parenthesized_expression "(((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1))" ( (binary_expression "((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)) &&\n                (pEVar3 = local_28, (local_28->st_info & 0xf) != 1)" (parenthesized_expression "((bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0))" ( (binary_expression "(bVar7 == 1) && (pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)" (parenthesized_expression "(bVar7 == 1)" ( (binary_expression "bVar7 == 1" identifier == number_literal) )) && (parenthesized_expression "(pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0)" ( (comma_expression "pEVar3 = pEVar5, local_28 != (Elf_Internal_Sym *)0x0" (assignment_expression "pEVar3 = pEVar5" identifier = identifier) , (binary_expression "local_28 != (Elf_Internal_Sym *)0x0" identifier != (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pEVar3 = local_28, (local_28->st_info & 0xf) != 1)" ( (comma_expression "pEVar3 = local_28, (local_28->st_info & 0xf) != 1" (assignment_expression "pEVar3 = local_28" identifier = identifier) , (binary_expression "(local_28->st_info & 0xf) != 1" (parenthesized_expression "(local_28->st_info & 0xf)" ( (binary_expression "local_28->st_info & 0xf" (field_expression "local_28->st_info" identifier -> field_identifier) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          pEVar3 = pEVar5;\n        }" { (expression_statement "pEVar3 = pEVar5;" (assignment_expression "pEVar3 = pEVar5" identifier = identifier) ;) })))) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;) })) (expression_statement "pEVar3 = pEVar5;" (assignment_expression "pEVar3 = pEVar5" identifier = identifier) ;) (expression_statement "local_28 = pEVar5;" (assignment_expression "local_28 = pEVar5" identifier = identifier) ;) (expression_statement "pEVar2 = pEVar8;" (assignment_expression "pEVar2 = pEVar8" identifier = identifier) ;) (if_statement "if (*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0) goto LAB_00022e38;" if (parenthesized_expression "(*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0)" ( (binary_expression "*(int *)((int)&pEVar5->st_size + 4) == 0 && (int)pEVar5->st_size == 0" (binary_expression "*(int *)((int)&pEVar5->st_size + 4) == 0" (pointer_expression "*(int *)((int)&pEVar5->st_size + 4)" * (cast_expression "(int *)((int)&pEVar5->st_size + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pEVar5->st_size + 4)" ( (binary_expression "(int)&pEVar5->st_size + 4" (cast_expression "(int)&pEVar5->st_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pEVar5->st_size" & (field_expression "pEVar5->st_size" identifier -> field_identifier))) + number_literal) )))) == number_literal) && (binary_expression "(int)pEVar5->st_size == 0" (cast_expression "(int)pEVar5->st_size" ( (type_descriptor "int" primitive_type) ) (field_expression "pEVar5->st_size" identifier -> field_identifier)) == number_literal)) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }" else (compound_statement "{\nLAB_00022e38:\n      local_28 = pEVar3;\n      pEVar2 = pEVar5;\n    }" { (labeled_statement "LAB_00022e38:\n      local_28 = pEVar3;" statement_identifier : (expression_statement "local_28 = pEVar3;" (assignment_expression "local_28 = pEVar3" identifier = identifier) ;)) (expression_statement "pEVar2 = pEVar5;" (assignment_expression "pEVar2 = pEVar5" identifier = identifier) ;) }))) (expression_statement "pEVar5 = pEVar2 + 1;" (assignment_expression "pEVar5 = pEVar2 + 1" identifier = (binary_expression "pEVar2 + 1" identifier + number_literal)) ;) (if_statement "if (pEVar8 <= pEVar5) {\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }" if (parenthesized_expression "(pEVar8 <= pEVar5)" ( (binary_expression "pEVar8 <= pEVar5" identifier <= identifier) )) (compound_statement "{\n      if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }\n      return local_28;\n    }" { (if_statement "if (local_28 != (Elf_Internal_Sym *)0x0) {\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }" if (parenthesized_expression "(local_28 != (Elf_Internal_Sym *)0x0)" ( (binary_expression "local_28 != (Elf_Internal_Sym *)0x0" identifier != (cast_expression "(Elf_Internal_Sym *)0x0" ( (type_descriptor "Elf_Internal_Sym *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;\n        pEVar5 = local_28;\nLAB_00022f99:\n        *pname = local_24;\n        local_28 = pEVar5;\n      }" { (expression_statement "local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name;" (binary_expression "local_24 = get_symbol_for_build_attribute::strtab + local_28->st_name" (assignment_expression "local_24 = get_symbol_for_build_attribute" identifier = identifier) (ERROR "::strtab" : : identifier) + (field_expression "local_28->st_name" identifier -> field_identifier)) ;) (expression_statement "pEVar5 = local_28;" (assignment_expression "pEVar5 = local_28" identifier = identifier) ;) (labeled_statement "LAB_00022f99:\n        *pname = local_24;" statement_identifier : (expression_statement "*pname = local_24;" (assignment_expression "*pname = local_24" (pointer_expression "*pname" * identifier) = identifier) ;)) (expression_statement "local_28 = pEVar5;" (assignment_expression "local_28 = pEVar5" identifier = identifier) ;) })) (return_statement "return local_28;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) }))
(translation_unit "int * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}\n\n" (function_definition "int * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = DAT_000b538c;" (assignment_expression "iVar1 = DAT_000b538c" identifier = identifier) ;) (if_statement "if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" if (parenthesized_expression "((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))))" ( (binary_expression "(uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) && (parenthesized_expression "(((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" ( (parenthesized_expression "((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))" ( (binary_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" (parenthesized_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1))" ( (binary_expression "DAT_000b538c == 0 || (DAT_000b538c != param_1)" (binary_expression "DAT_000b538c == 0" identifier == number_literal) || (parenthesized_expression "(DAT_000b538c != param_1)" ( (binary_expression "DAT_000b538c != param_1" identifier != identifier) ))) )) && (parenthesized_expression "(uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" ( (comma_expression "uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) , (comma_expression "uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar10 = uVar9" identifier = identifier) , (comma_expression "iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "iVar1 = param_1" identifier = identifier) , (binary_expression "uVar9 < uVar9 + uVar6 * 0x48" identifier < (binary_expression "uVar9 + uVar6 * 0x48" identifier + (binary_expression "uVar6 * 0x48" identifier * number_literal)))))) ))) )) ))) )) (compound_statement "{\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" { (do_statement "do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);" do (compound_statement "{\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    }" { (if_statement "if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" if (parenthesized_expression "(*(int *)(uVar10 + 4) == 2)" ( (binary_expression "*(int *)(uVar10 + 4) == 2" (pointer_expression "*(int *)(uVar10 + 4)" * (cast_expression "(int *)(uVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 4)" ( (binary_expression "uVar10 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" { (if_statement "if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" if (parenthesized_expression "(DAT_000b6324 == 0)" ( (binary_expression "DAT_000b6324 == 0" identifier == number_literal) )) (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }" { (expression_statement "DAT_000b5e64 = (int *)FUN_00022830();" (assignment_expression "DAT_000b5e64 = (int *)FUN_00022830()" identifier = (cast_expression "(int *)FUN_00022830()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00022830()" identifier (argument_list "()" ( ))))) ;) }) (else_clause "else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" else (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" { (expression_statement "DAT_000b5e64 = (int *)FUN_000222e0();" (assignment_expression "DAT_000b5e64 = (int *)FUN_000222e0()" identifier = (cast_expression "(int *)FUN_000222e0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000222e0()" identifier (argument_list "()" ( ))))) ;) }))) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" if (parenthesized_expression "(*(uint *)(uVar10 + 0x28) < uVar6)" ( (binary_expression "*(uint *)(uVar10 + 0x28) < uVar6" (pointer_expression "*(uint *)(uVar10 + 0x28)" * (cast_expression "(uint *)(uVar10 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 0x28)" ( (binary_expression "uVar10 + 0x28" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" { (expression_statement "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;" (assignment_expression "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" identifier = (binary_expression "uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" identifier + (binary_expression "*(uint *)(uVar10 + 0x28) * 0x48" (pointer_expression "*(uint *)(uVar10 + 0x28)" * (cast_expression "(uint *)(uVar10 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar10 + 0x28)" ( (binary_expression "uVar10 + 0x28" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" identifier = (call_expression "dcgettext(0,"string table",5)" identifier (argument_list "(0,"string table",5)" ( number_literal , (string_literal ""string table"" " string_content ") , number_literal )))) ;) (expression_statement "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" identifier = (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" identifier (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" ( number_literal , number_literal , (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" * (cast_expression "(undefined4 *)(iVar1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" * (cast_expression "(undefined4 *)(iVar1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x24)" ( (binary_expression "iVar1 + 0x24" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "DAT_000b5380 = 0;" (assignment_expression "DAT_000b5380 = 0" identifier = number_literal) ;) (if_statement "if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" if (parenthesized_expression "(DAT_000b5384 != 0)" ( (binary_expression "DAT_000b5384 != 0" identifier != number_literal) )) (compound_statement "{\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" { (expression_statement "DAT_000b5380 = *(uint *)(iVar1 + 0x20);" (assignment_expression "DAT_000b5380 = *(uint *)(iVar1 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar1 + 0x20)" * (cast_expression "(uint *)(iVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x20)" ( (binary_expression "iVar1 + 0x20" identifier + number_literal) ))))) ;) })) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" identifier = (pointer_expression "*(uint *)(param_1 + 0x5c)" * (cast_expression "(uint *)(param_1 + 0x5c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x5c)" ( (binary_expression "param_1 + 0x5c" identifier + number_literal) ))))) ;) })) })) (expression_statement "uVar10 = uVar10 + 0x48;" (assignment_expression "uVar10 = uVar10 + 0x48" identifier = (binary_expression "uVar10 + 0x48" identifier + number_literal)) ;) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" identifier = identifier) ;) }) while (parenthesized_expression "(uVar10 < uVar9 + uVar6 * 0x48)" ( (binary_expression "uVar10 < uVar9 + uVar6 * 0x48" identifier < (binary_expression "uVar9 + uVar6 * 0x48" identifier + (binary_expression "uVar6 * 0x48" identifier * number_literal))) )) ;) })) (expression_statement "DAT_000b538c = iVar1;" (assignment_expression "DAT_000b538c = iVar1" identifier = identifier) ;) (if_statement "if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }" if (parenthesized_expression "(((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64))" ( (binary_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" (parenthesized_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0))" ( (binary_expression "(DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)" (parenthesized_expression "(DAT_000b5e64 == (int *)0x0)" ( (binary_expression "DAT_000b5e64 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(DAT_000b5384 == 0)" ( (binary_expression "DAT_000b5384 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" ( (comma_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64" (assignment_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7" identifier = (binary_expression "DAT_000b5e64 + DAT_000b5388 * 7" identifier + (binary_expression "DAT_000b5388 * 7" identifier * number_literal))) , (binary_expression "piVar8 <= DAT_000b5e64" identifier <= identifier)) ))) )) (compound_statement "{\n    return (int *)0x0;\n  }" { (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = DAT_000b5e64;" (assignment_expression "piVar4 = DAT_000b5e64" identifier = identifier) ;) (do_statement "do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );" do (compound_statement "{\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  }" { (expression_statement "piVar3 = local_28;" (assignment_expression "piVar3 = local_28" identifier = identifier) ;) (if_statement "if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" if (parenthesized_expression "((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380))" ( (binary_expression "(piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)" (parenthesized_expression "(piVar4[1] == 0 && *piVar4 == param_2)" ( (binary_expression "piVar4[1] == 0 && *piVar4 == param_2" (binary_expression "piVar4[1] == 0" (subscript_expression "piVar4[1]" identifier [ number_literal ]) == number_literal) && (binary_expression "*piVar4 == param_2" (pointer_expression "*piVar4" * identifier) == identifier)) )) && (parenthesized_expression "(uVar9 = piVar4[4], uVar9 < DAT_000b5380)" ( (comma_expression "uVar9 = piVar4[4], uVar9 < DAT_000b5380" (assignment_expression "uVar9 = piVar4[4]" identifier = (subscript_expression "piVar4[4]" identifier [ number_literal ])) , (binary_expression "uVar9 < DAT_000b5380" identifier < identifier)) ))) )) (compound_statement "{\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }" { (expression_statement "local_24 = (char *)(DAT_000b5384 + uVar9);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + uVar9)" identifier = (cast_expression "(char *)(DAT_000b5384 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + uVar9)" ( (binary_expression "DAT_000b5384 + uVar9" identifier + identifier) )))) ;) (if_statement "if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;" if (parenthesized_expression "((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))))" ( (binary_expression "(*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" (parenthesized_expression "(*local_24 == '\0')" ( (binary_expression "*local_24 == '\0'" (pointer_expression "*local_24" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" ( (parenthesized_expression "((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))" ( (binary_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" (parenthesized_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'))" ( (binary_expression "*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" (binary_expression "*local_24 == '$'" (pointer_expression "*local_24" * identifier) == (char_literal "'$'" ' character ')) && (parenthesized_expression "(*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" ( (binary_expression "*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 1 + uVar9)" * (cast_expression "(char *)(DAT_000b5384 + 1 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + 1 + uVar9)" ( (binary_expression "DAT_000b5384 + 1 + uVar9" (binary_expression "DAT_000b5384 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" ( (binary_expression "*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 2 + uVar9)" * (cast_expression "(char *)(DAT_000b5384 + 2 + uVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + 2 + uVar9)" ( (binary_expression "DAT_000b5384 + 2 + uVar9" (binary_expression "DAT_000b5384 + 2" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (expression_statement "bVar7 = *(byte *)(piVar4 + 5) & 0xf;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) & 0xf" identifier = (binary_expression "*(byte *)(piVar4 + 5) & 0xf" (pointer_expression "*(byte *)(piVar4 + 5)" * (cast_expression "(byte *)(piVar4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 5)" ( (binary_expression "piVar4 + 5" identifier + number_literal) )))) & number_literal)) ;) (if_statement "if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" { (if_statement "if (bVar7 != 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 != 2)" ( (binary_expression "bVar7 != 2" identifier != number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (goto_statement "goto LAB_00022f99;" goto statement_identifier ;) })) (if_statement "if (bVar7 == 2) goto LAB_00022e38;" if (parenthesized_expression "(bVar7 == 2)" ( (binary_expression "bVar7 == 2" identifier == number_literal) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) (if_statement "if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" if (parenthesized_expression "((bVar7 != 4) && (bVar7 != 1))" ( (binary_expression "(bVar7 != 4) && (bVar7 != 1)" (parenthesized_expression "(bVar7 != 4)" ( (binary_expression "bVar7 != 4" identifier != number_literal) )) && (parenthesized_expression "(bVar7 != 1)" ( (binary_expression "bVar7 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" { (expression_statement "bVar7 = *(byte *)(piVar4 + 5) >> 4;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) >> 4" identifier = (binary_expression "*(byte *)(piVar4 + 5) >> 4" (pointer_expression "*(byte *)(piVar4 + 5)" * (cast_expression "(byte *)(piVar4 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 5)" ( (binary_expression "piVar4 + 5" identifier + number_literal) )))) >> number_literal)) ;) (if_statement "if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" if (parenthesized_expression "(bVar7 == 0)" ( (binary_expression "bVar7 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }" { (if_statement "if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }" if (parenthesized_expression "(local_28 == (int *)0x0)" ( (binary_expression "local_28 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            piVar3 = piVar4;\n          }" { (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) })) }) (else_clause "else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" else (if_statement "if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" if (parenthesized_expression "(((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1))" ( (binary_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" (parenthesized_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0))" ( (binary_expression "(bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)" (parenthesized_expression "(bVar7 == 1)" ( (binary_expression "bVar7 == 1" identifier == number_literal) )) && (parenthesized_expression "(piVar3 = piVar4, local_28 != (int *)0x0)" ( (comma_expression "piVar3 = piVar4, local_28 != (int *)0x0" (assignment_expression "piVar3 = piVar4" identifier = identifier) , (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" ( (comma_expression "piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1" (assignment_expression "piVar3 = local_28" identifier = identifier) , (binary_expression "(*(byte *)(local_28 + 5) & 0xf) != 1" (parenthesized_expression "(*(byte *)(local_28 + 5) & 0xf)" ( (binary_expression "*(byte *)(local_28 + 5) & 0xf" (pointer_expression "*(byte *)(local_28 + 5)" * (cast_expression "(byte *)(local_28 + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 5)" ( (binary_expression "local_28 + 5" identifier + number_literal) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n          piVar3 = piVar4;\n        }" { (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) })))) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;) })) (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" identifier = identifier) ;) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) (expression_statement "piVar2 = piVar8;" (assignment_expression "piVar2 = piVar8" identifier = identifier) ;) (if_statement "if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;" if (parenthesized_expression "(piVar4[3] == 0 && piVar4[2] == 0)" ( (binary_expression "piVar4[3] == 0 && piVar4[2] == 0" (binary_expression "piVar4[3] == 0" (subscript_expression "piVar4[3]" identifier [ number_literal ]) == number_literal) && (binary_expression "piVar4[2] == 0" (subscript_expression "piVar4[2]" identifier [ number_literal ]) == number_literal)) )) (goto_statement "goto LAB_00022e38;" goto statement_identifier ;)) }) (else_clause "else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" else (compound_statement "{\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" { (labeled_statement "LAB_00022e38:\n      local_28 = piVar3;" statement_identifier : (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" identifier = identifier) ;)) (expression_statement "piVar2 = piVar4;" (assignment_expression "piVar2 = piVar4" identifier = identifier) ;) }))) (expression_statement "piVar4 = piVar2 + 7;" (assignment_expression "piVar4 = piVar2 + 7" identifier = (binary_expression "piVar2 + 7" identifier + number_literal)) ;) (if_statement "if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" if (parenthesized_expression "(piVar8 <= piVar4)" ( (binary_expression "piVar8 <= piVar4" identifier <= identifier) )) (compound_statement "{\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" { (if_statement "if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" if (parenthesized_expression "(local_28 != (int *)0x0)" ( (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" { (expression_statement "local_24 = (char *)(DAT_000b5384 + local_28[4]);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + local_28[4])" identifier = (cast_expression "(char *)(DAT_000b5384 + local_28[4])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000b5384 + local_28[4])" ( (binary_expression "DAT_000b5384 + local_28[4]" identifier + (subscript_expression "local_28[4]" identifier [ number_literal ])) )))) ;) (expression_statement "piVar4 = local_28;" (assignment_expression "piVar4 = local_28" identifier = identifier) ;) (labeled_statement "LAB_00022f99:\n        *param_4 = (int)local_24;" statement_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 "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" identifier = identifier) ;) })) (return_statement "return local_28;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (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)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT < (binary_expression IDENT + (binary_expression IDENT * LIT)))))) ))) )) ))) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression 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 = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + (binary_expression IDENT * LIT))) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) , (binary_expression IDENT <= IDENT)) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (binary_expression (pointer_expression * IDENT) == IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int * __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" (primitive_type "int") (pointer_declarator "* __regparm3 FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00022d80(int param_1,int param_2,int param_3,int *param_4)" (identifier "FUN_00022d80") (parameter_list "(int param_1,int param_2,int param_3,int *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")")))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *piVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  uint uVar6;\n  byte bVar7;\n  int *piVar8;\n  uint uVar9;\n  uint uVar10;\n  int *local_28;\n  char *local_24;\n  \n  uVar9 = *(uint *)(param_1 + 0x5c);\n  iVar1 = DAT_000b538c;\n  if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }\n  DAT_000b538c = iVar1;\n  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }\n  local_28 = (int *)0x0;\n  piVar4 = DAT_000b5e64;\n  do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "byte bVar7;" (type_identifier "byte") (identifier "bVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "char *local_24;" (primitive_type "char") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "iVar1 = DAT_000b538c;" (assignment_expression "iVar1 = DAT_000b538c" (identifier "iVar1") (= "=") (identifier "DAT_000b538c")) (; ";")) (if_statement "if ((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))) {\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" (if "if") (parenthesized_expression "((uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))))" (( "(") (binary_expression "(uVar9 != 0) &&\n     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)))" (( "(") (parenthesized_expression "((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48))" (( "(") (binary_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&\n      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" (parenthesized_expression "(DAT_000b538c == 0 || (DAT_000b538c != param_1))" (( "(") (binary_expression "DAT_000b538c == 0 || (DAT_000b538c != param_1)" (binary_expression "DAT_000b538c == 0" (identifier "DAT_000b538c") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(DAT_000b538c != param_1)" (( "(") (binary_expression "DAT_000b538c != param_1" (identifier "DAT_000b538c") (!= "!=") (identifier "param_1")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48)" (( "(") (comma_expression "uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")"))))) (, ",") (comma_expression "uVar10 = uVar9, iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "uVar10 = uVar9" (identifier "uVar10") (= "=") (identifier "uVar9")) (, ",") (comma_expression "iVar1 = param_1,\n      uVar9 < uVar9 + uVar6 * 0x48" (assignment_expression "iVar1 = param_1" (identifier "iVar1") (= "=") (identifier "param_1")) (, ",") (binary_expression "uVar9 < uVar9 + uVar6 * 0x48" (identifier "uVar9") (< "<") (binary_expression "uVar9 + uVar6 * 0x48" (identifier "uVar9") (+ "+") (binary_expression "uVar6 * 0x48" (identifier "uVar6") (* "*") (number_literal "0x48"))))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);\n  }" ({ "{") (do_statement "do {\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    } while (uVar10 < uVar9 + uVar6 * 0x48);" (do "do") (compound_statement "{\n      if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }\n      uVar10 = uVar10 + 0x48;\n      iVar1 = param_1;\n    }" ({ "{") (if_statement "if (*(int *)(uVar10 + 4) == 2) {\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)(uVar10 + 4) == 2)" (( "(") (binary_expression "*(int *)(uVar10 + 4) == 2" (pointer_expression "*(int *)(uVar10 + 4)" (* "*") (cast_expression "(int *)(uVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar10 + 4)" (( "(") (binary_expression "uVar10 + 4" (identifier "uVar10") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }\n        uVar9 = *(uint *)(param_1 + 0x5c);\n        uVar6 = *(uint *)(param_1 + 0x54);\n        if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }\n      }" ({ "{") (if_statement "if (DAT_000b6324 == 0) {\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }\n        else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" (if "if") (parenthesized_expression "(DAT_000b6324 == 0)" (( "(") (binary_expression "DAT_000b6324 == 0" (identifier "DAT_000b6324") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_00022830();\n        }" ({ "{") (expression_statement "DAT_000b5e64 = (int *)FUN_00022830();" (assignment_expression "DAT_000b5e64 = (int *)FUN_00022830()" (identifier "DAT_000b5e64") (= "=") (cast_expression "(int *)FUN_00022830()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00022830()" (identifier "FUN_00022830") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" (else "else") (compound_statement "{\n          DAT_000b5e64 = (int *)FUN_000222e0();\n        }" ({ "{") (expression_statement "DAT_000b5e64 = (int *)FUN_000222e0();" (assignment_expression "DAT_000b5e64 = (int *)FUN_000222e0()" (identifier "DAT_000b5e64") (= "=") (cast_expression "(int *)FUN_000222e0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000222e0()" (identifier "FUN_000222e0") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(uVar10 + 0x28) < uVar6) {\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" (if "if") (parenthesized_expression "(*(uint *)(uVar10 + 0x28) < uVar6)" (( "(") (binary_expression "*(uint *)(uVar10 + 0x28) < uVar6" (pointer_expression "*(uint *)(uVar10 + 0x28)" (* "*") (cast_expression "(uint *)(uVar10 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar10 + 0x28)" (( "(") (binary_expression "uVar10 + 0x28" (identifier "uVar10") (+ "+") (number_literal "0x28")) () ")")))) (< "<") (identifier "uVar6")) () ")")) (compound_statement "{\n          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;\n          uVar5 = dcgettext(0,"string table",5);\n          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);\n          DAT_000b5380 = 0;\n          if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }\n          uVar6 = *(uint *)(param_1 + 0x54);\n          uVar9 = *(uint *)(param_1 + 0x5c);\n        }" ({ "{") (expression_statement "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;" (assignment_expression "iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" (identifier "iVar1") (= "=") (binary_expression "uVar9 + *(uint *)(uVar10 + 0x28) * 0x48" (identifier "uVar9") (+ "+") (binary_expression "*(uint *)(uVar10 + 0x28) * 0x48" (pointer_expression "*(uint *)(uVar10 + 0x28)" (* "*") (cast_expression "(uint *)(uVar10 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar10 + 0x28)" (( "(") (binary_expression "uVar10 + 0x28" (identifier "uVar10") (+ "+") (number_literal "0x28")) () ")")))) (* "*") (number_literal "0x48")))) (; ";")) (expression_statement "uVar5 = dcgettext(0,"string table",5);" (assignment_expression "uVar5 = dcgettext(0,"string table",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"string table",5)" (identifier "dcgettext") (argument_list "(0,"string table",5)" (( "(") (number_literal "0") (, ",") (string_literal ""string table"" (" """) (string_content "string table") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5);" (assignment_expression "DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" (identifier "DAT_000b5384") (= "=") (call_expression "FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" (identifier "FUN_0001bf90") (argument_list "(1,0,*(undefined4 *)(iVar1 + 0x20),\n                                      *(undefined4 *)(iVar1 + 0x24),uVar5)" (( "(") (number_literal "1") (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x24)" (( "(") (binary_expression "iVar1 + 0x24" (identifier "iVar1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "DAT_000b5380 = 0;" (assignment_expression "DAT_000b5380 = 0" (identifier "DAT_000b5380") (= "=") (number_literal "0")) (; ";")) (if_statement "if (DAT_000b5384 != 0) {\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" (if "if") (parenthesized_expression "(DAT_000b5384 != 0)" (( "(") (binary_expression "DAT_000b5384 != 0" (identifier "DAT_000b5384") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            DAT_000b5380 = *(uint *)(iVar1 + 0x20);\n          }" ({ "{") (expression_statement "DAT_000b5380 = *(uint *)(iVar1 + 0x20);" (assignment_expression "DAT_000b5380 = *(uint *)(iVar1 + 0x20)" (identifier "DAT_000b5380") (= "=") (pointer_expression "*(uint *)(iVar1 + 0x20)" (* "*") (cast_expression "(uint *)(iVar1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x20)" (( "(") (binary_expression "iVar1 + 0x20" (identifier "iVar1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar6 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar6 = *(uint *)(param_1 + 0x54)" (identifier "uVar6") (= "=") (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "uVar9 = *(uint *)(param_1 + 0x5c);" (assignment_expression "uVar9 = *(uint *)(param_1 + 0x5c)" (identifier "uVar9") (= "=") (pointer_expression "*(uint *)(param_1 + 0x5c)" (* "*") (cast_expression "(uint *)(param_1 + 0x5c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x5c)" (( "(") (binary_expression "param_1 + 0x5c" (identifier "param_1") (+ "+") (number_literal "0x5c")) () ")"))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar10 = uVar10 + 0x48;" (assignment_expression "uVar10 = uVar10 + 0x48" (identifier "uVar10") (= "=") (binary_expression "uVar10 + 0x48" (identifier "uVar10") (+ "+") (number_literal "0x48"))) (; ";")) (expression_statement "iVar1 = param_1;" (assignment_expression "iVar1 = param_1" (identifier "iVar1") (= "=") (identifier "param_1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar10 < uVar9 + uVar6 * 0x48)" (( "(") (binary_expression "uVar10 < uVar9 + uVar6 * 0x48" (identifier "uVar10") (< "<") (binary_expression "uVar9 + uVar6 * 0x48" (identifier "uVar9") (+ "+") (binary_expression "uVar6 * 0x48" (identifier "uVar6") (* "*") (number_literal "0x48")))) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_000b538c = iVar1;" (assignment_expression "DAT_000b538c = iVar1" (identifier "DAT_000b538c") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {\n    return (int *)0x0;\n  }" (if "if") (parenthesized_expression "(((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64))" (( "(") (binary_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||\n     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" (parenthesized_expression "((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0))" (( "(") (binary_expression "(DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)" (parenthesized_expression "(DAT_000b5e64 == (int *)0x0)" (( "(") (binary_expression "DAT_000b5e64 == (int *)0x0" (identifier "DAT_000b5e64") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(DAT_000b5384 == 0)" (( "(") (binary_expression "DAT_000b5384 == 0" (identifier "DAT_000b5384") (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)" (( "(") (comma_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64" (assignment_expression "piVar8 = DAT_000b5e64 + DAT_000b5388 * 7" (identifier "piVar8") (= "=") (binary_expression "DAT_000b5e64 + DAT_000b5388 * 7" (identifier "DAT_000b5e64") (+ "+") (binary_expression "DAT_000b5388 * 7" (identifier "DAT_000b5388") (* "*") (number_literal "7")))) (, ",") (binary_expression "piVar8 <= DAT_000b5e64" (identifier "piVar8") (<= "<=") (identifier "DAT_000b5e64"))) () ")"))) () ")")) (compound_statement "{\n    return (int *)0x0;\n  }" ({ "{") (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" (identifier "local_28") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar4 = DAT_000b5e64;" (assignment_expression "piVar4 = DAT_000b5e64" (identifier "piVar4") (= "=") (identifier "DAT_000b5e64")) (; ";")) (do_statement "do {\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    piVar3 = local_28;\n    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }\n    piVar4 = piVar2 + 7;\n    if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }\n  }" ({ "{") (expression_statement "piVar3 = local_28;" (assignment_expression "piVar3 = local_28" (identifier "piVar3") (= "=") (identifier "local_28")) (; ";")) (if_statement "if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }\n    else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" (if "if") (parenthesized_expression "((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380))" (( "(") (binary_expression "(piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)" (parenthesized_expression "(piVar4[1] == 0 && *piVar4 == param_2)" (( "(") (binary_expression "piVar4[1] == 0 && *piVar4 == param_2" (binary_expression "piVar4[1] == 0" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*piVar4 == param_2" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (== "==") (identifier "param_2"))) () ")")) (&& "&&") (parenthesized_expression "(uVar9 = piVar4[4], uVar9 < DAT_000b5380)" (( "(") (comma_expression "uVar9 = piVar4[4], uVar9 < DAT_000b5380" (assignment_expression "uVar9 = piVar4[4]" (identifier "uVar9") (= "=") (subscript_expression "piVar4[4]" (identifier "piVar4") ([ "[") (number_literal "4") (] "]"))) (, ",") (binary_expression "uVar9 < DAT_000b5380" (identifier "uVar9") (< "<") (identifier "DAT_000b5380"))) () ")"))) () ")")) (compound_statement "{\n      local_24 = (char *)(DAT_000b5384 + uVar9);\n      if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;\n      bVar7 = *(byte *)(piVar4 + 5) & 0xf;\n      if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }\n      if (bVar7 == 2) goto LAB_00022e38;\n      if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }\n      piVar3 = piVar4;\n      local_28 = piVar4;\n      piVar2 = piVar8;\n      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;\n    }" ({ "{") (expression_statement "local_24 = (char *)(DAT_000b5384 + uVar9);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + uVar9)" (identifier "local_24") (= "=") (cast_expression "(char *)(DAT_000b5384 + uVar9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b5384 + uVar9)" (( "(") (binary_expression "DAT_000b5384 + uVar9" (identifier "DAT_000b5384") (+ "+") (identifier "uVar9")) () ")")))) (; ";")) (if_statement "if ((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;" (if "if") (parenthesized_expression "((*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))))" (( "(") (binary_expression "(*local_24 == '\0') ||\n         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" (parenthesized_expression "(*local_24 == '\0')" (( "(") (binary_expression "*local_24 == '\0'" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))" (( "(") (parenthesized_expression "((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'))" (( "(") (binary_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&\n          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" (parenthesized_expression "(*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'))" (( "(") (binary_expression "*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" (binary_expression "*local_24 == '$'" (pointer_expression "*local_24" (* "*") (identifier "local_24")) (== "==") (char_literal "'$'" (' "'") (character "$") (' "'"))) (&& "&&") (parenthesized_expression "(*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')" (( "(") (binary_expression "*(char *)(DAT_000b5384 + 1 + uVar9) != '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 1 + uVar9)" (* "*") (cast_expression "(char *)(DAT_000b5384 + 1 + uVar9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b5384 + 1 + uVar9)" (( "(") (binary_expression "DAT_000b5384 + 1 + uVar9" (binary_expression "DAT_000b5384 + 1" (identifier "DAT_000b5384") (+ "+") (number_literal "1")) (+ "+") (identifier "uVar9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')" (( "(") (binary_expression "*(char *)(DAT_000b5384 + 2 + uVar9) == '\0'" (pointer_expression "*(char *)(DAT_000b5384 + 2 + uVar9)" (* "*") (cast_expression "(char *)(DAT_000b5384 + 2 + uVar9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b5384 + 2 + uVar9)" (( "(") (binary_expression "DAT_000b5384 + 2 + uVar9" (binary_expression "DAT_000b5384 + 2" (identifier "DAT_000b5384") (+ "+") (number_literal "2")) (+ "+") (identifier "uVar9")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_00022e38;" (goto "goto") (statement_identifier "LAB_00022e38") (; ";"))) (expression_statement "bVar7 = *(byte *)(piVar4 + 5) & 0xf;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) & 0xf" (identifier "bVar7") (= "=") (binary_expression "*(byte *)(piVar4 + 5) & 0xf" (pointer_expression "*(byte *)(piVar4 + 5)" (* "*") (cast_expression "(byte *)(piVar4 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 5)" (( "(") (binary_expression "piVar4 + 5" (identifier "piVar4") (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "0xf"))) (; ";")) (if_statement "if (param_3 == 0) {\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (bVar7 != 2) goto LAB_00022e38;\n        goto LAB_00022f99;\n      }" ({ "{") (if_statement "if (bVar7 != 2) goto LAB_00022e38;" (if "if") (parenthesized_expression "(bVar7 != 2)" (( "(") (binary_expression "bVar7 != 2" (identifier "bVar7") (!= "!=") (number_literal "2")) () ")")) (goto_statement "goto LAB_00022e38;" (goto "goto") (statement_identifier "LAB_00022e38") (; ";"))) (goto_statement "goto LAB_00022f99;" (goto "goto") (statement_identifier "LAB_00022f99") (; ";")) (} "}"))) (if_statement "if (bVar7 == 2) goto LAB_00022e38;" (if "if") (parenthesized_expression "(bVar7 == 2)" (( "(") (binary_expression "bVar7 == 2" (identifier "bVar7") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_00022e38;" (goto "goto") (statement_identifier "LAB_00022e38") (; ";"))) (if_statement "if ((bVar7 != 4) && (bVar7 != 1)) {\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" (if "if") (parenthesized_expression "((bVar7 != 4) && (bVar7 != 1))" (( "(") (binary_expression "(bVar7 != 4) && (bVar7 != 1)" (parenthesized_expression "(bVar7 != 4)" (( "(") (binary_expression "bVar7 != 4" (identifier "bVar7") (!= "!=") (number_literal "4")) () ")")) (&& "&&") (parenthesized_expression "(bVar7 != 1)" (( "(") (binary_expression "bVar7 != 1" (identifier "bVar7") (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        bVar7 = *(byte *)(piVar4 + 5) >> 4;\n        if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }\n        goto LAB_00022e38;\n      }" ({ "{") (expression_statement "bVar7 = *(byte *)(piVar4 + 5) >> 4;" (assignment_expression "bVar7 = *(byte *)(piVar4 + 5) >> 4" (identifier "bVar7") (= "=") (binary_expression "*(byte *)(piVar4 + 5) >> 4" (pointer_expression "*(byte *)(piVar4 + 5)" (* "*") (cast_expression "(byte *)(piVar4 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 5)" (( "(") (binary_expression "piVar4 + 5" (identifier "piVar4") (+ "+") (number_literal "5")) () ")")))) (>> ">>") (number_literal "4"))) (; ";")) (if_statement "if (bVar7 == 0) {\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }\n        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" (if "if") (parenthesized_expression "(bVar7 == 0)" (( "(") (binary_expression "bVar7 == 0" (identifier "bVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }\n        }" ({ "{") (if_statement "if (local_28 == (int *)0x0) {\n            piVar3 = piVar4;\n          }" (if "if") (parenthesized_expression "(local_28 == (int *)0x0)" (( "(") (binary_expression "local_28 == (int *)0x0" (identifier "local_28") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            piVar3 = piVar4;\n          }" ({ "{") (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" (identifier "piVar3") (= "=") (identifier "piVar4")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" (else "else") (if_statement "if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {\n          piVar3 = piVar4;\n        }" (if "if") (parenthesized_expression "(((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1))" (( "(") (binary_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&\n                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" (parenthesized_expression "((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0))" (( "(") (binary_expression "(bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)" (parenthesized_expression "(bVar7 == 1)" (( "(") (binary_expression "bVar7 == 1" (identifier "bVar7") (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(piVar3 = piVar4, local_28 != (int *)0x0)" (( "(") (comma_expression "piVar3 = piVar4, local_28 != (int *)0x0" (assignment_expression "piVar3 = piVar4" (identifier "piVar3") (= "=") (identifier "piVar4")) (, ",") (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)" (( "(") (comma_expression "piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1" (assignment_expression "piVar3 = local_28" (identifier "piVar3") (= "=") (identifier "local_28")) (, ",") (binary_expression "(*(byte *)(local_28 + 5) & 0xf) != 1" (parenthesized_expression "(*(byte *)(local_28 + 5) & 0xf)" (( "(") (binary_expression "*(byte *)(local_28 + 5) & 0xf" (pointer_expression "*(byte *)(local_28 + 5)" (* "*") (cast_expression "(byte *)(local_28 + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 5)" (( "(") (binary_expression "local_28 + 5" (identifier "local_28") (+ "+") (number_literal "5")) () ")")))) (& "&") (number_literal "0xf")) () ")")) (!= "!=") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n          piVar3 = piVar4;\n        }" ({ "{") (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" (identifier "piVar3") (= "=") (identifier "piVar4")) (; ";")) (} "}"))))) (goto_statement "goto LAB_00022e38;" (goto "goto") (statement_identifier "LAB_00022e38") (; ";")) (} "}"))) (expression_statement "piVar3 = piVar4;" (assignment_expression "piVar3 = piVar4" (identifier "piVar3") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" (identifier "local_28") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar2 = piVar8;" (assignment_expression "piVar2 = piVar8" (identifier "piVar2") (= "=") (identifier "piVar8")) (; ";")) (if_statement "if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;" (if "if") (parenthesized_expression "(piVar4[3] == 0 && piVar4[2] == 0)" (( "(") (binary_expression "piVar4[3] == 0 && piVar4[2] == 0" (binary_expression "piVar4[3] == 0" (subscript_expression "piVar4[3]" (identifier "piVar4") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "piVar4[2] == 0" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0"))) () ")")) (goto_statement "goto LAB_00022e38;" (goto "goto") (statement_identifier "LAB_00022e38") (; ";"))) (} "}")) (else_clause "else {\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" (else "else") (compound_statement "{\nLAB_00022e38:\n      local_28 = piVar3;\n      piVar2 = piVar4;\n    }" ({ "{") (labeled_statement "LAB_00022e38:\n      local_28 = piVar3;" (statement_identifier "LAB_00022e38") (: ":") (expression_statement "local_28 = piVar3;" (assignment_expression "local_28 = piVar3" (identifier "local_28") (= "=") (identifier "piVar3")) (; ";"))) (expression_statement "piVar2 = piVar4;" (assignment_expression "piVar2 = piVar4" (identifier "piVar2") (= "=") (identifier "piVar4")) (; ";")) (} "}")))) (expression_statement "piVar4 = piVar2 + 7;" (assignment_expression "piVar4 = piVar2 + 7" (identifier "piVar4") (= "=") (binary_expression "piVar2 + 7" (identifier "piVar2") (+ "+") (number_literal "7"))) (; ";")) (if_statement "if (piVar8 <= piVar4) {\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" (if "if") (parenthesized_expression "(piVar8 <= piVar4)" (( "(") (binary_expression "piVar8 <= piVar4" (identifier "piVar8") (<= "<=") (identifier "piVar4")) () ")")) (compound_statement "{\n      if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }\n      return local_28;\n    }" ({ "{") (if_statement "if (local_28 != (int *)0x0) {\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" (if "if") (parenthesized_expression "(local_28 != (int *)0x0)" (( "(") (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        local_24 = (char *)(DAT_000b5384 + local_28[4]);\n        piVar4 = local_28;\nLAB_00022f99:\n        *param_4 = (int)local_24;\n        local_28 = piVar4;\n      }" ({ "{") (expression_statement "local_24 = (char *)(DAT_000b5384 + local_28[4]);" (assignment_expression "local_24 = (char *)(DAT_000b5384 + local_28[4])" (identifier "local_24") (= "=") (cast_expression "(char *)(DAT_000b5384 + local_28[4])" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000b5384 + local_28[4])" (( "(") (binary_expression "DAT_000b5384 + local_28[4]" (identifier "DAT_000b5384") (+ "+") (subscript_expression "local_28[4]" (identifier "local_28") ([ "[") (number_literal "4") (] "]"))) () ")")))) (; ";")) (expression_statement "piVar4 = local_28;" (assignment_expression "piVar4 = local_28" (identifier "piVar4") (= "=") (identifier "local_28")) (; ";")) (labeled_statement "LAB_00022f99:\n        *param_4 = (int)local_24;" (statement_identifier "LAB_00022f99") (: ":") (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 "local_28 = piVar4;" (assignment_expression "local_28 = piVar4" (identifier "local_28") (= "=") (identifier "piVar4")) (; ";")) (} "}"))) (return_statement "return local_28;" (return "return") (identifier "local_28") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

type_2 * __regparm3
var_2
          (type_3 *var_3,type_6 var_13,bfd_boolean var_14,char **pname)

{
  type_1 var_8;
  type_2 *var_17;
  type_2 *pEVar3;
  type_3 *pFVar4;
  type_2 *var_18;
  char *reason;
  type_1 var_4;
  type_4 var_15;
  type_2 *var_12;
  type_5 *var_1;
  type_5 *var_11;
  type_2 *var_16;
  char *local_24;
  
  var_1 = var_3->section_headers;
  pFVar4 = var_2::saved_filedata;
  if ((var_1 != (type_5 *)0x0) &&
     (((var_2::saved_filedata == (type_3 *)0x0 ||
       (var_2::saved_filedata != var_3)) &&
      (var_4 = (var_3->file_header).e_shnum, var_11 = var_1, pFVar4 = var_3,
      var_1 < var_1 + var_4)))) {
    do {
      if (var_11->sh_type == 2) {
        if (var_5 == 0) {
          get_symbol_for_build_attribute::symtab =
               var_6(var_3,var_11,&var_2::nsyms);
        }
        else {
          get_symbol_for_build_attribute::symtab =
               var_7(var_3,var_11,&var_2::nsyms);
        }
        var_8 = var_11->sh_link;
        var_1 = var_3->section_headers;
        var_4 = (var_3->file_header).e_shnum;
        if (var_8 < var_4) {
          reason = (char *)var_9(0,"string table",5);
          get_symbol_for_build_attribute::strtab =
               (char *)var_10((void *)0x0,var_3,(type_6)var_1[var_8].sh_offset,1,
                                var_1[var_8].sh_size,reason);
          get_symbol_for_build_attribute::strtablen = 0;
          if (var_2::strtab != (char *)0x0) {
            get_symbol_for_build_attribute::strtablen = (type_6)var_1[var_8].sh_size;
          }
          var_4 = (var_3->file_header).e_shnum;
          var_1 = var_3->section_headers;
        }
      }
      var_11 = var_11 + 1;
      pFVar4 = var_3;
    } while (var_11 < var_1 + var_4);
  }
  get_symbol_for_build_attribute::saved_filedata = pFVar4;
  if (((var_2::symtab == (type_2 *)0x0) ||
      (var_2::strtab == (char *)0x0)) ||
     (var_12 = var_2::symtab + var_2::nsyms,
     var_12 <= var_2::symtab)) {
    return (type_2 *)0x0;
  }
  var_16 = (type_2 *)0x0;
  var_18 = var_2::symtab;
  do {
    pEVar3 = var_16;
    if ((*(int *)((int)&var_18->st_value + 4) == 0 && (type_6)var_18->st_value == var_13) &&
       (var_4 = var_18->st_name, var_4 < var_2::strtablen)) {
      local_24 = var_2::strtab + var_4;
      if ((*local_24 == '\0') ||
         (((*local_24 == '$' && (var_2::strtab[var_4 + 1] != '\0')) &&
          (var_2::strtab[var_4 + 2] == '\0')))) goto LAB_00022e38;
      var_15 = var_18->st_info & 0xf;
      if (var_14 == 0) {
        if (var_15 != 2) goto LAB_00022e38;
        goto LAB_00022f99;
      }
      if (var_15 == 2) goto LAB_00022e38;
      if ((var_15 != 4) && (var_15 != 1)) {
        var_15 = var_18->st_info >> 4;
        if (var_15 == 0) {
          if (var_16 == (type_2 *)0x0) {
            pEVar3 = var_18;
          }
        }
        else if (((var_15 == 1) && (pEVar3 = var_18, var_16 != (type_2 *)0x0)) &&
                (pEVar3 = var_16, (var_16->st_info & 0xf) != 1)) {
          pEVar3 = var_18;
        }
        goto LAB_00022e38;
      }
      pEVar3 = var_18;
      var_16 = var_18;
      var_17 = var_12;
      if (*(int *)((int)&var_18->st_size + 4) == 0 && (int)var_18->st_size == 0) goto LAB_00022e38;
    }
    else {
LAB_00022e38:
      var_16 = pEVar3;
      var_17 = var_18;
    }
    var_18 = var_17 + 1;
    if (var_12 <= var_18) {
      if (var_16 != (type_2 *)0x0) {
        local_24 = var_2::strtab + var_16->st_name;
        var_18 = var_16;
LAB_00022f99:
        *pname = local_24;
        var_16 = var_18;
      }
      return var_16;
    }
  } while( true );
}


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

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

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

{
  int iVar1;
  int *piVar2;
  int *piVar3;
  int *piVar4;
  undefined4 uVar5;
  uint uVar6;
  byte bVar7;
  int *piVar8;
  uint uVar9;
  uint uVar10;
  int *local_28;
  char *local_24;
  
  uVar9 = *(uint *)(param_1 + 0x5c);
  iVar1 = DAT_000b538c;
  if ((uVar9 != 0) &&
     (((DAT_000b538c == 0 || (DAT_000b538c != param_1)) &&
      (uVar6 = *(uint *)(param_1 + 0x54), uVar10 = uVar9, iVar1 = param_1,
      uVar9 < uVar9 + uVar6 * 0x48)))) {
    do {
      if (*(int *)(uVar10 + 4) == 2) {
        if (DAT_000b6324 == 0) {
          DAT_000b5e64 = (int *)FUN_00022830();
        }
        else {
          DAT_000b5e64 = (int *)FUN_000222e0();
        }
        uVar9 = *(uint *)(param_1 + 0x5c);
        uVar6 = *(uint *)(param_1 + 0x54);
        if (*(uint *)(uVar10 + 0x28) < uVar6) {
          iVar1 = uVar9 + *(uint *)(uVar10 + 0x28) * 0x48;
          uVar5 = dcgettext(0,"string table",5);
          DAT_000b5384 = FUN_0001bf90(1,0,*(undefined4 *)(iVar1 + 0x20),
                                      *(undefined4 *)(iVar1 + 0x24),uVar5);
          DAT_000b5380 = 0;
          if (DAT_000b5384 != 0) {
            DAT_000b5380 = *(uint *)(iVar1 + 0x20);
          }
          uVar6 = *(uint *)(param_1 + 0x54);
          uVar9 = *(uint *)(param_1 + 0x5c);
        }
      }
      uVar10 = uVar10 + 0x48;
      iVar1 = param_1;
    } while (uVar10 < uVar9 + uVar6 * 0x48);
  }
  DAT_000b538c = iVar1;
  if (((DAT_000b5e64 == (int *)0x0) || (DAT_000b5384 == 0)) ||
     (piVar8 = DAT_000b5e64 + DAT_000b5388 * 7, piVar8 <= DAT_000b5e64)) {
    return (int *)0x0;
  }
  local_28 = (int *)0x0;
  piVar4 = DAT_000b5e64;
  do {
    piVar3 = local_28;
    if ((piVar4[1] == 0 && *piVar4 == param_2) && (uVar9 = piVar4[4], uVar9 < DAT_000b5380)) {
      local_24 = (char *)(DAT_000b5384 + uVar9);
      if ((*local_24 == '\0') ||
         (((*local_24 == '$' && (*(char *)(DAT_000b5384 + 1 + uVar9) != '\0')) &&
          (*(char *)(DAT_000b5384 + 2 + uVar9) == '\0')))) goto LAB_00022e38;
      bVar7 = *(byte *)(piVar4 + 5) & 0xf;
      if (param_3 == 0) {
        if (bVar7 != 2) goto LAB_00022e38;
        goto LAB_00022f99;
      }
      if (bVar7 == 2) goto LAB_00022e38;
      if ((bVar7 != 4) && (bVar7 != 1)) {
        bVar7 = *(byte *)(piVar4 + 5) >> 4;
        if (bVar7 == 0) {
          if (local_28 == (int *)0x0) {
            piVar3 = piVar4;
          }
        }
        else if (((bVar7 == 1) && (piVar3 = piVar4, local_28 != (int *)0x0)) &&
                (piVar3 = local_28, (*(byte *)(local_28 + 5) & 0xf) != 1)) {
          piVar3 = piVar4;
        }
        goto LAB_00022e38;
      }
      piVar3 = piVar4;
      local_28 = piVar4;
      piVar2 = piVar8;
      if (piVar4[3] == 0 && piVar4[2] == 0) goto LAB_00022e38;
    }
    else {
LAB_00022e38:
      local_28 = piVar3;
      piVar2 = piVar4;
    }
    piVar4 = piVar2 + 7;
    if (piVar8 <= piVar4) {
      if (local_28 != (int *)0x0) {
        local_24 = (char *)(DAT_000b5384 + local_28[4]);
        piVar4 = local_28;
LAB_00022f99:
        *param_4 = (int)local_24;
        local_28 = piVar4;
      }
      return local_28;
    }
  } while( true );
}

