
int demangle_function_name(work_stuff *work,char **mangled,string *declp,char *scan)

{
  char cVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  char *pcVar5;
  char *pcVar6;
  int iVar7;
  int iVar8;
  undefined4 *puVar9;
  char *pcVar10;
  undefined *puVar11;
  string type;
  char *tem;
  
  iVar4 = (int)scan - (int)*mangled;
  if (iVar4 != 0) {
    string_appendn(declp,*mangled,iVar4);
  }
  string_need(declp,1);
  *declp->p = '\0';
  *mangled = scan + 2;
  uVar3 = work->options;
  if (((uVar3 & 0x1000) != 0) && (scan[2] == 'X')) {
    demangle_arm_hp_template(work,mangled,0,declp);
    uVar3 = work->options;
  }
  pcVar5 = declp->b;
  if ((uVar3 & 0x3c00) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);
    if (iVar4 == 0) {
      work->constructor = work->constructor + 1;
      declp->p = pcVar5;
      return 1;
    }
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);
    if (iVar4 == 0) {
      work->destructor = work->destructor + 1;
      declp->p = pcVar5;
      return 1;
    }
  }
  pcVar6 = declp->p;
  iVar4 = (int)pcVar6 - (int)pcVar5;
  cVar1 = *pcVar5;
  if (iVar4 < 3) {
LAB_0029d19c:
    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;
    bVar2 = pcVar5[2];
    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {
      tem = pcVar5 + 4;
LAB_0029d488:
      iVar4 = do_type(work,&tem,&type);
      if (iVar4 != 0) {
        pcVar5 = PTR_s__0043226c + 0x3e98;
        declp->p = declp->b;
        string_append(declp,pcVar5);
        string_appends(declp,&type,(string *)type.p);
        if (type.b != (char *)0x0) {
          (*(code *)PTR_free_00436800)();
          pcVar5 = declp->b;
          pcVar6 = declp->p;
          goto LAB_0029d1a4;
        }
      }
    }
    else {
      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||
         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))
      goto LAB_0029d1a4;
      if (pcVar5[4] == '\0') {
        iVar4 = 2;
        iVar8 = 0;
        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
        pcVar10 = PTR_s__0043226c + 0x3dc4;
        while( true ) {
          puVar11 = PTR_s__0043226c;
          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {
            declp->p = pcVar5;
            string_append(declp,puVar11 + 0x3ea4);
            goto LAB_0029d2e8;
          }
          iVar8 = iVar8 + 1;
          if (iVar8 == 0x4f) break;
          pcVar10 = (char *)*puVar9;
          puVar9 = puVar9 + 3;
          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);
        }
        goto LAB_0029d1a4;
      }
      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;
      iVar4 = 0;
      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      do {
        iVar4 = iVar4 + 1;
        if (iVar4 == 0x4f) goto LAB_0029d1a4;
        pcVar10 = (char *)*puVar9;
        puVar9 = puVar9 + 3;
        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);
        puVar11 = PTR_s__0043226c;
      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||
              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));
      declp->p = pcVar5;
      string_append(declp,puVar11 + 0x3ea4);
      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);
      if (pcVar5 == (char *)0x0) {
        pcVar5 = declp->b;
        pcVar6 = declp->p;
        goto LAB_0029d1a4;
      }
LAB_0029d304:
      if (*pcVar5 != '\0') {
LAB_0029d310:
        string_append(declp,pcVar5);
      }
    }
  }
  else {
    if (cVar1 != 'o') {
      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&
         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;
      goto LAB_0029d19c;
    }
    if ((pcVar5[1] != 'p') ||
       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),
       iVar8 == 0)) {
      if (iVar4 < 5) {
        return 1;
      }
      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))
      goto LAB_0029d1a4;
LAB_0029d468:
      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);
      if (iVar4 == 0) goto LAB_0029d19c;
      tem = pcVar5 + 5;
      goto LAB_0029d488;
    }
    if ((9 < iVar4) &&
       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))
    {
      iVar8 = 2;
      iVar7 = 0;
      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      puVar11 = PTR_s__0043226c + 0x3dc4;
      while ((iVar8 != iVar4 + -10 ||
             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),
             puVar11 = PTR_s__0043226c, iVar8 != 0))) {
        iVar7 = iVar7 + 1;
        if (iVar7 == 0x4f) {
          return 1;
        }
        puVar11 = (undefined *)*puVar9;
        puVar9 = puVar9 + 3;
        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);
      }
      declp->p = pcVar5;
      string_append(declp,puVar11 + 0x3ea4);
      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);
      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {
        string_append(declp,pcVar5);
      }
      pcVar5 = PTR_s__0043226c + 0x3ef0;
      goto LAB_0029d310;
    }
    iVar7 = 2;
    iVar8 = 0;
    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
    puVar11 = PTR_s__0043226c + 0x3dc4;
    while ((iVar7 != iVar4 + -3 ||
           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),
           puVar11 = PTR_s__0043226c, iVar7 != 0))) {
      iVar8 = iVar8 + 1;
      if (iVar8 == 0x4f) {
        return 1;
      }
      puVar11 = (undefined *)*puVar9;
      puVar9 = puVar9 + 3;
      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);
    }
    declp->p = pcVar5;
    string_append(declp,puVar11 + 0x3ea4);
LAB_0029d2e8:
    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);
    if (pcVar5 != (char *)0x0) goto LAB_0029d304;
  }
  pcVar5 = declp->b;
  pcVar6 = declp->p;
LAB_0029d1a4:
  if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {
    return 0;
  }
  return 1;
}



undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)

{
  char cVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  undefined *puVar5;
  char *pcVar6;
  char *pcVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  char *pcVar11;
  int local_38;
  undefined4 local_34;
  char *local_2c;
  
  if (param_4 != *param_2) {
    FUN_00297354(param_3);
  }
  FUN_00297260(param_3,1);
  *(undefined1 *)param_3[1] = 0;
  *param_2 = param_4 + 2;
  uVar3 = *param_1;
  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {
    FUN_0029a620(param_1,param_2,0,param_3);
    uVar3 = *param_1;
  }
  pcVar6 = (char *)*param_3;
  if ((uVar3 & 0x3c00) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);
    if (iVar4 == 0) {
      param_1[10] = param_1[10] + 1;
      param_3[1] = pcVar6;
      return 1;
    }
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);
    if (iVar4 == 0) {
      param_1[0xb] = param_1[0xb] + 1;
      param_3[1] = pcVar6;
      return 1;
    }
  }
  pcVar7 = (char *)param_3[1];
  iVar4 = (int)pcVar7 - (int)pcVar6;
  cVar1 = *pcVar6;
  if (iVar4 < 3) {
LAB_0029d19c:
    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;
    bVar2 = pcVar6[2];
    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {
      local_2c = pcVar6 + 4;
LAB_0029d488:
      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);
      if (iVar4 != 0) {
        puVar5 = PTR_DAT_0043226c + 0x3e98;
        param_3[1] = *param_3;
        FUN_002974f4(param_3,puVar5);
        FUN_00297748(param_3,&local_38,local_34);
        if (local_38 != 0) {
          (*(code *)PTR_free_00436800)();
          pcVar6 = (char *)*param_3;
          pcVar7 = (char *)param_3[1];
          goto LAB_0029d1a4;
        }
      }
    }
    else {
      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||
         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))
      goto LAB_0029d1a4;
      if (pcVar6[4] == '\0') {
        iVar4 = 2;
        iVar9 = 0;
        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
        pcVar11 = PTR_DAT_0043226c + 0x3dc4;
        while( true ) {
          puVar5 = PTR_DAT_0043226c;
          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {
            param_3[1] = pcVar6;
            FUN_002974f4(param_3,puVar5 + 0x3ea4);
            goto LAB_0029d2e8;
          }
          iVar9 = iVar9 + 1;
          if (iVar9 == 0x4f) break;
          pcVar11 = (char *)*puVar10;
          puVar10 = puVar10 + 3;
          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);
        }
        goto LAB_0029d1a4;
      }
      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;
      iVar4 = 0;
      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      do {
        iVar4 = iVar4 + 1;
        if (iVar4 == 0x4f) goto LAB_0029d1a4;
        pcVar11 = (char *)*puVar10;
        puVar10 = puVar10 + 3;
        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);
        puVar5 = PTR_DAT_0043226c;
      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||
              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));
      param_3[1] = pcVar6;
      FUN_002974f4(param_3,puVar5 + 0x3ea4);
      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);
      if (pcVar6 == (char *)0x0) {
        pcVar6 = (char *)*param_3;
        pcVar7 = (char *)param_3[1];
        goto LAB_0029d1a4;
      }
LAB_0029d304:
      if (*pcVar6 != '\0') {
LAB_0029d310:
        FUN_002974f4(param_3,pcVar6);
      }
    }
  }
  else {
    if (cVar1 != 'o') {
      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&
         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;
      goto LAB_0029d19c;
    }
    if ((pcVar6[1] != 'p') ||
       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),
       iVar9 == 0)) {
      if (iVar4 < 5) {
        return 1;
      }
      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))
      goto LAB_0029d1a4;
LAB_0029d468:
      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);
      if (iVar4 == 0) goto LAB_0029d19c;
      local_2c = pcVar6 + 5;
      goto LAB_0029d488;
    }
    if ((9 < iVar4) &&
       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))
    {
      iVar9 = 2;
      iVar8 = 0;
      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      puVar5 = PTR_DAT_0043226c + 0x3dc4;
      while ((iVar9 != iVar4 + -10 ||
             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),
             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {
        iVar8 = iVar8 + 1;
        if (iVar8 == 0x4f) {
          return 1;
        }
        puVar5 = (undefined *)*puVar10;
        puVar10 = puVar10 + 3;
        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);
      }
      param_3[1] = pcVar6;
      FUN_002974f4(param_3,puVar5 + 0x3ea4);
      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&
         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {
        FUN_002974f4(param_3);
      }
      pcVar6 = PTR_DAT_0043226c + 0x3ef0;
      goto LAB_0029d310;
    }
    iVar8 = 2;
    iVar9 = 0;
    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
    puVar5 = PTR_DAT_0043226c + 0x3dc4;
    while ((iVar8 != iVar4 + -3 ||
           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),
           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {
      iVar9 = iVar9 + 1;
      if (iVar9 == 0x4f) {
        return 1;
      }
      puVar5 = (undefined *)*puVar10;
      puVar10 = puVar10 + 3;
      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);
    }
    param_3[1] = pcVar6;
    FUN_002974f4(param_3,puVar5 + 0x3ea4);
LAB_0029d2e8:
    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);
    if (pcVar6 != (char *)0x0) goto LAB_0029d304;
  }
  pcVar6 = (char *)*param_3;
  pcVar7 = (char *)param_3[1];
LAB_0029d1a4:
  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {
    return 0;
  }
  return 1;
}


