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

void lang_add_wild(wildcard_spec *filespec,wildcard_list *section_list,bfd_boolean keep_sections)

{
  byte *__s;
  wildcard_list **ppwVar1;
  lang_statement_list_type *plVar2;
  char *pcVar3;
  size_t sVar4;
  wildcard_list *pwVar5;
  uint __n;
  int iVar6;
  char *pcVar7;
  char *pcVar8;
  int iVar9;
  wildcard_list *pwVar10;
  wildcard_list *pwVar11;
  byte *pbVar12;
  uint uVar13;
  byte *pbVar14;
  bool bVar15;
  bool bVar16;
  lang_statement_union *local_30;
  int local_2c;
  
  if (section_list != (wildcard_list *)0x0) {
    pwVar10 = (wildcard_list *)0x0;
    pwVar5 = section_list;
    do {
      section_list = pwVar5;
      pwVar5 = section_list->next;
      section_list->next = pwVar10;
      pwVar10 = section_list;
    } while (pwVar5 != (wildcard_list *)0x0);
  }
  plVar2 = stat_ptr;
  if (filespec == (wildcard_spec *)0x0) {
    local_30 = (lang_statement_union *)stat_alloc(0x40);
    (local_30->header).next = (lang_statement_union *)0x0;
    (local_30->header).type = lang_wild_statement_enum;
    *plVar2->tail = local_30;
    plVar2->tail = (lang_statement_union **)local_30;
    (local_30->wild_statement).filename = (char *)0x0;
    (local_30->wild_statement).filenames_sorted = 0;
    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;
    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;
  }
  else {
    __s = (byte *)filespec->name;
    bVar15 = false;
    bVar16 = __s == (byte *)0x0;
    if (!bVar16) {
      iVar9 = 2;
      pbVar12 = __s;
      pbVar14 = &DAT_0007eff4;
      do {
        if (iVar9 == 0) break;
        iVar9 = iVar9 + -1;
        bVar15 = *pbVar12 < *pbVar14;
        bVar16 = *pbVar12 == *pbVar14;
        pbVar12 = pbVar12 + 1;
        pbVar14 = pbVar14 + 1;
      } while (bVar16);
      if ((!bVar15 && !bVar16) == bVar15) {
        filespec->name = (char *)0x0;
      }
      else {
        pcVar8 = strpbrk((char *)__s,"?*[");
        if (pcVar8 == (char *)0x0) {
          lang_has_input_file = 1;
        }
      }
    }
    local_30 = (lang_statement_union *)stat_alloc(0x40);
    (local_30->header).next = (lang_statement_union *)0x0;
    (local_30->header).type = lang_wild_statement_enum;
    *plVar2->tail = local_30;
    plVar2->tail = (lang_statement_union **)local_30;
    (local_30->wild_statement).filename = filespec->name;
    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);
    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;
    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;
  }
  (local_30->wild_statement).keep_sections = keep_sections;
  (local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;
  (local_30->wild_statement).section_list = section_list;
  (local_30->wild_statement).children.head = (lang_statement_union *)0x0;
  (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;
  (local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0;
  (local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0;
  (local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0;
  (local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0;
  (local_30->wild_statement).tree = (lang_section_bst_type *)0x0;
  if ((section_list != (wildcard_list *)0x0) &&
     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)) {
    local_2c = 0;
    iVar9 = 1;
    pwVar5 = section_list;
    pcVar7 = pcVar8;
    while( true ) {
      pcVar3 = strpbrk(pcVar7,"?*[");
      if (pcVar3 != (char *)0x0) {
        sVar4 = strcspn(pcVar7,"*?[");
        if (sVar4 < 4) {
          return;
        }
        if (pcVar7[sVar4] != '*') {
          return;
        }
        if (pcVar7[sVar4 + 1] != '\0') {
          return;
        }
        local_2c = local_2c + 1;
      }
      pwVar5 = pwVar5->next;
      if (pwVar5 == (wildcard_list *)0x0) break;
      pcVar7 = (pwVar5->spec).name;
      iVar9 = iVar9 + 1;
      if (pcVar7 == (char *)0x0) {
        return;
      }
    }
    pwVar5 = section_list;
    if (iVar9 < 5) {
      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {
        pcVar7 = (pwVar5->spec).name;
        sVar4 = strcspn(pcVar7,"?*[");
        pwVar11 = pwVar10;
        uVar13 = sVar4 + 1;
        if (pcVar7[sVar4] != '\0') {
          uVar13 = sVar4;
        }
        do {
          pcVar3 = (pwVar11->spec).name;
          sVar4 = strcspn(pcVar3,"?*[");
          __n = sVar4 + (pcVar3[sVar4] == '\0');
          if (uVar13 <= __n) {
            __n = uVar13;
          }
          iVar6 = memcmp(pcVar7,pcVar3,__n);
          if (iVar6 == 0) {
            return;
          }
          ppwVar1 = &pwVar11->next;
          pwVar5 = pwVar10;
          pwVar11 = *ppwVar1;
        } while (*ppwVar1 != (wildcard_list *)0x0);
      }
      local_2c = iVar9 * 0x100 + local_2c;
      if (local_2c == 0x201) {
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;
      }
      else if (local_2c < 0x202) {
        if (local_2c == 0x100) {
          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;
        }
        else {
          if (local_2c != 0x101) {
            return;
          }
          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;
        }
      }
      else if (local_2c == 0x302) {
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;
      }
      else {
        if (local_2c != 0x402) {
          return;
        }
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;
      }
      iVar9 = 0;
      pcVar7 = pcVar8;
      pwVar5 = section_list;
      while( true ) {
        pcVar7 = strpbrk(pcVar7,"?*[");
        if (pcVar7 == (char *)0x0) {
          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;
          iVar9 = iVar9 + 1;
        }
        pwVar5 = pwVar5->next;
        if (pwVar5 == (wildcard_list *)0x0) break;
        pcVar7 = (pwVar5->spec).name;
      }
      while( true ) {
        pcVar8 = strpbrk(pcVar8,"?*[");
        if (pcVar8 != (char *)0x0) {
          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;
          iVar9 = iVar9 + 1;
        }
        section_list = section_list->next;
        if (section_list == (wildcard_list *)0x0) break;
        pcVar8 = (section_list->spec).name;
      }
    }
  }
  return;
}



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

void FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)

{
  byte *__s;
  undefined *puVar1;
  char *pcVar2;
  size_t sVar3;
  int *piVar4;
  uint __n;
  int iVar5;
  char *pcVar6;
  char *pcVar7;
  int iVar8;
  int *piVar9;
  int *piVar10;
  byte *pbVar11;
  uint uVar12;
  byte *pbVar13;
  bool bVar14;
  bool bVar15;
  undefined4 *local_30;
  int local_2c;
  
  if (param_2 != (int *)0x0) {
    piVar9 = (int *)0x0;
    piVar4 = param_2;
    do {
      param_2 = piVar4;
      piVar4 = (int *)*param_2;
      *param_2 = (int)piVar9;
      piVar9 = param_2;
    } while (piVar4 != (int *)0x0);
  }
  puVar1 = PTR_DAT_001c23b8;
  if (param_1 == (undefined4 *)0x0) {
    local_30 = (undefined4 *)FUN_00023860(0x40);
    *local_30 = 0;
    local_30[1] = 4;
    **(undefined4 **)(puVar1 + 4) = local_30;
    *(undefined4 **)(puVar1 + 4) = local_30;
    local_30[2] = 0;
    local_30[3] = 0;
    local_30[0xf] = 0;
    local_30[8] = 0;
  }
  else {
    __s = (byte *)*param_1;
    bVar14 = false;
    bVar15 = __s == (byte *)0x0;
    if (!bVar15) {
      iVar8 = 2;
      pbVar11 = __s;
      pbVar13 = &DAT_0007eff4;
      do {
        if (iVar8 == 0) break;
        iVar8 = iVar8 + -1;
        bVar14 = *pbVar11 < *pbVar13;
        bVar15 = *pbVar11 == *pbVar13;
        pbVar11 = pbVar11 + 1;
        pbVar13 = pbVar13 + 1;
      } while (bVar15);
      if ((!bVar14 && !bVar15) == bVar14) {
        *param_1 = 0;
      }
      else {
        pcVar7 = strpbrk((char *)__s,"?*[");
        if (pcVar7 == (char *)0x0) {
          DAT_001c3850 = 1;
        }
      }
    }
    local_30 = (undefined4 *)FUN_00023860(0x40);
    *local_30 = 0;
    local_30[1] = 4;
    **(undefined4 **)(puVar1 + 4) = local_30;
    *(undefined4 **)(puVar1 + 4) = local_30;
    local_30[2] = *param_1;
    local_30[3] = (uint)(param_1[2] == 1);
    local_30[0xf] = param_1[3];
    local_30[8] = param_1[1];
  }
  local_30[5] = param_3;
  local_30[7] = local_30 + 6;
  local_30[4] = param_2;
  local_30[6] = 0;
  local_30[9] = FUN_00022e00;
  local_30[10] = 0;
  local_30[0xb] = 0;
  local_30[0xc] = 0;
  local_30[0xd] = 0;
  local_30[0xe] = 0;
  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {
    local_2c = 0;
    iVar8 = 1;
    piVar4 = param_2;
    pcVar6 = pcVar7;
    while( true ) {
      pcVar2 = strpbrk(pcVar6,"?*[");
      if (pcVar2 != (char *)0x0) {
        sVar3 = strcspn(pcVar6,"*?[");
        if (sVar3 < 4) {
          return;
        }
        if (pcVar6[sVar3] != '*') {
          return;
        }
        if (pcVar6[sVar3 + 1] != '\0') {
          return;
        }
        local_2c = local_2c + 1;
      }
      piVar4 = (int *)*piVar4;
      if (piVar4 == (int *)0x0) break;
      pcVar6 = (char *)piVar4[1];
      iVar8 = iVar8 + 1;
      if (pcVar6 == (char *)0x0) {
        return;
      }
    }
    piVar4 = param_2;
    if (iVar8 < 5) {
      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {
        pcVar6 = (char *)piVar4[1];
        sVar3 = strcspn(pcVar6,"?*[");
        piVar10 = piVar9;
        uVar12 = sVar3 + 1;
        if (pcVar6[sVar3] != '\0') {
          uVar12 = sVar3;
        }
        do {
          pcVar2 = (char *)piVar10[1];
          sVar3 = strcspn(pcVar2,"?*[");
          __n = sVar3 + (pcVar2[sVar3] == '\0');
          if (uVar12 <= __n) {
            __n = uVar12;
          }
          iVar5 = memcmp(pcVar6,pcVar2,__n);
          if (iVar5 == 0) {
            return;
          }
          piVar10 = (int *)*piVar10;
          piVar4 = piVar9;
        } while (piVar10 != (int *)0x0);
      }
      local_2c = iVar8 * 0x100 + local_2c;
      if (local_2c == 0x201) {
        local_30[9] = FUN_00023170;
      }
      else if (local_2c < 0x202) {
        if (local_2c == 0x100) {
          local_30[9] = FUN_00023270;
        }
        else {
          if (local_2c != 0x101) {
            return;
          }
          local_30[9] = FUN_00022da0;
        }
      }
      else if (local_2c == 0x302) {
        local_30[9] = FUN_00023040;
      }
      else {
        if (local_2c != 0x402) {
          return;
        }
        local_30[9] = FUN_00022e90;
      }
      iVar8 = 0;
      pcVar6 = pcVar7;
      piVar4 = param_2;
      while( true ) {
        pcVar6 = strpbrk(pcVar6,"?*[");
        if (pcVar6 == (char *)0x0) {
          local_30[iVar8 + 10] = piVar4;
          iVar8 = iVar8 + 1;
        }
        piVar4 = (int *)*piVar4;
        if (piVar4 == (int *)0x0) break;
        pcVar6 = (char *)piVar4[1];
      }
      while( true ) {
        pcVar7 = strpbrk(pcVar7,"?*[");
        if (pcVar7 != (char *)0x0) {
          local_30[iVar8 + 10] = param_2;
          iVar8 = iVar8 + 1;
        }
        param_2 = (int *)*param_2;
        if (param_2 == (int *)0x0) break;
        pcVar7 = (char *)param_2[1];
      }
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017c50
ADD EBX,0x198fc7
SUB ESP,0x2c
MOV EBP,dword ptr [ESP + 0x44]
TEST EBP,EBP
JZ 0x0002905e
XOR EDX,EDX
JMP 0x00029052
MOV EBP,EAX
MOV EAX,dword ptr [EBP]
MOV dword ptr [EBP],EDX
MOV EDX,EBP
TEST EAX,EAX
JNZ 0x00029050
MOV EAX,dword ptr [ESP + 0x40]
MOV EDX,dword ptr [EBX + 0x3b8]
TEST EAX,EAX
JZ 0x00029280
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x000290a1
MOV ECX,0x2
LEA EDI,[EBX + 0xffebcff4]
MOV ESI,EAX
CMPSB.REPE ES:EDI,ESI
SETA CL
SBB CL,0x0
TEST CL,CL
JNZ 0x000292d8
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX],0x0
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0xc
PUSH 0x40
CALL 0x00023860
MOV EDX,dword ptr [ESP + 0x14]
MOV dword ptr [EAX],0x0
MOV ESI,EAX
MOV dword ptr [EAX + 0x4],0x4
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EDX + 0x4]
MOV dword ptr [EAX],ESI
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EDX + 0x4],ESI
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x40]
CMP dword ptr [EAX + 0x8],0x1
SETZ AL
MOVZX EAX,AL
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESI + 0x3c],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESI + 0x20],EAX
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ECX + 0x14],EAX
LEA EAX,[ECX + 0x18]
MOV dword ptr [ECX + 0x1c],EAX
LEA EAX,[EBX + 0xffe60e00]
MOV dword ptr [ECX + 0x10],EBP
MOV dword ptr [ECX + 0x18],0x0
MOV dword ptr [ECX + 0x24],EAX
MOV dword ptr [ECX + 0x28],0x0
MOV dword ptr [ECX + 0x2c],0x0
MOV dword ptr [ECX + 0x30],0x0
MOV dword ptr [ECX + 0x34],0x0
MOV dword ptr [ECX + 0x38],0x0
TEST EBP,EBP
JZ 0x000291b1
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JZ 0x000291b1
MOV ESI,EAX
LEA EAX,[EBX + 0xffebcf7a]
MOV dword ptr [ESP + 0x10],0x0
MOV EDX,0x1
MOV dword ptr [ESP + 0x4],EAX
LEA EAX,[EBX + 0xffebd0b8]
MOV EDI,ESI
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,EBP
MOV dword ptr [ESP + 0x44],EBP
MOV ESI,EAX
MOV EBP,EDX
LEA ESI,[ESI]
SUB ESP,0x8
PUSH dword ptr [ESP + 0xc]
PUSH EDI
CALL 0x00016aa0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000291d8
SUB ESP,0x8
PUSH dword ptr [ESP + 0x10]
PUSH EDI
CALL 0x00016170
ADD ESP,0x10
CMP EAX,0x3
JA 0x000291c0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EDI + EAX*0x1],0x2a
JNZ 0x000291b1
CMP byte ptr [EDI + EAX*0x1 + 0x1],0x0
JNZ 0x000291b1
ADD dword ptr [ESP + 0x10],0x1
LEA ESI,[ESI]
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x000291f0
MOV EDI,dword ptr [ESI + 0x4]
ADD EBP,0x1
TEST EDI,EDI
JNZ 0x00029188
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,EBP
MOV dword ptr [ESP + 0x1c],EBP
MOV EBP,dword ptr [ESP + 0x44]
CMP EAX,0x4
JG 0x000291b1
MOV EAX,EBP
MOV EBP,dword ptr [EAX]
MOV dword ptr [ESP + 0x18],EBP
TEST EBP,EBP
JZ 0x0002930a
MOV EAX,dword ptr [EAX + 0x4]
SUB ESP,0x8
MOV dword ptr [ESP + 0x10],EAX
MOV EDI,EAX
PUSH dword ptr [ESP + 0xc]
PUSH EAX
CALL 0x00016170
ADD ESP,0x10
LEA ESI,[EAX + 0x1]
CMP byte ptr [EDI + EAX*0x1],0x0
CMOVNZ ESI,EAX
LEA ESI,[ESI]
MOV EDI,dword ptr [EBP + 0x4]
SUB ESP,0x8
PUSH dword ptr [ESP + 0xc]
PUSH EDI
CALL 0x00016170
ADD ESP,0xc
CMP byte ptr [EDI + EAX*0x1],0x1
ADC EAX,0x0
CMP ESI,EAX
CMOVBE EAX,ESI
PUSH EAX
PUSH EDI
PUSH dword ptr [ESP + 0x14]
CALL 0x00016330
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000291b1
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JNZ 0x00029238
MOV EAX,dword ptr [ESP + 0x18]
JMP 0x00029201
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0xc
PUSH 0x40
CALL 0x00023860
MOV EDX,dword ptr [ESP + 0x14]
MOV ECX,EAX
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x4
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EDX + 0x4]
ADD ESP,0x10
MOV dword ptr [EAX],ECX
MOV dword ptr [EDX + 0x4],ECX
MOV dword ptr [ECX + 0x8],0x0
MOV dword ptr [ECX + 0xc],0x0
MOV dword ptr [ECX + 0x3c],0x0
MOV dword ptr [ECX + 0x20],0x0
JMP 0x000290ff
MOV dword ptr [ESP + 0x4],EDX
SUB ESP,0x8
LEA EDX,[EBX + 0xffebcf7a]
PUSH EDX
PUSH EAX
CALL 0x00016aa0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x4]
TEST EAX,EAX
JNZ 0x000290a1
MOV dword ptr [EBX + 0x1850],0x1
JMP 0x000290a1
MOV EAX,dword ptr [ESP + 0x1c]
MOV EBP,dword ptr [ESP + 0x44]
SHL EAX,0x8
ADD EAX,dword ptr [ESP + 0x10]
CMP EAX,0x201
JZ 0x000293f5
JG 0x00029388
CMP EAX,0x100
JZ 0x000293e3
CMP EAX,0x101
JNZ 0x000291b1
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xffe60da0]
MOV dword ptr [EDX + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x14]
XOR ESI,ESI
MOV EDI,dword ptr [ESP + 0x4]
MOV dword ptr [ESP + 0x44],EBP
JMP 0x0002936a
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JZ 0x000293a9
MOV EAX,dword ptr [EBP + 0x4]
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00016aa0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00029360
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + ESI*0x4 + 0x28],EBP
ADD ESI,0x1
JMP 0x00029360
CMP EAX,0x302
JZ 0x00029407
CMP EAX,0x402
JNZ 0x000291b1
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xffe60e90]
MOV dword ptr [EDX + 0x24],EAX
JMP 0x00029349
MOV EAX,dword ptr [ESP + 0x14]
MOV EBP,dword ptr [ESP + 0x44]
JMP 0x000293bb
MOV EAX,dword ptr [EBP + 0x4]
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00016aa0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000293d7
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + ESI*0x4 + 0x28],EBP
ADD ESI,0x1
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JNZ 0x000293b8
JMP 0x000291b1
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xffe61270]
MOV dword ptr [EDX + 0x24],EAX
JMP 0x00029349
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xffe61170]
MOV dword ptr [EDX + 0x24],EAX
JMP 0x00029349
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xffe61040]
MOV dword ptr [EDX + 0x24],EAX
JMP 0x00029349
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" { (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "undefined4 *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" { (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (do_statement "do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);" do (compound_statement "{\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    }" { (expression_statement "param_2 = piVar4;" (assignment_expression "param_2 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = (int *)*param_2;" (assignment_expression "piVar4 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*param_2 = (int)piVar9;" (assignment_expression "*param_2 = (int)piVar9" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" identifier = identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }" { (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" * identifier) = number_literal) ;) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xf] = 0;" (assignment_expression "local_30[0xf] = 0" (subscript_expression "local_30[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" else (compound_statement "{\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" { (expression_statement "__s = (byte *)*param_1;" (assignment_expression "__s = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" identifier = false) ;) (expression_statement "bVar15 = __s == (byte *)0x0;" (assignment_expression "bVar15 = __s == (byte *)0x0" identifier = (binary_expression "__s == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) (compound_statement "{\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (expression_statement "pbVar11 = __s;" (assignment_expression "pbVar11 = __s" identifier = identifier) ;) (expression_statement "pbVar13 = &DAT_0007eff4;" (assignment_expression "pbVar13 = &DAT_0007eff4" identifier = (pointer_expression "&DAT_0007eff4" & identifier)) ;) (do_statement "do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);" do (compound_statement "{\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      }" { (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "bVar14 = *pbVar11 < *pbVar13;" (assignment_expression "bVar14 = *pbVar11 < *pbVar13" identifier = (binary_expression "*pbVar11 < *pbVar13" (pointer_expression "*pbVar11" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar15 = *pbVar11 == *pbVar13;" (assignment_expression "bVar15 = *pbVar11 == *pbVar13" identifier = (binary_expression "*pbVar11 == *pbVar13" (pointer_expression "*pbVar11" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar15)" ( identifier )) ;) (if_statement "if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" if (parenthesized_expression "((!bVar14 && !bVar15) == bVar14)" ( (binary_expression "(!bVar14 && !bVar15) == bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" ( (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" ! identifier) && (unary_expression "!bVar15" ! identifier)) )) == identifier) )) (compound_statement "{\n        *param_1 = 0;\n      }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) }) (else_clause "else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" else (compound_statement "{\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" { (expression_statement "pcVar7 = strpbrk((char *)__s,"?*[");" (assignment_expression "pcVar7 = strpbrk((char *)__s,"?*[")" identifier = (call_expression "strpbrk((char *)__s,"?*[")" identifier (argument_list "((char *)__s,"?*[")" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001c3850 = 1;\n        }" { (expression_statement "DAT_001c3850 = 1;" (assignment_expression "DAT_001c3850 = 1" identifier = number_literal) ;) })) }))) })) (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" * identifier) = number_literal) ;) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_30[2] = *param_1;" (assignment_expression "local_30[2] = *param_1" (subscript_expression "local_30[2]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_30[3] = (uint)(param_1[2] == 1);" (assignment_expression "local_30[3] = (uint)(param_1[2] == 1)" (subscript_expression "local_30[3]" identifier [ number_literal ]) = (call_expression "(uint)(param_1[2] == 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] == 1)" ( (binary_expression "param_1[2] == 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )))) ;) (expression_statement "local_30[0xf] = param_1[3];" (assignment_expression "local_30[0xf] = param_1[3]" (subscript_expression "local_30[0xf]" identifier [ number_literal ]) = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "local_30[8] = param_1[1];" (assignment_expression "local_30[8] = param_1[1]" (subscript_expression "local_30[8]" identifier [ number_literal ]) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) (expression_statement "local_30[5] = param_3;" (assignment_expression "local_30[5] = param_3" (subscript_expression "local_30[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[7] = local_30 + 6;" (assignment_expression "local_30[7] = local_30 + 6" (subscript_expression "local_30[7]" identifier [ number_literal ]) = (binary_expression "local_30 + 6" identifier + number_literal)) ;) (expression_statement "local_30[4] = param_2;" (assignment_expression "local_30[4] = param_2" (subscript_expression "local_30[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[6] = 0;" (assignment_expression "local_30[6] = 0" (subscript_expression "local_30[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[9] = FUN_00022e00;" (assignment_expression "local_30[9] = FUN_00022e00" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[10] = 0;" (assignment_expression "local_30[10] = 0" (subscript_expression "local_30[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xb] = 0;" (assignment_expression "local_30[0xb] = 0" (subscript_expression "local_30[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xc] = 0;" (assignment_expression "local_30[0xc] = 0" (subscript_expression "local_30[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xd] = 0;" (assignment_expression "local_30[0xd] = 0" (subscript_expression "local_30[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xe] = 0;" (assignment_expression "local_30[0xe] = 0" (subscript_expression "local_30[0xe]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0))" ( (binary_expression "(param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" ( (comma_expression "pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0" (assignment_expression "pcVar7 = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) , (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (while_statement "while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" { (expression_statement "pcVar2 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar2 = strpbrk(pcVar6,"?*[")" identifier = (call_expression "strpbrk(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" { (expression_statement "sVar3 = strcspn(pcVar6,"*?[");" (assignment_expression "sVar3 = strcspn(pcVar6,"*?[")" identifier = (call_expression "strcspn(pcVar6,"*?[")" identifier (argument_list "(pcVar6,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (if_statement "if (sVar3 < 4) {\n          return;\n        }" if (parenthesized_expression "(sVar3 < 4)" ( (binary_expression "sVar3 < 4" identifier < number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar6[sVar3] != '*') {\n          return;\n        }" if (parenthesized_expression "(pcVar6[sVar3] != '*')" ( (binary_expression "pcVar6[sVar3] != '*'" (subscript_expression "pcVar6[sVar3]" identifier [ identifier ]) != (char_literal "'*'" ' character ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }" if (parenthesized_expression "(pcVar6[sVar3 + 1] != '\0')" ( (binary_expression "pcVar6[sVar3 + 1] != '\0'" (subscript_expression "pcVar6[sVar3 + 1]" identifier [ (binary_expression "sVar3 + 1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) })) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (if_statement "if (piVar4 == (int *)0x0) break;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n        return;\n      }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (if_statement "if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" if (parenthesized_expression "(iVar8 < 5)" ( (binary_expression "iVar8 < 5" identifier < number_literal) )) (compound_statement "{\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" { (while_statement "while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" while (parenthesized_expression "(piVar9 = (int *)*piVar4, piVar9 != (int *)0x0)" ( (comma_expression "piVar9 = (int *)*piVar4, piVar9 != (int *)0x0" (assignment_expression "piVar9 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) , (binary_expression "piVar9 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" { (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "sVar3 = strcspn(pcVar6,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar6,"?*[")" identifier = (call_expression "strcspn(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "piVar10 = piVar9;" (assignment_expression "piVar10 = piVar9" identifier = identifier) ;) (expression_statement "uVar12 = sVar3 + 1;" (assignment_expression "uVar12 = sVar3 + 1" identifier = (binary_expression "sVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }" if (parenthesized_expression "(pcVar6[sVar3] != '\0')" ( (binary_expression "pcVar6[sVar3] != '\0'" (subscript_expression "pcVar6[sVar3]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar12 = sVar3;\n        }" { (expression_statement "uVar12 = sVar3;" (assignment_expression "uVar12 = sVar3" identifier = identifier) ;) })) (do_statement "do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);" do (compound_statement "{\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        }" { (expression_statement "pcVar2 = (char *)piVar10[1];" (assignment_expression "pcVar2 = (char *)piVar10[1]" identifier = (cast_expression "(char *)piVar10[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) (expression_statement "sVar3 = strcspn(pcVar2,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar2,"?*[")" identifier = (call_expression "strcspn(pcVar2,"?*[")" identifier (argument_list "(pcVar2,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "__n = sVar3 + (pcVar2[sVar3] == '\0');" (assignment_expression "__n = sVar3 + (pcVar2[sVar3] == '\0')" identifier = (binary_expression "sVar3 + (pcVar2[sVar3] == '\0')" identifier + (parenthesized_expression "(pcVar2[sVar3] == '\0')" ( (binary_expression "pcVar2[sVar3] == '\0'" (subscript_expression "pcVar2[sVar3]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (uVar12 <= __n) {\n            __n = uVar12;\n          }" if (parenthesized_expression "(uVar12 <= __n)" ( (binary_expression "uVar12 <= __n" identifier <= identifier) )) (compound_statement "{\n            __n = uVar12;\n          }" { (expression_statement "__n = uVar12;" (assignment_expression "__n = uVar12" identifier = identifier) ;) })) (expression_statement "iVar5 = memcmp(pcVar6,pcVar2,__n);" (assignment_expression "iVar5 = memcmp(pcVar6,pcVar2,__n)" identifier = (call_expression "memcmp(pcVar6,pcVar2,__n)" identifier (argument_list "(pcVar6,pcVar2,__n)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n            return;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "piVar10 = (int *)*piVar10;" (assignment_expression "piVar10 = (int *)*piVar10" identifier = (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (expression_statement "piVar4 = piVar9;" (assignment_expression "piVar4 = piVar9" identifier = identifier) ;) }) while (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "local_2c = iVar8 * 0x100 + local_2c;" (assignment_expression "local_2c = iVar8 * 0x100 + local_2c" identifier = (binary_expression "iVar8 * 0x100 + local_2c" (binary_expression "iVar8 * 0x100" identifier * number_literal) + identifier)) ;) (if_statement "if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c == 0x201)" ( (binary_expression "local_2c == 0x201" identifier == number_literal) )) (compound_statement "{\n        local_30[9] = FUN_00023170;\n      }" { (expression_statement "local_30[9] = FUN_00023170;" (assignment_expression "local_30[9] = FUN_00023170" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (if_statement "if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c < 0x202)" ( (binary_expression "local_2c < 0x202" identifier < number_literal) )) (compound_statement "{\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }" { (if_statement "if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" if (parenthesized_expression "(local_2c == 0x100)" ( (binary_expression "local_2c == 0x100" identifier == number_literal) )) (compound_statement "{\n          local_30[9] = FUN_00023270;\n        }" { (expression_statement "local_30[9] = FUN_00023270;" (assignment_expression "local_30[9] = FUN_00023270" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" else (compound_statement "{\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" { (if_statement "if (local_2c != 0x101) {\n            return;\n          }" if (parenthesized_expression "(local_2c != 0x101)" ( (binary_expression "local_2c != 0x101" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "local_30[9] = FUN_00022da0;" (assignment_expression "local_30[9] = FUN_00022da0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (if_statement "if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c == 0x302)" ( (binary_expression "local_2c == 0x302" identifier == number_literal) )) (compound_statement "{\n        local_30[9] = FUN_00023040;\n      }" { (expression_statement "local_30[9] = FUN_00023040;" (assignment_expression "local_30[9] = FUN_00023040" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (compound_statement "{\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" { (if_statement "if (local_2c != 0x402) {\n          return;\n        }" if (parenthesized_expression "(local_2c != 0x402)" ( (binary_expression "local_2c != 0x402" identifier != number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "local_30[9] = FUN_00022e90;" (assignment_expression "local_30[9] = FUN_00022e90" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }))))))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (while_statement "while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" { (expression_statement "pcVar6 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar6 = strpbrk(pcVar6,"?*[")" identifier = (call_expression "strpbrk(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" { (expression_statement "local_30[iVar8 + 10] = piVar4;" (assignment_expression "local_30[iVar8 + 10] = piVar4" (subscript_expression "local_30[iVar8 + 10]" identifier [ (binary_expression "iVar8 + 10" identifier + number_literal) ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (if_statement "if (piVar4 == (int *)0x0) break;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) })) (while_statement "while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" { (expression_statement "pcVar7 = strpbrk(pcVar7,"?*[");" (assignment_expression "pcVar7 = strpbrk(pcVar7,"?*[")" identifier = (call_expression "strpbrk(pcVar7,"?*[")" identifier (argument_list "(pcVar7,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" { (expression_statement "local_30[iVar8 + 10] = param_2;" (assignment_expression "local_30[iVar8 + 10] = param_2" (subscript_expression "local_30[iVar8 + 10]" identifier [ (binary_expression "iVar8 + 10" identifier + number_literal) ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = (int *)*param_2;" (assignment_expression "param_2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (param_2 == (int *)0x0) break;" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = (char *)param_2[1];" (assignment_expression "pcVar7 = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid lang_add_wild(wildcard_spec *filespec,wildcard_list *section_list,bfd_boolean keep_sections)\n\n{\n  byte *__s;\n  wildcard_list **ppwVar1;\n  lang_statement_list_type *plVar2;\n  char *pcVar3;\n  size_t sVar4;\n  wildcard_list *pwVar5;\n  uint __n;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  wildcard_list *pwVar10;\n  wildcard_list *pwVar11;\n  byte *pbVar12;\n  uint uVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  lang_statement_union *local_30;\n  int local_2c;\n  \n  if (section_list != (wildcard_list *)0x0) {\n    pwVar10 = (wildcard_list *)0x0;\n    pwVar5 = section_list;\n    do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);\n  }\n  plVar2 = stat_ptr;\n  if (filespec == (wildcard_spec *)0x0) {\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = (char *)0x0;\n    (local_30->wild_statement).filenames_sorted = 0;\n    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;\n    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;\n  }\n  else {\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }\n  (local_30->wild_statement).keep_sections = keep_sections;\n  (local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;\n  (local_30->wild_statement).section_list = section_list;\n  (local_30->wild_statement).children.head = (lang_statement_union *)0x0;\n  (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;\n  (local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0;\n  (local_30->wild_statement).tree = (lang_section_bst_type *)0x0;\n  if ((section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)) {\n    local_2c = 0;\n    iVar9 = 1;\n    pwVar5 = section_list;\n    pcVar7 = pcVar8;\n    while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }\n    pwVar5 = section_list;\n    if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void lang_add_wild(wildcard_spec *filespec,wildcard_list *section_list,bfd_boolean keep_sections)\n\n{\n  byte *__s;\n  wildcard_list **ppwVar1;\n  lang_statement_list_type *plVar2;\n  char *pcVar3;\n  size_t sVar4;\n  wildcard_list *pwVar5;\n  uint __n;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  wildcard_list *pwVar10;\n  wildcard_list *pwVar11;\n  byte *pbVar12;\n  uint uVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  lang_statement_union *local_30;\n  int local_2c;\n  \n  if (section_list != (wildcard_list *)0x0) {\n    pwVar10 = (wildcard_list *)0x0;\n    pwVar5 = section_list;\n    do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);\n  }\n  plVar2 = stat_ptr;\n  if (filespec == (wildcard_spec *)0x0) {\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = (char *)0x0;\n    (local_30->wild_statement).filenames_sorted = 0;\n    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;\n    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;\n  }\n  else {\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }\n  (local_30->wild_statement).keep_sections = keep_sections;\n  (local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;\n  (local_30->wild_statement).section_list = section_list;\n  (local_30->wild_statement).children.head = (lang_statement_union *)0x0;\n  (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;\n  (local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0;\n  (local_30->wild_statement).tree = (lang_section_bst_type *)0x0;\n  if ((section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)) {\n    local_2c = 0;\n    iVar9 = 1;\n    pwVar5 = section_list;\n    pcVar7 = pcVar8;\n    while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }\n    pwVar5 = section_list;\n    if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "lang_add_wild(wildcard_spec *filespec,wildcard_list *section_list,bfd_boolean keep_sections)" identifier (parameter_list "(wildcard_spec *filespec,wildcard_list *section_list,bfd_boolean keep_sections)" ( (parameter_declaration "wildcard_spec *filespec" type_identifier (pointer_declarator "*filespec" * identifier)) , (parameter_declaration "wildcard_list *section_list" type_identifier (pointer_declarator "*section_list" * identifier)) , (parameter_declaration "bfd_boolean keep_sections" type_identifier identifier) ))) (compound_statement "{\n  byte *__s;\n  wildcard_list **ppwVar1;\n  lang_statement_list_type *plVar2;\n  char *pcVar3;\n  size_t sVar4;\n  wildcard_list *pwVar5;\n  uint __n;\n  int iVar6;\n  char *pcVar7;\n  char *pcVar8;\n  int iVar9;\n  wildcard_list *pwVar10;\n  wildcard_list *pwVar11;\n  byte *pbVar12;\n  uint uVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  lang_statement_union *local_30;\n  int local_2c;\n  \n  if (section_list != (wildcard_list *)0x0) {\n    pwVar10 = (wildcard_list *)0x0;\n    pwVar5 = section_list;\n    do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);\n  }\n  plVar2 = stat_ptr;\n  if (filespec == (wildcard_spec *)0x0) {\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = (char *)0x0;\n    (local_30->wild_statement).filenames_sorted = 0;\n    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;\n    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;\n  }\n  else {\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }\n  (local_30->wild_statement).keep_sections = keep_sections;\n  (local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;\n  (local_30->wild_statement).section_list = section_list;\n  (local_30->wild_statement).children.head = (lang_statement_union *)0x0;\n  (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;\n  (local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0;\n  (local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0;\n  (local_30->wild_statement).tree = (lang_section_bst_type *)0x0;\n  if ((section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)) {\n    local_2c = 0;\n    iVar9 = 1;\n    pwVar5 = section_list;\n    pcVar7 = pcVar8;\n    while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }\n    pwVar5 = section_list;\n    if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }\n  }\n  return;\n}" { (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "wildcard_list **ppwVar1;" type_identifier (pointer_declarator "**ppwVar1" * (pointer_declarator "*ppwVar1" * identifier)) ;) (declaration "lang_statement_list_type *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "wildcard_list *pwVar5;" type_identifier (pointer_declarator "*pwVar5" * identifier) ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "wildcard_list *pwVar10;" type_identifier (pointer_declarator "*pwVar10" * identifier) ;) (declaration "wildcard_list *pwVar11;" type_identifier (pointer_declarator "*pwVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "lang_statement_union *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (section_list != (wildcard_list *)0x0) {\n    pwVar10 = (wildcard_list *)0x0;\n    pwVar5 = section_list;\n    do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);\n  }" if (parenthesized_expression "(section_list != (wildcard_list *)0x0)" ( (binary_expression "section_list != (wildcard_list *)0x0" identifier != (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pwVar10 = (wildcard_list *)0x0;\n    pwVar5 = section_list;\n    do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);\n  }" { (expression_statement "pwVar10 = (wildcard_list *)0x0;" (assignment_expression "pwVar10 = (wildcard_list *)0x0" identifier = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pwVar5 = section_list;" (assignment_expression "pwVar5 = section_list" identifier = identifier) ;) (do_statement "do {\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    } while (pwVar5 != (wildcard_list *)0x0);" do (compound_statement "{\n      section_list = pwVar5;\n      pwVar5 = section_list->next;\n      section_list->next = pwVar10;\n      pwVar10 = section_list;\n    }" { (expression_statement "section_list = pwVar5;" (assignment_expression "section_list = pwVar5" identifier = identifier) ;) (expression_statement "pwVar5 = section_list->next;" (assignment_expression "pwVar5 = section_list->next" identifier = (field_expression "section_list->next" identifier -> field_identifier)) ;) (expression_statement "section_list->next = pwVar10;" (assignment_expression "section_list->next = pwVar10" (field_expression "section_list->next" identifier -> field_identifier) = identifier) ;) (expression_statement "pwVar10 = section_list;" (assignment_expression "pwVar10 = section_list" identifier = identifier) ;) }) while (parenthesized_expression "(pwVar5 != (wildcard_list *)0x0)" ( (binary_expression "pwVar5 != (wildcard_list *)0x0" identifier != (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "plVar2 = stat_ptr;" (assignment_expression "plVar2 = stat_ptr" identifier = identifier) ;) (if_statement "if (filespec == (wildcard_spec *)0x0) {\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = (char *)0x0;\n    (local_30->wild_statement).filenames_sorted = 0;\n    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;\n    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;\n  }\n  else {\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }" if (parenthesized_expression "(filespec == (wildcard_spec *)0x0)" ( (binary_expression "filespec == (wildcard_spec *)0x0" identifier == (cast_expression "(wildcard_spec *)0x0" ( (type_descriptor "wildcard_spec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = (char *)0x0;\n    (local_30->wild_statement).filenames_sorted = 0;\n    (local_30->wild_statement).section_flag_list = (flag_info *)0x0;\n    (local_30->wild_statement).exclude_name_list = (name_list *)0x0;\n  }" { (expression_statement "local_30 = (lang_statement_union *)stat_alloc(0x40);" (assignment_expression "local_30 = (lang_statement_union *)stat_alloc(0x40)" identifier = (cast_expression "(lang_statement_union *)stat_alloc(0x40)" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "(local_30->header).next = (lang_statement_union *)0x0;" (assignment_expression "(local_30->header).next = (lang_statement_union *)0x0" (field_expression "(local_30->header).next" (parenthesized_expression "(local_30->header)" ( (field_expression "local_30->header" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->header).type = lang_wild_statement_enum;" (assignment_expression "(local_30->header).type = lang_wild_statement_enum" (field_expression "(local_30->header).type" (parenthesized_expression "(local_30->header)" ( (field_expression "local_30->header" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "*plVar2->tail = local_30;" (assignment_expression "*plVar2->tail = local_30" (pointer_expression "*plVar2->tail" * (field_expression "plVar2->tail" identifier -> field_identifier)) = identifier) ;) (expression_statement "plVar2->tail = (lang_statement_union **)local_30;" (assignment_expression "plVar2->tail = (lang_statement_union **)local_30" (field_expression "plVar2->tail" identifier -> field_identifier) = (cast_expression "(lang_statement_union **)local_30" ( (type_descriptor "lang_statement_union **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "(local_30->wild_statement).filename = (char *)0x0;" (assignment_expression "(local_30->wild_statement).filename = (char *)0x0" (field_expression "(local_30->wild_statement).filename" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).filenames_sorted = 0;" (assignment_expression "(local_30->wild_statement).filenames_sorted = 0" (field_expression "(local_30->wild_statement).filenames_sorted" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(local_30->wild_statement).section_flag_list = (flag_info *)0x0;" (assignment_expression "(local_30->wild_statement).section_flag_list = (flag_info *)0x0" (field_expression "(local_30->wild_statement).section_flag_list" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(flag_info *)0x0" ( (type_descriptor "flag_info *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).exclude_name_list = (name_list *)0x0;" (assignment_expression "(local_30->wild_statement).exclude_name_list = (name_list *)0x0" (field_expression "(local_30->wild_statement).exclude_name_list" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }" else (compound_statement "{\n    __s = (byte *)filespec->name;\n    bVar15 = false;\n    bVar16 = __s == (byte *)0x0;\n    if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }\n    local_30 = (lang_statement_union *)stat_alloc(0x40);\n    (local_30->header).next = (lang_statement_union *)0x0;\n    (local_30->header).type = lang_wild_statement_enum;\n    *plVar2->tail = local_30;\n    plVar2->tail = (lang_statement_union **)local_30;\n    (local_30->wild_statement).filename = filespec->name;\n    (local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);\n    (local_30->wild_statement).section_flag_list = filespec->section_flag_list;\n    (local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;\n  }" { (expression_statement "__s = (byte *)filespec->name;" (assignment_expression "__s = (byte *)filespec->name" identifier = (cast_expression "(byte *)filespec->name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "filespec->name" identifier -> field_identifier))) ;) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = __s == (byte *)0x0;" (assignment_expression "bVar16 = __s == (byte *)0x0" identifier = (binary_expression "__s == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar16) {\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) (compound_statement "{\n      iVar9 = 2;\n      pbVar12 = __s;\n      pbVar14 = &DAT_0007eff4;\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }\n    }" { (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;) (expression_statement "pbVar12 = __s;" (assignment_expression "pbVar12 = __s" identifier = identifier) ;) (expression_statement "pbVar14 = &DAT_0007eff4;" (assignment_expression "pbVar14 = &DAT_0007eff4" identifier = (pointer_expression "&DAT_0007eff4" & identifier)) ;) (do_statement "do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      } while (bVar16);" do (compound_statement "{\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar15 = *pbVar12 < *pbVar14;\n        bVar16 = *pbVar12 == *pbVar14;\n        pbVar12 = pbVar12 + 1;\n        pbVar14 = pbVar14 + 1;\n      }" { (if_statement "if (iVar9 == 0) break;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar12 < *pbVar14;" (assignment_expression "bVar15 = *pbVar12 < *pbVar14" identifier = (binary_expression "*pbVar12 < *pbVar14" (pointer_expression "*pbVar12" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar16 = *pbVar12 == *pbVar14;" (assignment_expression "bVar16 = *pbVar12 == *pbVar14" identifier = (binary_expression "*pbVar12 == *pbVar14" (pointer_expression "*pbVar12" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + 1;" (assignment_expression "pbVar14 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) == bVar15) {\n        filespec->name = (char *)0x0;\n      }\n      else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }" if (parenthesized_expression "((!bVar15 && !bVar16) == bVar15)" ( (binary_expression "(!bVar15 && !bVar16) == bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) == identifier) )) (compound_statement "{\n        filespec->name = (char *)0x0;\n      }" { (expression_statement "filespec->name = (char *)0x0;" (assignment_expression "filespec->name = (char *)0x0" (field_expression "filespec->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }" else (compound_statement "{\n        pcVar8 = strpbrk((char *)__s,"?*[");\n        if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }\n      }" { (expression_statement "pcVar8 = strpbrk((char *)__s,"?*[");" (assignment_expression "pcVar8 = strpbrk((char *)__s,"?*[")" identifier = (call_expression "strpbrk((char *)__s,"?*[")" identifier (argument_list "((char *)__s,"?*[")" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n          lang_has_input_file = 1;\n        }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          lang_has_input_file = 1;\n        }" { (expression_statement "lang_has_input_file = 1;" (assignment_expression "lang_has_input_file = 1" identifier = number_literal) ;) })) }))) })) (expression_statement "local_30 = (lang_statement_union *)stat_alloc(0x40);" (assignment_expression "local_30 = (lang_statement_union *)stat_alloc(0x40)" identifier = (cast_expression "(lang_statement_union *)stat_alloc(0x40)" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "(local_30->header).next = (lang_statement_union *)0x0;" (assignment_expression "(local_30->header).next = (lang_statement_union *)0x0" (field_expression "(local_30->header).next" (parenthesized_expression "(local_30->header)" ( (field_expression "local_30->header" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->header).type = lang_wild_statement_enum;" (assignment_expression "(local_30->header).type = lang_wild_statement_enum" (field_expression "(local_30->header).type" (parenthesized_expression "(local_30->header)" ( (field_expression "local_30->header" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "*plVar2->tail = local_30;" (assignment_expression "*plVar2->tail = local_30" (pointer_expression "*plVar2->tail" * (field_expression "plVar2->tail" identifier -> field_identifier)) = identifier) ;) (expression_statement "plVar2->tail = (lang_statement_union **)local_30;" (assignment_expression "plVar2->tail = (lang_statement_union **)local_30" (field_expression "plVar2->tail" identifier -> field_identifier) = (cast_expression "(lang_statement_union **)local_30" ( (type_descriptor "lang_statement_union **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "(local_30->wild_statement).filename = filespec->name;" (assignment_expression "(local_30->wild_statement).filename = filespec->name" (field_expression "(local_30->wild_statement).filename" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (field_expression "filespec->name" identifier -> field_identifier)) ;) (expression_statement "(local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name);" (assignment_expression "(local_30->wild_statement).filenames_sorted = (uint)(filespec->sorted == by_name)" (field_expression "(local_30->wild_statement).filenames_sorted" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (call_expression "(uint)(filespec->sorted == by_name)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(filespec->sorted == by_name)" ( (binary_expression "filespec->sorted == by_name" (field_expression "filespec->sorted" identifier -> field_identifier) == identifier) )))) ;) (expression_statement "(local_30->wild_statement).section_flag_list = filespec->section_flag_list;" (assignment_expression "(local_30->wild_statement).section_flag_list = filespec->section_flag_list" (field_expression "(local_30->wild_statement).section_flag_list" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (field_expression "filespec->section_flag_list" identifier -> field_identifier)) ;) (expression_statement "(local_30->wild_statement).exclude_name_list = filespec->exclude_name_list;" (assignment_expression "(local_30->wild_statement).exclude_name_list = filespec->exclude_name_list" (field_expression "(local_30->wild_statement).exclude_name_list" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (field_expression "filespec->exclude_name_list" identifier -> field_identifier)) ;) }))) (expression_statement "(local_30->wild_statement).keep_sections = keep_sections;" (assignment_expression "(local_30->wild_statement).keep_sections = keep_sections" (field_expression "(local_30->wild_statement).keep_sections" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;" (assignment_expression "(local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head" (field_expression "(local_30->wild_statement).children.tail" (field_expression "(local_30->wild_statement).children" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (pointer_expression "&(local_30->wild_statement).children.head" & (field_expression "(local_30->wild_statement).children.head" (field_expression "(local_30->wild_statement).children" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "(local_30->wild_statement).section_list = section_list;" (assignment_expression "(local_30->wild_statement).section_list = section_list" (field_expression "(local_30->wild_statement).section_list" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(local_30->wild_statement).children.head = (lang_statement_union *)0x0;" (assignment_expression "(local_30->wild_statement).children.head = (lang_statement_union *)0x0" (field_expression "(local_30->wild_statement).children.head" (field_expression "(local_30->wild_statement).children" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0;" (assignment_expression "(local_30->wild_statement).handler_data[0] = (wildcard_list *)0x0" (subscript_expression "(local_30->wild_statement).handler_data[0]" (field_expression "(local_30->wild_statement).handler_data" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0;" (assignment_expression "(local_30->wild_statement).handler_data[1] = (wildcard_list *)0x0" (subscript_expression "(local_30->wild_statement).handler_data[1]" (field_expression "(local_30->wild_statement).handler_data" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0;" (assignment_expression "(local_30->wild_statement).handler_data[2] = (wildcard_list *)0x0" (subscript_expression "(local_30->wild_statement).handler_data[2]" (field_expression "(local_30->wild_statement).handler_data" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0;" (assignment_expression "(local_30->wild_statement).handler_data[3] = (wildcard_list *)0x0" (subscript_expression "(local_30->wild_statement).handler_data[3]" (field_expression "(local_30->wild_statement).handler_data" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(local_30->wild_statement).tree = (lang_section_bst_type *)0x0;" (assignment_expression "(local_30->wild_statement).tree = (lang_section_bst_type *)0x0" (field_expression "(local_30->wild_statement).tree" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(lang_section_bst_type *)0x0" ( (type_descriptor "lang_section_bst_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)) {\n    local_2c = 0;\n    iVar9 = 1;\n    pwVar5 = section_list;\n    pcVar7 = pcVar8;\n    while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }\n    pwVar5 = section_list;\n    if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }\n  }" if (parenthesized_expression "((section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0))" ( (binary_expression "(section_list != (wildcard_list *)0x0) &&\n     (pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)" (parenthesized_expression "(section_list != (wildcard_list *)0x0)" ( (binary_expression "section_list != (wildcard_list *)0x0" identifier != (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0)" ( (comma_expression "pcVar8 = (section_list->spec).name, pcVar8 != (char *)0x0" (assignment_expression "pcVar8 = (section_list->spec).name" identifier = (field_expression "(section_list->spec).name" (parenthesized_expression "(section_list->spec)" ( (field_expression "section_list->spec" identifier -> field_identifier) )) . field_identifier)) , (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    local_2c = 0;\n    iVar9 = 1;\n    pwVar5 = section_list;\n    pcVar7 = pcVar8;\n    while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }\n    pwVar5 = section_list;\n    if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "pwVar5 = section_list;" (assignment_expression "pwVar5 = section_list" identifier = identifier) ;) (expression_statement "pcVar7 = pcVar8;" (assignment_expression "pcVar7 = pcVar8" identifier = identifier) ;) (while_statement "while( true ) {\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar3 = strpbrk(pcVar7,"?*[");\n      if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      pwVar5 = pwVar5->next;\n      if (pwVar5 == (wildcard_list *)0x0) break;\n      pcVar7 = (pwVar5->spec).name;\n      iVar9 = iVar9 + 1;\n      if (pcVar7 == (char *)0x0) {\n        return;\n      }\n    }" { (expression_statement "pcVar3 = strpbrk(pcVar7,"?*[");" (assignment_expression "pcVar3 = strpbrk(pcVar7,"?*[")" identifier = (call_expression "strpbrk(pcVar7,"?*[")" identifier (argument_list "(pcVar7,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar4 = strcspn(pcVar7,"*?[");\n        if (sVar4 < 4) {\n          return;\n        }\n        if (pcVar7[sVar4] != '*') {\n          return;\n        }\n        if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" { (expression_statement "sVar4 = strcspn(pcVar7,"*?[");" (assignment_expression "sVar4 = strcspn(pcVar7,"*?[")" identifier = (call_expression "strcspn(pcVar7,"*?[")" identifier (argument_list "(pcVar7,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (if_statement "if (sVar4 < 4) {\n          return;\n        }" if (parenthesized_expression "(sVar4 < 4)" ( (binary_expression "sVar4 < 4" identifier < number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar7[sVar4] != '*') {\n          return;\n        }" if (parenthesized_expression "(pcVar7[sVar4] != '*')" ( (binary_expression "pcVar7[sVar4] != '*'" (subscript_expression "pcVar7[sVar4]" identifier [ identifier ]) != (char_literal "'*'" ' character ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar7[sVar4 + 1] != '\0') {\n          return;\n        }" if (parenthesized_expression "(pcVar7[sVar4 + 1] != '\0')" ( (binary_expression "pcVar7[sVar4 + 1] != '\0'" (subscript_expression "pcVar7[sVar4 + 1]" identifier [ (binary_expression "sVar4 + 1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) })) (expression_statement "pwVar5 = pwVar5->next;" (assignment_expression "pwVar5 = pwVar5->next" identifier = (field_expression "pwVar5->next" identifier -> field_identifier)) ;) (if_statement "if (pwVar5 == (wildcard_list *)0x0) break;" if (parenthesized_expression "(pwVar5 == (wildcard_list *)0x0)" ( (binary_expression "pwVar5 == (wildcard_list *)0x0" identifier == (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = (pwVar5->spec).name;" (assignment_expression "pcVar7 = (pwVar5->spec).name" identifier = (field_expression "(pwVar5->spec).name" (parenthesized_expression "(pwVar5->spec)" ( (field_expression "pwVar5->spec" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n        return;\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "pwVar5 = section_list;" (assignment_expression "pwVar5 = section_list" identifier = identifier) ;) (if_statement "if (iVar9 < 5) {\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }" if (parenthesized_expression "(iVar9 < 5)" ( (binary_expression "iVar9 < 5" identifier < number_literal) )) (compound_statement "{\n      while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }\n      local_2c = iVar9 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }\n      iVar9 = 0;\n      pcVar7 = pcVar8;\n      pwVar5 = section_list;\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }\n      while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }\n    }" { (while_statement "while (pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0) {\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }" while (parenthesized_expression "(pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0)" ( (comma_expression "pwVar10 = pwVar5->next, pwVar10 != (wildcard_list *)0x0" (assignment_expression "pwVar10 = pwVar5->next" identifier = (field_expression "pwVar5->next" identifier -> field_identifier)) , (binary_expression "pwVar10 != (wildcard_list *)0x0" identifier != (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        pcVar7 = (pwVar5->spec).name;\n        sVar4 = strcspn(pcVar7,"?*[");\n        pwVar11 = pwVar10;\n        uVar13 = sVar4 + 1;\n        if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }\n        do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);\n      }" { (expression_statement "pcVar7 = (pwVar5->spec).name;" (assignment_expression "pcVar7 = (pwVar5->spec).name" identifier = (field_expression "(pwVar5->spec).name" (parenthesized_expression "(pwVar5->spec)" ( (field_expression "pwVar5->spec" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "sVar4 = strcspn(pcVar7,"?*[");" (assignment_expression "sVar4 = strcspn(pcVar7,"?*[")" identifier = (call_expression "strcspn(pcVar7,"?*[")" identifier (argument_list "(pcVar7,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "pwVar11 = pwVar10;" (assignment_expression "pwVar11 = pwVar10" identifier = identifier) ;) (expression_statement "uVar13 = sVar4 + 1;" (assignment_expression "uVar13 = sVar4 + 1" identifier = (binary_expression "sVar4 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar7[sVar4] != '\0') {\n          uVar13 = sVar4;\n        }" if (parenthesized_expression "(pcVar7[sVar4] != '\0')" ( (binary_expression "pcVar7[sVar4] != '\0'" (subscript_expression "pcVar7[sVar4]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar13 = sVar4;\n        }" { (expression_statement "uVar13 = sVar4;" (assignment_expression "uVar13 = sVar4" identifier = identifier) ;) })) (do_statement "do {\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        } while (*ppwVar1 != (wildcard_list *)0x0);" do (compound_statement "{\n          pcVar3 = (pwVar11->spec).name;\n          sVar4 = strcspn(pcVar3,"?*[");\n          __n = sVar4 + (pcVar3[sVar4] == '\0');\n          if (uVar13 <= __n) {\n            __n = uVar13;\n          }\n          iVar6 = memcmp(pcVar7,pcVar3,__n);\n          if (iVar6 == 0) {\n            return;\n          }\n          ppwVar1 = &pwVar11->next;\n          pwVar5 = pwVar10;\n          pwVar11 = *ppwVar1;\n        }" { (expression_statement "pcVar3 = (pwVar11->spec).name;" (assignment_expression "pcVar3 = (pwVar11->spec).name" identifier = (field_expression "(pwVar11->spec).name" (parenthesized_expression "(pwVar11->spec)" ( (field_expression "pwVar11->spec" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "sVar4 = strcspn(pcVar3,"?*[");" (assignment_expression "sVar4 = strcspn(pcVar3,"?*[")" identifier = (call_expression "strcspn(pcVar3,"?*[")" identifier (argument_list "(pcVar3,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "__n = sVar4 + (pcVar3[sVar4] == '\0');" (assignment_expression "__n = sVar4 + (pcVar3[sVar4] == '\0')" identifier = (binary_expression "sVar4 + (pcVar3[sVar4] == '\0')" identifier + (parenthesized_expression "(pcVar3[sVar4] == '\0')" ( (binary_expression "pcVar3[sVar4] == '\0'" (subscript_expression "pcVar3[sVar4]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (uVar13 <= __n) {\n            __n = uVar13;\n          }" if (parenthesized_expression "(uVar13 <= __n)" ( (binary_expression "uVar13 <= __n" identifier <= identifier) )) (compound_statement "{\n            __n = uVar13;\n          }" { (expression_statement "__n = uVar13;" (assignment_expression "__n = uVar13" identifier = identifier) ;) })) (expression_statement "iVar6 = memcmp(pcVar7,pcVar3,__n);" (assignment_expression "iVar6 = memcmp(pcVar7,pcVar3,__n)" identifier = (call_expression "memcmp(pcVar7,pcVar3,__n)" identifier (argument_list "(pcVar7,pcVar3,__n)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            return;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "ppwVar1 = &pwVar11->next;" (assignment_expression "ppwVar1 = &pwVar11->next" identifier = (pointer_expression "&pwVar11->next" & (field_expression "pwVar11->next" identifier -> field_identifier))) ;) (expression_statement "pwVar5 = pwVar10;" (assignment_expression "pwVar5 = pwVar10" identifier = identifier) ;) (expression_statement "pwVar11 = *ppwVar1;" (assignment_expression "pwVar11 = *ppwVar1" identifier = (pointer_expression "*ppwVar1" * identifier)) ;) }) while (parenthesized_expression "(*ppwVar1 != (wildcard_list *)0x0)" ( (binary_expression "*ppwVar1 != (wildcard_list *)0x0" (pointer_expression "*ppwVar1" * identifier) != (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "local_2c = iVar9 * 0x100 + local_2c;" (assignment_expression "local_2c = iVar9 * 0x100 + local_2c" identifier = (binary_expression "iVar9 * 0x100 + local_2c" (binary_expression "iVar9 * 0x100" identifier * number_literal) + identifier)) ;) (if_statement "if (local_2c == 0x201) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" if (parenthesized_expression "(local_2c == 0x201)" ( (binary_expression "local_2c == 0x201" identifier == number_literal) )) (compound_statement "{\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;\n      }" { (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }) (else_clause "else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" else (if_statement "if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }\n      else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" if (parenthesized_expression "(local_2c < 0x202)" ( (binary_expression "local_2c < 0x202" identifier < number_literal) )) (compound_statement "{\n        if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }\n      }" { (if_statement "if (local_2c == 0x100) {\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }" if (parenthesized_expression "(local_2c == 0x100)" ( (binary_expression "local_2c == 0x100" identifier == number_literal) )) (compound_statement "{\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;\n        }" { (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }) (else_clause "else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }" else (compound_statement "{\n          if (local_2c != 0x101) {\n            return;\n          }\n          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;\n        }" { (if_statement "if (local_2c != 0x101) {\n            return;\n          }" if (parenthesized_expression "(local_2c != 0x101)" ( (binary_expression "local_2c != 0x101" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }))) }) (else_clause "else if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" else (if_statement "if (local_2c == 0x302) {\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" if (parenthesized_expression "(local_2c == 0x302)" ( (binary_expression "local_2c == 0x302" identifier == number_literal) )) (compound_statement "{\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;\n      }" { (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }) (else_clause "else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" else (compound_statement "{\n        if (local_2c != 0x402) {\n          return;\n        }\n        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;\n      }" { (if_statement "if (local_2c != 0x402) {\n          return;\n        }" if (parenthesized_expression "(local_2c != 0x402)" ( (binary_expression "local_2c != 0x402" identifier != number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;" (assignment_expression "(local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2" (field_expression "(local_30->wild_statement).walk_wild_section_handler" (parenthesized_expression "(local_30->wild_statement)" ( (field_expression "local_30->wild_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) }))))))) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "pcVar7 = pcVar8;" (assignment_expression "pcVar7 = pcVar8" identifier = identifier) ;) (expression_statement "pwVar5 = section_list;" (assignment_expression "pwVar5 = section_list" identifier = identifier) ;) (while_statement "while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }\n        pwVar5 = pwVar5->next;\n        if (pwVar5 == (wildcard_list *)0x0) break;\n        pcVar7 = (pwVar5->spec).name;\n      }" { (expression_statement "pcVar7 = strpbrk(pcVar7,"?*[");" (assignment_expression "pcVar7 = strpbrk(pcVar7,"?*[")" identifier = (call_expression "strpbrk(pcVar7,"?*[")" identifier (argument_list "(pcVar7,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;\n          iVar9 = iVar9 + 1;\n        }" { (expression_statement "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5;" (assignment_expression "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = pwVar5" (pointer_expression "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28)" * (cast_expression "(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28)" ( (type_descriptor "wildcard_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar9 * 4 + 0x28)" ( (binary_expression "(int)local_30 + iVar9 * 4 + 0x28" (binary_expression "(int)local_30 + iVar9 * 4" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar9 * 4" identifier * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "pwVar5 = pwVar5->next;" (assignment_expression "pwVar5 = pwVar5->next" identifier = (field_expression "pwVar5->next" identifier -> field_identifier)) ;) (if_statement "if (pwVar5 == (wildcard_list *)0x0) break;" if (parenthesized_expression "(pwVar5 == (wildcard_list *)0x0)" ( (binary_expression "pwVar5 == (wildcard_list *)0x0" identifier == (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = (pwVar5->spec).name;" (assignment_expression "pcVar7 = (pwVar5->spec).name" identifier = (field_expression "(pwVar5->spec).name" (parenthesized_expression "(pwVar5->spec)" ( (field_expression "pwVar5->spec" identifier -> field_identifier) )) . field_identifier)) ;) })) (while_statement "while( true ) {\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar8 = strpbrk(pcVar8,"?*[");\n        if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }\n        section_list = section_list->next;\n        if (section_list == (wildcard_list *)0x0) break;\n        pcVar8 = (section_list->spec).name;\n      }" { (expression_statement "pcVar8 = strpbrk(pcVar8,"?*[");" (assignment_expression "pcVar8 = strpbrk(pcVar8,"?*[")" identifier = (call_expression "strpbrk(pcVar8,"?*[")" identifier (argument_list "(pcVar8,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;\n          iVar9 = iVar9 + 1;\n        }" { (expression_statement "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list;" (assignment_expression "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28) = section_list" (pointer_expression "*(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28)" * (cast_expression "(wildcard_list **)((int)local_30 + iVar9 * 4 + 0x28)" ( (type_descriptor "wildcard_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar9 * 4 + 0x28)" ( (binary_expression "(int)local_30 + iVar9 * 4 + 0x28" (binary_expression "(int)local_30 + iVar9 * 4" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar9 * 4" identifier * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "section_list = section_list->next;" (assignment_expression "section_list = section_list->next" identifier = (field_expression "section_list->next" identifier -> field_identifier)) ;) (if_statement "if (section_list == (wildcard_list *)0x0) break;" if (parenthesized_expression "(section_list == (wildcard_list *)0x0)" ( (binary_expression "section_list == (wildcard_list *)0x0" identifier == (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar8 = (section_list->spec).name;" (assignment_expression "pcVar8 = (section_list->spec).name" identifier = (field_expression "(section_list->spec).name" (parenthesized_expression "(section_list->spec)" ( (field_expression "section_list->spec" identifier -> field_identifier) )) . field_identifier)) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" { (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "uint __n;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "undefined4 *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (if_statement "if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" { (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (do_statement "do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);" do (compound_statement "{\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    }" { (expression_statement "param_2 = piVar4;" (assignment_expression "param_2 = piVar4" identifier = identifier) ;) (expression_statement "piVar4 = (int *)*param_2;" (assignment_expression "piVar4 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "*param_2 = (int)piVar9;" (assignment_expression "*param_2 = (int)piVar9" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(piVar4 != (int *)0x0)" ( (binary_expression "piVar4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" identifier = identifier) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }" { (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" * identifier) = number_literal) ;) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xf] = 0;" (assignment_expression "local_30[0xf] = 0" (subscript_expression "local_30[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" else (compound_statement "{\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" { (expression_statement "__s = (byte *)*param_1;" (assignment_expression "__s = (byte *)*param_1" identifier = (cast_expression "(byte *)*param_1" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" identifier = false) ;) (expression_statement "bVar15 = __s == (byte *)0x0;" (assignment_expression "bVar15 = __s == (byte *)0x0" identifier = (binary_expression "__s == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" if (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) (compound_statement "{\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (expression_statement "pbVar11 = __s;" (assignment_expression "pbVar11 = __s" identifier = identifier) ;) (expression_statement "pbVar13 = &DAT_0007eff4;" (assignment_expression "pbVar13 = &DAT_0007eff4" identifier = (pointer_expression "&DAT_0007eff4" & identifier)) ;) (do_statement "do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);" do (compound_statement "{\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      }" { (if_statement "if (iVar8 == 0) break;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) (expression_statement "bVar14 = *pbVar11 < *pbVar13;" (assignment_expression "bVar14 = *pbVar11 < *pbVar13" identifier = (binary_expression "*pbVar11 < *pbVar13" (pointer_expression "*pbVar11" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar15 = *pbVar11 == *pbVar13;" (assignment_expression "bVar15 = *pbVar11 == *pbVar13" identifier = (binary_expression "*pbVar11 == *pbVar13" (pointer_expression "*pbVar11" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar15)" ( identifier )) ;) (if_statement "if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" if (parenthesized_expression "((!bVar14 && !bVar15) == bVar14)" ( (binary_expression "(!bVar14 && !bVar15) == bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" ( (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" ! identifier) && (unary_expression "!bVar15" ! identifier)) )) == identifier) )) (compound_statement "{\n        *param_1 = 0;\n      }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) }) (else_clause "else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" else (compound_statement "{\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" { (expression_statement "pcVar7 = strpbrk((char *)__s,"?*[");" (assignment_expression "pcVar7 = strpbrk((char *)__s,"?*[")" identifier = (call_expression "strpbrk((char *)__s,"?*[")" identifier (argument_list "((char *)__s,"?*[")" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DAT_001c3850 = 1;\n        }" { (expression_statement "DAT_001c3850 = 1;" (assignment_expression "DAT_001c3850 = 1" identifier = number_literal) ;) })) }))) })) (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x40)" identifier (argument_list "(0x40)" ( number_literal ))))) ;) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" * identifier) = number_literal) ;) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_30[2] = *param_1;" (assignment_expression "local_30[2] = *param_1" (subscript_expression "local_30[2]" identifier [ number_literal ]) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_30[3] = (uint)(param_1[2] == 1);" (assignment_expression "local_30[3] = (uint)(param_1[2] == 1)" (subscript_expression "local_30[3]" identifier [ number_literal ]) = (call_expression "(uint)(param_1[2] == 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[2] == 1)" ( (binary_expression "param_1[2] == 1" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )))) ;) (expression_statement "local_30[0xf] = param_1[3];" (assignment_expression "local_30[0xf] = param_1[3]" (subscript_expression "local_30[0xf]" identifier [ number_literal ]) = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "local_30[8] = param_1[1];" (assignment_expression "local_30[8] = param_1[1]" (subscript_expression "local_30[8]" identifier [ number_literal ]) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) (expression_statement "local_30[5] = param_3;" (assignment_expression "local_30[5] = param_3" (subscript_expression "local_30[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[7] = local_30 + 6;" (assignment_expression "local_30[7] = local_30 + 6" (subscript_expression "local_30[7]" identifier [ number_literal ]) = (binary_expression "local_30 + 6" identifier + number_literal)) ;) (expression_statement "local_30[4] = param_2;" (assignment_expression "local_30[4] = param_2" (subscript_expression "local_30[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[6] = 0;" (assignment_expression "local_30[6] = 0" (subscript_expression "local_30[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[9] = FUN_00022e00;" (assignment_expression "local_30[9] = FUN_00022e00" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_30[10] = 0;" (assignment_expression "local_30[10] = 0" (subscript_expression "local_30[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xb] = 0;" (assignment_expression "local_30[0xb] = 0" (subscript_expression "local_30[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xc] = 0;" (assignment_expression "local_30[0xc] = 0" (subscript_expression "local_30[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xd] = 0;" (assignment_expression "local_30[0xd] = 0" (subscript_expression "local_30[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_30[0xe] = 0;" (assignment_expression "local_30[0xe] = 0" (subscript_expression "local_30[0xe]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0))" ( (binary_expression "(param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" ( (comma_expression "pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0" (assignment_expression "pcVar7 = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) , (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (while_statement "while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" { (expression_statement "pcVar2 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar2 = strpbrk(pcVar6,"?*[")" identifier = (call_expression "strpbrk(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" { (expression_statement "sVar3 = strcspn(pcVar6,"*?[");" (assignment_expression "sVar3 = strcspn(pcVar6,"*?[")" identifier = (call_expression "strcspn(pcVar6,"*?[")" identifier (argument_list "(pcVar6,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (if_statement "if (sVar3 < 4) {\n          return;\n        }" if (parenthesized_expression "(sVar3 < 4)" ( (binary_expression "sVar3 < 4" identifier < number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar6[sVar3] != '*') {\n          return;\n        }" if (parenthesized_expression "(pcVar6[sVar3] != '*')" ( (binary_expression "pcVar6[sVar3] != '*'" (subscript_expression "pcVar6[sVar3]" identifier [ identifier ]) != (char_literal "'*'" ' character ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (if_statement "if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }" if (parenthesized_expression "(pcVar6[sVar3 + 1] != '\0')" ( (binary_expression "pcVar6[sVar3 + 1] != '\0'" (subscript_expression "pcVar6[sVar3 + 1]" identifier [ (binary_expression "sVar3 + 1" identifier + number_literal) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) })) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (if_statement "if (piVar4 == (int *)0x0) break;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n        return;\n      }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (if_statement "if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" if (parenthesized_expression "(iVar8 < 5)" ( (binary_expression "iVar8 < 5" identifier < number_literal) )) (compound_statement "{\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" { (while_statement "while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" while (parenthesized_expression "(piVar9 = (int *)*piVar4, piVar9 != (int *)0x0)" ( (comma_expression "piVar9 = (int *)*piVar4, piVar9 != (int *)0x0" (assignment_expression "piVar9 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) , (binary_expression "piVar9 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" { (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) (expression_statement "sVar3 = strcspn(pcVar6,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar6,"?*[")" identifier = (call_expression "strcspn(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "piVar10 = piVar9;" (assignment_expression "piVar10 = piVar9" identifier = identifier) ;) (expression_statement "uVar12 = sVar3 + 1;" (assignment_expression "uVar12 = sVar3 + 1" identifier = (binary_expression "sVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }" if (parenthesized_expression "(pcVar6[sVar3] != '\0')" ( (binary_expression "pcVar6[sVar3] != '\0'" (subscript_expression "pcVar6[sVar3]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar12 = sVar3;\n        }" { (expression_statement "uVar12 = sVar3;" (assignment_expression "uVar12 = sVar3" identifier = identifier) ;) })) (do_statement "do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);" do (compound_statement "{\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        }" { (expression_statement "pcVar2 = (char *)piVar10[1];" (assignment_expression "pcVar2 = (char *)piVar10[1]" identifier = (cast_expression "(char *)piVar10[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar10[1]" identifier [ number_literal ]))) ;) (expression_statement "sVar3 = strcspn(pcVar2,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar2,"?*[")" identifier = (call_expression "strcspn(pcVar2,"?*[")" identifier (argument_list "(pcVar2,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (expression_statement "__n = sVar3 + (pcVar2[sVar3] == '\0');" (assignment_expression "__n = sVar3 + (pcVar2[sVar3] == '\0')" identifier = (binary_expression "sVar3 + (pcVar2[sVar3] == '\0')" identifier + (parenthesized_expression "(pcVar2[sVar3] == '\0')" ( (binary_expression "pcVar2[sVar3] == '\0'" (subscript_expression "pcVar2[sVar3]" identifier [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) )))) ;) (if_statement "if (uVar12 <= __n) {\n            __n = uVar12;\n          }" if (parenthesized_expression "(uVar12 <= __n)" ( (binary_expression "uVar12 <= __n" identifier <= identifier) )) (compound_statement "{\n            __n = uVar12;\n          }" { (expression_statement "__n = uVar12;" (assignment_expression "__n = uVar12" identifier = identifier) ;) })) (expression_statement "iVar5 = memcmp(pcVar6,pcVar2,__n);" (assignment_expression "iVar5 = memcmp(pcVar6,pcVar2,__n)" identifier = (call_expression "memcmp(pcVar6,pcVar2,__n)" identifier (argument_list "(pcVar6,pcVar2,__n)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n            return;\n          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "piVar10 = (int *)*piVar10;" (assignment_expression "piVar10 = (int *)*piVar10" identifier = (cast_expression "(int *)*piVar10" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (expression_statement "piVar4 = piVar9;" (assignment_expression "piVar4 = piVar9" identifier = identifier) ;) }) while (parenthesized_expression "(piVar10 != (int *)0x0)" ( (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "local_2c = iVar8 * 0x100 + local_2c;" (assignment_expression "local_2c = iVar8 * 0x100 + local_2c" identifier = (binary_expression "iVar8 * 0x100 + local_2c" (binary_expression "iVar8 * 0x100" identifier * number_literal) + identifier)) ;) (if_statement "if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c == 0x201)" ( (binary_expression "local_2c == 0x201" identifier == number_literal) )) (compound_statement "{\n        local_30[9] = FUN_00023170;\n      }" { (expression_statement "local_30[9] = FUN_00023170;" (assignment_expression "local_30[9] = FUN_00023170" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (if_statement "if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c < 0x202)" ( (binary_expression "local_2c < 0x202" identifier < number_literal) )) (compound_statement "{\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }" { (if_statement "if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" if (parenthesized_expression "(local_2c == 0x100)" ( (binary_expression "local_2c == 0x100" identifier == number_literal) )) (compound_statement "{\n          local_30[9] = FUN_00023270;\n        }" { (expression_statement "local_30[9] = FUN_00023270;" (assignment_expression "local_30[9] = FUN_00023270" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" else (compound_statement "{\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" { (if_statement "if (local_2c != 0x101) {\n            return;\n          }" if (parenthesized_expression "(local_2c != 0x101)" ( (binary_expression "local_2c != 0x101" identifier != number_literal) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "local_30[9] = FUN_00022da0;" (assignment_expression "local_30[9] = FUN_00022da0" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }))) }) (else_clause "else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (if_statement "if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" if (parenthesized_expression "(local_2c == 0x302)" ( (binary_expression "local_2c == 0x302" identifier == number_literal) )) (compound_statement "{\n        local_30[9] = FUN_00023040;\n      }" { (expression_statement "local_30[9] = FUN_00023040;" (assignment_expression "local_30[9] = FUN_00023040" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" else (compound_statement "{\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" { (if_statement "if (local_2c != 0x402) {\n          return;\n        }" if (parenthesized_expression "(local_2c != 0x402)" ( (binary_expression "local_2c != 0x402" identifier != number_literal) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "local_30[9] = FUN_00022e90;" (assignment_expression "local_30[9] = FUN_00022e90" (subscript_expression "local_30[9]" identifier [ number_literal ]) = identifier) ;) }))))))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (while_statement "while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" { (expression_statement "pcVar6 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar6 = strpbrk(pcVar6,"?*[")" identifier = (call_expression "strpbrk(pcVar6,"?*[")" identifier (argument_list "(pcVar6,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" { (expression_statement "local_30[iVar8 + 10] = piVar4;" (assignment_expression "local_30[iVar8 + 10] = piVar4" (subscript_expression "local_30[iVar8 + 10]" identifier [ (binary_expression "iVar8 + 10" identifier + number_literal) ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" identifier = (cast_expression "(int *)*piVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (if_statement "if (piVar4 == (int *)0x0) break;" if (parenthesized_expression "(piVar4 == (int *)0x0)" ( (binary_expression "piVar4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" identifier = (cast_expression "(char *)piVar4[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar4[1]" identifier [ number_literal ]))) ;) })) (while_statement "while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" { (expression_statement "pcVar7 = strpbrk(pcVar7,"?*[");" (assignment_expression "pcVar7 = strpbrk(pcVar7,"?*[")" identifier = (call_expression "strpbrk(pcVar7,"?*[")" identifier (argument_list "(pcVar7,"?*[")" ( identifier , (string_literal ""?*["" " string_content ") )))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" { (expression_statement "local_30[iVar8 + 10] = param_2;" (assignment_expression "local_30[iVar8 + 10] = param_2" (subscript_expression "local_30[iVar8 + 10]" identifier [ (binary_expression "iVar8 + 10" identifier + number_literal) ]) = identifier) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "param_2 = (int *)*param_2;" (assignment_expression "param_2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (param_2 == (int *)0x0) break;" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = (char *)param_2[1];" (assignment_expression "pcVar7 = (char *)param_2[1]" identifier = (cast_expression "(char *)param_2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) })) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' character ')) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' escape_sequence ')) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))))))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) })) })) (return_statement return ;) })))
(function_definition "void FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029030(undefined4 *param_1,int *param_2,undefined4 param_3)" (identifier "FUN_00029030") (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  byte *__s;\n  undefined *puVar1;\n  char *pcVar2;\n  size_t sVar3;\n  int *piVar4;\n  uint __n;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  uint uVar12;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  undefined4 *local_30;\n  int local_2c;\n  \n  if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }\n  puVar1 = PTR_DAT_001c23b8;\n  if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }\n  local_30[5] = param_3;\n  local_30[7] = local_30 + 6;\n  local_30[4] = param_2;\n  local_30[6] = 0;\n  local_30[9] = FUN_00022e00;\n  local_30[10] = 0;\n  local_30[0xb] = 0;\n  local_30[0xc] = 0;\n  local_30[0xd] = 0;\n  local_30[0xe] = 0;\n  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte *__s;" (type_identifier "byte") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "bool bVar14;" (primitive_type "bool") (identifier "bVar14") (; ";")) (declaration "bool bVar15;" (primitive_type "bool") (identifier "bVar15") (; ";")) (declaration "undefined4 *local_30;" (type_identifier "undefined4") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    piVar9 = (int *)0x0;\n    piVar4 = param_2;\n    do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);\n  }" ({ "{") (expression_statement "piVar9 = (int *)0x0;" (assignment_expression "piVar9 = (int *)0x0" (identifier "piVar9") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    } while (piVar4 != (int *)0x0);" (do "do") (compound_statement "{\n      param_2 = piVar4;\n      piVar4 = (int *)*param_2;\n      *param_2 = (int)piVar9;\n      piVar9 = param_2;\n    }" ({ "{") (expression_statement "param_2 = piVar4;" (assignment_expression "param_2 = piVar4" (identifier "param_2") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar4 = (int *)*param_2;" (assignment_expression "piVar4 = (int *)*param_2" (identifier "piVar4") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "*param_2 = (int)piVar9;" (assignment_expression "*param_2 = (int)piVar9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9"))) (; ";")) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" (identifier "piVar9") (= "=") (identifier "param_2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar4 != (int *)0x0)" (( "(") (binary_expression "piVar4 != (int *)0x0" (identifier "piVar4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_001c23b8")) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }\n  else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = 0;\n    local_30[3] = 0;\n    local_30[0xf] = 0;\n    local_30[8] = 0;\n  }" ({ "{") (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" (identifier "local_30") (= "=") (cast_expression "(undefined4 *)FUN_00023860(0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00023860(0x40)" (identifier "FUN_00023860") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "4")) (; ";")) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" (* "*") (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")"))))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "local_30[2] = 0;" (assignment_expression "local_30[2] = 0" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[3] = 0;" (assignment_expression "local_30[3] = 0" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0xf] = 0;" (assignment_expression "local_30[0xf] = 0" (subscript_expression "local_30[0xf]" (identifier "local_30") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[8] = 0;" (assignment_expression "local_30[8] = 0" (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" (else "else") (compound_statement "{\n    __s = (byte *)*param_1;\n    bVar14 = false;\n    bVar15 = __s == (byte *)0x0;\n    if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }\n    local_30 = (undefined4 *)FUN_00023860(0x40);\n    *local_30 = 0;\n    local_30[1] = 4;\n    **(undefined4 **)(puVar1 + 4) = local_30;\n    *(undefined4 **)(puVar1 + 4) = local_30;\n    local_30[2] = *param_1;\n    local_30[3] = (uint)(param_1[2] == 1);\n    local_30[0xf] = param_1[3];\n    local_30[8] = param_1[1];\n  }" ({ "{") (expression_statement "__s = (byte *)*param_1;" (assignment_expression "__s = (byte *)*param_1" (identifier "__s") (= "=") (cast_expression "(byte *)*param_1" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" (identifier "bVar14") (= "=") (false "false")) (; ";")) (expression_statement "bVar15 = __s == (byte *)0x0;" (assignment_expression "bVar15 = __s == (byte *)0x0" (identifier "bVar15") (= "=") (binary_expression "__s == (byte *)0x0" (identifier "__s") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (if_statement "if (!bVar15) {\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(!bVar15)" (( "(") (unary_expression "!bVar15" (! "!") (identifier "bVar15")) () ")")) (compound_statement "{\n      iVar8 = 2;\n      pbVar11 = __s;\n      pbVar13 = &DAT_0007eff4;\n      do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);\n      if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" (identifier "iVar8") (= "=") (number_literal "2")) (; ";")) (expression_statement "pbVar11 = __s;" (assignment_expression "pbVar11 = __s" (identifier "pbVar11") (= "=") (identifier "__s")) (; ";")) (expression_statement "pbVar13 = &DAT_0007eff4;" (assignment_expression "pbVar13 = &DAT_0007eff4" (identifier "pbVar13") (= "=") (pointer_expression "&DAT_0007eff4" (& "&") (identifier "DAT_0007eff4"))) (; ";")) (do_statement "do {\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      } while (bVar15);" (do "do") (compound_statement "{\n        if (iVar8 == 0) break;\n        iVar8 = iVar8 + -1;\n        bVar14 = *pbVar11 < *pbVar13;\n        bVar15 = *pbVar11 == *pbVar13;\n        pbVar11 = pbVar11 + 1;\n        pbVar13 = pbVar13 + 1;\n      }" ({ "{") (if_statement "if (iVar8 == 0) break;" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar14 = *pbVar11 < *pbVar13;" (assignment_expression "bVar14 = *pbVar11 < *pbVar13" (identifier "bVar14") (= "=") (binary_expression "*pbVar11 < *pbVar13" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (< "<") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "bVar15 = *pbVar11 == *pbVar13;" (assignment_expression "bVar15 = *pbVar11 == *pbVar13" (identifier "bVar15") (= "=") (binary_expression "*pbVar11 == *pbVar13" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (== "==") (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")))) (; ";")) (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" (identifier "pbVar11") (= "=") (binary_expression "pbVar11 + 1" (identifier "pbVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + 1" (identifier "pbVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar15)" (( "(") (identifier "bVar15") () ")")) (; ";")) (if_statement "if ((!bVar14 && !bVar15) == bVar14) {\n        *param_1 = 0;\n      }\n      else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" (if "if") (parenthesized_expression "((!bVar14 && !bVar15) == bVar14)" (( "(") (binary_expression "(!bVar14 && !bVar15) == bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" (( "(") (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" (! "!") (identifier "bVar14")) (&& "&&") (unary_expression "!bVar15" (! "!") (identifier "bVar15"))) () ")")) (== "==") (identifier "bVar14")) () ")")) (compound_statement "{\n        *param_1 = 0;\n      }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" (else "else") (compound_statement "{\n        pcVar7 = strpbrk((char *)__s,"?*[");\n        if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }\n      }" ({ "{") (expression_statement "pcVar7 = strpbrk((char *)__s,"?*[");" (assignment_expression "pcVar7 = strpbrk((char *)__s,"?*[")" (identifier "pcVar7") (= "=") (call_expression "strpbrk((char *)__s,"?*[")" (identifier "strpbrk") (argument_list "((char *)__s,"?*[")" (( "(") (cast_expression "(char *)__s" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s")) (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar7 == (char *)0x0) {\n          DAT_001c3850 = 1;\n        }" (if "if") (parenthesized_expression "(pcVar7 == (char *)0x0)" (( "(") (binary_expression "pcVar7 == (char *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          DAT_001c3850 = 1;\n        }" ({ "{") (expression_statement "DAT_001c3850 = 1;" (assignment_expression "DAT_001c3850 = 1" (identifier "DAT_001c3850") (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "local_30 = (undefined4 *)FUN_00023860(0x40);" (assignment_expression "local_30 = (undefined4 *)FUN_00023860(0x40)" (identifier "local_30") (= "=") (cast_expression "(undefined4 *)FUN_00023860(0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00023860(0x40)" (identifier "FUN_00023860") (argument_list "(0x40)" (( "(") (number_literal "0x40") () ")"))))) (; ";")) (expression_statement "*local_30 = 0;" (assignment_expression "*local_30 = 0" (pointer_expression "*local_30" (* "*") (identifier "local_30")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[1] = 4;" (assignment_expression "local_30[1] = 4" (subscript_expression "local_30[1]" (identifier "local_30") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "4")) (; ";")) (expression_statement "**(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "**(undefined4 **)(puVar1 + 4)" (* "*") (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")"))))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "*(undefined4 **)(puVar1 + 4) = local_30;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = local_30" (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "local_30")) (; ";")) (expression_statement "local_30[2] = *param_1;" (assignment_expression "local_30[2] = *param_1" (subscript_expression "local_30[2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_30[3] = (uint)(param_1[2] == 1);" (assignment_expression "local_30[3] = (uint)(param_1[2] == 1)" (subscript_expression "local_30[3]" (identifier "local_30") ([ "[") (number_literal "3") (] "]")) (= "=") (call_expression "(uint)(param_1[2] == 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[2] == 1)" (( "(") (binary_expression "param_1[2] == 1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "1")) () ")")))) (; ";")) (expression_statement "local_30[0xf] = param_1[3];" (assignment_expression "local_30[0xf] = param_1[3]" (subscript_expression "local_30[0xf]" (identifier "local_30") ([ "[") (number_literal "0xf") (] "]")) (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_30[8] = param_1[1];" (assignment_expression "local_30[8] = param_1[1]" (subscript_expression "local_30[8]" (identifier "local_30") ([ "[") (number_literal "8") (] "]")) (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (expression_statement "local_30[5] = param_3;" (assignment_expression "local_30[5] = param_3" (subscript_expression "local_30[5]" (identifier "local_30") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30[7] = local_30 + 6;" (assignment_expression "local_30[7] = local_30 + 6" (subscript_expression "local_30[7]" (identifier "local_30") ([ "[") (number_literal "7") (] "]")) (= "=") (binary_expression "local_30 + 6" (identifier "local_30") (+ "+") (number_literal "6"))) (; ";")) (expression_statement "local_30[4] = param_2;" (assignment_expression "local_30[4] = param_2" (subscript_expression "local_30[4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_30[6] = 0;" (assignment_expression "local_30[6] = 0" (subscript_expression "local_30[6]" (identifier "local_30") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[9] = FUN_00022e00;" (assignment_expression "local_30[9] = FUN_00022e00" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00022e00")) (; ";")) (expression_statement "local_30[10] = 0;" (assignment_expression "local_30[10] = 0" (subscript_expression "local_30[10]" (identifier "local_30") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0xb] = 0;" (assignment_expression "local_30[0xb] = 0" (subscript_expression "local_30[0xb]" (identifier "local_30") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0xc] = 0;" (assignment_expression "local_30[0xc] = 0" (subscript_expression "local_30[0xc]" (identifier "local_30") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0xd] = 0;" (assignment_expression "local_30[0xd] = 0" (subscript_expression "local_30[0xd]" (identifier "local_30") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30[0xe] = 0;" (assignment_expression "local_30[0xe] = 0" (subscript_expression "local_30[0xe]" (identifier "local_30") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0))" (( "(") (binary_expression "(param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)" (( "(") (comma_expression "pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0" (assignment_expression "pcVar7 = (char *)param_2[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (, ",") (binary_expression "pcVar7 != (char *)0x0" (identifier "pcVar7") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    local_2c = 0;\n    iVar8 = 1;\n    piVar4 = param_2;\n    pcVar6 = pcVar7;\n    while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }\n    piVar4 = param_2;\n    if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }\n  }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" (identifier "pcVar6") (= "=") (identifier "pcVar7")) (; ";")) (while_statement "while( true ) {\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      pcVar2 = strpbrk(pcVar6,"?*[");\n      if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }\n      piVar4 = (int *)*piVar4;\n      if (piVar4 == (int *)0x0) break;\n      pcVar6 = (char *)piVar4[1];\n      iVar8 = iVar8 + 1;\n      if (pcVar6 == (char *)0x0) {\n        return;\n      }\n    }" ({ "{") (expression_statement "pcVar2 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar2 = strpbrk(pcVar6,"?*[")" (identifier "pcVar2") (= "=") (call_expression "strpbrk(pcVar6,"?*[")" (identifier "strpbrk") (argument_list "(pcVar6,"?*[")" (( "(") (identifier "pcVar6") (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) {\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        sVar3 = strcspn(pcVar6,"*?[");\n        if (sVar3 < 4) {\n          return;\n        }\n        if (pcVar6[sVar3] != '*') {\n          return;\n        }\n        if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }\n        local_2c = local_2c + 1;\n      }" ({ "{") (expression_statement "sVar3 = strcspn(pcVar6,"*?[");" (assignment_expression "sVar3 = strcspn(pcVar6,"*?[")" (identifier "sVar3") (= "=") (call_expression "strcspn(pcVar6,"*?[")" (identifier "strcspn") (argument_list "(pcVar6,"*?[")" (( "(") (identifier "pcVar6") (, ",") (string_literal ""*?["" (" """) (string_content "*?[") (" """)) () ")")))) (; ";")) (if_statement "if (sVar3 < 4) {\n          return;\n        }" (if "if") (parenthesized_expression "(sVar3 < 4)" (( "(") (binary_expression "sVar3 < 4" (identifier "sVar3") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (pcVar6[sVar3] != '*') {\n          return;\n        }" (if "if") (parenthesized_expression "(pcVar6[sVar3] != '*')" (( "(") (binary_expression "pcVar6[sVar3] != '*'" (subscript_expression "pcVar6[sVar3]" (identifier "pcVar6") ([ "[") (identifier "sVar3") (] "]")) (!= "!=") (char_literal "'*'" (' "'") (character "*") (' "'"))) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (pcVar6[sVar3 + 1] != '\0') {\n          return;\n        }" (if "if") (parenthesized_expression "(pcVar6[sVar3 + 1] != '\0')" (( "(") (binary_expression "pcVar6[sVar3 + 1] != '\0'" (subscript_expression "pcVar6[sVar3 + 1]" (identifier "pcVar6") ([ "[") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1")) (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (if_statement "if (piVar4 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" (identifier "pcVar6") (= "=") (cast_expression "(char *)piVar4[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) {\n        return;\n      }" (if "if") (parenthesized_expression "(pcVar6 == (char *)0x0)" (( "(") (binary_expression "pcVar6 == (char *)0x0" (identifier "pcVar6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (iVar8 < 5) {\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" (if "if") (parenthesized_expression "(iVar8 < 5)" (( "(") (binary_expression "iVar8 < 5" (identifier "iVar8") (< "<") (number_literal "5")) () ")")) (compound_statement "{\n      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }\n      local_2c = iVar8 * 0x100 + local_2c;\n      if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }\n      iVar8 = 0;\n      pcVar6 = pcVar7;\n      piVar4 = param_2;\n      while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }\n      while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }\n    }" ({ "{") (while_statement "while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" (while "while") (parenthesized_expression "(piVar9 = (int *)*piVar4, piVar9 != (int *)0x0)" (( "(") (comma_expression "piVar9 = (int *)*piVar4, piVar9 != (int *)0x0" (assignment_expression "piVar9 = (int *)*piVar4" (identifier "piVar9") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (, ",") (binary_expression "piVar9 != (int *)0x0" (identifier "piVar9") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n        pcVar6 = (char *)piVar4[1];\n        sVar3 = strcspn(pcVar6,"?*[");\n        piVar10 = piVar9;\n        uVar12 = sVar3 + 1;\n        if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }\n        do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);\n      }" ({ "{") (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" (identifier "pcVar6") (= "=") (cast_expression "(char *)piVar4[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "sVar3 = strcspn(pcVar6,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar6,"?*[")" (identifier "sVar3") (= "=") (call_expression "strcspn(pcVar6,"?*[")" (identifier "strcspn") (argument_list "(pcVar6,"?*[")" (( "(") (identifier "pcVar6") (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (expression_statement "piVar10 = piVar9;" (assignment_expression "piVar10 = piVar9" (identifier "piVar10") (= "=") (identifier "piVar9")) (; ";")) (expression_statement "uVar12 = sVar3 + 1;" (assignment_expression "uVar12 = sVar3 + 1" (identifier "uVar12") (= "=") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar6[sVar3] != '\0') {\n          uVar12 = sVar3;\n        }" (if "if") (parenthesized_expression "(pcVar6[sVar3] != '\0')" (( "(") (binary_expression "pcVar6[sVar3] != '\0'" (subscript_expression "pcVar6[sVar3]" (identifier "pcVar6") ([ "[") (identifier "sVar3") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar12 = sVar3;\n        }" ({ "{") (expression_statement "uVar12 = sVar3;" (assignment_expression "uVar12 = sVar3" (identifier "uVar12") (= "=") (identifier "sVar3")) (; ";")) (} "}"))) (do_statement "do {\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        } while (piVar10 != (int *)0x0);" (do "do") (compound_statement "{\n          pcVar2 = (char *)piVar10[1];\n          sVar3 = strcspn(pcVar2,"?*[");\n          __n = sVar3 + (pcVar2[sVar3] == '\0');\n          if (uVar12 <= __n) {\n            __n = uVar12;\n          }\n          iVar5 = memcmp(pcVar6,pcVar2,__n);\n          if (iVar5 == 0) {\n            return;\n          }\n          piVar10 = (int *)*piVar10;\n          piVar4 = piVar9;\n        }" ({ "{") (expression_statement "pcVar2 = (char *)piVar10[1];" (assignment_expression "pcVar2 = (char *)piVar10[1]" (identifier "pcVar2") (= "=") (cast_expression "(char *)piVar10[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "sVar3 = strcspn(pcVar2,"?*[");" (assignment_expression "sVar3 = strcspn(pcVar2,"?*[")" (identifier "sVar3") (= "=") (call_expression "strcspn(pcVar2,"?*[")" (identifier "strcspn") (argument_list "(pcVar2,"?*[")" (( "(") (identifier "pcVar2") (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (expression_statement "__n = sVar3 + (pcVar2[sVar3] == '\0');" (assignment_expression "__n = sVar3 + (pcVar2[sVar3] == '\0')" (identifier "__n") (= "=") (binary_expression "sVar3 + (pcVar2[sVar3] == '\0')" (identifier "sVar3") (+ "+") (parenthesized_expression "(pcVar2[sVar3] == '\0')" (( "(") (binary_expression "pcVar2[sVar3] == '\0'" (subscript_expression "pcVar2[sVar3]" (identifier "pcVar2") ([ "[") (identifier "sVar3") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (; ";")) (if_statement "if (uVar12 <= __n) {\n            __n = uVar12;\n          }" (if "if") (parenthesized_expression "(uVar12 <= __n)" (( "(") (binary_expression "uVar12 <= __n" (identifier "uVar12") (<= "<=") (identifier "__n")) () ")")) (compound_statement "{\n            __n = uVar12;\n          }" ({ "{") (expression_statement "__n = uVar12;" (assignment_expression "__n = uVar12" (identifier "__n") (= "=") (identifier "uVar12")) (; ";")) (} "}"))) (expression_statement "iVar5 = memcmp(pcVar6,pcVar2,__n);" (assignment_expression "iVar5 = memcmp(pcVar6,pcVar2,__n)" (identifier "iVar5") (= "=") (call_expression "memcmp(pcVar6,pcVar2,__n)" (identifier "memcmp") (argument_list "(pcVar6,pcVar2,__n)" (( "(") (identifier "pcVar6") (, ",") (identifier "pcVar2") (, ",") (identifier "__n") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n            return;\n          }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar10 = (int *)*piVar10;" (assignment_expression "piVar10 = (int *)*piVar10" (identifier "piVar10") (= "=") (cast_expression "(int *)*piVar10" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar10" (* "*") (identifier "piVar10")))) (; ";")) (expression_statement "piVar4 = piVar9;" (assignment_expression "piVar4 = piVar9" (identifier "piVar4") (= "=") (identifier "piVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar10 != (int *)0x0)" (( "(") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "local_2c = iVar8 * 0x100 + local_2c;" (assignment_expression "local_2c = iVar8 * 0x100 + local_2c" (identifier "local_2c") (= "=") (binary_expression "iVar8 * 0x100 + local_2c" (binary_expression "iVar8 * 0x100" (identifier "iVar8") (* "*") (number_literal "0x100")) (+ "+") (identifier "local_2c"))) (; ";")) (if_statement "if (local_2c == 0x201) {\n        local_30[9] = FUN_00023170;\n      }\n      else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (if "if") (parenthesized_expression "(local_2c == 0x201)" (( "(") (binary_expression "local_2c == 0x201" (identifier "local_2c") (== "==") (number_literal "0x201")) () ")")) (compound_statement "{\n        local_30[9] = FUN_00023170;\n      }" ({ "{") (expression_statement "local_30[9] = FUN_00023170;" (assignment_expression "local_30[9] = FUN_00023170" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00023170")) (; ";")) (} "}")) (else_clause "else if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (else "else") (if_statement "if (local_2c < 0x202) {\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }\n      else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (if "if") (parenthesized_expression "(local_2c < 0x202)" (( "(") (binary_expression "local_2c < 0x202" (identifier "local_2c") (< "<") (number_literal "0x202")) () ")")) (compound_statement "{\n        if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }\n      }" ({ "{") (if_statement "if (local_2c == 0x100) {\n          local_30[9] = FUN_00023270;\n        }\n        else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" (if "if") (parenthesized_expression "(local_2c == 0x100)" (( "(") (binary_expression "local_2c == 0x100" (identifier "local_2c") (== "==") (number_literal "0x100")) () ")")) (compound_statement "{\n          local_30[9] = FUN_00023270;\n        }" ({ "{") (expression_statement "local_30[9] = FUN_00023270;" (assignment_expression "local_30[9] = FUN_00023270" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00023270")) (; ";")) (} "}")) (else_clause "else {\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" (else "else") (compound_statement "{\n          if (local_2c != 0x101) {\n            return;\n          }\n          local_30[9] = FUN_00022da0;\n        }" ({ "{") (if_statement "if (local_2c != 0x101) {\n            return;\n          }" (if "if") (parenthesized_expression "(local_2c != 0x101)" (( "(") (binary_expression "local_2c != 0x101" (identifier "local_2c") (!= "!=") (number_literal "0x101")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_30[9] = FUN_00022da0;" (assignment_expression "local_30[9] = FUN_00022da0" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00022da0")) (; ";")) (} "}")))) (} "}")) (else_clause "else if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (else "else") (if_statement "if (local_2c == 0x302) {\n        local_30[9] = FUN_00023040;\n      }\n      else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (if "if") (parenthesized_expression "(local_2c == 0x302)" (( "(") (binary_expression "local_2c == 0x302" (identifier "local_2c") (== "==") (number_literal "0x302")) () ")")) (compound_statement "{\n        local_30[9] = FUN_00023040;\n      }" ({ "{") (expression_statement "local_30[9] = FUN_00023040;" (assignment_expression "local_30[9] = FUN_00023040" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00023040")) (; ";")) (} "}")) (else_clause "else {\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" (else "else") (compound_statement "{\n        if (local_2c != 0x402) {\n          return;\n        }\n        local_30[9] = FUN_00022e90;\n      }" ({ "{") (if_statement "if (local_2c != 0x402) {\n          return;\n        }" (if "if") (parenthesized_expression "(local_2c != 0x402)" (( "(") (binary_expression "local_2c != 0x402" (identifier "local_2c") (!= "!=") (number_literal "0x402")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_30[9] = FUN_00022e90;" (assignment_expression "local_30[9] = FUN_00022e90" (subscript_expression "local_30[9]" (identifier "local_30") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "FUN_00022e90")) (; ";")) (} "}")))))))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" (identifier "pcVar6") (= "=") (identifier "pcVar7")) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (while_statement "while( true ) {\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pcVar6 = strpbrk(pcVar6,"?*[");\n        if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }\n        piVar4 = (int *)*piVar4;\n        if (piVar4 == (int *)0x0) break;\n        pcVar6 = (char *)piVar4[1];\n      }" ({ "{") (expression_statement "pcVar6 = strpbrk(pcVar6,"?*[");" (assignment_expression "pcVar6 = strpbrk(pcVar6,"?*[")" (identifier "pcVar6") (= "=") (call_expression "strpbrk(pcVar6,"?*[")" (identifier "strpbrk") (argument_list "(pcVar6,"?*[")" (( "(") (identifier "pcVar6") (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) {\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" (if "if") (parenthesized_expression "(pcVar6 == (char *)0x0)" (( "(") (binary_expression "pcVar6 == (char *)0x0" (identifier "pcVar6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          local_30[iVar8 + 10] = piVar4;\n          iVar8 = iVar8 + 1;\n        }" ({ "{") (expression_statement "local_30[iVar8 + 10] = piVar4;" (assignment_expression "local_30[iVar8 + 10] = piVar4" (subscript_expression "local_30[iVar8 + 10]" (identifier "local_30") ([ "[") (binary_expression "iVar8 + 10" (identifier "iVar8") (+ "+") (number_literal "10")) (] "]")) (= "=") (identifier "piVar4")) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "piVar4 = (int *)*piVar4;" (assignment_expression "piVar4 = (int *)*piVar4" (identifier "piVar4") (= "=") (cast_expression "(int *)*piVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (if_statement "if (piVar4 == (int *)0x0) break;" (if "if") (parenthesized_expression "(piVar4 == (int *)0x0)" (( "(") (binary_expression "piVar4 == (int *)0x0" (identifier "piVar4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar6 = (char *)piVar4[1];" (assignment_expression "pcVar6 = (char *)piVar4[1]" (identifier "pcVar6") (= "=") (cast_expression "(char *)piVar4[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (while_statement "while( true ) {\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pcVar7 = strpbrk(pcVar7,"?*[");\n        if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }\n        param_2 = (int *)*param_2;\n        if (param_2 == (int *)0x0) break;\n        pcVar7 = (char *)param_2[1];\n      }" ({ "{") (expression_statement "pcVar7 = strpbrk(pcVar7,"?*[");" (assignment_expression "pcVar7 = strpbrk(pcVar7,"?*[")" (identifier "pcVar7") (= "=") (call_expression "strpbrk(pcVar7,"?*[")" (identifier "strpbrk") (argument_list "(pcVar7,"?*[")" (( "(") (identifier "pcVar7") (, ",") (string_literal ""?*["" (" """) (string_content "?*[") (" """)) () ")")))) (; ";")) (if_statement "if (pcVar7 != (char *)0x0) {\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" (if "if") (parenthesized_expression "(pcVar7 != (char *)0x0)" (( "(") (binary_expression "pcVar7 != (char *)0x0" (identifier "pcVar7") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          local_30[iVar8 + 10] = param_2;\n          iVar8 = iVar8 + 1;\n        }" ({ "{") (expression_statement "local_30[iVar8 + 10] = param_2;" (assignment_expression "local_30[iVar8 + 10] = param_2" (subscript_expression "local_30[iVar8 + 10]" (identifier "local_30") ([ "[") (binary_expression "iVar8 + 10" (identifier "iVar8") (+ "+") (number_literal "10")) (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_2 = (int *)*param_2;" (assignment_expression "param_2 = (int *)*param_2" (identifier "param_2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (param_2 == (int *)0x0) break;" (if "if") (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar7 = (char *)param_2[1];" (assignment_expression "pcVar7 = (char *)param_2[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_3,type_2 *var_1,type_3 keep_sections)

{
  type_4 *var_5;
  type_2 **ppwVar1;
  type_5 *plVar2;
  char *var_13;
  size_t var_15;
  type_2 *var_2;
  type_6 var_20;
  int var_22;
  char *var_17;
  char *var_11;
  int var_6;
  type_2 *var_18;
  type_2 *pwVar11;
  type_4 *var_7;
  type_6 var_19;
  type_4 *var_8;
  bool var_9;
  bool bVar16;
  type_7 *local_30;
  int var_16;
  
  if (var_1 != (type_2 *)0x0) {
    var_18 = (type_2 *)0x0;
    var_2 = var_1;
    do {
      var_1 = var_2;
      var_2 = var_1->next;
      var_1->next = var_18;
      var_18 = var_1;
    } while (var_2 != (type_2 *)0x0);
  }
  plVar2 = stat_ptr;
  if (var_3 == (type_1 *)0x0) {
    local_30 = (type_7 *)var_4(0x40);
    (local_30->header).next = (type_7 *)0x0;
    (local_30->header).type = lang_wild_statement_enum;
    *plVar2->tail = local_30;
    plVar2->tail = (type_7 **)local_30;
    (local_30->wild_statement).filename = (char *)0x0;
    (local_30->wild_statement).filenames_sorted = 0;
    (local_30->wild_statement).section_flag_list = (type_8 *)0x0;
    (local_30->wild_statement).exclude_name_list = (type_9 *)0x0;
  }
  else {
    var_5 = (type_4 *)var_3->name;
    var_9 = false;
    bVar16 = var_5 == (type_4 *)0x0;
    if (!bVar16) {
      var_6 = 2;
      var_7 = var_5;
      var_8 = &DAT_0007eff4;
      do {
        if (var_6 == 0) break;
        var_6 = var_6 + -1;
        var_9 = *var_7 < *var_8;
        bVar16 = *var_7 == *var_8;
        var_7 = var_7 + 1;
        var_8 = var_8 + 1;
      } while (bVar16);
      if ((!var_9 && !bVar16) == var_9) {
        var_3->name = (char *)0x0;
      }
      else {
        var_11 = var_10((char *)var_5,"?*[");
        if (var_11 == (char *)0x0) {
          lang_has_input_file = 1;
        }
      }
    }
    local_30 = (type_7 *)var_4(0x40);
    (local_30->header).next = (type_7 *)0x0;
    (local_30->header).type = lang_wild_statement_enum;
    *plVar2->tail = local_30;
    plVar2->tail = (type_7 **)local_30;
    (local_30->wild_statement).filename = var_3->name;
    (local_30->wild_statement).filenames_sorted = (type_6)(var_3->sorted == var_12);
    (local_30->wild_statement).section_flag_list = var_3->section_flag_list;
    (local_30->wild_statement).exclude_name_list = var_3->exclude_name_list;
  }
  (local_30->wild_statement).keep_sections = keep_sections;
  (local_30->wild_statement).children.tail = &(local_30->wild_statement).children.head;
  (local_30->wild_statement).var_1 = var_1;
  (local_30->wild_statement).children.head = (type_7 *)0x0;
  (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_general;
  (local_30->wild_statement).handler_data[0] = (type_2 *)0x0;
  (local_30->wild_statement).handler_data[1] = (type_2 *)0x0;
  (local_30->wild_statement).handler_data[2] = (type_2 *)0x0;
  (local_30->wild_statement).handler_data[3] = (type_2 *)0x0;
  (local_30->wild_statement).tree = (type_10 *)0x0;
  if ((var_1 != (type_2 *)0x0) &&
     (var_11 = (var_1->spec).name, var_11 != (char *)0x0)) {
    var_16 = 0;
    var_6 = 1;
    var_2 = var_1;
    var_17 = var_11;
    while( true ) {
      var_13 = var_10(var_17,"?*[");
      if (var_13 != (char *)0x0) {
        var_15 = var_14(var_17,"*?[");
        if (var_15 < 4) {
          return;
        }
        if (var_17[var_15] != '*') {
          return;
        }
        if (var_17[var_15 + 1] != '\0') {
          return;
        }
        var_16 = var_16 + 1;
      }
      var_2 = var_2->next;
      if (var_2 == (type_2 *)0x0) break;
      var_17 = (var_2->spec).name;
      var_6 = var_6 + 1;
      if (var_17 == (char *)0x0) {
        return;
      }
    }
    var_2 = var_1;
    if (var_6 < 5) {
      while (var_18 = var_2->next, var_18 != (type_2 *)0x0) {
        var_17 = (var_2->spec).name;
        var_15 = var_14(var_17,"?*[");
        pwVar11 = var_18;
        var_19 = var_15 + 1;
        if (var_17[var_15] != '\0') {
          var_19 = var_15;
        }
        do {
          var_13 = (pwVar11->spec).name;
          var_15 = var_14(var_13,"?*[");
          var_20 = var_15 + (var_13[var_15] == '\0');
          if (var_19 <= var_20) {
            var_20 = var_19;
          }
          var_22 = var_21(var_17,var_13,var_20);
          if (var_22 == 0) {
            return;
          }
          ppwVar1 = &pwVar11->next;
          var_2 = var_18;
          pwVar11 = *ppwVar1;
        } while (*ppwVar1 != (type_2 *)0x0);
      }
      var_16 = var_6 * 0x100 + var_16;
      if (var_16 == 0x201) {
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs2_wild1;
      }
      else if (var_16 < 0x202) {
        if (var_16 == 0x100) {
          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild0;
        }
        else {
          if (var_16 != 0x101) {
            return;
          }
          (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs1_wild1;
        }
      }
      else if (var_16 == 0x302) {
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs3_wild2;
      }
      else {
        if (var_16 != 0x402) {
          return;
        }
        (local_30->wild_statement).walk_wild_section_handler = walk_wild_section_specs4_wild2;
      }
      var_6 = 0;
      var_17 = var_11;
      var_2 = var_1;
      while( true ) {
        var_17 = var_10(var_17,"?*[");
        if (var_17 == (char *)0x0) {
          *(type_2 **)((int)local_30 + var_6 * 4 + 0x28) = var_2;
          var_6 = var_6 + 1;
        }
        var_2 = var_2->next;
        if (var_2 == (type_2 *)0x0) break;
        var_17 = (var_2->spec).name;
      }
      while( true ) {
        var_11 = var_10(var_11,"?*[");
        if (var_11 != (char *)0x0) {
          *(type_2 **)((int)local_30 + var_6 * 4 + 0x28) = var_1;
          var_6 = var_6 + 1;
        }
        var_1 = var_1->next;
        if (var_1 == (type_2 *)0x0) break;
        var_11 = (var_1->spec).name;
      }
    }
  }
  return;
}


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

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

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

{
  byte *__s;
  undefined *puVar1;
  char *pcVar2;
  size_t sVar3;
  int *piVar4;
  uint __n;
  int iVar5;
  char *pcVar6;
  char *pcVar7;
  int iVar8;
  int *piVar9;
  int *piVar10;
  byte *pbVar11;
  uint uVar12;
  byte *pbVar13;
  bool bVar14;
  bool bVar15;
  undefined4 *local_30;
  int local_2c;
  
  if (param_2 != (int *)0x0) {
    piVar9 = (int *)0x0;
    piVar4 = param_2;
    do {
      param_2 = piVar4;
      piVar4 = (int *)*param_2;
      *param_2 = (int)piVar9;
      piVar9 = param_2;
    } while (piVar4 != (int *)0x0);
  }
  puVar1 = PTR_DAT_001c23b8;
  if (param_1 == (undefined4 *)0x0) {
    local_30 = (undefined4 *)FUN_00023860(0x40);
    *local_30 = 0;
    local_30[1] = 4;
    **(undefined4 **)(puVar1 + 4) = local_30;
    *(undefined4 **)(puVar1 + 4) = local_30;
    local_30[2] = 0;
    local_30[3] = 0;
    local_30[0xf] = 0;
    local_30[8] = 0;
  }
  else {
    __s = (byte *)*param_1;
    bVar14 = false;
    bVar15 = __s == (byte *)0x0;
    if (!bVar15) {
      iVar8 = 2;
      pbVar11 = __s;
      pbVar13 = &DAT_0007eff4;
      do {
        if (iVar8 == 0) break;
        iVar8 = iVar8 + -1;
        bVar14 = *pbVar11 < *pbVar13;
        bVar15 = *pbVar11 == *pbVar13;
        pbVar11 = pbVar11 + 1;
        pbVar13 = pbVar13 + 1;
      } while (bVar15);
      if ((!bVar14 && !bVar15) == bVar14) {
        *param_1 = 0;
      }
      else {
        pcVar7 = strpbrk((char *)__s,"?*[");
        if (pcVar7 == (char *)0x0) {
          DAT_001c3850 = 1;
        }
      }
    }
    local_30 = (undefined4 *)FUN_00023860(0x40);
    *local_30 = 0;
    local_30[1] = 4;
    **(undefined4 **)(puVar1 + 4) = local_30;
    *(undefined4 **)(puVar1 + 4) = local_30;
    local_30[2] = *param_1;
    local_30[3] = (uint)(param_1[2] == 1);
    local_30[0xf] = param_1[3];
    local_30[8] = param_1[1];
  }
  local_30[5] = param_3;
  local_30[7] = local_30 + 6;
  local_30[4] = param_2;
  local_30[6] = 0;
  local_30[9] = FUN_00022e00;
  local_30[10] = 0;
  local_30[0xb] = 0;
  local_30[0xc] = 0;
  local_30[0xd] = 0;
  local_30[0xe] = 0;
  if ((param_2 != (int *)0x0) && (pcVar7 = (char *)param_2[1], pcVar7 != (char *)0x0)) {
    local_2c = 0;
    iVar8 = 1;
    piVar4 = param_2;
    pcVar6 = pcVar7;
    while( true ) {
      pcVar2 = strpbrk(pcVar6,"?*[");
      if (pcVar2 != (char *)0x0) {
        sVar3 = strcspn(pcVar6,"*?[");
        if (sVar3 < 4) {
          return;
        }
        if (pcVar6[sVar3] != '*') {
          return;
        }
        if (pcVar6[sVar3 + 1] != '\0') {
          return;
        }
        local_2c = local_2c + 1;
      }
      piVar4 = (int *)*piVar4;
      if (piVar4 == (int *)0x0) break;
      pcVar6 = (char *)piVar4[1];
      iVar8 = iVar8 + 1;
      if (pcVar6 == (char *)0x0) {
        return;
      }
    }
    piVar4 = param_2;
    if (iVar8 < 5) {
      while (piVar9 = (int *)*piVar4, piVar9 != (int *)0x0) {
        pcVar6 = (char *)piVar4[1];
        sVar3 = strcspn(pcVar6,"?*[");
        piVar10 = piVar9;
        uVar12 = sVar3 + 1;
        if (pcVar6[sVar3] != '\0') {
          uVar12 = sVar3;
        }
        do {
          pcVar2 = (char *)piVar10[1];
          sVar3 = strcspn(pcVar2,"?*[");
          __n = sVar3 + (pcVar2[sVar3] == '\0');
          if (uVar12 <= __n) {
            __n = uVar12;
          }
          iVar5 = memcmp(pcVar6,pcVar2,__n);
          if (iVar5 == 0) {
            return;
          }
          piVar10 = (int *)*piVar10;
          piVar4 = piVar9;
        } while (piVar10 != (int *)0x0);
      }
      local_2c = iVar8 * 0x100 + local_2c;
      if (local_2c == 0x201) {
        local_30[9] = FUN_00023170;
      }
      else if (local_2c < 0x202) {
        if (local_2c == 0x100) {
          local_30[9] = FUN_00023270;
        }
        else {
          if (local_2c != 0x101) {
            return;
          }
          local_30[9] = FUN_00022da0;
        }
      }
      else if (local_2c == 0x302) {
        local_30[9] = FUN_00023040;
      }
      else {
        if (local_2c != 0x402) {
          return;
        }
        local_30[9] = FUN_00022e90;
      }
      iVar8 = 0;
      pcVar6 = pcVar7;
      piVar4 = param_2;
      while( true ) {
        pcVar6 = strpbrk(pcVar6,"?*[");
        if (pcVar6 == (char *)0x0) {
          local_30[iVar8 + 10] = piVar4;
          iVar8 = iVar8 + 1;
        }
        piVar4 = (int *)*piVar4;
        if (piVar4 == (int *)0x0) break;
        pcVar6 = (char *)piVar4[1];
      }
      while( true ) {
        pcVar7 = strpbrk(pcVar7,"?*[");
        if (pcVar7 != (char *)0x0) {
          local_30[iVar8 + 10] = param_2;
          iVar8 = iVar8 + 1;
        }
        param_2 = (int *)*param_2;
        if (param_2 == (int *)0x0) break;
        pcVar7 = (char *)param_2[1];
      }
    }
  }
  return;
}