lui gp,0x1a
addiu gp,gp,-0x2eb0
addu gp,gp,t9
addiu sp,sp,-0x50
sw s2,0x30(sp)
or s2,a1,zero
sw s1,0x2c(sp)
or s1,a2,zero
sw gp,0x10(sp)
lw a1,0x0(a1)
sw s3,0x34(sp)
or s3,a0,zero
sw s0,0x28(sp)
or s0,a3,zero
subu a2,a3,a1
sw ra,0x4c(sp)
sw s8,0x48(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
bne a2,zero,0x0029d328
_sw s4,0x38(sp)
lw t9,-0x4680(gp)
li a1,0x1
addiu t9,t9,0x7260
bal 0x00297260
_or a0,s1,zero
addiu v0,s0,0x2
lw v1,0x4(s1)
lw gp,0x10(sp)
sb zero,0x0(v1)
sw v0,0x0(s2)
lw v0,0x0(s3)
andi v1,v0,0x1000
beq v1,zero,0x0029d11c
_li v1,0x58
lb a0,0x2(s0)
beq a0,v1,0x0029d3c8
_lw t9,-0x4588(gp)
andi v0,v0,0x3c00
beq v0,zero,0x0029d160
_lw s0,0x0(s1)
lw a1,-0x7f64(gp)
or a0,s0,zero
lw t9,-0x3b8c(gp)
jalr t9
_addiu a1,a1,0x3ee0
beq v0,zero,0x0029d340
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s0,zero
lw t9,-0x3b8c(gp)
jalr t9
_addiu a1,a1,0x3ee8
beq v0,zero,0x0029d384
_lw gp,0x10(sp)
lw s2,0x4(s1)
subu s4,s2,s0
slti v0,s4,0x3
bne v0,zero,0x0029d198
_lb s5,0x0(s0)
li v0,0x6f
beq s5,v0,0x0029d420
_li v0,0x70
slti s4,s4,0x5
bne s4,zero,0x0029d198
_li v0,0x74
lbu v1,0x0(s0)
beq v1,v0,0x0029d3ec
_li v0,0x79
li v0,0x5f
beq s5,v0,0x0029d1f4
_nop
beq s0,s2,0x0029d1c0
_addiu s2,s2,-0x1
bne s2,s0,0x0029d1c0
_li v0,0x2e
lb v1,0x0(s0)
beq v1,v0,0x0029d1c4
_or v0,zero,zero
li v0,0x1
lw ra,0x4c(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lb v0,0x1(s0)
bne v0,s5,0x0029d1a4
_li v0,0x6f
lb a0,0x2(s0)
beq a0,v0,0x0029d518
_li v0,0x70
lw v1,-0x4af0(gp)
andi v0,a0,0xff
sll v0,v0,0x1
addu v0,v1,v0
lhu v0,0x0(v0)
andi v0,v0,0x8
beq v0,zero,0x0029d1a4
_nop
lbu v0,0x3(s0)
sll v0,v0,0x1
addu v1,v1,v0
lhu v0,0x0(v1)
andi v0,v0,0x8
beq v0,zero,0x0029d1a4
_nop
lb v0,0x4(s0)
bne v0,zero,0x0029d6e4
_lw s4,-0x7fd8(gp)
li v0,0x2
lw s5,-0x7f64(gp)
or s3,zero,zero
li s6,0x2
addiu s4,s4,-0x64e0
addiu s5,s5,0x3dc4
addiu s8,s0,0x2
b 0x0029d298
_li s7,0x4f
addiu s3,s3,0x1
beq s3,s7,0x0029d1a4
_nop
lw s5,0x0(s4)
addiu s4,s4,0xc
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
bne v0,s6,0x0029d278
_lw t9,-0x3a54(gp)
lbu v1,0x0(s5)
lbu v0,0x0(s8)
bne v1,v0,0x0029d278
_nop
lbu v1,0x1(s5)
lbu v0,0x1(s8)
bne v1,v0,0x0029d278
_lw a1,-0x7f64(gp)
or a0,s1,zero
sw s0,0x4(s1)
lw s0,-0x4680(gp)
addiu s0,s0,0x74f4
or t9,s0,zero
bal 0x002974f4
_addiu a1,a1,0x3ea4
sll v1,s3,0x1
lw gp,0x10(sp)
addu v1,v1,s3
lw v0,-0x7fd8(gp)
sll v1,v1,0x2
addiu v0,v0,-0x64ec
addu v0,v0,v1
lw a1,0x4(v0)
beq a1,zero,0x0029d31c
_nop
lb v0,0x0(a1)
beq v0,zero,0x0029d31c
_or a0,s1,zero
or t9,s0,zero
bal 0x002974f4
_nop
lw s0,0x0(s1)
b 0x0029d1a4
_lw s2,0x4(s1)
lw t9,-0x4680(gp)
addiu t9,t9,0x7354
bal 0x00297354
_or a0,s1,zero
b 0x0029d0d8
_lw gp,0x10(sp)
lw v1,0x28(s3)
li v0,0x1
lw ra,0x4c(sp)
lw s8,0x48(sp)
addiu v1,v1,0x1
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s2,0x30(sp)
sw v1,0x28(s3)
sw s0,0x4(s1)
lw s3,0x34(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lw v1,0x2c(s3)
li v0,0x1
lw ra,0x4c(sp)
lw s8,0x48(sp)
addiu v1,v1,0x1
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s2,0x30(sp)
sw v1,0x2c(s3)
sw s0,0x4(s1)
lw s3,0x34(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
or a2,zero,zero
or a3,s1,zero
or a1,s2,zero
addiu t9,t9,-0x59e0
bal 0x0029a620
_or a0,s3,zero
lw gp,0x10(sp)
b 0x0029d11c
_lw v0,0x0(s3)
lbu v1,0x1(s0)
bne v1,v0,0x0029d19c
_li v0,0x5f
lbu v1,0x2(s0)
li v0,0x70
bne v1,v0,0x0029d19c
_li v0,0x5f
lbu v1,0x3(s0)
li v0,0x65
bne v1,v0,0x0029d19c
_li v0,0x5f
b 0x0029d468
_lw a0,-0x7fd8(gp)
lb v1,0x1(s0)
beq v1,v0,0x0029d530
_lw a0,-0x7fd8(gp)
slti s4,s4,0x5
bne s4,zero,0x0029d1c0
_li v0,0x74
lbu v1,0x0(s0)
bne v1,v0,0x0029d1a4
_li v0,0x79
lbu v1,0x1(s0)
bne v1,v0,0x0029d1a4
_li v0,0x70
lbu v1,0x2(s0)
bne v1,v0,0x0029d1a4
_li v0,0x65
lbu v1,0x3(s0)
bne v1,v0,0x0029d1a4
_lw a0,-0x7fd8(gp)
lw t9,-0x3934(gp)
lb a1,0x4(s0)
jalr t9
_addiu a0,a0,0x20a0
beq v0,zero,0x0029d198
_lw gp,0x10(sp)
addiu s2,sp,0x18
addiu s0,s0,0x5
lw t9,-0x4588(gp)
addiu a1,sp,0x24
sw s0,0x24(sp)
or a2,s2,zero
addiu t9,t9,-0x6d04
bal 0x002992fc
_or a0,s3,zero
beq v0,zero,0x0029d31c
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s1,zero
lw t9,-0x4680(gp)
lw v0,0x0(s1)
addiu a1,a1,0x3e98
addiu t9,t9,0x74f4
bal 0x002974f4
_sw v0,0x4(s1)
or a0,s1,zero
lw gp,0x10(sp)
or a1,s2,zero
lw t9,-0x4680(gp)
addiu t9,t9,0x7748
bal 0x00297748
_lw a2,0x1c(sp)
lw a0,0x18(sp)
beq a0,zero,0x0029d31c
_lw gp,0x10(sp)
lw t9,-0x39d0(gp)
jalr t9
_nop
lw s0,0x0(s1)
lw s2,0x4(s1)
sw zero,0x1c(sp)
sw zero,0x20(sp)
b 0x0029d1a4
_sw zero,0x18(sp)
lb v1,0x3(s0)
bne v1,v0,0x0029d210
_lw v1,-0x4af0(gp)
addiu s2,sp,0x18
b 0x0029d488
_addiu s0,s0,0x4
lw t9,-0x3934(gp)
lb a1,0x2(s0)
jalr t9
_addiu a0,a0,0x20a0
beq v0,zero,0x0029d42c
_lw gp,0x10(sp)
slti v0,s4,0xa
bne v0,zero,0x0029d650
_lw s3,-0x7fd8(gp)
lw a1,-0x7f64(gp)
li a2,0x7
lw t9,-0x38f4(gp)
addiu a0,s0,0x3
jalr t9
_addiu a1,a1,0x3eb0
bne v0,zero,0x0029d64c
_lw gp,0x10(sp)
lw s3,-0x7fd8(gp)
addiu s4,s4,-0xa
lw s5,-0x7f64(gp)
li v0,0x2
or s2,zero,zero
addiu s3,s3,-0x64e0
addiu s5,s5,0x3dc4
addiu s7,s0,0xa
b 0x0029d5bc
_li s6,0x4f
addiu s2,s2,0x1
beq s2,s6,0x0029d1c0
_lw t9,-0x3a54(gp)
lw s5,0x0(s3)
addiu s3,s3,0xc
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
bne v0,s4,0x0029d59c
_or a0,s5,zero
lw t9,-0x38f4(gp)
or a2,v0,zero
jalr t9
_or a1,s7,zero
bne v0,zero,0x0029d59c
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s1,zero
sw s0,0x4(s1)
lw s0,-0x4680(gp)
addiu s0,s0,0x74f4
or t9,s0,zero
bal 0x002974f4
_addiu a1,a1,0x3ea4
sll v1,s2,0x1
lw gp,0x10(sp)
addu v1,v1,s2
sll v1,v1,0x2
lw v0,-0x7fd8(gp)
addiu v0,v0,-0x64ec
addu v0,v0,v1
lw a1,0x4(v0)
beq a1,zero,0x0029d63c
_nop
lb v0,0x0(a1)
beq v0,zero,0x0029d63c
_or t9,s0,zero
bal 0x002974f4
_or a0,s1,zero
lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s1,zero
b 0x0029d310
_addiu a1,a1,0x3ef0
lw s3,-0x7fd8(gp)
addiu s4,s4,-0x3
lw s5,-0x7f64(gp)
li v0,0x2
or s2,zero,zero
addiu s3,s3,-0x64e0
addiu s5,s5,0x3dc4
addiu s7,s0,0x3
b 0x0029d694
_li s6,0x4f
addiu s2,s2,0x1
beq s2,s6,0x0029d1c0
_lw t9,-0x3a54(gp)
lw s5,0x0(s3)
addiu s3,s3,0xc
jalr t9
_or a0,s5,zero
lw gp,0x10(sp)
bne v0,s4,0x0029d674
_or a0,s5,zero
lw t9,-0x38f4(gp)
or a2,v0,zero
jalr t9
_or a1,s7,zero
bne v0,zero,0x0029d674
_lw gp,0x10(sp)
lw a1,-0x7f64(gp)
or a0,s1,zero
sw s0,0x4(s1)
lw s0,-0x4680(gp)
addiu s0,s0,0x74f4
or t9,s0,zero
bal 0x002974f4
_addiu a1,a1,0x3ea4
sll v1,s2,0x1
lw gp,0x10(sp)
b 0x0029d2e8
_addu v1,v1,s2
li v0,0x61
bne a0,v0,0x0029d1a4
_nop
lb v0,0x5(s0)
bne v0,zero,0x0029d1a4
_lw s4,-0x7fd8(gp)
or s3,zero,zero
li s6,0x4f
li s7,0x3
addiu s4,s4,-0x64e0
addiu s8,s0,0x2
addiu s3,s3,0x1
beq s3,s6,0x0029d1a4
_lw t9,-0x3a54(gp)
lw s5,0x0(s4)
addiu s4,s4,0xc
jalr t9
_or a0,s5,zero
bne v0,s7,0x0029d710
_lw gp,0x10(sp)
lbu v1,0x0(s5)
lbu v0,0x0(s8)
bne v1,v0,0x0029d710
_nop
lbu v1,0x1(s5)
lbu v0,0x1(s8)
bne v1,v0,0x0029d710
_nop
lbu v1,0x2(s5)
lbu v0,0x2(s8)
bne v1,v0,0x0029d710
_lw a1,-0x7f64(gp)
or a0,s1,zero
sw s0,0x4(s1)
lw s0,-0x4680(gp)
addiu s0,s0,0x74f4
or t9,s0,zero
bal 0x002974f4
_addiu a1,a1,0x3ea4
li v1,0xc
lw gp,0x10(sp)
mul a0,s3,v1
lw v0,-0x7fd8(gp)
addiu v0,v0,-0x64ec
addu s3,a0,v0
lw a1,0x4(s3)
bne a1,zero,0x0029d304
_nop
lw s0,0x0(s1)
b 0x0029d1a4
_lw s2,0x4(s1)
(translation_unit "undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" identifier (parameter_list "(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" ( (parameter_declaration "uint *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 (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * 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 iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (if_statement "if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }" if (parenthesized_expression "(param_4 != *param_2)" ( (binary_expression "param_4 != *param_2" identifier != (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    FUN_00297354(param_3);\n  }" { (expression_statement "FUN_00297354(param_3);" (call_expression "FUN_00297354(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "FUN_00297260(param_3,1);" (call_expression "FUN_00297260(param_3,1)" identifier (argument_list "(param_3,1)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)param_3[1] = 0;" (assignment_expression "*(undefined1 *)param_3[1] = 0" (pointer_expression "*(undefined1 *)param_3[1]" * (cast_expression "(undefined1 *)param_3[1]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "*param_2 = param_4 + 2;" (assignment_expression "*param_2 = param_4 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" if (parenthesized_expression "(((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X'))" ( (binary_expression "((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')" (parenthesized_expression "((uVar3 & 0x1000) != 0)" ( (binary_expression "(uVar3 & 0x1000) != 0" (parenthesized_expression "(uVar3 & 0x1000)" ( (binary_expression "uVar3 & 0x1000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(param_4 + 2) == 'X')" ( (binary_expression "*(char *)(param_4 + 2) == 'X'" (pointer_expression "*(char *)(param_4 + 2)" * (cast_expression "(char *)(param_4 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 2)" ( (binary_expression "param_4 + 2" identifier + number_literal) )))) == (char_literal "'X'" ' character ')) ))) )) (compound_statement "{\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" { (expression_statement "FUN_0029a620(param_1,param_2,0,param_3);" (call_expression "FUN_0029a620(param_1,param_2,0,param_3)" identifier (argument_list "(param_1,param_2,0,param_3)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" if (parenthesized_expression "((uVar3 & 0x3c00) != 0)" ( (binary_expression "(uVar3 & 0x3c00) != 0" (parenthesized_expression "(uVar3 & 0x3c00)" ( (binary_expression "uVar3 & 0x3c00" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee0)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x3ee0" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" { (expression_statement "param_1[10] = param_1[10] + 1;" (assignment_expression "param_1[10] = param_1[10] + 1" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "param_1[10] + 1" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee8)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x3ee8" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" { (expression_statement "param_1[0xb] = param_1[0xb] + 1;" (assignment_expression "param_1[0xb] = param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)pcVar7 - (int)pcVar6;" (assignment_expression "iVar4 = (int)pcVar7 - (int)pcVar6" identifier = (binary_expression "(int)pcVar7 - (int)pcVar6" (cast_expression "(int)pcVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (if_statement "if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" if (parenthesized_expression "(iVar4 < 3)" ( (binary_expression "iVar4 < 3" identifier < number_literal) )) (compound_statement "{\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }" { (labeled_statement "LAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" statement_identifier : (if_statement "if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" if (parenthesized_expression "((cVar1 != '_') || (pcVar6[1] != '_'))" ( (binary_expression "(cVar1 != '_') || (pcVar6[1] != '_')" (parenthesized_expression "(cVar1 != '_')" ( (binary_expression "cVar1 != '_'" identifier != (char_literal "'_'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '_')" ( (binary_expression "pcVar6[1] != '_'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'_'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;))) (expression_statement "bVar2 = pcVar6[2];" (assignment_expression "bVar2 = pcVar6[2]" identifier = (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ;) (if_statement "if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" if (parenthesized_expression "((bVar2 == 0x6f) && (pcVar6[3] == 'p'))" ( (binary_expression "(bVar2 == 0x6f) && (pcVar6[3] == 'p')" (parenthesized_expression "(bVar2 == 0x6f)" ( (binary_expression "bVar2 == 0x6f" identifier == number_literal) )) && (parenthesized_expression "(pcVar6[3] == 'p')" ( (binary_expression "pcVar6[3] == 'p'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) ))) )) (compound_statement "{\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }" { (expression_statement "local_2c = pcVar6 + 4;" (assignment_expression "local_2c = pcVar6 + 4" identifier = (binary_expression "pcVar6 + 4" identifier + number_literal)) ;) (labeled_statement "LAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" statement_identifier : (expression_statement "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" (assignment_expression "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38)" identifier = (call_expression "FUN_002992fc(param_1,&local_2c,&local_38)" identifier (argument_list "(param_1,&local_2c,&local_38)" ( identifier , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_38" & identifier) )))) ;)) (if_statement "if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" { (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3e98;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3e98" identifier = (binary_expression "PTR_DAT_0043226c + 0x3e98" identifier + number_literal)) ;) (expression_statement "param_3[1] = *param_3;" (assignment_expression "param_3[1] = *param_3" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "FUN_002974f4(param_3,puVar5);" (call_expression "FUN_002974f4(param_3,puVar5)" identifier (argument_list "(param_3,puVar5)" ( identifier , identifier ))) ;) (expression_statement "FUN_00297748(param_3,&local_38,local_34);" (call_expression "FUN_00297748(param_3,&local_38,local_34)" identifier (argument_list "(param_3,&local_38,local_34)" ( identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (if_statement "if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" { (expression_statement "(*(code *)PTR_free_00436800)();" (call_expression "(*(code *)PTR_free_00436800)()" (parenthesized_expression "(*(code *)PTR_free_00436800)" ( (pointer_expression "*(code *)PTR_free_00436800" * (cast_expression "(code *)PTR_free_00436800" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) })) }) (else_clause "else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" else (compound_statement "{\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" { (if_statement "if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;" if (parenthesized_expression "(((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))" ( (binary_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)bVar2 * 2" identifier + (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2" identifier + (binary_expression "(uint)(byte)pcVar6[3] * 2" (cast_expression "(uint)(byte)pcVar6[3]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar6[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar6[3]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (if_statement "if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" if (parenthesized_expression "(pcVar6[4] == '\0')" ( (binary_expression "pcVar6[4] == '\0'" (subscript_expression "pcVar6[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "pcVar11 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "pcVar11 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" { (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) ;) (if_statement "if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" if (parenthesized_expression "(((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3]))" ( (binary_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])" (parenthesized_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2]))" ( (binary_expression "(iVar4 == 2) && (*pcVar11 == pcVar6[2])" (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) && (parenthesized_expression "(*pcVar11 == pcVar6[2])" ( (binary_expression "*pcVar11 == pcVar6[2]" (pointer_expression "*pcVar11" * identifier) == (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "(pcVar11[1] == pcVar6[3])" ( (binary_expression "pcVar11[1] == pcVar6[3]" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) == (subscript_expression "pcVar6[3]" identifier [ number_literal ])) ))) )) (compound_statement "{\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" { (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0029d2e8;" goto statement_identifier ;) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0x4f) break;" if (parenthesized_expression "(iVar9 == 0x4f)" ( (binary_expression "iVar9 == 0x4f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" identifier = (cast_expression "(char *)*puVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) })) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (if_statement "if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;" if (parenthesized_expression "((bVar2 != 0x61) || (pcVar6[5] != '\0'))" ( (binary_expression "(bVar2 != 0x61) || (pcVar6[5] != '\0')" (parenthesized_expression "(bVar2 != 0x61)" ( (binary_expression "bVar2 != 0x61" identifier != number_literal) )) || (parenthesized_expression "(pcVar6[5] != '\0')" ( (binary_expression "pcVar6[5] != '\0'" (subscript_expression "pcVar6[5]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (do_statement "do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));" do (compound_statement "{\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0x4f) goto LAB_0029d1a4;" if (parenthesized_expression "(iVar4 == 0x4f)" ( (binary_expression "iVar4 == 0x4f" identifier == number_literal) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" identifier = (cast_expression "(char *)*puVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) ;) }) while (parenthesized_expression "(((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))))" ( (binary_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" (parenthesized_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2]))" ( (binary_expression "(iVar9 != 3) || (*pcVar11 != pcVar6[2])" (parenthesized_expression "(iVar9 != 3)" ( (binary_expression "iVar9 != 3" identifier != number_literal) )) || (parenthesized_expression "(*pcVar11 != pcVar6[2])" ( (binary_expression "*pcVar11 != pcVar6[2]" (pointer_expression "*pcVar11" * identifier) != (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ))) )) || (parenthesized_expression "((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" ( (parenthesized_expression "(pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))" ( (binary_expression "pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])" (binary_expression "pcVar11[1] != pcVar6[3]" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) != (subscript_expression "pcVar6[3]" identifier [ number_literal ])) || (parenthesized_expression "(pcVar11[2] != pcVar6[4])" ( (binary_expression "pcVar11[2] != pcVar6[4]" (subscript_expression "pcVar11[2]" identifier [ number_literal ]) != (subscript_expression "pcVar6[4]" identifier [ number_literal ])) ))) )) ))) )) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc" identifier + (binary_expression "iVar4 * 0xc" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\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        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }" { (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (labeled_statement "LAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" statement_identifier : (if_statement "if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" if (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" { (labeled_statement "LAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);" statement_identifier : (expression_statement "FUN_002974f4(param_3,pcVar6);" (call_expression "FUN_002974f4(param_3,pcVar6)" identifier (argument_list "(param_3,pcVar6)" ( identifier , identifier ))) ;)) }))) }))) }) (else_clause "else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" else (compound_statement "{\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" { (if_statement "if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" if (parenthesized_expression "(cVar1 != 'o')" ( (binary_expression "cVar1 != 'o'" identifier != (char_literal "'o'" ' character ')) )) (compound_statement "{\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" { (if_statement "if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;" if (parenthesized_expression "((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e'))))" ( (binary_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" (parenthesized_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y'))" ( (binary_expression "((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')" (parenthesized_expression "((4 < iVar4) && (*pcVar6 == 't'))" ( (binary_expression "(4 < iVar4) && (*pcVar6 == 't')" (parenthesized_expression "(4 < iVar4)" ( (binary_expression "4 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(*pcVar6 == 't')" ( (binary_expression "*pcVar6 == 't'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'t'" ' character ')) ))) )) && (parenthesized_expression "(pcVar6[1] == 'y')" ( (binary_expression "pcVar6[1] == 'y'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) == (char_literal "'y'" ' character ')) ))) )) && (parenthesized_expression "((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" ( (parenthesized_expression "(pcVar6[2] == 'p' && (pcVar6[3] == 'e'))" ( (binary_expression "pcVar6[2] == 'p' && (pcVar6[3] == 'e')" (binary_expression "pcVar6[2] == 'p'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) && (parenthesized_expression "(pcVar6[3] == 'e')" ( (binary_expression "pcVar6[3] == 'e'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) == (char_literal "'e'" ' character ')) ))) )) ))) )) (goto_statement "goto LAB_0029d468;" goto statement_identifier ;)) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;) })) (if_statement "if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" if (parenthesized_expression "((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0))" ( (binary_expression "(pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" (parenthesized_expression "(pcVar6[1] != 'p')" ( (binary_expression "pcVar6[1] != 'p'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) )) || (parenthesized_expression "(iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar6[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[2]" identifier [ number_literal ])) )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" { (if_statement "if (iVar4 < 5) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 < 5)" ( (binary_expression "iVar4 < 5" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;" if (parenthesized_expression "((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))" ( (binary_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e')" (parenthesized_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p'))" ( (binary_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')" (parenthesized_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y'))" ( (binary_expression "(*pcVar6 != 't') || (pcVar6[1] != 'y')" (parenthesized_expression "(*pcVar6 != 't')" ( (binary_expression "*pcVar6 != 't'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'t'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != 'y')" ( (binary_expression "pcVar6[1] != 'y'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'y'" ' character ')) ))) )) || (parenthesized_expression "(pcVar6[2] != 'p')" ( (binary_expression "pcVar6[2] != 'p'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) ))) )) || (parenthesized_expression "(pcVar6[3] != 'e')" ( (binary_expression "pcVar6[3] != 'e'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) != (char_literal "'e'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (labeled_statement "LAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" statement_identifier : (expression_statement "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" (assignment_expression "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar6[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[4]" identifier [ number_literal ])) )))) ;)) (if_statement "if (iVar4 == 0) goto LAB_0029d19c;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;)) (expression_statement "local_2c = pcVar6 + 5;" (assignment_expression "local_2c = pcVar6 + 5" identifier = (binary_expression "pcVar6 + 5" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d488;" goto statement_identifier ;) })) (if_statement "if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" if (parenthesized_expression "((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))" ( (binary_expression "(9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" (parenthesized_expression "(9 < iVar4)" ( (binary_expression "9 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" ( (binary_expression "pcVar6 + 3" identifier + number_literal) , (binary_expression "PTR_DAT_0043226c + 0x3eb0" identifier + number_literal) , number_literal )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" { (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" while (parenthesized_expression "((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)))" ( (parenthesized_expression "(iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))" ( (binary_expression "iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" (binary_expression "iVar9 != iVar4 + -10" identifier != (binary_expression "iVar4 + -10" identifier + number_literal)) || (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" ( (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,pcVar6 + 10,iVar9)" ( identifier , (binary_expression "pcVar6 + 10" identifier + number_literal) , identifier )))) , (comma_expression "puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) , (binary_expression "iVar9 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x4f) {\n          return 1;\n        }" if (parenthesized_expression "(iVar8 == 0x4f)" ( (binary_expression "iVar8 == 0x4f" identifier == number_literal) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" identifier = (cast_expression "(undefined *)*puVar10" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (if_statement "if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }" if (parenthesized_expression "((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'))" ( (binary_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" (parenthesized_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0)" ( (binary_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0" (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" identifier + (binary_expression "iVar8 * 0xc" identifier * number_literal)) + number_literal) )))) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" ( (binary_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'" (pointer_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" identifier + (binary_expression "iVar8 * 0xc" identifier * number_literal)) + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_002974f4(param_3);\n      }" { (expression_statement "FUN_002974f4(param_3);" (call_expression "FUN_002974f4(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "pcVar6 = PTR_DAT_0043226c + 0x3ef0;" (assignment_expression "pcVar6 = PTR_DAT_0043226c + 0x3ef0" identifier = (binary_expression "PTR_DAT_0043226c + 0x3ef0" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d310;" goto statement_identifier ;) })) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" while (parenthesized_expression "((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)))" ( (parenthesized_expression "(iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))" ( (binary_expression "iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" (binary_expression "iVar8 != iVar4 + -3" identifier != (binary_expression "iVar4 + -3" identifier + number_literal)) || (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,pcVar6 + 3,iVar8)" ( identifier , (binary_expression "pcVar6 + 3" identifier + number_literal) , identifier )))) , (comma_expression "puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) , (binary_expression "iVar8 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0x4f) {\n        return 1;\n      }" if (parenthesized_expression "(iVar9 == 0x4f)" ( (binary_expression "iVar9 == 0x4f" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" identifier = (cast_expression "(undefined *)*puVar10" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (labeled_statement "LAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" statement_identifier : (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) + number_literal) ))))) ;)) (if_statement "if (pcVar6 != (char *)0x0) goto LAB_0029d304;" 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)) )) (goto_statement "goto LAB_0029d304;" goto statement_identifier ;)) }))) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" statement_identifier : (if_statement "if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" if (parenthesized_expression "(((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.'))" ( (binary_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')" (parenthesized_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6))" ( (binary_expression "(pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)" (parenthesized_expression "(pcVar6 != pcVar7)" ( (binary_expression "pcVar6 != pcVar7" identifier != identifier) )) && (parenthesized_expression "(pcVar7 + -1 == pcVar6)" ( (binary_expression "pcVar7 + -1 == pcVar6" (binary_expression "pcVar7 + -1" identifier + number_literal) == identifier) ))) )) && (parenthesized_expression "(*pcVar6 == '.')" ( (binary_expression "*pcVar6 == '.'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int demangle_function_name(work_stuff *work,char **mangled,string *declp,char *scan)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined *puVar11;\n  string type;\n  char *tem;\n  \n  iVar4 = (int)scan - (int)*mangled;\n  if (iVar4 != 0) {\n    string_appendn(declp,*mangled,iVar4);\n  }\n  string_need(declp,1);\n  *declp->p = '\0';\n  *mangled = scan + 2;\n  uVar3 = work->options;\n  if (((uVar3 & 0x1000) != 0) && (scan[2] == 'X')) {\n    demangle_arm_hp_template(work,mangled,0,declp);\n    uVar3 = work->options;\n  }\n  pcVar5 = declp->b;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n  }\n  pcVar6 = declp->p;\n  iVar4 = (int)pcVar6 - (int)pcVar5;\n  cVar1 = *pcVar5;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar5[2];\n    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar5 = declp->b;\n  pcVar6 = declp->p;\nLAB_0029d1a4:\n  if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "int demangle_function_name(work_stuff *work,char **mangled,string *declp,char *scan)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined *puVar11;\n  string type;\n  char *tem;\n  \n  iVar4 = (int)scan - (int)*mangled;\n  if (iVar4 != 0) {\n    string_appendn(declp,*mangled,iVar4);\n  }\n  string_need(declp,1);\n  *declp->p = '\0';\n  *mangled = scan + 2;\n  uVar3 = work->options;\n  if (((uVar3 & 0x1000) != 0) && (scan[2] == 'X')) {\n    demangle_arm_hp_template(work,mangled,0,declp);\n    uVar3 = work->options;\n  }\n  pcVar5 = declp->b;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n  }\n  pcVar6 = declp->p;\n  iVar4 = (int)pcVar6 - (int)pcVar5;\n  cVar1 = *pcVar5;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar5[2];\n    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar5 = declp->b;\n  pcVar6 = declp->p;\nLAB_0029d1a4:\n  if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {\n    return 0;\n  }\n  return 1;\n}" primitive_type (function_declarator "demangle_function_name(work_stuff *work,char **mangled,string *declp,char *scan)" identifier (parameter_list "(work_stuff *work,char **mangled,string *declp,char *scan)" ( (parameter_declaration "work_stuff *work" type_identifier (pointer_declarator "*work" * identifier)) , (parameter_declaration "char **mangled" primitive_type (pointer_declarator "**mangled" * (pointer_declarator "*mangled" * identifier))) , (parameter_declaration "string *declp" type_identifier (pointer_declarator "*declp" * identifier)) , (parameter_declaration "char *scan" primitive_type (pointer_declarator "*scan" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  char *pcVar5;\n  char *pcVar6;\n  int iVar7;\n  int iVar8;\n  undefined4 *puVar9;\n  char *pcVar10;\n  undefined *puVar11;\n  string type;\n  char *tem;\n  \n  iVar4 = (int)scan - (int)*mangled;\n  if (iVar4 != 0) {\n    string_appendn(declp,*mangled,iVar4);\n  }\n  string_need(declp,1);\n  *declp->p = '\0';\n  *mangled = scan + 2;\n  uVar3 = work->options;\n  if (((uVar3 & 0x1000) != 0) && (scan[2] == 'X')) {\n    demangle_arm_hp_template(work,mangled,0,declp);\n    uVar3 = work->options;\n  }\n  pcVar5 = declp->b;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n  }\n  pcVar6 = declp->p;\n  iVar4 = (int)pcVar6 - (int)pcVar5;\n  cVar1 = *pcVar5;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar5[2];\n    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar5 = declp->b;\n  pcVar6 = declp->p;\nLAB_0029d1a4:\n  if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {\n    return 0;\n  }\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "string type;" type_identifier identifier ;) (declaration "char *tem;" primitive_type (pointer_declarator "*tem" * identifier) ;) (expression_statement "iVar4 = (int)scan - (int)*mangled;" (assignment_expression "iVar4 = (int)scan - (int)*mangled" identifier = (binary_expression "(int)scan - (int)*mangled" (cast_expression "(int)scan" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)*mangled" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*mangled" * identifier)))) ;) (if_statement "if (iVar4 != 0) {\n    string_appendn(declp,*mangled,iVar4);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    string_appendn(declp,*mangled,iVar4);\n  }" { (expression_statement "string_appendn(declp,*mangled,iVar4);" (call_expression "string_appendn(declp,*mangled,iVar4)" identifier (argument_list "(declp,*mangled,iVar4)" ( identifier , (pointer_expression "*mangled" * identifier) , identifier ))) ;) })) (expression_statement "string_need(declp,1);" (call_expression "string_need(declp,1)" identifier (argument_list "(declp,1)" ( identifier , number_literal ))) ;) (expression_statement "*declp->p = '\0';" (assignment_expression "*declp->p = '\0'" (pointer_expression "*declp->p" * (field_expression "declp->p" identifier -> field_identifier)) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*mangled = scan + 2;" (assignment_expression "*mangled = scan + 2" (pointer_expression "*mangled" * identifier) = (binary_expression "scan + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = work->options;" (assignment_expression "uVar3 = work->options" identifier = (field_expression "work->options" identifier -> field_identifier)) ;) (if_statement "if (((uVar3 & 0x1000) != 0) && (scan[2] == 'X')) {\n    demangle_arm_hp_template(work,mangled,0,declp);\n    uVar3 = work->options;\n  }" if (parenthesized_expression "(((uVar3 & 0x1000) != 0) && (scan[2] == 'X'))" ( (binary_expression "((uVar3 & 0x1000) != 0) && (scan[2] == 'X')" (parenthesized_expression "((uVar3 & 0x1000) != 0)" ( (binary_expression "(uVar3 & 0x1000) != 0" (parenthesized_expression "(uVar3 & 0x1000)" ( (binary_expression "uVar3 & 0x1000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(scan[2] == 'X')" ( (binary_expression "scan[2] == 'X'" (subscript_expression "scan[2]" identifier [ number_literal ]) == (char_literal "'X'" ' character ')) ))) )) (compound_statement "{\n    demangle_arm_hp_template(work,mangled,0,declp);\n    uVar3 = work->options;\n  }" { (expression_statement "demangle_arm_hp_template(work,mangled,0,declp);" (call_expression "demangle_arm_hp_template(work,mangled,0,declp)" identifier (argument_list "(work,mangled,0,declp)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar3 = work->options;" (assignment_expression "uVar3 = work->options" identifier = (field_expression "work->options" identifier -> field_identifier)) ;) })) (expression_statement "pcVar5 = declp->b;" (assignment_expression "pcVar5 = declp->b" identifier = (field_expression "declp->b" identifier -> field_identifier)) ;) (if_statement "if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n  }" if (parenthesized_expression "((uVar3 & 0x3c00) != 0)" ( (binary_expression "(uVar3 & 0x3c00) != 0" (parenthesized_expression "(uVar3 & 0x3c00)" ( (binary_expression "uVar3 & 0x3c00" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee0)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,PTR_s__0043226c + 0x3ee0)" ( identifier , (binary_expression "PTR_s__0043226c + 0x3ee0" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      work->constructor = work->constructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }" { (expression_statement "work->constructor = work->constructor + 1;" (assignment_expression "work->constructor = work->constructor + 1" (field_expression "work->constructor" identifier -> field_identifier) = (binary_expression "work->constructor + 1" (field_expression "work->constructor" identifier -> field_identifier) + number_literal)) ;) (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar5,PTR_s__0043226c + 0x3ee8)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5,PTR_s__0043226c + 0x3ee8)" ( identifier , (binary_expression "PTR_s__0043226c + 0x3ee8" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      work->destructor = work->destructor + 1;\n      declp->p = pcVar5;\n      return 1;\n    }" { (expression_statement "work->destructor = work->destructor + 1;" (assignment_expression "work->destructor = work->destructor + 1" (field_expression "work->destructor" identifier -> field_identifier) = (binary_expression "work->destructor + 1" (field_expression "work->destructor" identifier -> field_identifier) + number_literal)) ;) (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "pcVar6 = declp->p;" (assignment_expression "pcVar6 = declp->p" identifier = (field_expression "declp->p" identifier -> field_identifier)) ;) (expression_statement "iVar4 = (int)pcVar6 - (int)pcVar5;" (assignment_expression "iVar4 = (int)pcVar6 - (int)pcVar5" identifier = (binary_expression "(int)pcVar6 - (int)pcVar5" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar5[2];\n    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }" if (parenthesized_expression "(iVar4 < 3)" ( (binary_expression "iVar4 < 3" identifier < number_literal) )) (compound_statement "{\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar5[2];\n    if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }\n  }" { (labeled_statement "LAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;" statement_identifier : (if_statement "if ((cVar1 != '_') || (pcVar5[1] != '_')) goto LAB_0029d1a4;" if (parenthesized_expression "((cVar1 != '_') || (pcVar5[1] != '_'))" ( (binary_expression "(cVar1 != '_') || (pcVar5[1] != '_')" (parenthesized_expression "(cVar1 != '_')" ( (binary_expression "cVar1 != '_'" identifier != (char_literal "'_'" ' character ')) )) || (parenthesized_expression "(pcVar5[1] != '_')" ( (binary_expression "pcVar5[1] != '_'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != (char_literal "'_'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;))) (expression_statement "bVar2 = pcVar5[2];" (assignment_expression "bVar2 = pcVar5[2]" identifier = (subscript_expression "pcVar5[2]" identifier [ number_literal ])) ;) (if_statement "if ((bVar2 == 0x6f) && (pcVar5[3] == 'p')) {\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }" if (parenthesized_expression "((bVar2 == 0x6f) && (pcVar5[3] == 'p'))" ( (binary_expression "(bVar2 == 0x6f) && (pcVar5[3] == 'p')" (parenthesized_expression "(bVar2 == 0x6f)" ( (binary_expression "bVar2 == 0x6f" identifier == number_literal) )) && (parenthesized_expression "(pcVar5[3] == 'p')" ( (binary_expression "pcVar5[3] == 'p'" (subscript_expression "pcVar5[3]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) ))) )) (compound_statement "{\n      tem = pcVar5 + 4;\nLAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);\n      if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }\n    }" { (expression_statement "tem = pcVar5 + 4;" (assignment_expression "tem = pcVar5 + 4" identifier = (binary_expression "pcVar5 + 4" identifier + number_literal)) ;) (labeled_statement "LAB_0029d488:\n      iVar4 = do_type(work,&tem,&type);" statement_identifier : (expression_statement "iVar4 = do_type(work,&tem,&type);" (assignment_expression "iVar4 = do_type(work,&tem,&type)" identifier = (call_expression "do_type(work,&tem,&type)" identifier (argument_list "(work,&tem,&type)" ( identifier , (pointer_expression "&tem" & identifier) , (pointer_expression "&type" & identifier) )))) ;)) (if_statement "if (iVar4 != 0) {\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        pcVar5 = PTR_s__0043226c + 0x3e98;\n        declp->p = declp->b;\n        string_append(declp,pcVar5);\n        string_appends(declp,&type,(string *)type.p);\n        if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }\n      }" { (expression_statement "pcVar5 = PTR_s__0043226c + 0x3e98;" (assignment_expression "pcVar5 = PTR_s__0043226c + 0x3e98" identifier = (binary_expression "PTR_s__0043226c + 0x3e98" identifier + number_literal)) ;) (expression_statement "declp->p = declp->b;" (assignment_expression "declp->p = declp->b" (field_expression "declp->p" identifier -> field_identifier) = (field_expression "declp->b" identifier -> field_identifier)) ;) (expression_statement "string_append(declp,pcVar5);" (call_expression "string_append(declp,pcVar5)" identifier (argument_list "(declp,pcVar5)" ( identifier , identifier ))) ;) (expression_statement "string_appends(declp,&type,(string *)type.p);" (call_expression "string_appends(declp,&type,(string *)type.p)" identifier (argument_list "(declp,&type,(string *)type.p)" ( identifier , (pointer_expression "&type" & identifier) , (cast_expression "(string *)type.p" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "type.p" identifier . field_identifier)) ))) ;) (if_statement "if (type.b != (char *)0x0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }" if (parenthesized_expression "(type.b != (char *)0x0)" ( (binary_expression "type.b != (char *)0x0" (field_expression "type.b" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*(code *)PTR_free_00436800)();\n          pcVar5 = declp->b;\n          pcVar6 = declp->p;\n          goto LAB_0029d1a4;\n        }" { (expression_statement "(*(code *)PTR_free_00436800)();" (call_expression "(*(code *)PTR_free_00436800)()" (parenthesized_expression "(*(code *)PTR_free_00436800)" ( (pointer_expression "*(code *)PTR_free_00436800" * (cast_expression "(code *)PTR_free_00436800" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = declp->b;" (assignment_expression "pcVar5 = declp->b" identifier = (field_expression "declp->b" identifier -> field_identifier)) ;) (expression_statement "pcVar6 = declp->p;" (assignment_expression "pcVar6 = declp->p" identifier = (field_expression "declp->p" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) })) }) (else_clause "else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }" else (compound_statement "{\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }\n    }" { (if_statement "if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;" if (parenthesized_expression "(((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0))" ( (binary_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0)" (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)bVar2 * 2" identifier + (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)(byte)pcVar5[3] * 2" identifier + (binary_expression "(uint)(byte)pcVar5[3] * 2" (cast_expression "(uint)(byte)pcVar5[3]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar5[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar5[3]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (if_statement "if (pcVar5[4] == '\0') {\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }" if (parenthesized_expression "(pcVar5[4] == '\0')" ( (binary_expression "pcVar5[4] == '\0'" (subscript_expression "pcVar5[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = 2;\n        iVar8 = 0;\n        puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar10 = PTR_s__0043226c + 0x3dc4;\n        while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }\n        goto LAB_0029d1a4;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "pcVar10 = PTR_s__0043226c + 0x3dc4;" (assignment_expression "pcVar10 = PTR_s__0043226c + 0x3dc4" identifier = (binary_expression "PTR_s__0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while( true ) {\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          puVar11 = PTR_s__0043226c;\n          if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar8 = iVar8 + 1;\n          if (iVar8 == 0x4f) break;\n          pcVar10 = (char *)*puVar9;\n          puVar9 = puVar9 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        }" { (expression_statement "puVar11 = PTR_s__0043226c;" (assignment_expression "puVar11 = PTR_s__0043226c" identifier = identifier) ;) (if_statement "if (((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])) {\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" if (parenthesized_expression "(((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3]))" ( (binary_expression "((iVar4 == 2) && (*pcVar10 == pcVar5[2])) && (pcVar10[1] == pcVar5[3])" (parenthesized_expression "((iVar4 == 2) && (*pcVar10 == pcVar5[2]))" ( (binary_expression "(iVar4 == 2) && (*pcVar10 == pcVar5[2])" (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) && (parenthesized_expression "(*pcVar10 == pcVar5[2])" ( (binary_expression "*pcVar10 == pcVar5[2]" (pointer_expression "*pcVar10" * identifier) == (subscript_expression "pcVar5[2]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "(pcVar10[1] == pcVar5[3])" ( (binary_expression "pcVar10[1] == pcVar5[3]" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) == (subscript_expression "pcVar5[3]" identifier [ number_literal ])) ))) )) (compound_statement "{\n            declp->p = pcVar5;\n            string_append(declp,puVar11 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" { (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (expression_statement "string_append(declp,puVar11 + 0x3ea4);" (call_expression "string_append(declp,puVar11 + 0x3ea4)" identifier (argument_list "(declp,puVar11 + 0x3ea4)" ( identifier , (binary_expression "puVar11 + 0x3ea4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0029d2e8;" goto statement_identifier ;) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x4f) break;" if (parenthesized_expression "(iVar8 == 0x4f)" ( (binary_expression "iVar8 == 0x4f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar10 = (char *)*puVar9;" (assignment_expression "pcVar10 = (char *)*puVar9" identifier = (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "puVar9 = puVar9 + 3;" (assignment_expression "puVar9 = puVar9 + 3" identifier = (binary_expression "puVar9 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar10)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier )))) ;) })) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (if_statement "if ((bVar2 != 0x61) || (pcVar5[5] != '\0')) goto LAB_0029d1a4;" if (parenthesized_expression "((bVar2 != 0x61) || (pcVar5[5] != '\0'))" ( (binary_expression "(bVar2 != 0x61) || (pcVar5[5] != '\0')" (parenthesized_expression "(bVar2 != 0x61)" ( (binary_expression "bVar2 != 0x61" identifier != number_literal) )) || (parenthesized_expression "(pcVar5[5] != '\0')" ( (binary_expression "pcVar5[5] != '\0'" (subscript_expression "pcVar5[5]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (do_statement "do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      } while (((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))));" do (compound_statement "{\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar10 = (char *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);\n        puVar11 = PTR_s__0043226c;\n      }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0x4f) goto LAB_0029d1a4;" if (parenthesized_expression "(iVar4 == 0x4f)" ( (binary_expression "iVar4 == 0x4f" identifier == number_literal) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "pcVar10 = (char *)*puVar9;" (assignment_expression "pcVar10 = (char *)*puVar9" identifier = (cast_expression "(char *)*puVar9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "puVar9 = puVar9 + 3;" (assignment_expression "puVar9 = puVar9 + 3" identifier = (binary_expression "puVar9 + 3" identifier + number_literal)) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0043677c)(pcVar10)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar10)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "puVar11 = PTR_s__0043226c;" (assignment_expression "puVar11 = PTR_s__0043226c" identifier = identifier) ;) }) while (parenthesized_expression "(((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))))" ( (binary_expression "((iVar8 != 3) || (*pcVar10 != pcVar5[2])) ||\n              ((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4])))" (parenthesized_expression "((iVar8 != 3) || (*pcVar10 != pcVar5[2]))" ( (binary_expression "(iVar8 != 3) || (*pcVar10 != pcVar5[2])" (parenthesized_expression "(iVar8 != 3)" ( (binary_expression "iVar8 != 3" identifier != number_literal) )) || (parenthesized_expression "(*pcVar10 != pcVar5[2])" ( (binary_expression "*pcVar10 != pcVar5[2]" (pointer_expression "*pcVar10" * identifier) != (subscript_expression "pcVar5[2]" identifier [ number_literal ])) ))) )) || (parenthesized_expression "((pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4])))" ( (parenthesized_expression "(pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4]))" ( (binary_expression "pcVar10[1] != pcVar5[3] || (pcVar10[2] != pcVar5[4])" (binary_expression "pcVar10[1] != pcVar5[3]" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) != (subscript_expression "pcVar5[3]" identifier [ number_literal ])) || (parenthesized_expression "(pcVar10[2] != pcVar5[4])" ( (binary_expression "pcVar10[2] != pcVar5[4]" (subscript_expression "pcVar10[2]" identifier [ number_literal ]) != (subscript_expression "pcVar5[4]" identifier [ number_literal ])) ))) )) ))) )) ;) (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (expression_statement "string_append(declp,puVar11 + 0x3ea4);" (call_expression "string_append(declp,puVar11 + 0x3ea4)" identifier (argument_list "(declp,puVar11 + 0x3ea4)" ( identifier , (binary_expression "puVar11 + 0x3ea4" identifier + number_literal) ))) ;) (expression_statement "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);" (assignment_expression "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc" identifier + (binary_expression "iVar4 * 0xc" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (pcVar5 == (char *)0x0) {\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }" if (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar5 = declp->b;\n        pcVar6 = declp->p;\n        goto LAB_0029d1a4;\n      }" { (expression_statement "pcVar5 = declp->b;" (assignment_expression "pcVar5 = declp->b" identifier = (field_expression "declp->b" identifier -> field_identifier)) ;) (expression_statement "pcVar6 = declp->p;" (assignment_expression "pcVar6 = declp->p" identifier = (field_expression "declp->p" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (labeled_statement "LAB_0029d304:\n      if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }" statement_identifier : (if_statement "if (*pcVar5 != '\0') {\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }" if (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0029d310:\n        string_append(declp,pcVar5);\n      }" { (labeled_statement "LAB_0029d310:\n        string_append(declp,pcVar5);" statement_identifier : (expression_statement "string_append(declp,pcVar5);" (call_expression "string_append(declp,pcVar5)" identifier (argument_list "(declp,pcVar5)" ( identifier , identifier ))) ;)) }))) }))) }) (else_clause "else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }" else (compound_statement "{\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar7 = 2;\n    iVar8 = 0;\n    puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar11 = PTR_s__0043226c + 0x3dc4;\n    while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }\n    declp->p = pcVar5;\n    string_append(declp,puVar11 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);\n    if (pcVar5 != (char *)0x0) goto LAB_0029d304;\n  }" { (if_statement "if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" if (parenthesized_expression "(cVar1 != 'o')" ( (binary_expression "cVar1 != 'o'" identifier != (char_literal "'o'" ' character ')) )) (compound_statement "{\n      if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" { (if_statement "if ((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))) goto LAB_0029d468;" if (parenthesized_expression "((((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e'))))" ( (binary_expression "(((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')) &&\n         ((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))" (parenthesized_expression "(((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y'))" ( (binary_expression "((4 < iVar4) && (*pcVar5 == 't')) && (pcVar5[1] == 'y')" (parenthesized_expression "((4 < iVar4) && (*pcVar5 == 't'))" ( (binary_expression "(4 < iVar4) && (*pcVar5 == 't')" (parenthesized_expression "(4 < iVar4)" ( (binary_expression "4 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(*pcVar5 == 't')" ( (binary_expression "*pcVar5 == 't'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'t'" ' character ')) ))) )) && (parenthesized_expression "(pcVar5[1] == 'y')" ( (binary_expression "pcVar5[1] == 'y'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) == (char_literal "'y'" ' character ')) ))) )) && (parenthesized_expression "((pcVar5[2] == 'p' && (pcVar5[3] == 'e')))" ( (parenthesized_expression "(pcVar5[2] == 'p' && (pcVar5[3] == 'e'))" ( (binary_expression "pcVar5[2] == 'p' && (pcVar5[3] == 'e')" (binary_expression "pcVar5[2] == 'p'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) && (parenthesized_expression "(pcVar5[3] == 'e')" ( (binary_expression "pcVar5[3] == 'e'" (subscript_expression "pcVar5[3]" identifier [ number_literal ]) == (char_literal "'e'" ' character ')) ))) )) ))) )) (goto_statement "goto LAB_0029d468;" goto statement_identifier ;)) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;) })) (if_statement "if ((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }" if (parenthesized_expression "((pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0))" ( (binary_expression "(pcVar5[1] != 'p') ||\n       (iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)" (parenthesized_expression "(pcVar5[1] != 'p')" ( (binary_expression "pcVar5[1] != 'p'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) )) || (parenthesized_expression "(iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0)" ( (comma_expression "iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2]),\n       iVar8 == 0" (assignment_expression "iVar8 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[2])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar5[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar5[2]" identifier [ number_literal ])) )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      tem = pcVar5 + 5;\n      goto LAB_0029d488;\n    }" { (if_statement "if (iVar4 < 5) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 < 5)" ( (binary_expression "iVar4 < 5" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))\n      goto LAB_0029d1a4;" if (parenthesized_expression "((((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e'))" ( (binary_expression "(((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')) || (pcVar5[3] != 'e')" (parenthesized_expression "(((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p'))" ( (binary_expression "((*pcVar5 != 't') || (pcVar5[1] != 'y')) || (pcVar5[2] != 'p')" (parenthesized_expression "((*pcVar5 != 't') || (pcVar5[1] != 'y'))" ( (binary_expression "(*pcVar5 != 't') || (pcVar5[1] != 'y')" (parenthesized_expression "(*pcVar5 != 't')" ( (binary_expression "*pcVar5 != 't'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'t'" ' character ')) )) || (parenthesized_expression "(pcVar5[1] != 'y')" ( (binary_expression "pcVar5[1] != 'y'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) != (char_literal "'y'" ' character ')) ))) )) || (parenthesized_expression "(pcVar5[2] != 'p')" ( (binary_expression "pcVar5[2] != 'p'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) ))) )) || (parenthesized_expression "(pcVar5[3] != 'e')" ( (binary_expression "pcVar5[3] != 'e'" (subscript_expression "pcVar5[3]" identifier [ number_literal ]) != (char_literal "'e'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (labeled_statement "LAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);" statement_identifier : (expression_statement "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4]);" (assignment_expression "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar5[4])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar5[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar5[4]" identifier [ number_literal ])) )))) ;)) (if_statement "if (iVar4 == 0) goto LAB_0029d19c;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;)) (expression_statement "tem = pcVar5 + 5;" (assignment_expression "tem = pcVar5 + 5" identifier = (binary_expression "pcVar5 + 5" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d488;" goto statement_identifier ;) })) (if_statement "if ((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))\n    {\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" if (parenthesized_expression "((9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0))" ( (binary_expression "(9 < iVar4) &&\n       (iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0)" (parenthesized_expression "(9 < iVar4)" ( (binary_expression "9 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7), iVar8 == 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar5 + 3,PTR_s__0043226c + 0x3eb0,7)" ( (binary_expression "pcVar5 + 3" identifier + number_literal) , (binary_expression "PTR_s__0043226c + 0x3eb0" identifier + number_literal) , number_literal )))) , (binary_expression "iVar8 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar8 = 2;\n      iVar7 = 0;\n      puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar11 = PTR_s__0043226c + 0x3dc4;\n      while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }\n      declp->p = pcVar5;\n      string_append(declp,puVar11 + 0x3ea4);\n      pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);\n      if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }\n      pcVar5 = PTR_s__0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar11 = PTR_s__0043226c + 0x3dc4;" (assignment_expression "puVar11 = PTR_s__0043226c + 0x3dc4" identifier = (binary_expression "PTR_s__0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))) {\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }" while (parenthesized_expression "((iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0)))" ( (parenthesized_expression "(iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0))" ( (binary_expression "iVar8 != iVar4 + -10 ||\n             (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0)" (binary_expression "iVar8 != iVar4 + -10" identifier != (binary_expression "iVar4 + -10" identifier + number_literal)) || (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8),\n             puVar11 = PTR_s__0043226c, iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 10,iVar8)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar11,pcVar5 + 10,iVar8)" ( identifier , (binary_expression "pcVar5 + 10" identifier + number_literal) , identifier )))) , (comma_expression "puVar11 = PTR_s__0043226c, iVar8 != 0" (assignment_expression "puVar11 = PTR_s__0043226c" identifier = identifier) , (binary_expression "iVar8 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n        iVar7 = iVar7 + 1;\n        if (iVar7 == 0x4f) {\n          return 1;\n        }\n        puVar11 = (undefined *)*puVar9;\n        puVar9 = puVar9 + 3;\n        iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);\n      }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (if_statement "if (iVar7 == 0x4f) {\n          return 1;\n        }" if (parenthesized_expression "(iVar7 == 0x4f)" ( (binary_expression "iVar7 == 0x4f" identifier == number_literal) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar11 = (undefined *)*puVar9;" (assignment_expression "puVar11 = (undefined *)*puVar9" identifier = (cast_expression "(undefined *)*puVar9" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "puVar9 = puVar9 + 3;" (assignment_expression "puVar9 = puVar9 + 3" identifier = (binary_expression "puVar9 + 3" identifier + number_literal)) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar11)" ( identifier )))) ;) })) (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (expression_statement "string_append(declp,puVar11 + 0x3ea4);" (call_expression "string_append(declp,puVar11 + 0x3ea4)" identifier (argument_list "(declp,puVar11 + 0x3ea4)" ( identifier , (binary_expression "puVar11 + 0x3ea4" identifier + number_literal) ))) ;) (expression_statement "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8);" (assignment_expression "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar7 * 0xc" identifier + (binary_expression "iVar7 * 0xc" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if ((pcVar5 != (char *)0x0) && (*pcVar5 != '\0')) {\n        string_append(declp,pcVar5);\n      }" if (parenthesized_expression "((pcVar5 != (char *)0x0) && (*pcVar5 != '\0'))" ( (binary_expression "(pcVar5 != (char *)0x0) && (*pcVar5 != '\0')" (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar5 != '\0')" ( (binary_expression "*pcVar5 != '\0'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        string_append(declp,pcVar5);\n      }" { (expression_statement "string_append(declp,pcVar5);" (call_expression "string_append(declp,pcVar5)" identifier (argument_list "(declp,pcVar5)" ( identifier , identifier ))) ;) })) (expression_statement "pcVar5 = PTR_s__0043226c + 0x3ef0;" (assignment_expression "pcVar5 = PTR_s__0043226c + 0x3ef0" identifier = (binary_expression "PTR_s__0043226c + 0x3ef0" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d310;" goto statement_identifier ;) })) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar9 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar11 = PTR_s__0043226c + 0x3dc4;" (assignment_expression "puVar11 = PTR_s__0043226c + 0x3dc4" identifier = (binary_expression "PTR_s__0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))) {\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }" while (parenthesized_expression "((iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0)))" ( (parenthesized_expression "(iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0))" ( (binary_expression "iVar7 != iVar4 + -3 ||\n           (iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0)" (binary_expression "iVar7 != iVar4 + -3" identifier != (binary_expression "iVar4 + -3" identifier + number_literal)) || (parenthesized_expression "(iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0)" ( (comma_expression "iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7),\n           puVar11 = PTR_s__0043226c, iVar7 != 0" (assignment_expression "iVar7 = (*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar11,pcVar5 + 3,iVar7)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar11,pcVar5 + 3,iVar7)" ( identifier , (binary_expression "pcVar5 + 3" identifier + number_literal) , identifier )))) , (comma_expression "puVar11 = PTR_s__0043226c, iVar7 != 0" (assignment_expression "puVar11 = PTR_s__0043226c" identifier = identifier) , (binary_expression "iVar7 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n      iVar8 = iVar8 + 1;\n      if (iVar8 == 0x4f) {\n        return 1;\n      }\n      puVar11 = (undefined *)*puVar9;\n      puVar9 = puVar9 + 3;\n      iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);\n    }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x4f) {\n        return 1;\n      }" if (parenthesized_expression "(iVar8 == 0x4f)" ( (binary_expression "iVar8 == 0x4f" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar11 = (undefined *)*puVar9;" (assignment_expression "puVar11 = (undefined *)*puVar9" identifier = (cast_expression "(undefined *)*puVar9" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "puVar9 = puVar9 + 3;" (assignment_expression "puVar9 = puVar9 + 3" identifier = (binary_expression "puVar9 + 3" identifier + number_literal)) ;) (expression_statement "iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11);" (assignment_expression "iVar7 = (*(code *)PTR_strlen_0043677c)(puVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar11)" ( identifier )))) ;) })) (expression_statement "declp->p = pcVar5;" (assignment_expression "declp->p = pcVar5" (field_expression "declp->p" identifier -> field_identifier) = identifier) ;) (expression_statement "string_append(declp,puVar11 + 0x3ea4);" (call_expression "string_append(declp,puVar11 + 0x3ea4)" identifier (argument_list "(declp,puVar11 + 0x3ea4)" ( identifier , (binary_expression "puVar11 + 0x3ea4" identifier + number_literal) ))) ;) (labeled_statement "LAB_0029d2e8:\n    pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);" statement_identifier : (expression_statement "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8);" (assignment_expression "pcVar5 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" identifier + (binary_expression "iVar8 * 0xc" identifier * number_literal)) + number_literal) ))))) ;)) (if_statement "if (pcVar5 != (char *)0x0) goto LAB_0029d304;" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0029d304;" goto statement_identifier ;)) }))) (expression_statement "pcVar5 = declp->b;" (assignment_expression "pcVar5 = declp->b" identifier = (field_expression "declp->b" identifier -> field_identifier)) ;) (expression_statement "pcVar6 = declp->p;" (assignment_expression "pcVar6 = declp->p" identifier = (field_expression "declp->p" identifier -> field_identifier)) ;) (labeled_statement "LAB_0029d1a4:\n  if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {\n    return 0;\n  }" statement_identifier : (if_statement "if (((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')) {\n    return 0;\n  }" if (parenthesized_expression "(((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.'))" ( (binary_expression "((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)) && (*pcVar5 == '.')" (parenthesized_expression "((pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5))" ( (binary_expression "(pcVar5 != pcVar6) && (pcVar6 + -1 == pcVar5)" (parenthesized_expression "(pcVar5 != pcVar6)" ( (binary_expression "pcVar5 != pcVar6" identifier != identifier) )) && (parenthesized_expression "(pcVar6 + -1 == pcVar5)" ( (binary_expression "pcVar6 + -1 == pcVar5" (binary_expression "pcVar6 + -1" identifier + number_literal) == identifier) ))) )) && (parenthesized_expression "(*pcVar5 == '.')" ( (binary_expression "*pcVar5 == '.'" (pointer_expression "*pcVar5" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" identifier (parameter_list "(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" ( (parameter_declaration "uint *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 (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * 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 iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "char *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (if_statement "if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }" if (parenthesized_expression "(param_4 != *param_2)" ( (binary_expression "param_4 != *param_2" identifier != (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    FUN_00297354(param_3);\n  }" { (expression_statement "FUN_00297354(param_3);" (call_expression "FUN_00297354(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "FUN_00297260(param_3,1);" (call_expression "FUN_00297260(param_3,1)" identifier (argument_list "(param_3,1)" ( identifier , number_literal ))) ;) (expression_statement "*(undefined1 *)param_3[1] = 0;" (assignment_expression "*(undefined1 *)param_3[1] = 0" (pointer_expression "*(undefined1 *)param_3[1]" * (cast_expression "(undefined1 *)param_3[1]" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) = number_literal) ;) (expression_statement "*param_2 = param_4 + 2;" (assignment_expression "*param_2 = param_4 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "param_4 + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" if (parenthesized_expression "(((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X'))" ( (binary_expression "((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')" (parenthesized_expression "((uVar3 & 0x1000) != 0)" ( (binary_expression "(uVar3 & 0x1000) != 0" (parenthesized_expression "(uVar3 & 0x1000)" ( (binary_expression "uVar3 & 0x1000" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(param_4 + 2) == 'X')" ( (binary_expression "*(char *)(param_4 + 2) == 'X'" (pointer_expression "*(char *)(param_4 + 2)" * (cast_expression "(char *)(param_4 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 2)" ( (binary_expression "param_4 + 2" identifier + number_literal) )))) == (char_literal "'X'" ' character ')) ))) )) (compound_statement "{\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" { (expression_statement "FUN_0029a620(param_1,param_2,0,param_3);" (call_expression "FUN_0029a620(param_1,param_2,0,param_3)" identifier (argument_list "(param_1,param_2,0,param_3)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" if (parenthesized_expression "((uVar3 & 0x3c00) != 0)" ( (binary_expression "(uVar3 & 0x3c00) != 0" (parenthesized_expression "(uVar3 & 0x3c00)" ( (binary_expression "uVar3 & 0x3c00" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" { (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee0)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x3ee0" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" { (expression_statement "param_1[10] = param_1[10] + 1;" (assignment_expression "param_1[10] = param_1[10] + 1" (subscript_expression "param_1[10]" identifier [ number_literal ]) = (binary_expression "param_1[10] + 1" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" identifier = (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" ( (pointer_expression "*(code *)PTR_strcmp_00436644" * (cast_expression "(code *)PTR_strcmp_00436644" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee8)" ( identifier , (binary_expression "PTR_DAT_0043226c + 0x3ee8" identifier + number_literal) )))) ;) (if_statement "if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" { (expression_statement "param_1[0xb] = param_1[0xb] + 1;" (assignment_expression "param_1[0xb] = param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return 1;" return number_literal ;) })) })) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar4 = (int)pcVar7 - (int)pcVar6;" (assignment_expression "iVar4 = (int)pcVar7 - (int)pcVar6" identifier = (binary_expression "(int)pcVar7 - (int)pcVar6" (cast_expression "(int)pcVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) (if_statement "if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" if (parenthesized_expression "(iVar4 < 3)" ( (binary_expression "iVar4 < 3" identifier < number_literal) )) (compound_statement "{\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }" { (labeled_statement "LAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" statement_identifier : (if_statement "if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" if (parenthesized_expression "((cVar1 != '_') || (pcVar6[1] != '_'))" ( (binary_expression "(cVar1 != '_') || (pcVar6[1] != '_')" (parenthesized_expression "(cVar1 != '_')" ( (binary_expression "cVar1 != '_'" identifier != (char_literal "'_'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != '_')" ( (binary_expression "pcVar6[1] != '_'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'_'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;))) (expression_statement "bVar2 = pcVar6[2];" (assignment_expression "bVar2 = pcVar6[2]" identifier = (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ;) (if_statement "if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" if (parenthesized_expression "((bVar2 == 0x6f) && (pcVar6[3] == 'p'))" ( (binary_expression "(bVar2 == 0x6f) && (pcVar6[3] == 'p')" (parenthesized_expression "(bVar2 == 0x6f)" ( (binary_expression "bVar2 == 0x6f" identifier == number_literal) )) && (parenthesized_expression "(pcVar6[3] == 'p')" ( (binary_expression "pcVar6[3] == 'p'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) ))) )) (compound_statement "{\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }" { (expression_statement "local_2c = pcVar6 + 4;" (assignment_expression "local_2c = pcVar6 + 4" identifier = (binary_expression "pcVar6 + 4" identifier + number_literal)) ;) (labeled_statement "LAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" statement_identifier : (expression_statement "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" (assignment_expression "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38)" identifier = (call_expression "FUN_002992fc(param_1,&local_2c,&local_38)" identifier (argument_list "(param_1,&local_2c,&local_38)" ( identifier , (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_38" & identifier) )))) ;)) (if_statement "if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" { (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3e98;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3e98" identifier = (binary_expression "PTR_DAT_0043226c + 0x3e98" identifier + number_literal)) ;) (expression_statement "param_3[1] = *param_3;" (assignment_expression "param_3[1] = *param_3" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "FUN_002974f4(param_3,puVar5);" (call_expression "FUN_002974f4(param_3,puVar5)" identifier (argument_list "(param_3,puVar5)" ( identifier , identifier ))) ;) (expression_statement "FUN_00297748(param_3,&local_38,local_34);" (call_expression "FUN_00297748(param_3,&local_38,local_34)" identifier (argument_list "(param_3,&local_38,local_34)" ( identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (if_statement "if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" if (parenthesized_expression "(local_38 != 0)" ( (binary_expression "local_38 != 0" identifier != number_literal) )) (compound_statement "{\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" { (expression_statement "(*(code *)PTR_free_00436800)();" (call_expression "(*(code *)PTR_free_00436800)()" (parenthesized_expression "(*(code *)PTR_free_00436800)" ( (pointer_expression "*(code *)PTR_free_00436800" * (cast_expression "(code *)PTR_free_00436800" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) })) }) (else_clause "else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" else (compound_statement "{\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" { (if_statement "if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;" if (parenthesized_expression "(((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))" ( (binary_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)bVar2 * 2" identifier + (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" ( (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8)" ( (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" * (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" ( (binary_expression "PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2" identifier + (binary_expression "(uint)(byte)pcVar6[3] * 2" (cast_expression "(uint)(byte)pcVar6[3]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar6[3]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar6[3]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (if_statement "if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" if (parenthesized_expression "(pcVar6[4] == '\0')" ( (binary_expression "pcVar6[4] == '\0'" (subscript_expression "pcVar6[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "pcVar11 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "pcVar11 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" { (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) ;) (if_statement "if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" if (parenthesized_expression "(((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3]))" ( (binary_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])" (parenthesized_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2]))" ( (binary_expression "(iVar4 == 2) && (*pcVar11 == pcVar6[2])" (parenthesized_expression "(iVar4 == 2)" ( (binary_expression "iVar4 == 2" identifier == number_literal) )) && (parenthesized_expression "(*pcVar11 == pcVar6[2])" ( (binary_expression "*pcVar11 == pcVar6[2]" (pointer_expression "*pcVar11" * identifier) == (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "(pcVar11[1] == pcVar6[3])" ( (binary_expression "pcVar11[1] == pcVar6[3]" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) == (subscript_expression "pcVar6[3]" identifier [ number_literal ])) ))) )) (compound_statement "{\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" { (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0029d2e8;" goto statement_identifier ;) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0x4f) break;" if (parenthesized_expression "(iVar9 == 0x4f)" ( (binary_expression "iVar9 == 0x4f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" identifier = (cast_expression "(char *)*puVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) })) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (if_statement "if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;" if (parenthesized_expression "((bVar2 != 0x61) || (pcVar6[5] != '\0'))" ( (binary_expression "(bVar2 != 0x61) || (pcVar6[5] != '\0')" (parenthesized_expression "(bVar2 != 0x61)" ( (binary_expression "bVar2 != 0x61" identifier != number_literal) )) || (parenthesized_expression "(pcVar6[5] != '\0')" ( (binary_expression "pcVar6[5] != '\0'" (subscript_expression "pcVar6[5]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (do_statement "do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));" do (compound_statement "{\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (iVar4 == 0x4f) goto LAB_0029d1a4;" if (parenthesized_expression "(iVar4 == 0x4f)" ( (binary_expression "iVar4 == 0x4f" identifier == number_literal) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" identifier = (cast_expression "(char *)*puVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar11)" ( identifier )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) ;) }) while (parenthesized_expression "(((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))))" ( (binary_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" (parenthesized_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2]))" ( (binary_expression "(iVar9 != 3) || (*pcVar11 != pcVar6[2])" (parenthesized_expression "(iVar9 != 3)" ( (binary_expression "iVar9 != 3" identifier != number_literal) )) || (parenthesized_expression "(*pcVar11 != pcVar6[2])" ( (binary_expression "*pcVar11 != pcVar6[2]" (pointer_expression "*pcVar11" * identifier) != (subscript_expression "pcVar6[2]" identifier [ number_literal ])) ))) )) || (parenthesized_expression "((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" ( (parenthesized_expression "(pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))" ( (binary_expression "pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])" (binary_expression "pcVar11[1] != pcVar6[3]" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) != (subscript_expression "pcVar6[3]" identifier [ number_literal ])) || (parenthesized_expression "(pcVar11[2] != pcVar6[4])" ( (binary_expression "pcVar11[2] != pcVar6[4]" (subscript_expression "pcVar11[2]" identifier [ number_literal ]) != (subscript_expression "pcVar6[4]" identifier [ number_literal ])) ))) )) ))) )) ;) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc" identifier + (binary_expression "iVar4 * 0xc" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\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        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }" { (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;) })) (labeled_statement "LAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" statement_identifier : (if_statement "if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" if (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" { (labeled_statement "LAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);" statement_identifier : (expression_statement "FUN_002974f4(param_3,pcVar6);" (call_expression "FUN_002974f4(param_3,pcVar6)" identifier (argument_list "(param_3,pcVar6)" ( identifier , identifier ))) ;)) }))) }))) }) (else_clause "else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" else (compound_statement "{\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" { (if_statement "if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" if (parenthesized_expression "(cVar1 != 'o')" ( (binary_expression "cVar1 != 'o'" identifier != (char_literal "'o'" ' character ')) )) (compound_statement "{\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" { (if_statement "if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;" if (parenthesized_expression "((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e'))))" ( (binary_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" (parenthesized_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y'))" ( (binary_expression "((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')" (parenthesized_expression "((4 < iVar4) && (*pcVar6 == 't'))" ( (binary_expression "(4 < iVar4) && (*pcVar6 == 't')" (parenthesized_expression "(4 < iVar4)" ( (binary_expression "4 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(*pcVar6 == 't')" ( (binary_expression "*pcVar6 == 't'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'t'" ' character ')) ))) )) && (parenthesized_expression "(pcVar6[1] == 'y')" ( (binary_expression "pcVar6[1] == 'y'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) == (char_literal "'y'" ' character ')) ))) )) && (parenthesized_expression "((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" ( (parenthesized_expression "(pcVar6[2] == 'p' && (pcVar6[3] == 'e'))" ( (binary_expression "pcVar6[2] == 'p' && (pcVar6[3] == 'e')" (binary_expression "pcVar6[2] == 'p'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) == (char_literal "'p'" ' character ')) && (parenthesized_expression "(pcVar6[3] == 'e')" ( (binary_expression "pcVar6[3] == 'e'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) == (char_literal "'e'" ' character ')) ))) )) ))) )) (goto_statement "goto LAB_0029d468;" goto statement_identifier ;)) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;) })) (if_statement "if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" if (parenthesized_expression "((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0))" ( (binary_expression "(pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" (parenthesized_expression "(pcVar6[1] != 'p')" ( (binary_expression "pcVar6[1] != 'p'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) )) || (parenthesized_expression "(iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar6[2]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[2]" identifier [ number_literal ])) )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" { (if_statement "if (iVar4 < 5) {\n        return 1;\n      }" if (parenthesized_expression "(iVar4 < 5)" ( (binary_expression "iVar4 < 5" identifier < number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;" if (parenthesized_expression "((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))" ( (binary_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e')" (parenthesized_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p'))" ( (binary_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')" (parenthesized_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y'))" ( (binary_expression "(*pcVar6 != 't') || (pcVar6[1] != 'y')" (parenthesized_expression "(*pcVar6 != 't')" ( (binary_expression "*pcVar6 != 't'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'t'" ' character ')) )) || (parenthesized_expression "(pcVar6[1] != 'y')" ( (binary_expression "pcVar6[1] != 'y'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'y'" ' character ')) ))) )) || (parenthesized_expression "(pcVar6[2] != 'p')" ( (binary_expression "pcVar6[2] != 'p'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) != (char_literal "'p'" ' character ')) ))) )) || (parenthesized_expression "(pcVar6[3] != 'e')" ( (binary_expression "pcVar6[3] != 'e'" (subscript_expression "pcVar6[3]" identifier [ number_literal ]) != (char_literal "'e'" ' character ')) ))) )) (goto_statement "goto LAB_0029d1a4;" goto statement_identifier ;)) (labeled_statement "LAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" statement_identifier : (expression_statement "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" (assignment_expression "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" identifier = (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" ( (pointer_expression "*(code *)PTR_strchr_0043689c" * (cast_expression "(code *)PTR_strchr_0043689c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" identifier + number_literal) , (cast_expression "(int)pcVar6[4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar6[4]" identifier [ number_literal ])) )))) ;)) (if_statement "if (iVar4 == 0) goto LAB_0029d19c;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0029d19c;" goto statement_identifier ;)) (expression_statement "local_2c = pcVar6 + 5;" (assignment_expression "local_2c = pcVar6 + 5" identifier = (binary_expression "pcVar6 + 5" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d488;" goto statement_identifier ;) })) (if_statement "if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" if (parenthesized_expression "((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))" ( (binary_expression "(9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" (parenthesized_expression "(9 < iVar4)" ( (binary_expression "9 < iVar4" number_literal < identifier) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" ( (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" ( (binary_expression "pcVar6 + 3" identifier + number_literal) , (binary_expression "PTR_DAT_0043226c + 0x3eb0" identifier + number_literal) , number_literal )))) , (binary_expression "iVar9 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" { (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" while (parenthesized_expression "((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)))" ( (parenthesized_expression "(iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))" ( (binary_expression "iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" (binary_expression "iVar9 != iVar4 + -10" identifier != (binary_expression "iVar4 + -10" identifier + number_literal)) || (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" ( (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,pcVar6 + 10,iVar9)" ( identifier , (binary_expression "pcVar6 + 10" identifier + number_literal) , identifier )))) , (comma_expression "puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) , (binary_expression "iVar9 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (if_statement "if (iVar8 == 0x4f) {\n          return 1;\n        }" if (parenthesized_expression "(iVar8 == 0x4f)" ( (binary_expression "iVar8 == 0x4f" identifier == number_literal) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" identifier = (cast_expression "(undefined *)*puVar10" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (if_statement "if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }" if (parenthesized_expression "((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'))" ( (binary_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" (parenthesized_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0)" ( (binary_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0" (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" identifier + (binary_expression "iVar8 * 0xc" identifier * number_literal)) + number_literal) )))) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" ( (binary_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'" (pointer_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" identifier + (binary_expression "iVar8 * 0xc" identifier * number_literal)) + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        FUN_002974f4(param_3);\n      }" { (expression_statement "FUN_002974f4(param_3);" (call_expression "FUN_002974f4(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) })) (expression_statement "pcVar6 = PTR_DAT_0043226c + 0x3ef0;" (assignment_expression "pcVar6 = PTR_DAT_0043226c + 0x3ef0" identifier = (binary_expression "PTR_DAT_0043226c + 0x3ef0" identifier + number_literal)) ;) (goto_statement "goto LAB_0029d310;" goto statement_identifier ;) })) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" identifier = (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" identifier + number_literal) )))) ;) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" identifier = (binary_expression "PTR_DAT_0043226c + 0x3dc4" identifier + number_literal)) ;) (while_statement "while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" while (parenthesized_expression "((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)))" ( (parenthesized_expression "(iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))" ( (binary_expression "iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" (binary_expression "iVar8 != iVar4 + -3" identifier != (binary_expression "iVar4 + -3" identifier + number_literal)) || (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" ( (comma_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" identifier = (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" ( (pointer_expression "*(code *)PTR_memcmp_004368dc" * (cast_expression "(code *)PTR_memcmp_004368dc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5,pcVar6 + 3,iVar8)" ( identifier , (binary_expression "pcVar6 + 3" identifier + number_literal) , identifier )))) , (comma_expression "puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" identifier = identifier) , (binary_expression "iVar8 != 0" identifier != number_literal))) ))) )) )) (compound_statement "{\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (if_statement "if (iVar9 == 0x4f) {\n        return 1;\n      }" if (parenthesized_expression "(iVar9 == 0x4f)" ( (binary_expression "iVar9 == 0x4f" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" identifier = (cast_expression "(undefined *)*puVar10" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar10" * identifier))) ;) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5)" identifier = (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" ( (pointer_expression "*(code *)PTR_strlen_0043677c" * (cast_expression "(code *)PTR_strlen_0043677c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar5)" ( identifier )))) ;) })) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" identifier (argument_list "(param_3,puVar5 + 0x3ea4)" ( identifier , (binary_expression "puVar5 + 0x3ea4" identifier + number_literal) ))) ;) (labeled_statement "LAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" statement_identifier : (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" identifier = (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" * (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" ( (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc" identifier + (binary_expression "iVar9 * 0xc" identifier * number_literal)) + number_literal) ))))) ;)) (if_statement "if (pcVar6 != (char *)0x0) goto LAB_0029d304;" 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)) )) (goto_statement "goto LAB_0029d304;" goto statement_identifier ;)) }))) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" identifier = (cast_expression "(char *)*param_3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" identifier = (cast_expression "(char *)param_3[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" statement_identifier : (if_statement "if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" if (parenthesized_expression "(((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.'))" ( (binary_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')" (parenthesized_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6))" ( (binary_expression "(pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)" (parenthesized_expression "(pcVar6 != pcVar7)" ( (binary_expression "pcVar6 != pcVar7" identifier != identifier) )) && (parenthesized_expression "(pcVar7 + -1 == pcVar6)" ( (binary_expression "pcVar7 + -1 == pcVar6" (binary_expression "pcVar7 + -1" identifier + number_literal) == identifier) ))) )) && (parenthesized_expression "(*pcVar6 == '.')" ( (binary_expression "*pcVar6 == '.'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'.'" ' character ')) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) }))) (return_statement "return 1;" return number_literal ;) })))
(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 (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * LIT)) )))) & LIT) )) == LIT) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (subscript_expression IDENT [ LIT ])) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (subscript_expression IDENT [ LIT ])) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) ))) )) ))) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) }))) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (binary_expression IDENT + LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT))) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (binary_expression IDENT + LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT))) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) (compound_statement { (return_statement return LIT ;) }))) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)\n\n{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0029d080(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" (identifier "FUN_0029d080") (parameter_list "(uint *param_1,int *param_2,undefined4 *param_3,int param_4)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (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") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  char cVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined *puVar5;\n  char *pcVar6;\n  char *pcVar7;\n  int iVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  char *pcVar11;\n  int local_38;\n  undefined4 local_34;\n  char *local_2c;\n  \n  if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }\n  FUN_00297260(param_3,1);\n  *(undefined1 *)param_3[1] = 0;\n  *param_2 = param_4 + 2;\n  uVar3 = *param_1;\n  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }\n  pcVar6 = (char *)*param_3;\n  if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }\n  pcVar7 = (char *)param_3[1];\n  iVar4 = (int)pcVar7 - (int)pcVar6;\n  cVar1 = *pcVar6;\n  if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }\n  pcVar6 = (char *)*param_3;\n  pcVar7 = (char *)param_3[1];\nLAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }\n  return 1;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (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 iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "char *local_2c;" (primitive_type "char") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (if_statement "if (param_4 != *param_2) {\n    FUN_00297354(param_3);\n  }" (if "if") (parenthesized_expression "(param_4 != *param_2)" (( "(") (binary_expression "param_4 != *param_2" (identifier "param_4") (!= "!=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n    FUN_00297354(param_3);\n  }" ({ "{") (expression_statement "FUN_00297354(param_3);" (call_expression "FUN_00297354(param_3)" (identifier "FUN_00297354") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00297260(param_3,1);" (call_expression "FUN_00297260(param_3,1)" (identifier "FUN_00297260") (argument_list "(param_3,1)" (( "(") (identifier "param_3") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "*(undefined1 *)param_3[1] = 0;" (assignment_expression "*(undefined1 *)param_3[1] = 0" (pointer_expression "*(undefined1 *)param_3[1]" (* "*") (cast_expression "(undefined1 *)param_3[1]" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = param_4 + 2;" (assignment_expression "*param_2 = param_4 + 2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" (if "if") (parenthesized_expression "(((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X'))" (( "(") (binary_expression "((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')" (parenthesized_expression "((uVar3 & 0x1000) != 0)" (( "(") (binary_expression "(uVar3 & 0x1000) != 0" (parenthesized_expression "(uVar3 & 0x1000)" (( "(") (binary_expression "uVar3 & 0x1000" (identifier "uVar3") (& "&") (number_literal "0x1000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_4 + 2) == 'X')" (( "(") (binary_expression "*(char *)(param_4 + 2) == 'X'" (pointer_expression "*(char *)(param_4 + 2)" (* "*") (cast_expression "(char *)(param_4 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 2)" (( "(") (binary_expression "param_4 + 2" (identifier "param_4") (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'X'" (' "'") (character "X") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    FUN_0029a620(param_1,param_2,0,param_3);\n    uVar3 = *param_1;\n  }" ({ "{") (expression_statement "FUN_0029a620(param_1,param_2,0,param_3);" (call_expression "FUN_0029a620(param_1,param_2,0,param_3)" (identifier "FUN_0029a620") (argument_list "(param_1,param_2,0,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (number_literal "0") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" (identifier "pcVar6") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if ((uVar3 & 0x3c00) != 0) {\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" (if "if") (parenthesized_expression "((uVar3 & 0x3c00) != 0)" (( "(") (binary_expression "(uVar3 & 0x3c00) != 0" (parenthesized_expression "(uVar3 & 0x3c00)" (( "(") (binary_expression "uVar3 & 0x3c00" (identifier "uVar3") (& "&") (number_literal "0x3c00")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);\n    if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);\n    if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }\n  }" ({ "{") (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00436644" (* "*") (cast_expression "(code *)PTR_strcmp_00436644" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00436644"))) () ")")) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee0)" (( "(") (identifier "pcVar6") (, ",") (binary_expression "PTR_DAT_0043226c + 0x3ee0" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3ee0")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[10] = param_1[10] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" ({ "{") (expression_statement "param_1[10] = param_1[10] + 1;" (assignment_expression "param_1[10] = param_1[10] + 1" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "param_1[10] + 1" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);" (assignment_expression "iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8)" (parenthesized_expression "(*(code *)PTR_strcmp_00436644)" (( "(") (pointer_expression "*(code *)PTR_strcmp_00436644" (* "*") (cast_expression "(code *)PTR_strcmp_00436644" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_00436644"))) () ")")) (argument_list "(pcVar6,PTR_DAT_0043226c + 0x3ee8)" (( "(") (identifier "pcVar6") (, ",") (binary_expression "PTR_DAT_0043226c + 0x3ee8" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3ee8")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      param_1[0xb] = param_1[0xb] + 1;\n      param_3[1] = pcVar6;\n      return 1;\n    }" ({ "{") (expression_statement "param_1[0xb] = param_1[0xb] + 1;" (assignment_expression "param_1[0xb] = param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (binary_expression "param_1[0xb] + 1" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_3[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar4 = (int)pcVar7 - (int)pcVar6;" (assignment_expression "iVar4 = (int)pcVar7 - (int)pcVar6" (identifier "iVar4") (= "=") (binary_expression "(int)pcVar7 - (int)pcVar6" (cast_expression "(int)pcVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar7")) (- "-") (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6")))) (; ";")) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" (identifier "cVar1") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (if_statement "if (iVar4 < 3) {\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }\n  else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" (if "if") (parenthesized_expression "(iVar4 < 3)" (( "(") (binary_expression "iVar4 < 3" (identifier "iVar4") (< "<") (number_literal "3")) () ")")) (compound_statement "{\nLAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;\n    bVar2 = pcVar6[2];\n    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }\n  }" ({ "{") (labeled_statement "LAB_0029d19c:\n    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" (statement_identifier "LAB_0029d19c") (: ":") (if_statement "if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;" (if "if") (parenthesized_expression "((cVar1 != '_') || (pcVar6[1] != '_'))" (( "(") (binary_expression "(cVar1 != '_') || (pcVar6[1] != '_')" (parenthesized_expression "(cVar1 != '_')" (( "(") (binary_expression "cVar1 != '_'" (identifier "cVar1") (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[1] != '_')" (( "(") (binary_expression "pcVar6[1] != '_'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";")))) (expression_statement "bVar2 = pcVar6[2];" (assignment_expression "bVar2 = pcVar6[2]" (identifier "bVar2") (= "=") (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }\n    else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" (if "if") (parenthesized_expression "((bVar2 == 0x6f) && (pcVar6[3] == 'p'))" (( "(") (binary_expression "(bVar2 == 0x6f) && (pcVar6[3] == 'p')" (parenthesized_expression "(bVar2 == 0x6f)" (( "(") (binary_expression "bVar2 == 0x6f" (identifier "bVar2") (== "==") (number_literal "0x6f")) () ")")) (&& "&&") (parenthesized_expression "(pcVar6[3] == 'p')" (( "(") (binary_expression "pcVar6[3] == 'p'" (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]")) (== "==") (char_literal "'p'" (' "'") (character "p") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      local_2c = pcVar6 + 4;\nLAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);\n      if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }\n    }" ({ "{") (expression_statement "local_2c = pcVar6 + 4;" (assignment_expression "local_2c = pcVar6 + 4" (identifier "local_2c") (= "=") (binary_expression "pcVar6 + 4" (identifier "pcVar6") (+ "+") (number_literal "4"))) (; ";")) (labeled_statement "LAB_0029d488:\n      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" (statement_identifier "LAB_0029d488") (: ":") (expression_statement "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);" (assignment_expression "iVar4 = FUN_002992fc(param_1,&local_2c,&local_38)" (identifier "iVar4") (= "=") (call_expression "FUN_002992fc(param_1,&local_2c,&local_38)" (identifier "FUN_002992fc") (argument_list "(param_1,&local_2c,&local_38)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (; ";"))) (if_statement "if (iVar4 != 0) {\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar5 = PTR_DAT_0043226c + 0x3e98;\n        param_3[1] = *param_3;\n        FUN_002974f4(param_3,puVar5);\n        FUN_00297748(param_3,&local_38,local_34);\n        if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }\n      }" ({ "{") (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3e98;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3e98" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0043226c + 0x3e98" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3e98"))) (; ";")) (expression_statement "param_3[1] = *param_3;" (assignment_expression "param_3[1] = *param_3" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "FUN_002974f4(param_3,puVar5);" (call_expression "FUN_002974f4(param_3,puVar5)" (identifier "FUN_002974f4") (argument_list "(param_3,puVar5)" (( "(") (identifier "param_3") (, ",") (identifier "puVar5") () ")"))) (; ";")) (expression_statement "FUN_00297748(param_3,&local_38,local_34);" (call_expression "FUN_00297748(param_3,&local_38,local_34)" (identifier "FUN_00297748") (argument_list "(param_3,&local_38,local_34)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "local_34") () ")"))) (; ";")) (if_statement "if (local_38 != 0) {\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" (if "if") (parenthesized_expression "(local_38 != 0)" (( "(") (binary_expression "local_38 != 0" (identifier "local_38") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_free_00436800)();\n          pcVar6 = (char *)*param_3;\n          pcVar7 = (char *)param_3[1];\n          goto LAB_0029d1a4;\n        }" ({ "{") (expression_statement "(*(code *)PTR_free_00436800)();" (call_expression "(*(code *)PTR_free_00436800)()" (parenthesized_expression "(*(code *)PTR_free_00436800)" (( "(") (pointer_expression "*(code *)PTR_free_00436800" (* "*") (cast_expression "(code *)PTR_free_00436800" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00436800"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" (identifier "pcVar6") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_3[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" (else "else") (compound_statement "{\n      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;\n      if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }\n      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;\n      iVar4 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);\n      if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }\nLAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }\n    }" ({ "{") (if_statement "if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))\n      goto LAB_0029d1a4;" (if "if") (parenthesized_expression "(((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))" (( "(") (binary_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||\n         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0)" (( "(") (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8)" (( "(") (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" (* "*") (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)bVar2 * 2)" (( "(") (binary_expression "PTR__sch_istable_004356e0 + (uint)bVar2 * 2" (identifier "PTR__sch_istable_004356e0") (+ "+") (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar2")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0)" (( "(") (binary_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0" (parenthesized_expression "(*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8)" (( "(") (binary_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8" (pointer_expression "*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" (* "*") (cast_expression "(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2)" (( "(") (binary_expression "PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2" (identifier "PTR__sch_istable_004356e0") (+ "+") (binary_expression "(uint)(byte)pcVar6[3] * 2" (cast_expression "(uint)(byte)pcVar6[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)pcVar6[3]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]")))) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";"))) (if_statement "if (pcVar6[4] == '\0') {\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" (if "if") (parenthesized_expression "(pcVar6[4] == '\0')" (( "(") (binary_expression "pcVar6[4] == '\0'" (subscript_expression "pcVar6[4]" (identifier "pcVar6") ([ "[") (number_literal "4") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar4 = 2;\n        iVar9 = 0;\n        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n        pcVar11 = PTR_DAT_0043226c + 0x3dc4;\n        while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }\n        goto LAB_0029d1a4;\n      }" ({ "{") (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "-0x64e0")) () ")")))) (; ";")) (expression_statement "pcVar11 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "pcVar11 = PTR_DAT_0043226c + 0x3dc4" (identifier "pcVar11") (= "=") (binary_expression "PTR_DAT_0043226c + 0x3dc4" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3dc4"))) (; ";")) (while_statement "while( true ) {\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          puVar5 = PTR_DAT_0043226c;\n          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }\n          iVar9 = iVar9 + 1;\n          if (iVar9 == 0x4f) break;\n          pcVar11 = (char *)*puVar10;\n          puVar10 = puVar10 + 3;\n          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        }" ({ "{") (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0043226c")) (; ";")) (if_statement "if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" (if "if") (parenthesized_expression "(((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3]))" (( "(") (binary_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])" (parenthesized_expression "((iVar4 == 2) && (*pcVar11 == pcVar6[2]))" (( "(") (binary_expression "(iVar4 == 2) && (*pcVar11 == pcVar6[2])" (parenthesized_expression "(iVar4 == 2)" (( "(") (binary_expression "iVar4 == 2" (identifier "iVar4") (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar11 == pcVar6[2])" (( "(") (binary_expression "*pcVar11 == pcVar6[2]" (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) (== "==") (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar11[1] == pcVar6[3])" (( "(") (binary_expression "pcVar11[1] == pcVar6[3]" (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]")) (== "==") (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]"))) () ")"))) () ")")) (compound_statement "{\n            param_3[1] = pcVar6;\n            FUN_002974f4(param_3,puVar5 + 0x3ea4);\n            goto LAB_0029d2e8;\n          }" ({ "{") (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" (identifier "FUN_002974f4") (argument_list "(param_3,puVar5 + 0x3ea4)" (( "(") (identifier "param_3") (, ",") (binary_expression "puVar5 + 0x3ea4" (identifier "puVar5") (+ "+") (number_literal "0x3ea4")) () ")"))) (; ";")) (goto_statement "goto LAB_0029d2e8;" (goto "goto") (statement_identifier "LAB_0029d2e8") (; ";")) (} "}"))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar9 == 0x4f) break;" (if "if") (parenthesized_expression "(iVar9 == 0x4f)" (( "(") (binary_expression "iVar9 == 0x4f" (identifier "iVar9") (== "==") (number_literal "0x4f")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" (identifier "pcVar11") (= "=") (cast_expression "(char *)*puVar10" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 3" (identifier "puVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11)" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" (( "(") (pointer_expression "*(code *)PTR_strlen_0043677c" (* "*") (cast_expression "(code *)PTR_strlen_0043677c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0043677c"))) () ")")) (argument_list "(pcVar11)" (( "(") (identifier "pcVar11") () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";")) (} "}"))) (if_statement "if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;" (if "if") (parenthesized_expression "((bVar2 != 0x61) || (pcVar6[5] != '\0'))" (( "(") (binary_expression "(bVar2 != 0x61) || (pcVar6[5] != '\0')" (parenthesized_expression "(bVar2 != 0x61)" (( "(") (binary_expression "bVar2 != 0x61" (identifier "bVar2") (!= "!=") (number_literal "0x61")) () ")")) (|| "||") (parenthesized_expression "(pcVar6[5] != '\0')" (( "(") (binary_expression "pcVar6[5] != '\0'" (subscript_expression "pcVar6[5]" (identifier "pcVar6") ([ "[") (number_literal "5") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "-0x64e0")) () ")")))) (; ";")) (do_statement "do {\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));" (do "do") (compound_statement "{\n        iVar4 = iVar4 + 1;\n        if (iVar4 == 0x4f) goto LAB_0029d1a4;\n        pcVar11 = (char *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);\n        puVar5 = PTR_DAT_0043226c;\n      }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar4 == 0x4f) goto LAB_0029d1a4;" (if "if") (parenthesized_expression "(iVar4 == 0x4f)" (( "(") (binary_expression "iVar4 == 0x4f" (identifier "iVar4") (== "==") (number_literal "0x4f")) () ")")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";"))) (expression_statement "pcVar11 = (char *)*puVar10;" (assignment_expression "pcVar11 = (char *)*puVar10" (identifier "pcVar11") (= "=") (cast_expression "(char *)*puVar10" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 3" (identifier "puVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_0043677c)(pcVar11)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" (( "(") (pointer_expression "*(code *)PTR_strlen_0043677c" (* "*") (cast_expression "(code *)PTR_strlen_0043677c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0043677c"))) () ")")) (argument_list "(pcVar11)" (( "(") (identifier "pcVar11") () ")")))) (; ";")) (expression_statement "puVar5 = PTR_DAT_0043226c;" (assignment_expression "puVar5 = PTR_DAT_0043226c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0043226c")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))))" (( "(") (binary_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||\n              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" (parenthesized_expression "((iVar9 != 3) || (*pcVar11 != pcVar6[2]))" (( "(") (binary_expression "(iVar9 != 3) || (*pcVar11 != pcVar6[2])" (parenthesized_expression "(iVar9 != 3)" (( "(") (binary_expression "iVar9 != 3" (identifier "iVar9") (!= "!=") (number_literal "3")) () ")")) (|| "||") (parenthesized_expression "(*pcVar11 != pcVar6[2])" (( "(") (binary_expression "*pcVar11 != pcVar6[2]" (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11")) (!= "!=") (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])))" (( "(") (parenthesized_expression "(pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))" (( "(") (binary_expression "pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4])" (binary_expression "pcVar11[1] != pcVar6[3]" (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]")) (!= "!=") (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]"))) (|| "||") (parenthesized_expression "(pcVar11[2] != pcVar6[4])" (( "(") (binary_expression "pcVar11[2] != pcVar6[4]" (subscript_expression "pcVar11[2]" (identifier "pcVar11") ([ "[") (number_literal "2") (] "]")) (!= "!=") (subscript_expression "pcVar6[4]" (identifier "pcVar6") ([ "[") (number_literal "4") (] "]"))) () ")"))) () ")")) () ")"))) () ")")) (; ";")) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" (identifier "FUN_002974f4") (argument_list "(param_3,puVar5 + 0x3ea4)" (( "(") (identifier "param_3") (, ",") (binary_expression "puVar5 + 0x3ea4" (identifier "puVar5") (+ "+") (number_literal "0x3ea4")) () ")"))) (; ";")) (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" (identifier "pcVar6") (= "=") (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" (* "*") (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (binary_expression "iVar4 * 0xc" (identifier "iVar4") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0x64e8")) () ")"))))) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) {\n        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\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        pcVar6 = (char *)*param_3;\n        pcVar7 = (char *)param_3[1];\n        goto LAB_0029d1a4;\n      }" ({ "{") (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" (identifier "pcVar6") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_3[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";")) (} "}"))) (labeled_statement "LAB_0029d304:\n      if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" (statement_identifier "LAB_0029d304") (: ":") (if_statement "if (*pcVar6 != '\0') {\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" (if "if") (parenthesized_expression "(*pcVar6 != '\0')" (( "(") (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);\n      }" ({ "{") (labeled_statement "LAB_0029d310:\n        FUN_002974f4(param_3,pcVar6);" (statement_identifier "LAB_0029d310") (: ":") (expression_statement "FUN_002974f4(param_3,pcVar6);" (call_expression "FUN_002974f4(param_3,pcVar6)" (identifier "FUN_002974f4") (argument_list "(param_3,pcVar6)" (( "(") (identifier "param_3") (, ",") (identifier "pcVar6") () ")"))) (; ";"))) (} "}")))) (} "}")))) (} "}")) (else_clause "else {\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" (else "else") (compound_statement "{\n    if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }\n    if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }\n    if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }\n    iVar8 = 2;\n    iVar9 = 0;\n    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n    puVar5 = PTR_DAT_0043226c + 0x3dc4;\n    while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }\n    param_3[1] = pcVar6;\n    FUN_002974f4(param_3,puVar5 + 0x3ea4);\nLAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);\n    if (pcVar6 != (char *)0x0) goto LAB_0029d304;\n  }" ({ "{") (if_statement "if (cVar1 != 'o') {\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" (if "if") (parenthesized_expression "(cVar1 != 'o')" (( "(") (binary_expression "cVar1 != 'o'" (identifier "cVar1") (!= "!=") (char_literal "'o'" (' "'") (character "o") (' "'"))) () ")")) (compound_statement "{\n      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;\n      goto LAB_0029d19c;\n    }" ({ "{") (if_statement "if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;" (if "if") (parenthesized_expression "((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e'))))" (( "(") (binary_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&\n         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" (parenthesized_expression "(((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y'))" (( "(") (binary_expression "((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')" (parenthesized_expression "((4 < iVar4) && (*pcVar6 == 't'))" (( "(") (binary_expression "(4 < iVar4) && (*pcVar6 == 't')" (parenthesized_expression "(4 < iVar4)" (( "(") (binary_expression "4 < iVar4" (number_literal "4") (< "<") (identifier "iVar4")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar6 == 't')" (( "(") (binary_expression "*pcVar6 == 't'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (== "==") (char_literal "'t'" (' "'") (character "t") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar6[1] == 'y')" (( "(") (binary_expression "pcVar6[1] == 'y'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'y'" (' "'") (character "y") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))" (( "(") (parenthesized_expression "(pcVar6[2] == 'p' && (pcVar6[3] == 'e'))" (( "(") (binary_expression "pcVar6[2] == 'p' && (pcVar6[3] == 'e')" (binary_expression "pcVar6[2] == 'p'" (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'p'" (' "'") (character "p") (' "'"))) (&& "&&") (parenthesized_expression "(pcVar6[3] == 'e')" (( "(") (binary_expression "pcVar6[3] == 'e'" (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]")) (== "==") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0029d468;" (goto "goto") (statement_identifier "LAB_0029d468") (; ";"))) (goto_statement "goto LAB_0029d19c;" (goto "goto") (statement_identifier "LAB_0029d19c") (; ";")) (} "}"))) (if_statement "if ((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)) {\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" (if "if") (parenthesized_expression "((pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0))" (( "(") (binary_expression "(pcVar6[1] != 'p') ||\n       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" (parenthesized_expression "(pcVar6[1] != 'p')" (( "(") (binary_expression "pcVar6[1] != 'p'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'p'" (' "'") (character "p") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0)" (( "(") (comma_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),\n       iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0043689c" (* "*") (cast_expression "(code *)PTR_strchr_0043689c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0043689c"))) () ")")) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2])" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "0x20a0")) (, ",") (cast_expression "(int)pcVar6[2]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]"))) () ")")))) (, ",") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (iVar4 < 5) {\n        return 1;\n      }\n      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;\nLAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);\n      if (iVar4 == 0) goto LAB_0029d19c;\n      local_2c = pcVar6 + 5;\n      goto LAB_0029d488;\n    }" ({ "{") (if_statement "if (iVar4 < 5) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar4 < 5)" (( "(") (binary_expression "iVar4 < 5" (identifier "iVar4") (< "<") (number_literal "5")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))\n      goto LAB_0029d1a4;" (if "if") (parenthesized_expression "((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))" (( "(") (binary_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e')" (parenthesized_expression "(((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p'))" (( "(") (binary_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')" (parenthesized_expression "((*pcVar6 != 't') || (pcVar6[1] != 'y'))" (( "(") (binary_expression "(*pcVar6 != 't') || (pcVar6[1] != 'y')" (parenthesized_expression "(*pcVar6 != 't')" (( "(") (binary_expression "*pcVar6 != 't'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (!= "!=") (char_literal "'t'" (' "'") (character "t") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[1] != 'y')" (( "(") (binary_expression "pcVar6[1] != 'y'" (subscript_expression "pcVar6[1]" (identifier "pcVar6") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'y'" (' "'") (character "y") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[2] != 'p')" (( "(") (binary_expression "pcVar6[2] != 'p'" (subscript_expression "pcVar6[2]" (identifier "pcVar6") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'p'" (' "'") (character "p") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6[3] != 'e')" (( "(") (binary_expression "pcVar6[3] != 'e'" (subscript_expression "pcVar6[3]" (identifier "pcVar6") ([ "[") (number_literal "3") (] "]")) (!= "!=") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0029d1a4;" (goto "goto") (statement_identifier "LAB_0029d1a4") (; ";"))) (labeled_statement "LAB_0029d468:\n      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" (statement_identifier "LAB_0029d468") (: ":") (expression_statement "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);" (assignment_expression "iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" (identifier "iVar4") (= "=") (call_expression "(*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" (parenthesized_expression "(*(code *)PTR_strchr_0043689c)" (( "(") (pointer_expression "*(code *)PTR_strchr_0043689c" (* "*") (cast_expression "(code *)PTR_strchr_0043689c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strchr_0043689c"))) () ")")) (argument_list "(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4])" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + 0x20a0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "0x20a0")) (, ",") (cast_expression "(int)pcVar6[4]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar6[4]" (identifier "pcVar6") ([ "[") (number_literal "4") (] "]"))) () ")")))) (; ";"))) (if_statement "if (iVar4 == 0) goto LAB_0029d19c;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0029d19c;" (goto "goto") (statement_identifier "LAB_0029d19c") (; ";"))) (expression_statement "local_2c = pcVar6 + 5;" (assignment_expression "local_2c = pcVar6 + 5" (identifier "local_2c") (= "=") (binary_expression "pcVar6 + 5" (identifier "pcVar6") (+ "+") (number_literal "5"))) (; ";")) (goto_statement "goto LAB_0029d488;" (goto "goto") (statement_identifier "LAB_0029d488") (; ";")) (} "}"))) (if_statement "if ((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))\n    {\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" (if "if") (parenthesized_expression "((9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))" (( "(") (binary_expression "(9 < iVar4) &&\n       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" (parenthesized_expression "(9 < iVar4)" (( "(") (binary_expression "9 < iVar4" (number_literal "9") (< "<") (identifier "iVar4")) () ")")) (&& "&&") (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0)" (( "(") (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" (( "(") (pointer_expression "*(code *)PTR_memcmp_004368dc" (* "*") (cast_expression "(code *)PTR_memcmp_004368dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_004368dc"))) () ")")) (argument_list "(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7)" (( "(") (binary_expression "pcVar6 + 3" (identifier "pcVar6") (+ "+") (number_literal "3")) (, ",") (binary_expression "PTR_DAT_0043226c + 0x3eb0" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3eb0")) (, ",") (number_literal "7") () ")")))) (, ",") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar9 = 2;\n      iVar8 = 0;\n      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);\n      puVar5 = PTR_DAT_0043226c + 0x3dc4;\n      while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }\n      param_3[1] = pcVar6;\n      FUN_002974f4(param_3,puVar5 + 0x3ea4);\n      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }\n      pcVar6 = PTR_DAT_0043226c + 0x3ef0;\n      goto LAB_0029d310;\n    }" ({ "{") (expression_statement "iVar9 = 2;" (assignment_expression "iVar9 = 2" (identifier "iVar9") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "-0x64e0")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0043226c + 0x3dc4" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3dc4"))) (; ";")) (while_statement "while ((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" (while "while") (parenthesized_expression "((iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)))" (( "(") (parenthesized_expression "(iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0))" (( "(") (binary_expression "iVar9 != iVar4 + -10 ||\n             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" (binary_expression "iVar9 != iVar4 + -10" (identifier "iVar9") (!= "!=") (binary_expression "iVar4 + -10" (identifier "iVar4") (+ "+") (number_literal "-10"))) (|| "||") (parenthesized_expression "(iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0)" (( "(") (comma_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),\n             puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" (( "(") (pointer_expression "*(code *)PTR_memcmp_004368dc" (* "*") (cast_expression "(code *)PTR_memcmp_004368dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_004368dc"))) () ")")) (argument_list "(puVar5,pcVar6 + 10,iVar9)" (( "(") (identifier "puVar5") (, ",") (binary_expression "pcVar6 + 10" (identifier "pcVar6") (+ "+") (number_literal "10")) (, ",") (identifier "iVar9") () ")")))) (, ",") (comma_expression "puVar5 = PTR_DAT_0043226c, iVar9 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0043226c")) (, ",") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")))) () ")"))) () ")")) () ")")) (compound_statement "{\n        iVar8 = iVar8 + 1;\n        if (iVar8 == 0x4f) {\n          return 1;\n        }\n        puVar5 = (undefined *)*puVar10;\n        puVar10 = puVar10 + 3;\n        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);\n      }" ({ "{") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar8 == 0x4f) {\n          return 1;\n        }" (if "if") (parenthesized_expression "(iVar8 == 0x4f)" (( "(") (binary_expression "iVar8 == 0x4f" (identifier "iVar8") (== "==") (number_literal "0x4f")) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" (identifier "puVar5") (= "=") (cast_expression "(undefined *)*puVar10" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 3" (identifier "puVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" (( "(") (pointer_expression "*(code *)PTR_strlen_0043677c" (* "*") (cast_expression "(code *)PTR_strlen_0043677c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0043677c"))) () ")")) (argument_list "(puVar5)" (( "(") (identifier "puVar5") () ")")))) (; ";")) (} "}"))) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" (identifier "FUN_002974f4") (argument_list "(param_3,puVar5 + 0x3ea4)" (( "(") (identifier "param_3") (, ",") (binary_expression "puVar5 + 0x3ea4" (identifier "puVar5") (+ "+") (number_literal "0x3ea4")) () ")"))) (; ";")) (if_statement "if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {\n        FUN_002974f4(param_3);\n      }" (if "if") (parenthesized_expression "((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'))" (( "(") (binary_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&\n         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" (parenthesized_expression "(*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0)" (( "(") (binary_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0" (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (* "*") (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (binary_expression "iVar8 * 0xc" (identifier "iVar8") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0x64e8")) () ")")))) (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')" (( "(") (binary_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0'" (pointer_expression "**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (* "*") (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (* "*") (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (binary_expression "iVar8 * 0xc" (identifier "iVar8") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0x64e8")) () ")"))))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        FUN_002974f4(param_3);\n      }" ({ "{") (expression_statement "FUN_002974f4(param_3);" (call_expression "FUN_002974f4(param_3)" (identifier "FUN_002974f4") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar6 = PTR_DAT_0043226c + 0x3ef0;" (assignment_expression "pcVar6 = PTR_DAT_0043226c + 0x3ef0" (identifier "pcVar6") (= "=") (binary_expression "PTR_DAT_0043226c + 0x3ef0" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3ef0"))) (; ";")) (goto_statement "goto LAB_0029d310;" (goto "goto") (statement_identifier "LAB_0029d310") (; ";")) (} "}"))) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" (identifier "iVar8") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);" (assignment_expression "puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + -0x64e0)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + -0x64e0" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (number_literal "-0x64e0")) () ")")))) (; ";")) (expression_statement "puVar5 = PTR_DAT_0043226c + 0x3dc4;" (assignment_expression "puVar5 = PTR_DAT_0043226c + 0x3dc4" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_0043226c + 0x3dc4" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "0x3dc4"))) (; ";")) (while_statement "while ((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" (while "while") (parenthesized_expression "((iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)))" (( "(") (parenthesized_expression "(iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0))" (( "(") (binary_expression "iVar8 != iVar4 + -3 ||\n           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" (binary_expression "iVar8 != iVar4 + -3" (identifier "iVar8") (!= "!=") (binary_expression "iVar4 + -3" (identifier "iVar4") (+ "+") (number_literal "-3"))) (|| "||") (parenthesized_expression "(iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0)" (( "(") (comma_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),\n           puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8)" (parenthesized_expression "(*(code *)PTR_memcmp_004368dc)" (( "(") (pointer_expression "*(code *)PTR_memcmp_004368dc" (* "*") (cast_expression "(code *)PTR_memcmp_004368dc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_004368dc"))) () ")")) (argument_list "(puVar5,pcVar6 + 3,iVar8)" (( "(") (identifier "puVar5") (, ",") (binary_expression "pcVar6 + 3" (identifier "pcVar6") (+ "+") (number_literal "3")) (, ",") (identifier "iVar8") () ")")))) (, ",") (comma_expression "puVar5 = PTR_DAT_0043226c, iVar8 != 0" (assignment_expression "puVar5 = PTR_DAT_0043226c" (identifier "puVar5") (= "=") (identifier "PTR_DAT_0043226c")) (, ",") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")))) () ")"))) () ")")) () ")")) (compound_statement "{\n      iVar9 = iVar9 + 1;\n      if (iVar9 == 0x4f) {\n        return 1;\n      }\n      puVar5 = (undefined *)*puVar10;\n      puVar10 = puVar10 + 3;\n      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);\n    }" ({ "{") (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar9 == 0x4f) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar9 == 0x4f)" (( "(") (binary_expression "iVar9 == 0x4f" (identifier "iVar9") (== "==") (number_literal "0x4f")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar5 = (undefined *)*puVar10;" (assignment_expression "puVar5 = (undefined *)*puVar10" (identifier "puVar5") (= "=") (cast_expression "(undefined *)*puVar10" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar10" (* "*") (identifier "puVar10")))) (; ";")) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 3" (identifier "puVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);" (assignment_expression "iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5)" (identifier "iVar8") (= "=") (call_expression "(*(code *)PTR_strlen_0043677c)(puVar5)" (parenthesized_expression "(*(code *)PTR_strlen_0043677c)" (( "(") (pointer_expression "*(code *)PTR_strlen_0043677c" (* "*") (cast_expression "(code *)PTR_strlen_0043677c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0043677c"))) () ")")) (argument_list "(puVar5)" (( "(") (identifier "puVar5") () ")")))) (; ";")) (} "}"))) (expression_statement "param_3[1] = pcVar6;" (assignment_expression "param_3[1] = pcVar6" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "FUN_002974f4(param_3,puVar5 + 0x3ea4);" (call_expression "FUN_002974f4(param_3,puVar5 + 0x3ea4)" (identifier "FUN_002974f4") (argument_list "(param_3,puVar5 + 0x3ea4)" (( "(") (identifier "param_3") (, ",") (binary_expression "puVar5 + 0x3ea4" (identifier "puVar5") (+ "+") (number_literal "0x3ea4")) () ")"))) (; ";")) (labeled_statement "LAB_0029d2e8:\n    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" (statement_identifier "LAB_0029d2e8") (: ":") (expression_statement "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);" (assignment_expression "pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" (identifier "pcVar6") (= "=") (pointer_expression "*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" (* "*") (cast_expression "(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8)" (( "(") (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8" (binary_expression "PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc" (identifier "PTR_PTR__wfilebuf_004321f8") (+ "+") (binary_expression "iVar9 * 0xc" (identifier "iVar9") (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0x64e8")) () ")"))))) (; ";"))) (if_statement "if (pcVar6 != (char *)0x0) goto LAB_0029d304;" (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"))) () ")")) (goto_statement "goto LAB_0029d304;" (goto "goto") (statement_identifier "LAB_0029d304") (; ";"))) (} "}")))) (expression_statement "pcVar6 = (char *)*param_3;" (assignment_expression "pcVar6 = (char *)*param_3" (identifier "pcVar6") (= "=") (cast_expression "(char *)*param_3" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (expression_statement "pcVar7 = (char *)param_3[1];" (assignment_expression "pcVar7 = (char *)param_3[1]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_3[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (labeled_statement "LAB_0029d1a4:\n  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" (statement_identifier "LAB_0029d1a4") (: ":") (if_statement "if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.'))" (( "(") (binary_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')" (parenthesized_expression "((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6))" (( "(") (binary_expression "(pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)" (parenthesized_expression "(pcVar6 != pcVar7)" (( "(") (binary_expression "pcVar6 != pcVar7" (identifier "pcVar6") (!= "!=") (identifier "pcVar7")) () ")")) (&& "&&") (parenthesized_expression "(pcVar7 + -1 == pcVar6)" (( "(") (binary_expression "pcVar7 + -1 == pcVar6" (binary_expression "pcVar7 + -1" (identifier "pcVar7") (+ "+") (number_literal "-1")) (== "==") (identifier "pcVar6")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar6 == '.')" (( "(") (binary_expression "*pcVar6 == '.'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int function_1(type_1 *work,char **mangled,type_2 *declp,char *var_4)

{
  char var_8;
  type_3 var_9;
  type_4 var_5;
  int var_1;
  char *var_10;
  char *var_20;
  int var_19;
  int var_17;
  type_5 *var_18;
  char *pcVar10;
  type_6 *var_16;
  type_2 type;
  char *tem;
  
  var_1 = (int)var_4 - (int)*mangled;
  if (var_1 != 0) {
    var_2(declp,*mangled,var_1);
  }
  var_3(declp,1);
  *declp->p = '\0';
  *mangled = var_4 + 2;
  var_5 = work->options;
  if (((var_5 & 0x1000) != 0) && (var_4[2] == 'X')) {
    var_6(work,mangled,0,declp);
    var_5 = work->options;
  }
  var_10 = declp->b;
  if ((var_5 & 0x3c00) != 0) {
    var_1 = (*(type_7 *)PTR_strcmp_00436644)(var_10,var_7 + 0x3ee0);
    if (var_1 == 0) {
      work->constructor = work->constructor + 1;
      declp->p = var_10;
      return 1;
    }
    var_1 = (*(type_7 *)PTR_strcmp_00436644)(var_10,var_7 + 0x3ee8);
    if (var_1 == 0) {
      work->destructor = work->destructor + 1;
      declp->p = var_10;
      return 1;
    }
  }
  var_20 = declp->p;
  var_1 = (int)var_20 - (int)var_10;
  var_8 = *var_10;
  if (var_1 < 3) {
LAB_0029d19c:
    if ((var_8 != '_') || (var_10[1] != '_')) goto LAB_0029d1a4;
    var_9 = var_10[2];
    if ((var_9 == 0x6f) && (var_10[3] == 'p')) {
      tem = var_10 + 4;
LAB_0029d488:
      var_1 = var_11(work,&tem,&type);
      if (var_1 != 0) {
        var_10 = var_7 + 0x3e98;
        declp->p = declp->b;
        var_12(declp,var_10);
        var_13(declp,&type,(type_2 *)type.p);
        if (type.b != (char *)0x0) {
          (*(type_7 *)PTR_free_00436800)();
          var_10 = declp->b;
          var_20 = declp->p;
          goto LAB_0029d1a4;
        }
      }
    }
    else {
      if (((*(type_8 *)(var_14 + (type_4)var_9 * 2) & 8) == 0) ||
         ((*(type_8 *)(var_14 + (type_4)(type_3)var_10[3] * 2) & 8) == 0))
      goto LAB_0029d1a4;
      if (var_10[4] == '\0') {
        var_1 = 2;
        var_17 = 0;
        var_18 = (type_5 *)(var_15 + -0x64e0);
        pcVar10 = var_7 + 0x3dc4;
        while( true ) {
          var_16 = var_7;
          if (((var_1 == 2) && (*pcVar10 == var_10[2])) && (pcVar10[1] == var_10[3])) {
            declp->p = var_10;
            var_12(declp,var_16 + 0x3ea4);
            goto LAB_0029d2e8;
          }
          var_17 = var_17 + 1;
          if (var_17 == 0x4f) break;
          pcVar10 = (char *)*var_18;
          var_18 = var_18 + 3;
          var_1 = (*(type_7 *)PTR_strlen_0043677c)(pcVar10);
        }
        goto LAB_0029d1a4;
      }
      if ((var_9 != 0x61) || (var_10[5] != '\0')) goto LAB_0029d1a4;
      var_1 = 0;
      var_18 = (type_5 *)(var_15 + -0x64e0);
      do {
        var_1 = var_1 + 1;
        if (var_1 == 0x4f) goto LAB_0029d1a4;
        pcVar10 = (char *)*var_18;
        var_18 = var_18 + 3;
        var_17 = (*(type_7 *)PTR_strlen_0043677c)(pcVar10);
        var_16 = var_7;
      } while (((var_17 != 3) || (*pcVar10 != var_10[2])) ||
              ((pcVar10[1] != var_10[3] || (pcVar10[2] != var_10[4]))));
      declp->p = var_10;
      var_12(declp,var_16 + 0x3ea4);
      var_10 = *(char **)(var_15 + var_1 * 0xc + -0x64e8);
      if (var_10 == (char *)0x0) {
        var_10 = declp->b;
        var_20 = declp->p;
        goto LAB_0029d1a4;
      }
LAB_0029d304:
      if (*var_10 != '\0') {
LAB_0029d310:
        var_12(declp,var_10);
      }
    }
  }
  else {
    if (var_8 != 'o') {
      if ((((4 < var_1) && (*var_10 == 't')) && (var_10[1] == 'y')) &&
         ((var_10[2] == 'p' && (var_10[3] == 'e')))) goto LAB_0029d468;
      goto LAB_0029d19c;
    }
    if ((var_10[1] != 'p') ||
       (var_17 = (*(type_7 *)PTR_strchr_0043689c)(var_15 + 0x20a0,(int)var_10[2]),
       var_17 == 0)) {
      if (var_1 < 5) {
        return 1;
      }
      if ((((*var_10 != 't') || (var_10[1] != 'y')) || (var_10[2] != 'p')) || (var_10[3] != 'e'))
      goto LAB_0029d1a4;
LAB_0029d468:
      var_1 = (*(type_7 *)PTR_strchr_0043689c)(var_15 + 0x20a0,(int)var_10[4]);
      if (var_1 == 0) goto LAB_0029d19c;
      tem = var_10 + 5;
      goto LAB_0029d488;
    }
    if ((9 < var_1) &&
       (var_17 = (*(type_7 *)PTR_memcmp_004368dc)(var_10 + 3,var_7 + 0x3eb0,7), var_17 == 0))
    {
      var_17 = 2;
      var_19 = 0;
      var_18 = (type_5 *)(var_15 + -0x64e0);
      var_16 = var_7 + 0x3dc4;
      while ((var_17 != var_1 + -10 ||
             (var_17 = (*(type_7 *)PTR_memcmp_004368dc)(var_16,var_10 + 10,var_17),
             var_16 = var_7, var_17 != 0))) {
        var_19 = var_19 + 1;
        if (var_19 == 0x4f) {
          return 1;
        }
        var_16 = (type_6 *)*var_18;
        var_18 = var_18 + 3;
        var_17 = (*(type_7 *)PTR_strlen_0043677c)(var_16);
      }
      declp->p = var_10;
      var_12(declp,var_16 + 0x3ea4);
      var_10 = *(char **)(var_15 + var_19 * 0xc + -0x64e8);
      if ((var_10 != (char *)0x0) && (*var_10 != '\0')) {
        var_12(declp,var_10);
      }
      var_10 = var_7 + 0x3ef0;
      goto LAB_0029d310;
    }
    var_19 = 2;
    var_17 = 0;
    var_18 = (type_5 *)(var_15 + -0x64e0);
    var_16 = var_7 + 0x3dc4;
    while ((var_19 != var_1 + -3 ||
           (var_19 = (*(type_7 *)PTR_memcmp_004368dc)(var_16,var_10 + 3,var_19),
           var_16 = var_7, var_19 != 0))) {
      var_17 = var_17 + 1;
      if (var_17 == 0x4f) {
        return 1;
      }
      var_16 = (type_6 *)*var_18;
      var_18 = var_18 + 3;
      var_19 = (*(type_7 *)PTR_strlen_0043677c)(var_16);
    }
    declp->p = var_10;
    var_12(declp,var_16 + 0x3ea4);
LAB_0029d2e8:
    var_10 = *(char **)(var_15 + var_17 * 0xc + -0x64e8);
    if (var_10 != (char *)0x0) goto LAB_0029d304;
  }
  var_10 = declp->b;
  var_20 = declp->p;
LAB_0029d1a4:
  if (((var_10 != var_20) && (var_20 + -1 == var_10)) && (*var_10 == '.')) {
    return 0;
  }
  return 1;
}


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

undefined4 MASKED(uint *param_1,int *param_2,undefined4 *param_3,int param_4)

{
  char cVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  undefined *puVar5;
  char *pcVar6;
  char *pcVar7;
  int iVar8;
  int iVar9;
  undefined4 *puVar10;
  char *pcVar11;
  int local_38;
  undefined4 local_34;
  char *local_2c;
  
  if (param_4 != *param_2) {
    FUN_00297354(param_3);
  }
  FUN_00297260(param_3,1);
  *(undefined1 *)param_3[1] = 0;
  *param_2 = param_4 + 2;
  uVar3 = *param_1;
  if (((uVar3 & 0x1000) != 0) && (*(char *)(param_4 + 2) == 'X')) {
    FUN_0029a620(param_1,param_2,0,param_3);
    uVar3 = *param_1;
  }
  pcVar6 = (char *)*param_3;
  if ((uVar3 & 0x3c00) != 0) {
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee0);
    if (iVar4 == 0) {
      param_1[10] = param_1[10] + 1;
      param_3[1] = pcVar6;
      return 1;
    }
    iVar4 = (*(code *)PTR_strcmp_00436644)(pcVar6,PTR_DAT_0043226c + 0x3ee8);
    if (iVar4 == 0) {
      param_1[0xb] = param_1[0xb] + 1;
      param_3[1] = pcVar6;
      return 1;
    }
  }
  pcVar7 = (char *)param_3[1];
  iVar4 = (int)pcVar7 - (int)pcVar6;
  cVar1 = *pcVar6;
  if (iVar4 < 3) {
LAB_0029d19c:
    if ((cVar1 != '_') || (pcVar6[1] != '_')) goto LAB_0029d1a4;
    bVar2 = pcVar6[2];
    if ((bVar2 == 0x6f) && (pcVar6[3] == 'p')) {
      local_2c = pcVar6 + 4;
LAB_0029d488:
      iVar4 = FUN_002992fc(param_1,&local_2c,&local_38);
      if (iVar4 != 0) {
        puVar5 = PTR_DAT_0043226c + 0x3e98;
        param_3[1] = *param_3;
        FUN_002974f4(param_3,puVar5);
        FUN_00297748(param_3,&local_38,local_34);
        if (local_38 != 0) {
          (*(code *)PTR_free_00436800)();
          pcVar6 = (char *)*param_3;
          pcVar7 = (char *)param_3[1];
          goto LAB_0029d1a4;
        }
      }
    }
    else {
      if (((*(ushort *)(PTR__sch_istable_004356e0 + (uint)bVar2 * 2) & 8) == 0) ||
         ((*(ushort *)(PTR__sch_istable_004356e0 + (uint)(byte)pcVar6[3] * 2) & 8) == 0))
      goto LAB_0029d1a4;
      if (pcVar6[4] == '\0') {
        iVar4 = 2;
        iVar9 = 0;
        puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
        pcVar11 = PTR_DAT_0043226c + 0x3dc4;
        while( true ) {
          puVar5 = PTR_DAT_0043226c;
          if (((iVar4 == 2) && (*pcVar11 == pcVar6[2])) && (pcVar11[1] == pcVar6[3])) {
            param_3[1] = pcVar6;
            FUN_002974f4(param_3,puVar5 + 0x3ea4);
            goto LAB_0029d2e8;
          }
          iVar9 = iVar9 + 1;
          if (iVar9 == 0x4f) break;
          pcVar11 = (char *)*puVar10;
          puVar10 = puVar10 + 3;
          iVar4 = (*(code *)PTR_strlen_0043677c)(pcVar11);
        }
        goto LAB_0029d1a4;
      }
      if ((bVar2 != 0x61) || (pcVar6[5] != '\0')) goto LAB_0029d1a4;
      iVar4 = 0;
      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      do {
        iVar4 = iVar4 + 1;
        if (iVar4 == 0x4f) goto LAB_0029d1a4;
        pcVar11 = (char *)*puVar10;
        puVar10 = puVar10 + 3;
        iVar9 = (*(code *)PTR_strlen_0043677c)(pcVar11);
        puVar5 = PTR_DAT_0043226c;
      } while (((iVar9 != 3) || (*pcVar11 != pcVar6[2])) ||
              ((pcVar11[1] != pcVar6[3] || (pcVar11[2] != pcVar6[4]))));
      param_3[1] = pcVar6;
      FUN_002974f4(param_3,puVar5 + 0x3ea4);
      pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar4 * 0xc + -0x64e8);
      if (pcVar6 == (char *)0x0) {
        pcVar6 = (char *)*param_3;
        pcVar7 = (char *)param_3[1];
        goto LAB_0029d1a4;
      }
LAB_0029d304:
      if (*pcVar6 != '\0') {
LAB_0029d310:
        FUN_002974f4(param_3,pcVar6);
      }
    }
  }
  else {
    if (cVar1 != 'o') {
      if ((((4 < iVar4) && (*pcVar6 == 't')) && (pcVar6[1] == 'y')) &&
         ((pcVar6[2] == 'p' && (pcVar6[3] == 'e')))) goto LAB_0029d468;
      goto LAB_0029d19c;
    }
    if ((pcVar6[1] != 'p') ||
       (iVar9 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[2]),
       iVar9 == 0)) {
      if (iVar4 < 5) {
        return 1;
      }
      if ((((*pcVar6 != 't') || (pcVar6[1] != 'y')) || (pcVar6[2] != 'p')) || (pcVar6[3] != 'e'))
      goto LAB_0029d1a4;
LAB_0029d468:
      iVar4 = (*(code *)PTR_strchr_0043689c)(PTR_PTR__wfilebuf_004321f8 + 0x20a0,(int)pcVar6[4]);
      if (iVar4 == 0) goto LAB_0029d19c;
      local_2c = pcVar6 + 5;
      goto LAB_0029d488;
    }
    if ((9 < iVar4) &&
       (iVar9 = (*(code *)PTR_memcmp_004368dc)(pcVar6 + 3,PTR_DAT_0043226c + 0x3eb0,7), iVar9 == 0))
    {
      iVar9 = 2;
      iVar8 = 0;
      puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
      puVar5 = PTR_DAT_0043226c + 0x3dc4;
      while ((iVar9 != iVar4 + -10 ||
             (iVar9 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 10,iVar9),
             puVar5 = PTR_DAT_0043226c, iVar9 != 0))) {
        iVar8 = iVar8 + 1;
        if (iVar8 == 0x4f) {
          return 1;
        }
        puVar5 = (undefined *)*puVar10;
        puVar10 = puVar10 + 3;
        iVar9 = (*(code *)PTR_strlen_0043677c)(puVar5);
      }
      param_3[1] = pcVar6;
      FUN_002974f4(param_3,puVar5 + 0x3ea4);
      if ((*(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != (char *)0x0) &&
         (**(char **)(PTR_PTR__wfilebuf_004321f8 + iVar8 * 0xc + -0x64e8) != '\0')) {
        FUN_002974f4(param_3);
      }
      pcVar6 = PTR_DAT_0043226c + 0x3ef0;
      goto LAB_0029d310;
    }
    iVar8 = 2;
    iVar9 = 0;
    puVar10 = (undefined4 *)(PTR_PTR__wfilebuf_004321f8 + -0x64e0);
    puVar5 = PTR_DAT_0043226c + 0x3dc4;
    while ((iVar8 != iVar4 + -3 ||
           (iVar8 = (*(code *)PTR_memcmp_004368dc)(puVar5,pcVar6 + 3,iVar8),
           puVar5 = PTR_DAT_0043226c, iVar8 != 0))) {
      iVar9 = iVar9 + 1;
      if (iVar9 == 0x4f) {
        return 1;
      }
      puVar5 = (undefined *)*puVar10;
      puVar10 = puVar10 + 3;
      iVar8 = (*(code *)PTR_strlen_0043677c)(puVar5);
    }
    param_3[1] = pcVar6;
    FUN_002974f4(param_3,puVar5 + 0x3ea4);
LAB_0029d2e8:
    pcVar6 = *(char **)(PTR_PTR__wfilebuf_004321f8 + iVar9 * 0xc + -0x64e8);
    if (pcVar6 != (char *)0x0) goto LAB_0029d304;
  }
  pcVar6 = (char *)*param_3;
  pcVar7 = (char *)param_3[1];
LAB_0029d1a4:
  if (((pcVar6 != pcVar7) && (pcVar7 + -1 == pcVar6)) && (*pcVar6 == '.')) {
    return 0;
  }
  return 1;
}

