
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, std::string&) */

istream * std::operator>>(istream *param_1,string *param_2)

{
  byte bVar1;
  int iVar2;
  ctype *pcVar3;
  uint uVar4;
  int iVar5;
  string sVar7;
  istream *piVar6;
  uint uVar8;
  uint uVar9;
  byte *pbVar10;
  char *pcVar11;
  int *piVar12;
  byte *pbVar13;
  uint uVar14;
  uint uVar15;
  locale alStack_38 [4];
  char local_34 [4];
  int local_30;
  string *local_2c;
  
  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);
  if (local_34[0] == '\0') {
    iVar2 = *(int *)param_1;
    uVar8 = 4;
  }
  else {
    *(undefined4 *)(param_2 + 4) = 0;
    **(undefined1 **)param_2 = 0;
    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);
    if ((int)uVar15 < 1) {
      uVar15 = 0x7fffffff;
    }
    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));
                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */
    pcVar3 = use_facet<std::ctype<char>>(alStack_38);
    locale::~locale(alStack_38);
    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);
    if ((string *)piVar12[2] < (string *)piVar12[3]) {
      sVar7 = *(string *)piVar12[2];
      uVar4 = (uint)(byte)sVar7;
    }
    else {
                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */
      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);
      if (uVar8 == 0xffffffff) {
        iVar2 = *(int *)param_1;
        uVar8 = 6;
        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
        goto LAB_00331e6c;
      }
      uVar4 = uVar8 & 0xff;
      sVar7 = SUB41(uVar8,0);
    }
    iVar2 = *(int *)(pcVar3 + 0x18);
    uVar14 = 0;
    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {
      local_2c = param_2 + 8;
      local_30 = 0x7fffffff;
      do {
        pcVar11 = (char *)piVar12[2];
        iVar5 = uVar15 - uVar14;
        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {
          iVar5 = piVar12[3] - (int)pcVar11;
        }
        uVar8 = *(uint *)(param_2 + 4);
        if (iVar5 < 2) {
          uVar4 = uVar8 + 1;
          if (*(string **)param_2 == local_2c) {
            uVar9 = 0xf;
          }
          else {
            uVar9 = *(uint *)(param_2 + 8);
          }
          if (uVar9 < uVar4) {
            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);
            *(string *)(*(int *)param_2 + uVar8) = sVar7;
            *(uint *)(param_2 + 4) = uVar4;
            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
            pbVar13 = (byte *)piVar12[2];
            pbVar10 = (byte *)piVar12[3];
            if (pbVar10 <= pbVar13) goto LAB_00332150;
LAB_003320e4:
            pbVar13 = pbVar13 + 1;
            piVar12[2] = (int)pbVar13;
LAB_003320ec:
            uVar14 = uVar14 + 1;
            if (pbVar13 < pbVar10) {
              bVar1 = *pbVar13;
              goto LAB_00332050;
            }
            goto LAB_00332188;
          }
          (*(string **)param_2)[uVar8] = sVar7;
          *(uint *)(param_2 + 4) = uVar4;
          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
          pbVar13 = (byte *)piVar12[2];
          pbVar10 = (byte *)piVar12[3];
          if (pbVar13 < pbVar10) goto LAB_003320e4;
LAB_00332150:
          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);
          if (iVar2 != -1) {
            pbVar13 = (byte *)piVar12[2];
            pbVar10 = (byte *)piVar12[3];
            goto LAB_003320ec;
          }
          iVar2 = *(int *)param_1;
LAB_00332170:
          uVar8 = 2;
          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
          goto LAB_00331e6c;
        }
        if (pcVar11 + 1 < pcVar11 + iVar5) {
          pbVar13 = (byte *)(pcVar11 + 2);
          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {
            while ((pbVar13 < pcVar11 + iVar5 &&
                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {
              pbVar13 = pbVar13 + 1;
            }
            uVar4 = (int)pbVar13 - (int)pcVar11;
          }
          else {
            uVar4 = 1;
          }
        }
        else {
          uVar4 = 1;
        }
        if (local_30 - uVar8 < uVar4) {
                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */
          piVar6 = (istream *)
                   (*(code *)PTR___throw_length_error_004c1e74)
                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
          return piVar6;
        }
                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */
        string::_M_append(param_2,pcVar11,uVar4);
        uVar14 = uVar14 + uVar4;
        pbVar13 = (byte *)(piVar12[2] + uVar4);
        piVar12[2] = (int)pbVar13;
        if (pbVar13 < (byte *)piVar12[3]) {
          bVar1 = *pbVar13;
LAB_00332050:
          uVar8 = (uint)bVar1;
          uVar4 = uVar8;
          if (uVar15 <= uVar14) {
            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;
            return param_1;
          }
        }
        else {
LAB_00332188:
          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);
          if (uVar15 <= uVar14) {
            iVar2 = *(int *)param_1;
            if (uVar8 != 0xffffffff) {
              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
              return param_1;
            }
            goto LAB_00332170;
          }
          if (uVar8 == 0xffffffff) {
            iVar2 = *(int *)param_1;
            uVar8 = 6;
            if (uVar14 != 0) {
              uVar8 = 2;
            }
            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
            goto LAB_00331e6c;
          }
          uVar4 = uVar8 & 0xff;
        }
        iVar2 = *(int *)(pcVar3 + 0x18);
        sVar7 = SUB41(uVar8,0);
        uVar8 = 4;
      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);
      iVar2 = *(int *)param_1;
      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
      if (uVar14 != 0) {
        return param_1;
      }
    }
    else {
      iVar2 = *(int *)param_1;
      uVar8 = 4;
      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
    }
  }
LAB_00331e6c:
  (*(code *)PTR_clear_004c22b8)
            (param_1 + *(int *)(iVar2 + -0xc),
             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14));
  return param_1;
}



int * FUN_00331e00(int *param_1,string *param_2)

{
  byte bVar1;
  int iVar2;
  ctype *pcVar3;
  uint uVar4;
  int iVar5;
  string sVar6;
  uint uVar7;
  uint uVar8;
  byte *pbVar9;
  char *pcVar10;
  int *piVar11;
  byte *pbVar12;
  uint uVar13;
  uint uVar14;
  locale alStack_38 [4];
  char local_34 [4];
  int local_30;
  string *local_2c;
  
  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);
  if (local_34[0] == '\0') {
    iVar2 = *param_1;
    uVar7 = 4;
  }
  else {
    *(undefined4 *)(param_2 + 4) = 0;
    **(undefined1 **)param_2 = 0;
    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);
    if ((int)uVar14 < 1) {
      uVar14 = 0x7fffffff;
    }
    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));
                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */
    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);
    std::locale::~locale(alStack_38);
    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    if ((string *)piVar11[2] < (string *)piVar11[3]) {
      sVar6 = *(string *)piVar11[2];
      uVar4 = (uint)(byte)sVar6;
    }
    else {
                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */
      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);
      if (uVar7 == 0xffffffff) {
        iVar2 = *param_1;
        uVar7 = 6;
        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
        goto LAB_00331e6c;
      }
      uVar4 = uVar7 & 0xff;
      sVar6 = SUB41(uVar7,0);
    }
    iVar2 = *(int *)(pcVar3 + 0x18);
    uVar13 = 0;
    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {
      local_2c = param_2 + 8;
      local_30 = 0x7fffffff;
      do {
        pcVar10 = (char *)piVar11[2];
        iVar5 = uVar14 - uVar13;
        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {
          iVar5 = piVar11[3] - (int)pcVar10;
        }
        uVar7 = *(uint *)(param_2 + 4);
        if (iVar5 < 2) {
          uVar4 = uVar7 + 1;
          if (*(string **)param_2 == local_2c) {
            uVar8 = 0xf;
          }
          else {
            uVar8 = *(uint *)(param_2 + 8);
          }
          if (uVar8 < uVar4) {
            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);
            *(string *)(*(int *)param_2 + uVar7) = sVar6;
            *(uint *)(param_2 + 4) = uVar4;
            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
            pbVar12 = (byte *)piVar11[2];
            pbVar9 = (byte *)piVar11[3];
            if (pbVar9 <= pbVar12) goto LAB_00332150;
LAB_003320e4:
            pbVar12 = pbVar12 + 1;
            piVar11[2] = (int)pbVar12;
LAB_003320ec:
            uVar13 = uVar13 + 1;
            if (pbVar12 < pbVar9) {
              bVar1 = *pbVar12;
              goto LAB_00332050;
            }
            goto LAB_00332188;
          }
          (*(string **)param_2)[uVar7] = sVar6;
          *(uint *)(param_2 + 4) = uVar4;
          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
          pbVar12 = (byte *)piVar11[2];
          pbVar9 = (byte *)piVar11[3];
          if (pbVar12 < pbVar9) goto LAB_003320e4;
LAB_00332150:
          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);
          if (iVar2 != -1) {
            pbVar12 = (byte *)piVar11[2];
            pbVar9 = (byte *)piVar11[3];
            goto LAB_003320ec;
          }
          iVar2 = *param_1;
LAB_00332170:
          uVar7 = 2;
          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
          goto LAB_00331e6c;
        }
        if (pcVar10 + 1 < pcVar10 + iVar5) {
          pbVar12 = (byte *)(pcVar10 + 2);
          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {
            while ((pbVar12 < pcVar10 + iVar5 &&
                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {
              pbVar12 = pbVar12 + 1;
            }
            uVar4 = (int)pbVar12 - (int)pcVar10;
          }
          else {
            uVar4 = 1;
          }
        }
        else {
          uVar4 = 1;
        }
        if (local_30 - uVar7 < uVar4) {
                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */
          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)
                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
          return piVar11;
        }
                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */
        std::string::_M_append(param_2,pcVar10,uVar4);
        uVar13 = uVar13 + uVar4;
        pbVar12 = (byte *)(piVar11[2] + uVar4);
        piVar11[2] = (int)pbVar12;
        if (pbVar12 < (byte *)piVar11[3]) {
          bVar1 = *pbVar12;
LAB_00332050:
          uVar7 = (uint)bVar1;
          uVar4 = uVar7;
          if (uVar14 <= uVar13) {
            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;
            return param_1;
          }
        }
        else {
LAB_00332188:
          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);
          if (uVar14 <= uVar13) {
            iVar2 = *param_1;
            if (uVar7 != 0xffffffff) {
              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
              return param_1;
            }
            goto LAB_00332170;
          }
          if (uVar7 == 0xffffffff) {
            iVar2 = *param_1;
            uVar7 = 6;
            if (uVar13 != 0) {
              uVar7 = 2;
            }
            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
            goto LAB_00331e6c;
          }
          uVar4 = uVar7 & 0xff;
        }
        iVar2 = *(int *)(pcVar3 + 0x18);
        sVar6 = SUB41(uVar7,0);
        uVar7 = 4;
      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);
      iVar2 = *param_1;
      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
      if (uVar13 != 0) {
        return param_1;
      }
    }
    else {
      iVar2 = *param_1;
      uVar7 = 4;
      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
    }
  }
LAB_00331e6c:
  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);
  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));
  return param_1;
}


lui gp,0x19
addiu gp,gp,0x7440
addu gp,gp,t9
addiu sp,sp,-0x58
lw t9,-0x40c8(gp)
or a2,zero,zero
sw s6,0x48(sp)
or s6,a0,zero
addiu a0,sp,0x24
sw gp,0x18(sp)
sw s3,0x3c(sp)
or s3,a1,zero
sw ra,0x54(sp)
or a1,s6,zero
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
jalr t9
_sw s0,0x30(sp)
lbu v0,0x24(sp)
bne v0,zero,0x00331ebc
_lw gp,0x18(sp)
lw v0,0x0(s6)
li v1,0x4
lw v0,-0xc(v0)
lw t9,-0x6f88(gp)
addu v0,s6,v0
or a0,v0,zero
lw a1,0x14(v0)
jalr t9
_or a1,v1,a1
lw ra,0x54(sp)
or v0,s6,zero
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
lw v0,0x0(s3)
sw zero,0x4(s3)
sb zero,0x0(v0)
lw v0,0x0(s6)
lw a1,-0xc(v0)
addu a1,s6,a1
lw s5,0x8(a1)
blez s5,0x003321c0
_nop
lw t9,-0x651c(gp)
addiu s0,sp,0x20
addiu a1,a1,0x6c
bal 0x003338cc
_or a0,s0,zero
lw gp,0x18(sp)
lw t9,-0x65bc(gp)
bal 0x0034b25c
_or a0,s0,zero
lw gp,0x18(sp)
or a0,s0,zero
lw t9,-0x6f50(gp)
bal 0x0033439c
_or s8,v0,zero
lw v0,0x0(s6)
lw v0,-0xc(v0)
addu v0,s6,v0
lw s0,0x78(v0)
lw v1,0x8(s0)
lw v0,0xc(s0)
sltu v0,v1,v0
beq v0,zero,0x00332234
_lw gp,0x18(sp)
lb s2,0x0(v1)
andi v0,s2,0xff
lw a0,0x18(s8)
sll v0,v0,0x1
addu v0,a0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x0033227c
_or s4,zero,zero
addiu v0,s3,0x8
sw v0,0x2c(sp)
lui v0,0x7fff
ori v0,v0,0xffff
sw v0,0x28(sp)
lw a1,0x8(s0)
subu v1,s5,s4
lw a2,0xc(s0)
or v0,v1,zero
subu a2,a2,a1
slt v1,v1,a2
movz v0,a2,v1
or v1,v0,zero
slti v0,v0,0x2
bne v0,zero,0x00332098
_lw s1,0x4(s3)
addiu s2,a1,0x1
addu v1,a1,v1
sltu v0,s2,v1
beq v0,zero,0x003321cc
_nop
lbu v0,0x1(a1)
sll v0,v0,0x1
addu v0,a0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
beq v0,zero,0x00331ffc
_addiu s2,s2,0x1
addiu s2,s2,-0x1
b 0x0033200c
_li s2,0x1
lbu v0,0x0(s2)
sll v0,v0,0x1
addu v0,a0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x00332008
_nop
addiu s2,s2,0x1
sltu v0,s2,v1
bne v0,zero,0x00331fdc
_nop
subu s2,s2,a1
lw v0,0x28(sp)
subu s1,v0,s1
sltu s1,s1,s2
bne s1,zero,0x003322a0
_lw t9,-0x73d8(gp)
or a2,s2,zero
bal 0x0033cc98
_or a0,s3,zero
lw v0,0x8(s0)
addu s4,s4,s2
lw v1,0xc(s0)
lw gp,0x18(sp)
addu s2,v0,s2
sltu v0,s2,v1
beq v0,zero,0x00332188
_sw s2,0x8(s0)
lbu v0,0x0(s2)
sltu v1,s4,s5
beq v1,zero,0x003321d4
_or v1,v0,zero
lw a0,0x18(s8)
sll v1,v1,0x1
seb s2,v0
addu v1,a0,v1
lhu v0,0x0(v1)
andi v0,v0,0x20
beq v0,zero,0x00331f74
_li v1,0x4
lw v0,0x0(s6)
lw a0,-0xc(v0)
addu a0,s6,a0
beq s4,zero,0x00331e6c
_sw zero,0x8(a0)
b 0x00331e8c
_lw ra,0x54(sp)
lw v0,0x0(s3)
lw v1,0x2c(sp)
beq v0,v1,0x003321b8
_addiu s7,s1,0x1
lw v1,0x8(s3)
sltu v1,v1,s7
bne v1,zero,0x00332100
_lw t9,-0x71b0(gp)
addu s1,v0,s1
sb s2,0x0(s1)
sw s7,0x4(s3)
lw v0,0x0(s3)
addu s7,v0,s7
sb zero,0x0(s7)
lw v0,0x8(s0)
lw v1,0xc(s0)
sltu a0,v0,v1
beq a0,zero,0x00332150
_addiu s4,s4,0x1
addiu v0,v0,0x1
sw v0,0x8(s0)
sltu v1,v0,v1
beq v1,zero,0x00332188
_nop
b 0x00332050
_lbu v0,0x0(v0)
li v0,0x1
or a3,zero,zero
or a2,zero,zero
sw v0,0x10(sp)
or a1,s1,zero
bal 0x0033abf0
_or a0,s3,zero
lw v0,0x0(s3)
lw gp,0x18(sp)
addu s1,v0,s1
sb s2,0x0(s1)
sw s7,0x4(s3)
lw v0,0x0(s3)
addu s7,v0,s7
sb zero,0x0(s7)
lw v0,0x8(s0)
lw v1,0xc(s0)
sltu a0,v0,v1
bne a0,zero,0x003320e4
_addiu s4,s4,0x1
lw v0,0x0(s0)
lw t9,0x28(v0)
jalr t9
_or a0,s0,zero
li v1,-0x1
bne v0,v1,0x00332294
_lw gp,0x18(sp)
lw v1,0x0(s6)
or v0,v1,zero
li v1,0x2
lw a0,-0xc(v0)
addu a0,s6,a0
b 0x00331e6c
_sw zero,0x8(a0)
lw v0,0x0(s0)
lw t9,0x24(v0)
jalr t9
_or a0,s0,zero
sltu v1,s4,s5
beq v1,zero,0x00332260
_lw gp,0x18(sp)
li v1,-0x1
beq v0,v1,0x00332218
_li a0,0x2
b 0x0033205c
_andi v1,v0,0xff
b 0x003320ac
_li v1,0xf
lui s5,0x7fff
b 0x00331ee0
_ori s5,s5,0xffff
b 0x0033200c
_li s2,0x1
lw v0,0x0(s6)
lw a0,-0xc(v0)
addu a0,s6,a0
sw zero,0x8(a0)
lw ra,0x54(sp)
or v0,s6,zero
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
lw v0,0x0(s6)
li v1,0x6
movn v1,a0,s4
lw a0,-0xc(v0)
addu a0,s6,a0
b 0x00331e6c
_sw zero,0x8(a0)
lw v0,0x0(s0)
lw t9,0x24(v0)
jalr t9
_or a0,s0,zero
li v1,-0x1
lw gp,0x18(sp)
beq v0,v1,0x003322b0
_or s2,v0,zero
andi v0,v0,0xff
b 0x00331f44
_seb s2,s2
lw v1,0x0(s6)
li a1,-0x1
lw a0,-0xc(v1)
beq v0,a1,0x00332170
_addu a0,s6,a0
b 0x003321e4
_sw zero,0x8(a0)
lw v0,0x0(s6)
li v1,0x4
lw a0,-0xc(v0)
addu a0,s6,a0
b 0x00331e6c
_sw zero,0x8(a0)
lw v0,0x8(s0)
b 0x003320ec
_lw v1,0xc(s0)
lw a0,-0x7fc4(gp)
lw t9,-0x73cc(gp)
jalr t9
_addiu a0,a0,0x446c
lw v0,0x0(s6)
li v1,0x6
lw a0,-0xc(v0)
addu a0,s6,a0
b 0x00331e6c
_sw zero,0x8(a0)
(translation_unit "int * FUN_00331e00(int *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_00331e00(int *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00331e00(int *param_1,string *param_2)" * (function_declarator "FUN_00331e00(int *param_1,string *param_2)" identifier (parameter_list "(int *param_1,string *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "string *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "string sVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "locale alStack_38 [4];" type_identifier (array_declarator "alStack_38 [4]" identifier [ number_literal ]) ;) (declaration "char local_34 [4];" primitive_type (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "string *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0);" (call_expression "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0)" (parenthesized_expression "(*(code *)PTR_sentry_004c5178)" ( (pointer_expression "*(code *)PTR_sentry_004c5178" * (cast_expression "(code *)PTR_sentry_004c5178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34,param_1,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" if (parenthesized_expression "(local_34[0] == '\0')" ( (binary_expression "local_34[0] == '\0'" (subscript_expression "local_34[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" else (compound_statement "{\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)param_2 = 0;" (assignment_expression "**(undefined1 **)param_2 = 0" (pointer_expression "**(undefined1 **)param_2" * (pointer_expression "*(undefined1 **)param_2" * (cast_expression "(undefined1 **)param_2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);" (assignment_expression "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" identifier = (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }" if (parenthesized_expression "((int)uVar14 < 1)" ( (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar14 = 0x7fffffff;\n    }" { (expression_statement "uVar14 = 0x7fffffff;" (assignment_expression "uVar14 = 0x7fffffff" identifier = number_literal) ;) })) (labeled_statement "std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" statement_identifier : (ERROR ":" :) (labeled_statement "locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" (call_expression "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" identifier (argument_list "(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" ( identifier , (cast_expression "(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))) ))) ;))) comment (expression_statement "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);" (binary_expression "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38)" (binary_expression "pcVar3 = std::use_facet<std" (assignment_expression "pcVar3 = std" identifier = identifier) (ERROR "::use_facet" : : identifier) < identifier) (ERROR "::ctype" : : identifier) < (binary_expression "char>>(alStack_38)" identifier >> (parenthesized_expression "(alStack_38)" ( identifier )))) ;) (labeled_statement "std::locale::~locale(alStack_38);" statement_identifier : (ERROR ":" :) (labeled_statement "locale::~locale(alStack_38);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(alStack_38);" (unary_expression "~locale(alStack_38)" ~ (call_expression "locale(alStack_38)" identifier (argument_list "(alStack_38)" ( identifier )))) ;))) (expression_statement "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" if (parenthesized_expression "((string *)piVar11[2] < (string *)piVar11[3])" ( (binary_expression "(string *)piVar11[2] < (string *)piVar11[3]" (cast_expression "(string *)piVar11[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ])) < (cast_expression "(string *)piVar11[3]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }" { (expression_statement "sVar6 = *(string *)piVar11[2];" (assignment_expression "sVar6 = *(string *)piVar11[2]" identifier = (pointer_expression "*(string *)piVar11[2]" * (cast_expression "(string *)piVar11[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar4 = (uint)(byte)sVar6;" (assignment_expression "uVar4 = (uint)(byte)sVar6" identifier = (cast_expression "(uint)(byte)sVar6" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)sVar6" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) }) (else_clause "else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" else (compound_statement "{\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" { comment (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" ( (pointer_expression "**(code **)(*piVar11 + 0x24)" * (pointer_expression "*(code **)(*piVar11 + 0x24)" * (cast_expression "(code **)(*piVar11 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x24)" ( (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;) (if_statement "if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" identifier = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" identifier = (call_expression "SUB41(uVar7,0)" identifier (argument_list "(uVar7,0)" ( identifier , number_literal )))) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (if_statement "if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" if (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }" { (expression_statement "local_2c = param_2 + 8;" (assignment_expression "local_2c = param_2 + 8" identifier = (binary_expression "param_2 + 8" identifier + number_literal)) ;) (expression_statement "local_30 = 0x7fffffff;" (assignment_expression "local_30 = 0x7fffffff" identifier = number_literal) ;) (do_statement "do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);" do (compound_statement "{\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      }" { (expression_statement "pcVar10 = (char *)piVar11[2];" (assignment_expression "pcVar10 = (char *)piVar11[2]" identifier = (cast_expression "(char *)piVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = uVar14 - uVar13;" (assignment_expression "iVar5 = uVar14 - uVar13" identifier = (binary_expression "uVar14 - uVar13" identifier - identifier)) ;) (if_statement "if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" if (parenthesized_expression "(piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13))" ( (binary_expression "piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)" (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) <= (cast_expression "(int)(uVar14 - uVar13)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 - uVar13)" ( (binary_expression "uVar14 - uVar13" identifier - identifier) )))) )) (compound_statement "{\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" { (expression_statement "iVar5 = piVar11[3] - (int)pcVar10;" (assignment_expression "iVar5 = piVar11[3] - (int)pcVar10" identifier = (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar7 = *(uint *)(param_2 + 4);" (assignment_expression "uVar7 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" if (parenthesized_expression "(iVar5 < 2)" ( (binary_expression "iVar5 < 2" identifier < number_literal) )) (compound_statement "{\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" { (expression_statement "uVar4 = uVar7 + 1;" (assignment_expression "uVar4 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" if (parenthesized_expression "(*(string **)param_2 == local_2c)" ( (binary_expression "*(string **)param_2 == local_2c" (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == identifier) )) (compound_statement "{\n            uVar8 = 0xf;\n          }" { (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" else (compound_statement "{\n            uVar8 = *(uint *)(param_2 + 8);\n          }" { (expression_statement "uVar8 = *(uint *)(param_2 + 8);" (assignment_expression "uVar8 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" if (parenthesized_expression "(uVar8 < uVar4)" ( (binary_expression "uVar8 < uVar4" identifier < identifier) )) (compound_statement "{\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" { (labeled_statement "std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate(param_2,uVar7,0,(char *)0x0,1);" (call_expression "_M_mutate(param_2,uVar7,0,(char *)0x0,1)" identifier (argument_list "(param_2,uVar7,0,(char *)0x0,1)" ( identifier , identifier , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;))) (expression_statement "*(string *)(*(int *)param_2 + uVar7) = sVar6;" (assignment_expression "*(string *)(*(int *)param_2 + uVar7) = sVar6" (pointer_expression "*(string *)(*(int *)param_2 + uVar7)" * (cast_expression "(string *)(*(int *)param_2 + uVar7)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar7)" ( (binary_expression "*(int *)param_2 + uVar7" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar9 <= pbVar12) goto LAB_00332150;" if (parenthesized_expression "(pbVar9 <= pbVar12)" ( (binary_expression "pbVar9 <= pbVar12" identifier <= identifier) )) (goto_statement "goto LAB_00332150;" goto statement_identifier ;)) (labeled_statement "LAB_003320e4:\n            pbVar12 = pbVar12 + 1;" statement_identifier : (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;)) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_003320ec:\n            uVar13 = uVar13 + 1;" statement_identifier : (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" if (parenthesized_expression "(pbVar12 < pbVar9)" ( (binary_expression "pbVar12 < pbVar9" identifier < identifier) )) (compound_statement "{\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" { (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (goto_statement "goto LAB_00332050;" goto statement_identifier ;) })) (goto_statement "goto LAB_00332188;" goto statement_identifier ;) })) (expression_statement "(*(string **)param_2)[uVar7] = sVar6;" (assignment_expression "(*(string **)param_2)[uVar7] = sVar6" (subscript_expression "(*(string **)param_2)[uVar7]" (parenthesized_expression "(*(string **)param_2)" ( (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) )) [ identifier ]) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar12 < pbVar9) goto LAB_003320e4;" if (parenthesized_expression "(pbVar12 < pbVar9)" ( (binary_expression "pbVar12 < pbVar9" identifier < identifier) )) (goto_statement "goto LAB_003320e4;" goto statement_identifier ;)) (labeled_statement "LAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" statement_identifier : (expression_statement "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" (assignment_expression "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x28))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x28))" ( (pointer_expression "**(code **)(*piVar11 + 0x28)" * (pointer_expression "*(code **)(*piVar11 + 0x28)" * (cast_expression "(code **)(*piVar11 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x28)" ( (binary_expression "*piVar11 + 0x28" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;)) (if_statement "if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" { (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_003320ec;" goto statement_identifier ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_00332170:\n          uVar7 = 2;" statement_identifier : (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;)) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (if_statement "if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }" if (parenthesized_expression "(pcVar10 + 1 < pcVar10 + iVar5)" ( (binary_expression "pcVar10 + 1 < pcVar10 + iVar5" (binary_expression "pcVar10 + 1" identifier + number_literal) < (binary_expression "pcVar10 + iVar5" identifier + identifier)) )) (compound_statement "{\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }" { (expression_statement "pbVar12 = (byte *)(pcVar10 + 2);" (assignment_expression "pbVar12 = (byte *)(pcVar10 + 2)" identifier = (cast_expression "(byte *)(pcVar10 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 2)" ( (binary_expression "pcVar10 + 2" identifier + number_literal) )))) ;) (if_statement "if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }" if (parenthesized_expression "((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)(byte)pcVar10[1] * 2)" ( (binary_expression "iVar2 + (uint)(byte)pcVar10[1] * 2" identifier + (binary_expression "(uint)(byte)pcVar10[1] * 2" (cast_expression "(uint)(byte)pcVar10[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar10[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar10[1]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }" { (while_statement "while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }" while (parenthesized_expression "((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)))" ( (parenthesized_expression "(pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))" ( (binary_expression "pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" (binary_expression "pbVar12 < pcVar10 + iVar5" identifier < (binary_expression "pcVar10 + iVar5" identifier + identifier)) && (parenthesized_expression "((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)*pbVar12 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)*pbVar12 * 2)" ( (binary_expression "iVar2 + (uint)*pbVar12 * 2" identifier + (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) )) (compound_statement "{\n              pbVar12 = pbVar12 + 1;\n            }" { (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (int)pbVar12 - (int)pcVar10;" (assignment_expression "uVar4 = (int)pbVar12 - (int)pcVar10" identifier = (binary_expression "(int)pbVar12 - (int)pcVar10" (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n            uVar4 = 1;\n          }" else (compound_statement "{\n            uVar4 = 1;\n          }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) }) (else_clause "else {\n          uVar4 = 1;\n        }" else (compound_statement "{\n          uVar4 = 1;\n        }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (if_statement "if (local_30 - uVar7 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" if (parenthesized_expression "(local_30 - uVar7 < uVar4)" ( (binary_expression "local_30 - uVar7 < uVar4" (binary_expression "local_30 - uVar7" identifier - identifier) < identifier) )) (compound_statement "{\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" { comment (expression_statement "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (assignment_expression "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier = (cast_expression "(int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))))) ;) (return_statement "return piVar11;" return identifier ;) })) comment (labeled_statement "std::string::_M_append(param_2,pcVar10,uVar4);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_append(param_2,pcVar10,uVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_2,pcVar10,uVar4);" (call_expression "_M_append(param_2,pcVar10,uVar4)" identifier (argument_list "(param_2,pcVar10,uVar4)" ( identifier , identifier , identifier ))) ;))) (expression_statement "uVar13 = uVar13 + uVar4;" (assignment_expression "uVar13 = uVar13 + uVar4" identifier = (binary_expression "uVar13 + uVar4" identifier + identifier)) ;) (expression_statement "pbVar12 = (byte *)(piVar11[2] + uVar4);" (assignment_expression "pbVar12 = (byte *)(piVar11[2] + uVar4)" identifier = (cast_expression "(byte *)(piVar11[2] + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11[2] + uVar4)" ( (binary_expression "piVar11[2] + uVar4" (subscript_expression "piVar11[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" if (parenthesized_expression "(pbVar12 < (byte *)piVar11[3])" ( (binary_expression "pbVar12 < (byte *)piVar11[3]" identifier < (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) )) (compound_statement "{\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }" { (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (labeled_statement "LAB_00332050:\n          uVar7 = (uint)bVar1;" statement_identifier : (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" identifier = identifier) ;) (if_statement "if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" if (parenthesized_expression "(uVar14 <= uVar13)" ( (binary_expression "uVar14 <= uVar13" identifier <= identifier) )) (compound_statement "{\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" { (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" else (compound_statement "{\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" { (labeled_statement "LAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" statement_identifier : (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" ( (pointer_expression "**(code **)(*piVar11 + 0x24)" * (pointer_expression "*(code **)(*piVar11 + 0x24)" * (cast_expression "(code **)(*piVar11 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x24)" ( (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;)) (if_statement "if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" if (parenthesized_expression "(uVar14 <= uVar13)" ( (binary_expression "uVar14 <= uVar13" identifier <= identifier) )) (compound_statement "{\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" if (parenthesized_expression "(uVar7 != 0xffffffff)" ( (binary_expression "uVar7 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" { (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (goto_statement "goto LAB_00332170;" goto statement_identifier ;) })) (if_statement "if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" identifier = number_literal) ;) (if_statement "if (uVar13 != 0) {\n              uVar7 = 2;\n            }" if (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = 2;\n            }" { (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" identifier = (call_expression "SUB41(uVar7,0)" identifier (argument_list "(uVar7,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }) while (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (uVar13 != 0) {\n        return param_1;\n      }" if (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        return param_1;\n      }" { (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" else (compound_statement "{\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }))) }))) (labeled_statement "LAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" statement_identifier : (expression_statement "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))))) ;)) (expression_statement "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_clear_004c22b8)" ( (pointer_expression "*(code *)PTR_clear_004c22b8" * (cast_expression "(code *)PTR_clear_004c22b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" ( identifier , (binary_expression "uVar7 | *(uint *)(iVar2 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, std::string&) */\n\nistream * std::operator>>(istream *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar7;\n  istream *piVar6;\n  uint uVar8;\n  uint uVar9;\n  byte *pbVar10;\n  char *pcVar11;\n  int *piVar12;\n  byte *pbVar13;\n  uint uVar14;\n  uint uVar15;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *(int *)param_1;\n    uVar8 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);\n    if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }\n    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = use_facet<std::ctype<char>>(alStack_38);\n    locale::~locale(alStack_38);\n    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar14 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  (*(code *)PTR_clear_004c22b8)\n            (param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14));\n  return param_1;\n}\n\n" comment comment (ERROR "istream * std::operator>>(istream *param_1,string *param_2)" (binary_expression "istream * std::operator>>(istream *param_1,string *param_2)" (binary_expression "istream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(istream *param_1,string *param_2)" ( (comma_expression "istream *param_1,string *param_2" (binary_expression "istream *param_1" identifier * identifier) , (binary_expression "string *param_2" identifier * identifier)) )))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar7;\n  istream *piVar6;\n  uint uVar8;\n  uint uVar9;\n  byte *pbVar10;\n  char *pcVar11;\n  int *piVar12;\n  byte *pbVar13;\n  uint uVar14;\n  uint uVar15;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *(int *)param_1;\n    uVar8 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);\n    if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }\n    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = use_facet<std::ctype<char>>(alStack_38);\n    locale::~locale(alStack_38);\n    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar14 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  (*(code *)PTR_clear_004c22b8)\n            (param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14));\n  return param_1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "string sVar7;" type_identifier identifier ;) (declaration "istream *piVar6;" type_identifier (pointer_declarator "*piVar6" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "locale alStack_38 [4];" type_identifier (array_declarator "alStack_38 [4]" identifier [ number_literal ]) ;) (declaration "char local_34 [4];" primitive_type (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "string *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0);" (call_expression "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0)" (parenthesized_expression "(*(code *)PTR_sentry_004c5178)" ( (pointer_expression "*(code *)PTR_sentry_004c5178" * (cast_expression "(code *)PTR_sentry_004c5178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34,param_1,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_34[0] == '\0') {\n    iVar2 = *(int *)param_1;\n    uVar8 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);\n    if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }\n    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = use_facet<std::ctype<char>>(alStack_38);\n    locale::~locale(alStack_38);\n    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar14 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" if (parenthesized_expression "(local_34[0] == '\0')" ( (binary_expression "local_34[0] == '\0'" (subscript_expression "local_34[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = *(int *)param_1;\n    uVar8 = 4;\n  }" { (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);\n    if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }\n    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = use_facet<std::ctype<char>>(alStack_38);\n    locale::~locale(alStack_38);\n    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar14 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" else (compound_statement "{\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);\n    if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }\n    locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));\n                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */\n    pcVar3 = use_facet<std::ctype<char>>(alStack_38);\n    locale::~locale(alStack_38);\n    piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar14 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)param_2 = 0;" (assignment_expression "**(undefined1 **)param_2 = 0" (pointer_expression "**(undefined1 **)param_2" * (pointer_expression "*(undefined1 **)param_2" * (cast_expression "(undefined1 **)param_2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8);" (assignment_expression "uVar15 = *(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" identifier = (pointer_expression "*(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" * (cast_expression "(uint *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 8" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((int)uVar15 < 1) {\n      uVar15 = 0x7fffffff;\n    }" if (parenthesized_expression "((int)uVar15 < 1)" ( (binary_expression "(int)uVar15 < 1" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar15 = 0x7fffffff;\n    }" { (expression_statement "uVar15 = 0x7fffffff;" (assignment_expression "uVar15 = 0x7fffffff" identifier = number_literal) ;) })) (labeled_statement "locale::locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c));" (call_expression "locale(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c))" identifier (argument_list "(alStack_38,(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c))" ( identifier , (cast_expression "(locale *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x6c" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))) ))) ;)) comment (expression_statement "pcVar3 = use_facet<std::ctype<char>>(alStack_38);" (binary_expression "pcVar3 = use_facet<std::ctype<char>>(alStack_38)" (assignment_expression "pcVar3 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "char>>(alStack_38)" identifier >> (parenthesized_expression "(alStack_38)" ( identifier )))) ;) (labeled_statement "locale::~locale(alStack_38);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(alStack_38);" (unary_expression "~locale(alStack_38)" ~ (call_expression "locale(alStack_38)" identifier (argument_list "(alStack_38)" ( identifier )))) ;)) (expression_statement "piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);" (assignment_expression "piVar12 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" * (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((string *)piVar12[2] < (string *)piVar12[3]) {\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }\n    else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }" if (parenthesized_expression "((string *)piVar12[2] < (string *)piVar12[3])" ( (binary_expression "(string *)piVar12[2] < (string *)piVar12[3]" (cast_expression "(string *)piVar12[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ])) < (cast_expression "(string *)piVar12[3]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      sVar7 = *(string *)piVar12[2];\n      uVar4 = (uint)(byte)sVar7;\n    }" { (expression_statement "sVar7 = *(string *)piVar12[2];" (assignment_expression "sVar7 = *(string *)piVar12[2]" identifier = (pointer_expression "*(string *)piVar12[2]" * (cast_expression "(string *)piVar12[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar4 = (uint)(byte)sVar7;" (assignment_expression "uVar4 = (uint)(byte)sVar7" identifier = (cast_expression "(uint)(byte)sVar7" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)sVar7" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) }) (else_clause "else {\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }" else (compound_statement "{\n                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */\n      uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n      if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar8 & 0xff;\n      sVar7 = SUB41(uVar8,0);\n    }" { comment (expression_statement "uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);" (assignment_expression "uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12)" identifier = (call_expression "(**(code **)(*piVar12 + 0x24))(piVar12)" (parenthesized_expression "(**(code **)(*piVar12 + 0x24))" ( (pointer_expression "**(code **)(*piVar12 + 0x24)" * (pointer_expression "*(code **)(*piVar12 + 0x24)" * (cast_expression "(code **)(*piVar12 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar12 + 0x24)" ( (binary_expression "*piVar12 + 0x24" (pointer_expression "*piVar12" * identifier) + number_literal) ))))) )) (argument_list "(piVar12)" ( identifier )))) ;) (if_statement "if (uVar8 == 0xffffffff) {\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" if (parenthesized_expression "(uVar8 == 0xffffffff)" ( (binary_expression "uVar8 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)param_1;\n        uVar8 = 6;\n        *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" { (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar8 = 6;" (assignment_expression "uVar8 = 6" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar8 & 0xff;" (assignment_expression "uVar4 = uVar8 & 0xff" identifier = (binary_expression "uVar8 & 0xff" identifier & number_literal)) ;) (expression_statement "sVar7 = SUB41(uVar8,0);" (assignment_expression "sVar7 = SUB41(uVar8,0)" identifier = (call_expression "SUB41(uVar8,0)" identifier (argument_list "(uVar8,0)" ( identifier , number_literal )))) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" if (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *(int *)param_1;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar14 != 0) {\n        return param_1;\n      }\n    }" { (expression_statement "local_2c = param_2 + 8;" (assignment_expression "local_2c = param_2 + 8" identifier = (binary_expression "param_2 + 8" identifier + number_literal)) ;) (expression_statement "local_30 = 0x7fffffff;" (assignment_expression "local_30 = 0x7fffffff" identifier = number_literal) ;) (do_statement "do {\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);" do (compound_statement "{\n        pcVar11 = (char *)piVar12[2];\n        iVar5 = uVar15 - uVar14;\n        if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }\n        uVar8 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }\n                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */\n        string::_M_append(param_2,pcVar11,uVar4);\n        uVar14 = uVar14 + uVar4;\n        pbVar13 = (byte *)(piVar12[2] + uVar4);\n        piVar12[2] = (int)pbVar13;\n        if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar7 = SUB41(uVar8,0);\n        uVar8 = 4;\n      }" { (expression_statement "pcVar11 = (char *)piVar12[2];" (assignment_expression "pcVar11 = (char *)piVar12[2]" identifier = (cast_expression "(char *)piVar12[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = uVar15 - uVar14;" (assignment_expression "iVar5 = uVar15 - uVar14" identifier = (binary_expression "uVar15 - uVar14" identifier - identifier)) ;) (if_statement "if (piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)) {\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }" if (parenthesized_expression "(piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14))" ( (binary_expression "piVar12[3] - (int)pcVar11 <= (int)(uVar15 - uVar14)" (binary_expression "piVar12[3] - (int)pcVar11" (subscript_expression "piVar12[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier)) <= (cast_expression "(int)(uVar15 - uVar14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 - uVar14)" ( (binary_expression "uVar15 - uVar14" identifier - identifier) )))) )) (compound_statement "{\n          iVar5 = piVar12[3] - (int)pcVar11;\n        }" { (expression_statement "iVar5 = piVar12[3] - (int)pcVar11;" (assignment_expression "iVar5 = piVar12[3] - (int)pcVar11" identifier = (binary_expression "piVar12[3] - (int)pcVar11" (subscript_expression "piVar12[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar8 = *(uint *)(param_2 + 4);" (assignment_expression "uVar8 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 2) {\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" if (parenthesized_expression "(iVar5 < 2)" ( (binary_expression "iVar5 < 2" identifier < number_literal) )) (compound_statement "{\n          uVar4 = uVar8 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }\n          if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar8] = sVar7;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar13 = (byte *)piVar12[2];\n          pbVar10 = (byte *)piVar12[3];\n          if (pbVar13 < pbVar10) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);\n          if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *(int *)param_1;\nLAB_00332170:\n          uVar8 = 2;\n          *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" { (expression_statement "uVar4 = uVar8 + 1;" (assignment_expression "uVar4 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (if_statement "if (*(string **)param_2 == local_2c) {\n            uVar9 = 0xf;\n          }\n          else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }" if (parenthesized_expression "(*(string **)param_2 == local_2c)" ( (binary_expression "*(string **)param_2 == local_2c" (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == identifier) )) (compound_statement "{\n            uVar9 = 0xf;\n          }" { (expression_statement "uVar9 = 0xf;" (assignment_expression "uVar9 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n            uVar9 = *(uint *)(param_2 + 8);\n          }" else (compound_statement "{\n            uVar9 = *(uint *)(param_2 + 8);\n          }" { (expression_statement "uVar9 = *(uint *)(param_2 + 8);" (assignment_expression "uVar9 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar9 < uVar4) {\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" if (parenthesized_expression "(uVar9 < uVar4)" ( (binary_expression "uVar9 < uVar4" identifier < identifier) )) (compound_statement "{\n            string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar8) = sVar7;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            if (pbVar10 <= pbVar13) goto LAB_00332150;\nLAB_003320e4:\n            pbVar13 = pbVar13 + 1;\n            piVar12[2] = (int)pbVar13;\nLAB_003320ec:\n            uVar14 = uVar14 + 1;\n            if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" { (labeled_statement "string::_M_mutate(param_2,uVar8,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate(param_2,uVar8,0,(char *)0x0,1);" (call_expression "_M_mutate(param_2,uVar8,0,(char *)0x0,1)" identifier (argument_list "(param_2,uVar8,0,(char *)0x0,1)" ( identifier , identifier , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;)) (expression_statement "*(string *)(*(int *)param_2 + uVar8) = sVar7;" (assignment_expression "*(string *)(*(int *)param_2 + uVar8) = sVar7" (pointer_expression "*(string *)(*(int *)param_2 + uVar8)" * (cast_expression "(string *)(*(int *)param_2 + uVar8)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar8)" ( (binary_expression "*(int *)param_2 + uVar8" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar13 = (byte *)piVar12[2];" (assignment_expression "pbVar13 = (byte *)piVar12[2]" identifier = (cast_expression "(byte *)piVar12[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar10 = (byte *)piVar12[3];" (assignment_expression "pbVar10 = (byte *)piVar12[3]" identifier = (cast_expression "(byte *)piVar12[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar10 <= pbVar13) goto LAB_00332150;" if (parenthesized_expression "(pbVar10 <= pbVar13)" ( (binary_expression "pbVar10 <= pbVar13" identifier <= identifier) )) (goto_statement "goto LAB_00332150;" goto statement_identifier ;)) (labeled_statement "LAB_003320e4:\n            pbVar13 = pbVar13 + 1;" statement_identifier : (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;)) (expression_statement "piVar12[2] = (int)pbVar13;" (assignment_expression "piVar12[2] = (int)pbVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_003320ec:\n            uVar14 = uVar14 + 1;" statement_identifier : (expression_statement "uVar14 = uVar14 + 1;" (assignment_expression "uVar14 = uVar14 + 1" identifier = (binary_expression "uVar14 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar13 < pbVar10) {\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }" if (parenthesized_expression "(pbVar13 < pbVar10)" ( (binary_expression "pbVar13 < pbVar10" identifier < identifier) )) (compound_statement "{\n              bVar1 = *pbVar13;\n              goto LAB_00332050;\n            }" { (expression_statement "bVar1 = *pbVar13;" (assignment_expression "bVar1 = *pbVar13" identifier = (pointer_expression "*pbVar13" * identifier)) ;) (goto_statement "goto LAB_00332050;" goto statement_identifier ;) })) (goto_statement "goto LAB_00332188;" goto statement_identifier ;) })) (expression_statement "(*(string **)param_2)[uVar8] = sVar7;" (assignment_expression "(*(string **)param_2)[uVar8] = sVar7" (subscript_expression "(*(string **)param_2)[uVar8]" (parenthesized_expression "(*(string **)param_2)" ( (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) )) [ identifier ]) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar13 = (byte *)piVar12[2];" (assignment_expression "pbVar13 = (byte *)piVar12[2]" identifier = (cast_expression "(byte *)piVar12[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar10 = (byte *)piVar12[3];" (assignment_expression "pbVar10 = (byte *)piVar12[3]" identifier = (cast_expression "(byte *)piVar12[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar13 < pbVar10) goto LAB_003320e4;" if (parenthesized_expression "(pbVar13 < pbVar10)" ( (binary_expression "pbVar13 < pbVar10" identifier < identifier) )) (goto_statement "goto LAB_003320e4;" goto statement_identifier ;)) (labeled_statement "LAB_00332150:\n          iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);" statement_identifier : (expression_statement "iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12);" (assignment_expression "iVar2 = (**(code **)(*piVar12 + 0x28))(piVar12)" identifier = (call_expression "(**(code **)(*piVar12 + 0x28))(piVar12)" (parenthesized_expression "(**(code **)(*piVar12 + 0x28))" ( (pointer_expression "**(code **)(*piVar12 + 0x28)" * (pointer_expression "*(code **)(*piVar12 + 0x28)" * (cast_expression "(code **)(*piVar12 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar12 + 0x28)" ( (binary_expression "*piVar12 + 0x28" (pointer_expression "*piVar12" * identifier) + number_literal) ))))) )) (argument_list "(piVar12)" ( identifier )))) ;)) (if_statement "if (iVar2 != -1) {\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n            pbVar13 = (byte *)piVar12[2];\n            pbVar10 = (byte *)piVar12[3];\n            goto LAB_003320ec;\n          }" { (expression_statement "pbVar13 = (byte *)piVar12[2];" (assignment_expression "pbVar13 = (byte *)piVar12[2]" identifier = (cast_expression "(byte *)piVar12[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar10 = (byte *)piVar12[3];" (assignment_expression "pbVar10 = (byte *)piVar12[3]" identifier = (cast_expression "(byte *)piVar12[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_003320ec;" goto statement_identifier ;) })) (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (labeled_statement "LAB_00332170:\n          uVar8 = 2;" statement_identifier : (expression_statement "uVar8 = 2;" (assignment_expression "uVar8 = 2" identifier = number_literal) ;)) (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (if_statement "if (pcVar11 + 1 < pcVar11 + iVar5) {\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }" if (parenthesized_expression "(pcVar11 + 1 < pcVar11 + iVar5)" ( (binary_expression "pcVar11 + 1 < pcVar11 + iVar5" (binary_expression "pcVar11 + 1" identifier + number_literal) < (binary_expression "pcVar11 + iVar5" identifier + identifier)) )) (compound_statement "{\n          pbVar13 = (byte *)(pcVar11 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }" { (expression_statement "pbVar13 = (byte *)(pcVar11 + 2);" (assignment_expression "pbVar13 = (byte *)(pcVar11 + 2)" identifier = (cast_expression "(byte *)(pcVar11 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar11 + 2)" ( (binary_expression "pcVar11 + 2" identifier + number_literal) )))) ;) (if_statement "if ((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0) {\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }\n          else {\n            uVar4 = 1;\n          }" if (parenthesized_expression "((*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)(byte)pcVar11[1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)(byte)pcVar11[1] * 2)" ( (binary_expression "iVar2 + (uint)(byte)pcVar11[1] * 2" identifier + (binary_expression "(uint)(byte)pcVar11[1] * 2" (cast_expression "(uint)(byte)pcVar11[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar11[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar11[1]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }\n            uVar4 = (int)pbVar13 - (int)pcVar11;\n          }" { (while_statement "while ((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))) {\n              pbVar13 = pbVar13 + 1;\n            }" while (parenthesized_expression "((pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0)))" ( (parenthesized_expression "(pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0))" ( (binary_expression "pbVar13 < pcVar11 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0)" (binary_expression "pbVar13 < pcVar11 + iVar5" identifier < (binary_expression "pcVar11 + iVar5" identifier + identifier)) && (parenthesized_expression "((*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)*pbVar13 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)*pbVar13 * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)*pbVar13 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)*pbVar13 * 2)" ( (binary_expression "iVar2 + (uint)*pbVar13 * 2" identifier + (binary_expression "(uint)*pbVar13 * 2" (binary_expression "(uint)*pbVar13" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) )) (compound_statement "{\n              pbVar13 = pbVar13 + 1;\n            }" { (expression_statement "pbVar13 = pbVar13 + 1;" (assignment_expression "pbVar13 = pbVar13 + 1" identifier = (binary_expression "pbVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (int)pbVar13 - (int)pcVar11;" (assignment_expression "uVar4 = (int)pbVar13 - (int)pcVar11" identifier = (binary_expression "(int)pbVar13 - (int)pcVar11" (cast_expression "(int)pbVar13" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar11" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n            uVar4 = 1;\n          }" else (compound_statement "{\n            uVar4 = 1;\n          }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) }) (else_clause "else {\n          uVar4 = 1;\n        }" else (compound_statement "{\n          uVar4 = 1;\n        }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (if_statement "if (local_30 - uVar8 < uVar4) {\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }" if (parenthesized_expression "(local_30 - uVar8 < uVar4)" ( (binary_expression "local_30 - uVar8 < uVar4" (binary_expression "local_30 - uVar8" identifier - identifier) < identifier) )) (compound_statement "{\n                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */\n          piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar6;\n        }" { comment (expression_statement "piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (assignment_expression "piVar6 = (istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier = (cast_expression "(istream *)\n                   (*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_length_error_004c1e74)\n                             (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))))) ;) (return_statement "return piVar6;" return identifier ;) })) comment (labeled_statement "string::_M_append(param_2,pcVar11,uVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_2,pcVar11,uVar4);" (call_expression "_M_append(param_2,pcVar11,uVar4)" identifier (argument_list "(param_2,pcVar11,uVar4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "uVar14 = uVar14 + uVar4;" (assignment_expression "uVar14 = uVar14 + uVar4" identifier = (binary_expression "uVar14 + uVar4" identifier + identifier)) ;) (expression_statement "pbVar13 = (byte *)(piVar12[2] + uVar4);" (assignment_expression "pbVar13 = (byte *)(piVar12[2] + uVar4)" identifier = (cast_expression "(byte *)(piVar12[2] + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar12[2] + uVar4)" ( (binary_expression "piVar12[2] + uVar4" (subscript_expression "piVar12[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar12[2] = (int)pbVar13;" (assignment_expression "piVar12[2] = (int)pbVar13" (subscript_expression "piVar12[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar13 < (byte *)piVar12[3]) {\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }" if (parenthesized_expression "(pbVar13 < (byte *)piVar12[3])" ( (binary_expression "pbVar13 < (byte *)piVar12[3]" identifier < (cast_expression "(byte *)piVar12[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar12[3]" identifier [ number_literal ]))) )) (compound_statement "{\n          bVar1 = *pbVar13;\nLAB_00332050:\n          uVar8 = (uint)bVar1;\n          uVar4 = uVar8;\n          if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }" { (expression_statement "bVar1 = *pbVar13;" (assignment_expression "bVar1 = *pbVar13" identifier = (pointer_expression "*pbVar13" * identifier)) ;) (labeled_statement "LAB_00332050:\n          uVar8 = (uint)bVar1;" statement_identifier : (expression_statement "uVar8 = (uint)bVar1;" (assignment_expression "uVar8 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (expression_statement "uVar4 = uVar8;" (assignment_expression "uVar4 = uVar8" identifier = identifier) ;) (if_statement "if (uVar15 <= uVar14) {\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" if (parenthesized_expression "(uVar15 <= uVar14)" ( (binary_expression "uVar15 <= uVar14" identifier <= identifier) )) (compound_statement "{\n            *(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" { (expression_statement "*(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 8" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }" else (compound_statement "{\nLAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);\n          if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar8 & 0xff;\n        }" { (labeled_statement "LAB_00332188:\n          uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);" statement_identifier : (expression_statement "uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12);" (assignment_expression "uVar8 = (**(code **)(*piVar12 + 0x24))(piVar12)" identifier = (call_expression "(**(code **)(*piVar12 + 0x24))(piVar12)" (parenthesized_expression "(**(code **)(*piVar12 + 0x24))" ( (pointer_expression "**(code **)(*piVar12 + 0x24)" * (pointer_expression "*(code **)(*piVar12 + 0x24)" * (cast_expression "(code **)(*piVar12 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar12 + 0x24)" ( (binary_expression "*piVar12 + 0x24" (pointer_expression "*piVar12" * identifier) + number_literal) ))))) )) (argument_list "(piVar12)" ( identifier )))) ;)) (if_statement "if (uVar15 <= uVar14) {\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" if (parenthesized_expression "(uVar15 <= uVar14)" ( (binary_expression "uVar15 <= uVar14" identifier <= identifier) )) (compound_statement "{\n            iVar2 = *(int *)param_1;\n            if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" { (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar8 != 0xffffffff) {\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" if (parenthesized_expression "(uVar8 != 0xffffffff)" ( (binary_expression "uVar8 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" { (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (goto_statement "goto LAB_00332170;" goto statement_identifier ;) })) (if_statement "if (uVar8 == 0xffffffff) {\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" if (parenthesized_expression "(uVar8 == 0xffffffff)" ( (binary_expression "uVar8 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *(int *)param_1;\n            uVar8 = 6;\n            if (uVar14 != 0) {\n              uVar8 = 2;\n            }\n            *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" { (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar8 = 6;" (assignment_expression "uVar8 = 6" identifier = number_literal) ;) (if_statement "if (uVar14 != 0) {\n              uVar8 = 2;\n            }" if (parenthesized_expression "(uVar14 != 0)" ( (binary_expression "uVar14 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar8 = 2;\n            }" { (expression_statement "uVar8 = 2;" (assignment_expression "uVar8 = 2" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar8 & 0xff;" (assignment_expression "uVar4 = uVar8 & 0xff" identifier = (binary_expression "uVar8 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "sVar7 = SUB41(uVar8,0);" (assignment_expression "sVar7 = SUB41(uVar8,0)" identifier = (call_expression "SUB41(uVar8,0)" identifier (argument_list "(uVar8,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" identifier = number_literal) ;) }) while (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (uVar14 != 0) {\n        return param_1;\n      }" if (parenthesized_expression "(uVar14 != 0)" ( (binary_expression "uVar14 != 0" identifier != number_literal) )) (compound_statement "{\n        return param_1;\n      }" { (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" else (compound_statement "{\n      iVar2 = *(int *)param_1;\n      uVar8 = 4;\n      *(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" { (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar8 = 4;" (assignment_expression "uVar8 = 4" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }))) }))) (labeled_statement "LAB_00331e6c:\n  (*(code *)PTR_clear_004c22b8)\n            (param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14));" statement_identifier : (expression_statement "(*(code *)PTR_clear_004c22b8)\n            (param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14));" (call_expression "(*(code *)PTR_clear_004c22b8)\n            (param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14))" (parenthesized_expression "(*(code *)PTR_clear_004c22b8)" ( (pointer_expression "*(code *)PTR_clear_004c22b8" * (cast_expression "(code *)PTR_clear_004c22b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + *(int *)(iVar2 + -0xc),\n             uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14))" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) , (binary_expression "uVar8 | *(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14)" identifier | (pointer_expression "*(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14)" * (cast_expression "(uint *)(param_1 + *(int *)(iVar2 + -0xc) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(iVar2 + -0xc) + 0x14)" ( (binary_expression "param_1 + *(int *)(iVar2 + -0xc) + 0x14" (binary_expression "param_1 + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) ))))) ))) ;)) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "int * FUN_00331e00(int *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_00331e00(int *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_00331e00(int *param_1,string *param_2)" * (function_declarator "FUN_00331e00(int *param_1,string *param_2)" identifier (parameter_list "(int *param_1,string *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "string *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "string sVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "locale alStack_38 [4];" type_identifier (array_declarator "alStack_38 [4]" identifier [ number_literal ]) ;) (declaration "char local_34 [4];" primitive_type (array_declarator "local_34 [4]" identifier [ number_literal ]) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "string *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0);" (call_expression "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0)" (parenthesized_expression "(*(code *)PTR_sentry_004c5178)" ( (pointer_expression "*(code *)PTR_sentry_004c5178" * (cast_expression "(code *)PTR_sentry_004c5178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34,param_1,0)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" if (parenthesized_expression "(local_34[0] == '\0')" ( (binary_expression "local_34[0] == '\0'" (subscript_expression "local_34[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }) (else_clause "else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" else (compound_statement "{\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)param_2 = 0;" (assignment_expression "**(undefined1 **)param_2 = 0" (pointer_expression "**(undefined1 **)param_2" * (pointer_expression "*(undefined1 **)param_2" * (cast_expression "(undefined1 **)param_2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);" (assignment_expression "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" identifier = (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" * (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }" if (parenthesized_expression "((int)uVar14 < 1)" ( (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      uVar14 = 0x7fffffff;\n    }" { (expression_statement "uVar14 = 0x7fffffff;" (assignment_expression "uVar14 = 0x7fffffff" identifier = number_literal) ;) })) (labeled_statement "std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" statement_identifier : (ERROR ":" :) (labeled_statement "locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" (call_expression "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" identifier (argument_list "(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" ( identifier , (cast_expression "(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))) ))) ;))) (expression_statement "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);" (binary_expression "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38)" (binary_expression "pcVar3 = std::use_facet<std" (assignment_expression "pcVar3 = std" identifier = identifier) (ERROR "::use_facet" : : identifier) < identifier) (ERROR "::ctype" : : identifier) < (binary_expression "char>>(alStack_38)" identifier >> (parenthesized_expression "(alStack_38)" ( identifier )))) ;) (labeled_statement "std::locale::~locale(alStack_38);" statement_identifier : (ERROR ":" :) (labeled_statement "locale::~locale(alStack_38);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(alStack_38);" (unary_expression "~locale(alStack_38)" ~ (call_expression "locale(alStack_38)" identifier (argument_list "(alStack_38)" ( identifier )))) ;))) (expression_statement "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" if (parenthesized_expression "((string *)piVar11[2] < (string *)piVar11[3])" ( (binary_expression "(string *)piVar11[2] < (string *)piVar11[3]" (cast_expression "(string *)piVar11[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ])) < (cast_expression "(string *)piVar11[3]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) )) (compound_statement "{\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }" { (expression_statement "sVar6 = *(string *)piVar11[2];" (assignment_expression "sVar6 = *(string *)piVar11[2]" identifier = (pointer_expression "*(string *)piVar11[2]" * (cast_expression "(string *)piVar11[2]" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ])))) ;) (expression_statement "uVar4 = (uint)(byte)sVar6;" (assignment_expression "uVar4 = (uint)(byte)sVar6" identifier = (cast_expression "(uint)(byte)sVar6" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)sVar6" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) }) (else_clause "else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" else (compound_statement "{\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" { (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" ( (pointer_expression "**(code **)(*piVar11 + 0x24)" * (pointer_expression "*(code **)(*piVar11 + 0x24)" * (cast_expression "(code **)(*piVar11 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x24)" ( (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;) (if_statement "if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" identifier = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" identifier = (call_expression "SUB41(uVar7,0)" identifier (argument_list "(uVar7,0)" ( identifier , number_literal )))) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (if_statement "if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" if (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }" { (expression_statement "local_2c = param_2 + 8;" (assignment_expression "local_2c = param_2 + 8" identifier = (binary_expression "param_2 + 8" identifier + number_literal)) ;) (expression_statement "local_30 = 0x7fffffff;" (assignment_expression "local_30 = 0x7fffffff" identifier = number_literal) ;) (do_statement "do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);" do (compound_statement "{\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      }" { (expression_statement "pcVar10 = (char *)piVar11[2];" (assignment_expression "pcVar10 = (char *)piVar11[2]" identifier = (cast_expression "(char *)piVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = uVar14 - uVar13;" (assignment_expression "iVar5 = uVar14 - uVar13" identifier = (binary_expression "uVar14 - uVar13" identifier - identifier)) ;) (if_statement "if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" if (parenthesized_expression "(piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13))" ( (binary_expression "piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)" (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier)) <= (cast_expression "(int)(uVar14 - uVar13)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 - uVar13)" ( (binary_expression "uVar14 - uVar13" identifier - identifier) )))) )) (compound_statement "{\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" { (expression_statement "iVar5 = piVar11[3] - (int)pcVar10;" (assignment_expression "iVar5 = piVar11[3] - (int)pcVar10" identifier = (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" identifier [ number_literal ]) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "uVar7 = *(uint *)(param_2 + 4);" (assignment_expression "uVar7 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" if (parenthesized_expression "(iVar5 < 2)" ( (binary_expression "iVar5 < 2" identifier < number_literal) )) (compound_statement "{\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" { (expression_statement "uVar4 = uVar7 + 1;" (assignment_expression "uVar4 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" if (parenthesized_expression "(*(string **)param_2 == local_2c)" ( (binary_expression "*(string **)param_2 == local_2c" (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) == identifier) )) (compound_statement "{\n            uVar8 = 0xf;\n          }" { (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" else (compound_statement "{\n            uVar8 = *(uint *)(param_2 + 8);\n          }" { (expression_statement "uVar8 = *(uint *)(param_2 + 8);" (assignment_expression "uVar8 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" if (parenthesized_expression "(uVar8 < uVar4)" ( (binary_expression "uVar8 < uVar4" identifier < identifier) )) (compound_statement "{\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" { (labeled_statement "std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate(param_2,uVar7,0,(char *)0x0,1);" (call_expression "_M_mutate(param_2,uVar7,0,(char *)0x0,1)" identifier (argument_list "(param_2,uVar7,0,(char *)0x0,1)" ( identifier , identifier , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;))) (expression_statement "*(string *)(*(int *)param_2 + uVar7) = sVar6;" (assignment_expression "*(string *)(*(int *)param_2 + uVar7) = sVar6" (pointer_expression "*(string *)(*(int *)param_2 + uVar7)" * (cast_expression "(string *)(*(int *)param_2 + uVar7)" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar7)" ( (binary_expression "*(int *)param_2 + uVar7" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar9 <= pbVar12) goto LAB_00332150;" if (parenthesized_expression "(pbVar9 <= pbVar12)" ( (binary_expression "pbVar9 <= pbVar12" identifier <= identifier) )) (goto_statement "goto LAB_00332150;" goto statement_identifier ;)) (labeled_statement "LAB_003320e4:\n            pbVar12 = pbVar12 + 1;" statement_identifier : (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;)) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_003320ec:\n            uVar13 = uVar13 + 1;" statement_identifier : (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" if (parenthesized_expression "(pbVar12 < pbVar9)" ( (binary_expression "pbVar12 < pbVar9" identifier < identifier) )) (compound_statement "{\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" { (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (goto_statement "goto LAB_00332050;" goto statement_identifier ;) })) (goto_statement "goto LAB_00332188;" goto statement_identifier ;) })) (expression_statement "(*(string **)param_2)[uVar7] = sVar6;" (assignment_expression "(*(string **)param_2)[uVar7] = sVar6" (subscript_expression "(*(string **)param_2)[uVar7]" (parenthesized_expression "(*(string **)param_2)" ( (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) )) [ identifier ]) = identifier) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" * (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + uVar4)" ( (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar12 < pbVar9) goto LAB_003320e4;" if (parenthesized_expression "(pbVar12 < pbVar9)" ( (binary_expression "pbVar12 < pbVar9" identifier < identifier) )) (goto_statement "goto LAB_003320e4;" goto statement_identifier ;)) (labeled_statement "LAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" statement_identifier : (expression_statement "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" (assignment_expression "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x28))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x28))" ( (pointer_expression "**(code **)(*piVar11 + 0x28)" * (pointer_expression "*(code **)(*piVar11 + 0x28)" * (cast_expression "(code **)(*piVar11 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x28)" ( (binary_expression "*piVar11 + 0x28" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;)) (if_statement "if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (compound_statement "{\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" { (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" identifier = (cast_expression "(byte *)piVar11[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" identifier = (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_003320ec;" goto statement_identifier ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (labeled_statement "LAB_00332170:\n          uVar7 = 2;" statement_identifier : (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;)) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (if_statement "if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }" if (parenthesized_expression "(pcVar10 + 1 < pcVar10 + iVar5)" ( (binary_expression "pcVar10 + 1 < pcVar10 + iVar5" (binary_expression "pcVar10 + 1" identifier + number_literal) < (binary_expression "pcVar10 + iVar5" identifier + identifier)) )) (compound_statement "{\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }" { (expression_statement "pbVar12 = (byte *)(pcVar10 + 2);" (assignment_expression "pbVar12 = (byte *)(pcVar10 + 2)" identifier = (cast_expression "(byte *)(pcVar10 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar10 + 2)" ( (binary_expression "pcVar10 + 2" identifier + number_literal) )))) ;) (if_statement "if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }" if (parenthesized_expression "((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)(byte)pcVar10[1] * 2)" ( (binary_expression "iVar2 + (uint)(byte)pcVar10[1] * 2" identifier + (binary_expression "(uint)(byte)pcVar10[1] * 2" (cast_expression "(uint)(byte)pcVar10[1]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar10[1]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar10[1]" identifier [ number_literal ]))) * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }" { (while_statement "while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }" while (parenthesized_expression "((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)))" ( (parenthesized_expression "(pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))" ( (binary_expression "pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" (binary_expression "pbVar12 < pcVar10 + iVar5" identifier < (binary_expression "pcVar10 + iVar5" identifier + identifier)) && (parenthesized_expression "((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2)" * (cast_expression "(ushort *)(iVar2 + (uint)*pbVar12 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (uint)*pbVar12 * 2)" ( (binary_expression "iVar2 + (uint)*pbVar12 * 2" identifier + (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) )) (compound_statement "{\n              pbVar12 = pbVar12 + 1;\n            }" { (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = (int)pbVar12 - (int)pcVar10;" (assignment_expression "uVar4 = (int)pbVar12 - (int)pcVar10" identifier = (binary_expression "(int)pbVar12 - (int)pcVar10" (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n            uVar4 = 1;\n          }" else (compound_statement "{\n            uVar4 = 1;\n          }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) }) (else_clause "else {\n          uVar4 = 1;\n        }" else (compound_statement "{\n          uVar4 = 1;\n        }" { (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (if_statement "if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" if (parenthesized_expression "(local_30 - uVar7 < uVar4)" ( (binary_expression "local_30 - uVar7 < uVar4" (binary_expression "local_30 - uVar7" identifier - identifier) < identifier) )) (compound_statement "{\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" { (expression_statement "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (assignment_expression "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" identifier = (cast_expression "(int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" ( (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" * (cast_expression "(code *)PTR___throw_length_error_004c1e74" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" ( (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" identifier + number_literal) ))))) ;) (return_statement "return piVar11;" return identifier ;) })) (labeled_statement "std::string::_M_append(param_2,pcVar10,uVar4);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_append(param_2,pcVar10,uVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_2,pcVar10,uVar4);" (call_expression "_M_append(param_2,pcVar10,uVar4)" identifier (argument_list "(param_2,pcVar10,uVar4)" ( identifier , identifier , identifier ))) ;))) (expression_statement "uVar13 = uVar13 + uVar4;" (assignment_expression "uVar13 = uVar13 + uVar4" identifier = (binary_expression "uVar13 + uVar4" identifier + identifier)) ;) (expression_statement "pbVar12 = (byte *)(piVar11[2] + uVar4);" (assignment_expression "pbVar12 = (byte *)(piVar11[2] + uVar4)" identifier = (cast_expression "(byte *)(piVar11[2] + uVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar11[2] + uVar4)" ( (binary_expression "piVar11[2] + uVar4" (subscript_expression "piVar11[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" if (parenthesized_expression "(pbVar12 < (byte *)piVar11[3])" ( (binary_expression "pbVar12 < (byte *)piVar11[3]" identifier < (cast_expression "(byte *)piVar11[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[3]" identifier [ number_literal ]))) )) (compound_statement "{\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }" { (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" identifier = (pointer_expression "*pbVar12" * identifier)) ;) (labeled_statement "LAB_00332050:\n          uVar7 = (uint)bVar1;" statement_identifier : (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" identifier = identifier) ;) (if_statement "if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" if (parenthesized_expression "(uVar14 <= uVar13)" ( (binary_expression "uVar14 <= uVar13" identifier <= identifier) )) (compound_statement "{\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" { (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" else (compound_statement "{\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" { (labeled_statement "LAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" statement_identifier : (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" identifier = (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" ( (pointer_expression "**(code **)(*piVar11 + 0x24)" * (pointer_expression "*(code **)(*piVar11 + 0x24)" * (cast_expression "(code **)(*piVar11 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar11 + 0x24)" ( (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" * identifier) + number_literal) ))))) )) (argument_list "(piVar11)" ( identifier )))) ;)) (if_statement "if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" if (parenthesized_expression "(uVar14 <= uVar13)" ( (binary_expression "uVar14 <= uVar13" identifier <= identifier) )) (compound_statement "{\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" if (parenthesized_expression "(uVar7 != 0xffffffff)" ( (binary_expression "uVar7 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" { (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (goto_statement "goto LAB_00332170;" goto statement_identifier ;) })) (if_statement "if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" identifier = number_literal) ;) (if_statement "if (uVar13 != 0) {\n              uVar7 = 2;\n            }" if (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) (compound_statement "{\n              uVar7 = 2;\n            }" { (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00331e6c;" goto statement_identifier ;) })) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) }))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" identifier = (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" identifier = (call_expression "SUB41(uVar7,0)" identifier (argument_list "(uVar7,0)" ( identifier , number_literal )))) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) }) while (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" ( (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar4 * 2)" ( (binary_expression "iVar2 + uVar4 * 2" identifier + (binary_expression "uVar4 * 2" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (uVar13 != 0) {\n        return param_1;\n      }" if (parenthesized_expression "(uVar13 != 0)" ( (binary_expression "uVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        return param_1;\n      }" { (return_statement "return param_1;" return identifier ;) })) }) (else_clause "else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" else (compound_statement "{\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" { (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" identifier = number_literal) ;) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }))) }))) (labeled_statement "LAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" statement_identifier : (expression_statement "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) )))))) ;)) (expression_statement "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_clear_004c22b8)" ( (pointer_expression "*(code *)PTR_clear_004c22b8" * (cast_expression "(code *)PTR_clear_004c22b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" ( identifier , (binary_expression "uVar7 | *(uint *)(iVar2 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))) ))) ;))) (expression_statement (binary_expression (binary_expression (assignment_expression IDENT = IDENT) (ERROR : : IDENT) < IDENT) (ERROR : : IDENT) < (binary_expression IDENT >> (parenthesized_expression ( IDENT )))) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (unary_expression ~ (call_expression IDENT (argument_list ( IDENT )))) ;))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (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 IDENT * LIT)) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) , LIT ))) ;))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) )) [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (binary_expression IDENT + IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (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) )) (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < (binary_expression IDENT + IDENT)) && (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 (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) == LIT) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (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 IDENT * LIT)) )))) & LIT) )) == LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00331e00(int *param_1,string *param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_00331e00(int *param_1,string *param_2)" (* "*") (function_declarator "FUN_00331e00(int *param_1,string *param_2)" (identifier "FUN_00331e00") (parameter_list "(int *param_1,string *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "string *param_2" (type_identifier "string") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  int iVar5;\n  string sVar6;\n  uint uVar7;\n  uint uVar8;\n  byte *pbVar9;\n  char *pcVar10;\n  int *piVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  locale alStack_38 [4];\n  char local_34 [4];\n  int local_30;\n  string *local_2c;\n  \n  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);\n  if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }\nLAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);\n  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "ctype *pcVar3;" (type_identifier "ctype") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "string sVar6;" (type_identifier "string") (identifier "sVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "locale alStack_38 [4];" (type_identifier "locale") (array_declarator "alStack_38 [4]" (identifier "alStack_38") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "char local_34 [4];" (primitive_type "char") (array_declarator "local_34 [4]" (identifier "local_34") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "string *local_2c;" (type_identifier "string") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0);" (call_expression "(*(code *)PTR_sentry_004c5178)(local_34,param_1,0)" (parenthesized_expression "(*(code *)PTR_sentry_004c5178)" (( "(") (pointer_expression "*(code *)PTR_sentry_004c5178" (* "*") (cast_expression "(code *)PTR_sentry_004c5178" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sentry_004c5178"))) () ")")) (argument_list "(local_34,param_1,0)" (( "(") (identifier "local_34") (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_34[0] == '\0') {\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }\n  else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" (if "if") (parenthesized_expression "(local_34[0] == '\0')" (( "(") (binary_expression "local_34[0] == '\0'" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar2 = *param_1;\n    uVar7 = 4;\n  }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" (identifier "uVar7") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" (else "else") (compound_statement "{\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);\n    if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }\n    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));\n                    \n    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);\n    std::locale::~locale(alStack_38);\n    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }\n    iVar2 = *(int *)(pcVar3 + 0x18);\n    uVar13 = 0;\n    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(undefined1 **)param_2 = 0;" (assignment_expression "**(undefined1 **)param_2 = 0" (pointer_expression "**(undefined1 **)param_2" (* "*") (pointer_expression "*(undefined1 **)param_2" (* "*") (cast_expression "(undefined1 **)param_2" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_2")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);" (assignment_expression "uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (identifier "uVar14") (= "=") (pointer_expression "*(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (* "*") (cast_expression "(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((int)uVar14 < 1) {\n      uVar14 = 0x7fffffff;\n    }" (if "if") (parenthesized_expression "((int)uVar14 < 1)" (( "(") (binary_expression "(int)uVar14 < 1" (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      uVar14 = 0x7fffffff;\n    }" ({ "{") (expression_statement "uVar14 = 0x7fffffff;" (assignment_expression "uVar14 = 0x7fffffff" (identifier "uVar14") (= "=") (number_literal "0x7fffffff")) (; ";")) (} "}"))) (labeled_statement "std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (expression_statement "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));" (call_expression "locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" (identifier "locale") (argument_list "(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c))" (( "(") (identifier "alStack_38") (, ",") (cast_expression "(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" (( "(") (type_descriptor "locale *" (type_identifier "locale") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x6c")) () ")"))) () ")"))) (; ";")))) (expression_statement "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);" (binary_expression "pcVar3 = std::use_facet<std::ctype<char>>(alStack_38)" (binary_expression "pcVar3 = std::use_facet<std" (assignment_expression "pcVar3 = std" (identifier "pcVar3") (= "=") (identifier "std")) (ERROR "::use_facet" (: ":") (: ":") (identifier "use_facet")) (< "<") (identifier "std")) (ERROR "::ctype" (: ":") (: ":") (identifier "ctype")) (< "<") (binary_expression "char>>(alStack_38)" (identifier "char") (>> ">>") (parenthesized_expression "(alStack_38)" (( "(") (identifier "alStack_38") () ")")))) (; ";")) (labeled_statement "std::locale::~locale(alStack_38);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "locale::~locale(alStack_38);" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (expression_statement "~locale(alStack_38);" (unary_expression "~locale(alStack_38)" (~ "~") (call_expression "locale(alStack_38)" (identifier "locale") (argument_list "(alStack_38)" (( "(") (identifier "alStack_38") () ")")))) (; ";")))) (expression_statement "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (identifier "piVar11") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (if_statement "if ((string *)piVar11[2] < (string *)piVar11[3]) {\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }\n    else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" (if "if") (parenthesized_expression "((string *)piVar11[2] < (string *)piVar11[3])" (( "(") (binary_expression "(string *)piVar11[2] < (string *)piVar11[3]" (cast_expression "(string *)piVar11[2]" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(string *)piVar11[3]" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n      sVar6 = *(string *)piVar11[2];\n      uVar4 = (uint)(byte)sVar6;\n    }" ({ "{") (expression_statement "sVar6 = *(string *)piVar11[2];" (assignment_expression "sVar6 = *(string *)piVar11[2]" (identifier "sVar6") (= "=") (pointer_expression "*(string *)piVar11[2]" (* "*") (cast_expression "(string *)piVar11[2]" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (expression_statement "uVar4 = (uint)(byte)sVar6;" (assignment_expression "uVar4 = (uint)(byte)sVar6" (identifier "uVar4") (= "=") (cast_expression "(uint)(byte)sVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)sVar6" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "sVar6")))) (; ";")) (} "}")) (else_clause "else {\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" (else "else") (compound_statement "{\n                    \n      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n      if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }\n      uVar4 = uVar7 & 0xff;\n      sVar6 = SUB41(uVar7,0);\n    }" ({ "{") (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar11 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar11 + 0x24)" (* "*") (cast_expression "(code **)(*piVar11 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar11 + 0x24)" (( "(") (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar11)" (( "(") (identifier "piVar11") () ")")))) (; ";")) (if_statement "if (uVar7 == 0xffffffff) {\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" (if "if") (parenthesized_expression "(uVar7 == 0xffffffff)" (( "(") (binary_expression "uVar7 == 0xffffffff" (identifier "uVar7") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n        iVar2 = *param_1;\n        uVar7 = 6;\n        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n        goto LAB_00331e6c;\n      }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" (identifier "uVar7") (= "=") (number_literal "6")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00331e6c;" (goto "goto") (statement_identifier "LAB_00331e6c") (; ";")) (} "}"))) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" (identifier "uVar4") (= "=") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" (identifier "sVar6") (= "=") (call_expression "SUB41(uVar7,0)" (identifier "SUB41") (argument_list "(uVar7,0)" (( "(") (identifier "uVar7") (, ",") (number_literal "0") () ")")))) (; ";")) (} "}")))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(pcVar3 + 0x18)" (* "*") (cast_expression "(int *)(pcVar3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 0x18)" (( "(") (binary_expression "pcVar3 + 0x18" (identifier "pcVar3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" (identifier "uVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }\n    else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" (if "if") (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" (* "*") (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar4 * 2)" (( "(") (binary_expression "iVar2 + uVar4 * 2" (identifier "iVar2") (+ "+") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_2c = param_2 + 8;\n      local_30 = 0x7fffffff;\n      do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);\n      iVar2 = *param_1;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n      if (uVar13 != 0) {\n        return param_1;\n      }\n    }" ({ "{") (expression_statement "local_2c = param_2 + 8;" (assignment_expression "local_2c = param_2 + 8" (identifier "local_2c") (= "=") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "local_30 = 0x7fffffff;" (assignment_expression "local_30 = 0x7fffffff" (identifier "local_30") (= "=") (number_literal "0x7fffffff")) (; ";")) (do_statement "do {\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);" (do "do") (compound_statement "{\n        pcVar10 = (char *)piVar11[2];\n        iVar5 = uVar14 - uVar13;\n        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }\n        uVar7 = *(uint *)(param_2 + 4);\n        if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }\n        if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }\n        if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }\n                    \n        std::string::_M_append(param_2,pcVar10,uVar4);\n        uVar13 = uVar13 + uVar4;\n        pbVar12 = (byte *)(piVar11[2] + uVar4);\n        piVar11[2] = (int)pbVar12;\n        if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }\n        iVar2 = *(int *)(pcVar3 + 0x18);\n        sVar6 = SUB41(uVar7,0);\n        uVar7 = 4;\n      }" ({ "{") (expression_statement "pcVar10 = (char *)piVar11[2];" (assignment_expression "pcVar10 = (char *)piVar11[2]" (identifier "pcVar10") (= "=") (cast_expression "(char *)piVar11[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar5 = uVar14 - uVar13;" (assignment_expression "iVar5 = uVar14 - uVar13" (identifier "iVar5") (= "=") (binary_expression "uVar14 - uVar13" (identifier "uVar14") (- "-") (identifier "uVar13"))) (; ";")) (if_statement "if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" (if "if") (parenthesized_expression "(piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13))" (( "(") (binary_expression "piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)" (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")) (- "-") (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10"))) (<= "<=") (cast_expression "(int)(uVar14 - uVar13)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar14 - uVar13)" (( "(") (binary_expression "uVar14 - uVar13" (identifier "uVar14") (- "-") (identifier "uVar13")) () ")")))) () ")")) (compound_statement "{\n          iVar5 = piVar11[3] - (int)pcVar10;\n        }" ({ "{") (expression_statement "iVar5 = piVar11[3] - (int)pcVar10;" (assignment_expression "iVar5 = piVar11[3] - (int)pcVar10" (identifier "iVar5") (= "=") (binary_expression "piVar11[3] - (int)pcVar10" (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")) (- "-") (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")))) (; ";")) (} "}"))) (expression_statement "uVar7 = *(uint *)(param_2 + 4);" (assignment_expression "uVar7 = *(uint *)(param_2 + 4)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (iVar5 < 2) {\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" (if "if") (parenthesized_expression "(iVar5 < 2)" (( "(") (binary_expression "iVar5 < 2" (identifier "iVar5") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n          uVar4 = uVar7 + 1;\n          if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }\n          if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }\n          (*(string **)param_2)[uVar7] = sVar6;\n          *(uint *)(param_2 + 4) = uVar4;\n          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n          pbVar12 = (byte *)piVar11[2];\n          pbVar9 = (byte *)piVar11[3];\n          if (pbVar12 < pbVar9) goto LAB_003320e4;\nLAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);\n          if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }\n          iVar2 = *param_1;\nLAB_00332170:\n          uVar7 = 2;\n          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n          goto LAB_00331e6c;\n        }" ({ "{") (expression_statement "uVar4 = uVar7 + 1;" (assignment_expression "uVar4 = uVar7 + 1" (identifier "uVar4") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(string **)param_2 == local_2c) {\n            uVar8 = 0xf;\n          }\n          else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" (if "if") (parenthesized_expression "(*(string **)param_2 == local_2c)" (( "(") (binary_expression "*(string **)param_2 == local_2c" (pointer_expression "*(string **)param_2" (* "*") (cast_expression "(string **)param_2" (( "(") (type_descriptor "string **" (type_identifier "string") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_2"))) (== "==") (identifier "local_2c")) () ")")) (compound_statement "{\n            uVar8 = 0xf;\n          }" ({ "{") (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" (identifier "uVar8") (= "=") (number_literal "0xf")) (; ";")) (} "}")) (else_clause "else {\n            uVar8 = *(uint *)(param_2 + 8);\n          }" (else "else") (compound_statement "{\n            uVar8 = *(uint *)(param_2 + 8);\n          }" ({ "{") (expression_statement "uVar8 = *(uint *)(param_2 + 8);" (assignment_expression "uVar8 = *(uint *)(param_2 + 8)" (identifier "uVar8") (= "=") (pointer_expression "*(uint *)(param_2 + 8)" (* "*") (cast_expression "(uint *)(param_2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (uVar8 < uVar4) {\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" (if "if") (parenthesized_expression "(uVar8 < uVar4)" (( "(") (binary_expression "uVar8 < uVar4" (identifier "uVar8") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);\n            *(string *)(*(int *)param_2 + uVar7) = sVar6;\n            *(uint *)(param_2 + 4) = uVar4;\n            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            if (pbVar9 <= pbVar12) goto LAB_00332150;\nLAB_003320e4:\n            pbVar12 = pbVar12 + 1;\n            piVar11[2] = (int)pbVar12;\nLAB_003320ec:\n            uVar13 = uVar13 + 1;\n            if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }\n            goto LAB_00332188;\n          }" ({ "{") (labeled_statement "std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);" (statement_identifier "string") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_mutate(param_2,uVar7,0,(char *)0x0,1);" (call_expression "_M_mutate(param_2,uVar7,0,(char *)0x0,1)" (identifier "_M_mutate") (argument_list "(param_2,uVar7,0,(char *)0x0,1)" (( "(") (identifier "param_2") (, ",") (identifier "uVar7") (, ",") (number_literal "0") (, ",") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (, ",") (number_literal "1") () ")"))) (; ";")))) (expression_statement "*(string *)(*(int *)param_2 + uVar7) = sVar6;" (assignment_expression "*(string *)(*(int *)param_2 + uVar7) = sVar6" (pointer_expression "*(string *)(*(int *)param_2 + uVar7)" (* "*") (cast_expression "(string *)(*(int *)param_2 + uVar7)" (( "(") (type_descriptor "string *" (type_identifier "string") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_2 + uVar7)" (( "(") (binary_expression "*(int *)param_2 + uVar7" (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (+ "+") (identifier "uVar7")) () ")")))) (= "=") (identifier "sVar6")) (; ";")) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" (* "*") (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_2 + uVar4)" (( "(") (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (+ "+") (identifier "uVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" (identifier "pbVar12") (= "=") (cast_expression "(byte *)piVar11[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" (identifier "pbVar9") (= "=") (cast_expression "(byte *)piVar11[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (pbVar9 <= pbVar12) goto LAB_00332150;" (if "if") (parenthesized_expression "(pbVar9 <= pbVar12)" (( "(") (binary_expression "pbVar9 <= pbVar12" (identifier "pbVar9") (<= "<=") (identifier "pbVar12")) () ")")) (goto_statement "goto LAB_00332150;" (goto "goto") (statement_identifier "LAB_00332150") (; ";"))) (labeled_statement "LAB_003320e4:\n            pbVar12 = pbVar12 + 1;" (statement_identifier "LAB_003320e4") (: ":") (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12"))) (; ";")) (labeled_statement "LAB_003320ec:\n            uVar13 = uVar13 + 1;" (statement_identifier "LAB_003320ec") (: ":") (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" (identifier "uVar13") (= "=") (binary_expression "uVar13 + 1" (identifier "uVar13") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (pbVar12 < pbVar9) {\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" (if "if") (parenthesized_expression "(pbVar12 < pbVar9)" (( "(") (binary_expression "pbVar12 < pbVar9" (identifier "pbVar12") (< "<") (identifier "pbVar9")) () ")")) (compound_statement "{\n              bVar1 = *pbVar12;\n              goto LAB_00332050;\n            }" ({ "{") (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" (identifier "bVar1") (= "=") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (; ";")) (goto_statement "goto LAB_00332050;" (goto "goto") (statement_identifier "LAB_00332050") (; ";")) (} "}"))) (goto_statement "goto LAB_00332188;" (goto "goto") (statement_identifier "LAB_00332188") (; ";")) (} "}"))) (expression_statement "(*(string **)param_2)[uVar7] = sVar6;" (assignment_expression "(*(string **)param_2)[uVar7] = sVar6" (subscript_expression "(*(string **)param_2)[uVar7]" (parenthesized_expression "(*(string **)param_2)" (( "(") (pointer_expression "*(string **)param_2" (* "*") (cast_expression "(string **)param_2" (( "(") (type_descriptor "string **" (type_identifier "string") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "param_2"))) () ")")) ([ "[") (identifier "uVar7") (] "]")) (= "=") (identifier "sVar6")) (; ";")) (expression_statement "*(uint *)(param_2 + 4) = uVar4;" (assignment_expression "*(uint *)(param_2 + 4) = uVar4" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined1 *)(*(int *)param_2 + uVar4) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + uVar4) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + uVar4)" (* "*") (cast_expression "(undefined1 *)(*(int *)param_2 + uVar4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_2 + uVar4)" (( "(") (binary_expression "*(int *)param_2 + uVar4" (pointer_expression "*(int *)param_2" (* "*") (cast_expression "(int *)param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2"))) (+ "+") (identifier "uVar4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" (identifier "pbVar12") (= "=") (cast_expression "(byte *)piVar11[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" (identifier "pbVar9") (= "=") (cast_expression "(byte *)piVar11[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (pbVar12 < pbVar9) goto LAB_003320e4;" (if "if") (parenthesized_expression "(pbVar12 < pbVar9)" (( "(") (binary_expression "pbVar12 < pbVar9" (identifier "pbVar12") (< "<") (identifier "pbVar9")) () ")")) (goto_statement "goto LAB_003320e4;" (goto "goto") (statement_identifier "LAB_003320e4") (; ";"))) (labeled_statement "LAB_00332150:\n          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" (statement_identifier "LAB_00332150") (: ":") (expression_statement "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);" (assignment_expression "iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*piVar11 + 0x28))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar11 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar11 + 0x28)" (* "*") (cast_expression "(code **)(*piVar11 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar11 + 0x28)" (( "(") (binary_expression "*piVar11 + 0x28" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar11)" (( "(") (identifier "piVar11") () ")")))) (; ";"))) (if_statement "if (iVar2 != -1) {\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" (if "if") (parenthesized_expression "(iVar2 != -1)" (( "(") (binary_expression "iVar2 != -1" (identifier "iVar2") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n            pbVar12 = (byte *)piVar11[2];\n            pbVar9 = (byte *)piVar11[3];\n            goto LAB_003320ec;\n          }" ({ "{") (expression_statement "pbVar12 = (byte *)piVar11[2];" (assignment_expression "pbVar12 = (byte *)piVar11[2]" (identifier "pbVar12") (= "=") (cast_expression "(byte *)piVar11[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar9 = (byte *)piVar11[3];" (assignment_expression "pbVar9 = (byte *)piVar11[3]" (identifier "pbVar9") (= "=") (cast_expression "(byte *)piVar11[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")))) (; ";")) (goto_statement "goto LAB_003320ec;" (goto "goto") (statement_identifier "LAB_003320ec") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (labeled_statement "LAB_00332170:\n          uVar7 = 2;" (statement_identifier "LAB_00332170") (: ":") (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" (identifier "uVar7") (= "=") (number_literal "2")) (; ";"))) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00331e6c;" (goto "goto") (statement_identifier "LAB_00331e6c") (; ";")) (} "}"))) (if_statement "if (pcVar10 + 1 < pcVar10 + iVar5) {\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }\n        else {\n          uVar4 = 1;\n        }" (if "if") (parenthesized_expression "(pcVar10 + 1 < pcVar10 + iVar5)" (( "(") (binary_expression "pcVar10 + 1 < pcVar10 + iVar5" (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1")) (< "<") (binary_expression "pcVar10 + iVar5" (identifier "pcVar10") (+ "+") (identifier "iVar5"))) () ")")) (compound_statement "{\n          pbVar12 = (byte *)(pcVar10 + 2);\n          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }\n        }" ({ "{") (expression_statement "pbVar12 = (byte *)(pcVar10 + 2);" (assignment_expression "pbVar12 = (byte *)(pcVar10 + 2)" (identifier "pbVar12") (= "=") (cast_expression "(byte *)(pcVar10 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar10 + 2)" (( "(") (binary_expression "pcVar10 + 2" (identifier "pcVar10") (+ "+") (number_literal "2")) () ")")))) (; ";")) (if_statement "if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }\n          else {\n            uVar4 = 1;\n          }" (if "if") (parenthesized_expression "((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" (* "*") (cast_expression "(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (uint)(byte)pcVar10[1] * 2)" (( "(") (binary_expression "iVar2 + (uint)(byte)pcVar10[1] * 2" (identifier "iVar2") (+ "+") (binary_expression "(uint)(byte)pcVar10[1] * 2" (cast_expression "(uint)(byte)pcVar10[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)pcVar10[1]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]")))) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }\n            uVar4 = (int)pbVar12 - (int)pcVar10;\n          }" ({ "{") (while_statement "while ((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {\n              pbVar12 = pbVar12 + 1;\n            }" (while "while") (parenthesized_expression "((pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)))" (( "(") (parenthesized_expression "(pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))" (( "(") (binary_expression "pbVar12 < pcVar10 + iVar5 &&\n                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" (binary_expression "pbVar12 < pcVar10 + iVar5" (identifier "pbVar12") (< "<") (binary_expression "pcVar10 + iVar5" (identifier "pcVar10") (+ "+") (identifier "iVar5"))) (&& "&&") (parenthesized_expression "((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + (uint)*pbVar12 * 2)" (* "*") (cast_expression "(ushort *)(iVar2 + (uint)*pbVar12 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (uint)*pbVar12 * 2)" (( "(") (binary_expression "iVar2 + (uint)*pbVar12 * 2" (identifier "iVar2") (+ "+") (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar12")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")")) (compound_statement "{\n              pbVar12 = pbVar12 + 1;\n            }" ({ "{") (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar4 = (int)pbVar12 - (int)pcVar10;" (assignment_expression "uVar4 = (int)pbVar12 - (int)pcVar10" (identifier "uVar4") (= "=") (binary_expression "(int)pbVar12 - (int)pcVar10" (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12")) (- "-") (cast_expression "(int)pcVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar10")))) (; ";")) (} "}")) (else_clause "else {\n            uVar4 = 1;\n          }" (else "else") (compound_statement "{\n            uVar4 = 1;\n          }" ({ "{") (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          uVar4 = 1;\n        }" (else "else") (compound_statement "{\n          uVar4 = 1;\n        }" ({ "{") (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (local_30 - uVar7 < uVar4) {\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" (if "if") (parenthesized_expression "(local_30 - uVar7 < uVar4)" (( "(") (binary_expression "local_30 - uVar7 < uVar4" (binary_expression "local_30 - uVar7" (identifier "local_30") (- "-") (identifier "uVar7")) (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n                    \n          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);\n          return piVar11;\n        }" ({ "{") (expression_statement "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);" (assignment_expression "piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (identifier "piVar11") (= "=") (cast_expression "(int *)(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___throw_length_error_004c1e74)\n                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (parenthesized_expression "(*(code *)PTR___throw_length_error_004c1e74)" (( "(") (pointer_expression "*(code *)PTR___throw_length_error_004c1e74" (* "*") (cast_expression "(code *)PTR___throw_length_error_004c1e74" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___throw_length_error_004c1e74"))) () ")")) (argument_list "(PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c)" (( "(") (binary_expression "PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c" (identifier "PTR_s_ral_options14Struct_no_crefE_004c127c") (+ "+") (number_literal "0x446c")) () ")"))))) (; ";")) (return_statement "return piVar11;" (return "return") (identifier "piVar11") (; ";")) (} "}"))) (labeled_statement "std::string::_M_append(param_2,pcVar10,uVar4);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "string::_M_append(param_2,pcVar10,uVar4);" (statement_identifier "string") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_append(param_2,pcVar10,uVar4);" (call_expression "_M_append(param_2,pcVar10,uVar4)" (identifier "_M_append") (argument_list "(param_2,pcVar10,uVar4)" (( "(") (identifier "param_2") (, ",") (identifier "pcVar10") (, ",") (identifier "uVar4") () ")"))) (; ";")))) (expression_statement "uVar13 = uVar13 + uVar4;" (assignment_expression "uVar13 = uVar13 + uVar4" (identifier "uVar13") (= "=") (binary_expression "uVar13 + uVar4" (identifier "uVar13") (+ "+") (identifier "uVar4"))) (; ";")) (expression_statement "pbVar12 = (byte *)(piVar11[2] + uVar4);" (assignment_expression "pbVar12 = (byte *)(piVar11[2] + uVar4)" (identifier "pbVar12") (= "=") (cast_expression "(byte *)(piVar11[2] + uVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar11[2] + uVar4)" (( "(") (binary_expression "piVar11[2] + uVar4" (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "uVar4")) () ")")))) (; ";")) (expression_statement "piVar11[2] = (int)pbVar12;" (assignment_expression "piVar11[2] = (int)pbVar12" (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12"))) (; ";")) (if_statement "if (pbVar12 < (byte *)piVar11[3]) {\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }\n        else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" (if "if") (parenthesized_expression "(pbVar12 < (byte *)piVar11[3])" (( "(") (binary_expression "pbVar12 < (byte *)piVar11[3]" (identifier "pbVar12") (< "<") (cast_expression "(byte *)piVar11[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[3]" (identifier "piVar11") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n          bVar1 = *pbVar12;\nLAB_00332050:\n          uVar7 = (uint)bVar1;\n          uVar4 = uVar7;\n          if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }\n        }" ({ "{") (expression_statement "bVar1 = *pbVar12;" (assignment_expression "bVar1 = *pbVar12" (identifier "bVar1") (= "=") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (; ";")) (labeled_statement "LAB_00332050:\n          uVar7 = (uint)bVar1;" (statement_identifier "LAB_00332050") (: ":") (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" (identifier "uVar7") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";"))) (expression_statement "uVar4 = uVar7;" (assignment_expression "uVar4 = uVar7" (identifier "uVar4") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (uVar14 <= uVar13) {\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" (if "if") (parenthesized_expression "(uVar14 <= uVar13)" (( "(") (binary_expression "uVar14 <= uVar13" (identifier "uVar14") (<= "<=") (identifier "uVar13")) () ")")) (compound_statement "{\n            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;\n            return param_1;\n          }" ({ "{") (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" (else "else") (compound_statement "{\nLAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);\n          if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }\n          if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }\n          uVar4 = uVar7 & 0xff;\n        }" ({ "{") (labeled_statement "LAB_00332188:\n          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (statement_identifier "LAB_00332188") (: ":") (expression_statement "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);" (assignment_expression "uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*piVar11 + 0x24))(piVar11)" (parenthesized_expression "(**(code **)(*piVar11 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar11 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar11 + 0x24)" (* "*") (cast_expression "(code **)(*piVar11 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar11 + 0x24)" (( "(") (binary_expression "*piVar11 + 0x24" (pointer_expression "*piVar11" (* "*") (identifier "piVar11")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar11)" (( "(") (identifier "piVar11") () ")")))) (; ";"))) (if_statement "if (uVar14 <= uVar13) {\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" (if "if") (parenthesized_expression "(uVar14 <= uVar13)" (( "(") (binary_expression "uVar14 <= uVar13" (identifier "uVar14") (<= "<=") (identifier "uVar13")) () ")")) (compound_statement "{\n            iVar2 = *param_1;\n            if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }\n            goto LAB_00332170;\n          }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (uVar7 != 0xffffffff) {\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" (if "if") (parenthesized_expression "(uVar7 != 0xffffffff)" (( "(") (binary_expression "uVar7 != 0xffffffff" (identifier "uVar7") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n              return param_1;\n            }" ({ "{") (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (goto_statement "goto LAB_00332170;" (goto "goto") (statement_identifier "LAB_00332170") (; ";")) (} "}"))) (if_statement "if (uVar7 == 0xffffffff) {\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" (if "if") (parenthesized_expression "(uVar7 == 0xffffffff)" (( "(") (binary_expression "uVar7 == 0xffffffff" (identifier "uVar7") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n            iVar2 = *param_1;\n            uVar7 = 6;\n            if (uVar13 != 0) {\n              uVar7 = 2;\n            }\n            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n            goto LAB_00331e6c;\n          }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = 6;" (assignment_expression "uVar7 = 6" (identifier "uVar7") (= "=") (number_literal "6")) (; ";")) (if_statement "if (uVar13 != 0) {\n              uVar7 = 2;\n            }" (if "if") (parenthesized_expression "(uVar13 != 0)" (( "(") (binary_expression "uVar13 != 0" (identifier "uVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              uVar7 = 2;\n            }" ({ "{") (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" (identifier "uVar7") (= "=") (number_literal "2")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00331e6c;" (goto "goto") (statement_identifier "LAB_00331e6c") (; ";")) (} "}"))) (expression_statement "uVar4 = uVar7 & 0xff;" (assignment_expression "uVar4 = uVar7 & 0xff" (identifier "uVar4") (= "=") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff"))) (; ";")) (} "}")))) (expression_statement "iVar2 = *(int *)(pcVar3 + 0x18);" (assignment_expression "iVar2 = *(int *)(pcVar3 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(pcVar3 + 0x18)" (* "*") (cast_expression "(int *)(pcVar3 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 0x18)" (( "(") (binary_expression "pcVar3 + 0x18" (identifier "pcVar3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "sVar6 = SUB41(uVar7,0);" (assignment_expression "sVar6 = SUB41(uVar7,0)" (identifier "sVar6") (= "=") (call_expression "SUB41(uVar7,0)" (identifier "SUB41") (argument_list "(uVar7,0)" (( "(") (identifier "uVar7") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" (identifier "uVar7") (= "=") (number_literal "4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(iVar2 + uVar4 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(iVar2 + uVar4 * 2) & 0x20" (pointer_expression "*(ushort *)(iVar2 + uVar4 * 2)" (* "*") (cast_expression "(ushort *)(iVar2 + uVar4 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar4 * 2)" (( "(") (binary_expression "iVar2 + uVar4 * 2" (identifier "iVar2") (+ "+") (binary_expression "uVar4 * 2" (identifier "uVar4") (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar13 != 0) {\n        return param_1;\n      }" (if "if") (parenthesized_expression "(uVar13 != 0)" (( "(") (binary_expression "uVar13 != 0" (identifier "uVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return param_1;\n      }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" (else "else") (compound_statement "{\n      iVar2 = *param_1;\n      uVar7 = 4;\n      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;\n    }" ({ "{") (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = 4;" (assignment_expression "uVar7 = 4" (identifier "uVar7") (= "=") (number_literal "4")) (; ";")) (expression_statement "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")))) (labeled_statement "LAB_00331e6c:\n  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" (statement_identifier "LAB_00331e6c") (: ":") (expression_statement "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);" (assignment_expression "iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc)" (identifier "iVar2") (= "=") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")")))))) (; ";"))) (expression_statement "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));" (call_expression "(*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" (parenthesized_expression "(*(code *)PTR_clear_004c22b8)" (( "(") (pointer_expression "*(code *)PTR_clear_004c22b8" (* "*") (cast_expression "(code *)PTR_clear_004c22b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_clear_004c22b8"))) () ")")) (argument_list "(iVar2,uVar7 | *(uint *)(iVar2 + 0x14))" (( "(") (identifier "iVar2") (, ",") (binary_expression "uVar7 | *(uint *)(iVar2 + 0x14)" (identifier "uVar7") (| "|") (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, std::string&) */

type_5 * var_4::operator>>(type_5 *var_2,type_4 *var_1)

{
  type_1 bVar1;
  int var_7;
  type_2 *var_9;
  type_3 var_10;
  int var_13;
  type_4 sVar7;
  type_5 *piVar6;
  type_3 var_6;
  type_3 var_15;
  type_1 *var_17;
  char *var_19;
  int *piVar12;
  type_1 *var_18;
  type_3 var_12;
  type_3 var_11;
  type_6 alStack_38 [4];
  char local_34 [4];
  int var_20;
  type_4 *var_14;
  
  (*(type_7 *)PTR_sentry_004c5178)(local_34,var_2,0);
  if (local_34[0] == '\0') {
    var_7 = *(int *)var_2;
    var_6 = 4;
  }
  else {
    *(type_8 *)(var_1 + 4) = 0;
    **(type_9 **)var_1 = 0;
    var_11 = *(type_3 *)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 8);
    if ((int)var_11 < 1) {
      var_11 = 0x7fffffff;
    }
    locale::type_6(alStack_38,(type_6 *)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0x6c));
                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */
    var_9 = var_3<var_4::type_2<var_5>>(alStack_38);
    locale::~type_6(alStack_38);
    piVar12 = *(int **)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0x78);
    if ((type_4 *)piVar12[2] < (type_4 *)piVar12[3]) {
      sVar7 = *(type_4 *)piVar12[2];
      var_10 = (type_3)(type_1)sVar7;
    }
    else {
                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */
      var_6 = (**(type_7 **)(*piVar12 + 0x24))(piVar12);
      if (var_6 == 0xffffffff) {
        var_7 = *(int *)var_2;
        var_6 = 6;
        *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
        goto LAB_00331e6c;
      }
      var_10 = var_6 & 0xff;
      sVar7 = var_8(var_6,0);
    }
    var_7 = *(int *)(var_9 + 0x18);
    var_12 = 0;
    if ((*(type_10 *)(var_7 + var_10 * 2) & 0x20) == 0) {
      var_14 = var_1 + 8;
      var_20 = 0x7fffffff;
      do {
        var_19 = (char *)piVar12[2];
        var_13 = var_11 - var_12;
        if (piVar12[3] - (int)var_19 <= (int)(var_11 - var_12)) {
          var_13 = piVar12[3] - (int)var_19;
        }
        var_6 = *(type_3 *)(var_1 + 4);
        if (var_13 < 2) {
          var_10 = var_6 + 1;
          if (*(type_4 **)var_1 == var_14) {
            var_15 = 0xf;
          }
          else {
            var_15 = *(type_3 *)(var_1 + 8);
          }
          if (var_15 < var_10) {
            string::var_16(var_1,var_6,0,(char *)0x0,1);
            *(type_4 *)(*(int *)var_1 + var_6) = sVar7;
            *(type_3 *)(var_1 + 4) = var_10;
            *(type_9 *)(*(int *)var_1 + var_10) = 0;
            var_18 = (type_1 *)piVar12[2];
            var_17 = (type_1 *)piVar12[3];
            if (var_17 <= var_18) goto LAB_00332150;
LAB_003320e4:
            var_18 = var_18 + 1;
            piVar12[2] = (int)var_18;
LAB_003320ec:
            var_12 = var_12 + 1;
            if (var_18 < var_17) {
              bVar1 = *var_18;
              goto LAB_00332050;
            }
            goto LAB_00332188;
          }
          (*(type_4 **)var_1)[var_6] = sVar7;
          *(type_3 *)(var_1 + 4) = var_10;
          *(type_9 *)(*(int *)var_1 + var_10) = 0;
          var_18 = (type_1 *)piVar12[2];
          var_17 = (type_1 *)piVar12[3];
          if (var_18 < var_17) goto LAB_003320e4;
LAB_00332150:
          var_7 = (**(type_7 **)(*piVar12 + 0x28))(piVar12);
          if (var_7 != -1) {
            var_18 = (type_1 *)piVar12[2];
            var_17 = (type_1 *)piVar12[3];
            goto LAB_003320ec;
          }
          var_7 = *(int *)var_2;
LAB_00332170:
          var_6 = 2;
          *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
          goto LAB_00331e6c;
        }
        if (var_19 + 1 < var_19 + var_13) {
          var_18 = (type_1 *)(var_19 + 2);
          if ((*(type_10 *)(var_7 + (type_3)(type_1)var_19[1] * 2) & 0x20) == 0) {
            while ((var_18 < var_19 + var_13 &&
                   ((*(type_10 *)(var_7 + (type_3)*var_18 * 2) & 0x20) == 0))) {
              var_18 = var_18 + 1;
            }
            var_10 = (int)var_18 - (int)var_19;
          }
          else {
            var_10 = 1;
          }
        }
        else {
          var_10 = 1;
        }
        if (var_20 - var_6 < var_10) {
                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */
          piVar6 = (type_5 *)
                   (*(type_7 *)PTR___throw_length_error_004c1e74)
                             (var_21 + 0x446c);
          return piVar6;
        }
                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */
        string::var_22(var_1,var_19,var_10);
        var_12 = var_12 + var_10;
        var_18 = (type_1 *)(piVar12[2] + var_10);
        piVar12[2] = (int)var_18;
        if (var_18 < (type_1 *)piVar12[3]) {
          bVar1 = *var_18;
LAB_00332050:
          var_6 = (type_3)bVar1;
          var_10 = var_6;
          if (var_11 <= var_12) {
            *(type_8 *)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 8) = 0;
            return var_2;
          }
        }
        else {
LAB_00332188:
          var_6 = (**(type_7 **)(*piVar12 + 0x24))(piVar12);
          if (var_11 <= var_12) {
            var_7 = *(int *)var_2;
            if (var_6 != 0xffffffff) {
              *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
              return var_2;
            }
            goto LAB_00332170;
          }
          if (var_6 == 0xffffffff) {
            var_7 = *(int *)var_2;
            var_6 = 6;
            if (var_12 != 0) {
              var_6 = 2;
            }
            *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
            goto LAB_00331e6c;
          }
          var_10 = var_6 & 0xff;
        }
        var_7 = *(int *)(var_9 + 0x18);
        sVar7 = var_8(var_6,0);
        var_6 = 4;
      } while ((*(type_10 *)(var_7 + var_10 * 2) & 0x20) == 0);
      var_7 = *(int *)var_2;
      *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
      if (var_12 != 0) {
        return var_2;
      }
    }
    else {
      var_7 = *(int *)var_2;
      var_6 = 4;
      *(type_8 *)(var_2 + *(int *)(var_7 + -0xc) + 8) = 0;
    }
  }
LAB_00331e6c:
  (*(type_7 *)PTR_clear_004c22b8)
            (var_2 + *(int *)(var_7 + -0xc),
             var_6 | *(type_3 *)(var_2 + *(int *)(var_7 + -0xc) + 0x14));
  return var_2;
}


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

int * MASKED(int *param_1,string *param_2)

{
  byte bVar1;
  int iVar2;
  ctype *pcVar3;
  uint uVar4;
  int iVar5;
  string sVar6;
  uint uVar7;
  uint uVar8;
  byte *pbVar9;
  char *pcVar10;
  int *piVar11;
  byte *pbVar12;
  uint uVar13;
  uint uVar14;
  locale alStack_38 [4];
  char local_34 [4];
  int local_30;
  string *local_2c;
  
  (*(code *)PTR_sentry_004c5178)(local_34,param_1,0);
  if (local_34[0] == '\0') {
    iVar2 = *param_1;
    uVar7 = 4;
  }
  else {
    *(undefined4 *)(param_2 + 4) = 0;
    **(undefined1 **)param_2 = 0;
    uVar14 = *(uint *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8);
    if ((int)uVar14 < 1) {
      uVar14 = 0x7fffffff;
    }
    std::locale::locale(alStack_38,(locale *)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x6c));
                    /* try { // try from 00331efc to 00331f03 has its CatchHandler @ 00332320 */
    pcVar3 = std::use_facet<std::ctype<char>>(alStack_38);
    std::locale::~locale(alStack_38);
    piVar11 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    if ((string *)piVar11[2] < (string *)piVar11[3]) {
      sVar6 = *(string *)piVar11[2];
      uVar4 = (uint)(byte)sVar6;
    }
    else {
                    /* try { // try from 0033223c to 00332243 has its CatchHandler @ 003322c8 */
      uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);
      if (uVar7 == 0xffffffff) {
        iVar2 = *param_1;
        uVar7 = 6;
        *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
        goto LAB_00331e6c;
      }
      uVar4 = uVar7 & 0xff;
      sVar6 = SUB41(uVar7,0);
    }
    iVar2 = *(int *)(pcVar3 + 0x18);
    uVar13 = 0;
    if ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0) {
      local_2c = param_2 + 8;
      local_30 = 0x7fffffff;
      do {
        pcVar10 = (char *)piVar11[2];
        iVar5 = uVar14 - uVar13;
        if (piVar11[3] - (int)pcVar10 <= (int)(uVar14 - uVar13)) {
          iVar5 = piVar11[3] - (int)pcVar10;
        }
        uVar7 = *(uint *)(param_2 + 4);
        if (iVar5 < 2) {
          uVar4 = uVar7 + 1;
          if (*(string **)param_2 == local_2c) {
            uVar8 = 0xf;
          }
          else {
            uVar8 = *(uint *)(param_2 + 8);
          }
          if (uVar8 < uVar4) {
            std::string::_M_mutate(param_2,uVar7,0,(char *)0x0,1);
            *(string *)(*(int *)param_2 + uVar7) = sVar6;
            *(uint *)(param_2 + 4) = uVar4;
            *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
            pbVar12 = (byte *)piVar11[2];
            pbVar9 = (byte *)piVar11[3];
            if (pbVar9 <= pbVar12) goto LAB_00332150;
LAB_003320e4:
            pbVar12 = pbVar12 + 1;
            piVar11[2] = (int)pbVar12;
LAB_003320ec:
            uVar13 = uVar13 + 1;
            if (pbVar12 < pbVar9) {
              bVar1 = *pbVar12;
              goto LAB_00332050;
            }
            goto LAB_00332188;
          }
          (*(string **)param_2)[uVar7] = sVar6;
          *(uint *)(param_2 + 4) = uVar4;
          *(undefined1 *)(*(int *)param_2 + uVar4) = 0;
          pbVar12 = (byte *)piVar11[2];
          pbVar9 = (byte *)piVar11[3];
          if (pbVar12 < pbVar9) goto LAB_003320e4;
LAB_00332150:
          iVar2 = (**(code **)(*piVar11 + 0x28))(piVar11);
          if (iVar2 != -1) {
            pbVar12 = (byte *)piVar11[2];
            pbVar9 = (byte *)piVar11[3];
            goto LAB_003320ec;
          }
          iVar2 = *param_1;
LAB_00332170:
          uVar7 = 2;
          *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
          goto LAB_00331e6c;
        }
        if (pcVar10 + 1 < pcVar10 + iVar5) {
          pbVar12 = (byte *)(pcVar10 + 2);
          if ((*(ushort *)(iVar2 + (uint)(byte)pcVar10[1] * 2) & 0x20) == 0) {
            while ((pbVar12 < pcVar10 + iVar5 &&
                   ((*(ushort *)(iVar2 + (uint)*pbVar12 * 2) & 0x20) == 0))) {
              pbVar12 = pbVar12 + 1;
            }
            uVar4 = (int)pbVar12 - (int)pcVar10;
          }
          else {
            uVar4 = 1;
          }
        }
        else {
          uVar4 = 1;
        }
        if (local_30 - uVar7 < uVar4) {
                    /* try { // try from 003322a8 to 003322af has its CatchHandler @ 00332318 */
          piVar11 = (int *)(*(code *)PTR___throw_length_error_004c1e74)
                                     (PTR_s_ral_options14Struct_no_crefE_004c127c + 0x446c);
          return piVar11;
        }
                    /* try { // try from 00332024 to 00332197 has its CatchHandler @ 00332318 */
        std::string::_M_append(param_2,pcVar10,uVar4);
        uVar13 = uVar13 + uVar4;
        pbVar12 = (byte *)(piVar11[2] + uVar4);
        piVar11[2] = (int)pbVar12;
        if (pbVar12 < (byte *)piVar11[3]) {
          bVar1 = *pbVar12;
LAB_00332050:
          uVar7 = (uint)bVar1;
          uVar4 = uVar7;
          if (uVar14 <= uVar13) {
            *(undefined4 *)((int)param_1 + *(int *)(*param_1 + -0xc) + 8) = 0;
            return param_1;
          }
        }
        else {
LAB_00332188:
          uVar7 = (**(code **)(*piVar11 + 0x24))(piVar11);
          if (uVar14 <= uVar13) {
            iVar2 = *param_1;
            if (uVar7 != 0xffffffff) {
              *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
              return param_1;
            }
            goto LAB_00332170;
          }
          if (uVar7 == 0xffffffff) {
            iVar2 = *param_1;
            uVar7 = 6;
            if (uVar13 != 0) {
              uVar7 = 2;
            }
            *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
            goto LAB_00331e6c;
          }
          uVar4 = uVar7 & 0xff;
        }
        iVar2 = *(int *)(pcVar3 + 0x18);
        sVar6 = SUB41(uVar7,0);
        uVar7 = 4;
      } while ((*(ushort *)(iVar2 + uVar4 * 2) & 0x20) == 0);
      iVar2 = *param_1;
      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
      if (uVar13 != 0) {
        return param_1;
      }
    }
    else {
      iVar2 = *param_1;
      uVar7 = 4;
      *(undefined4 *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8) = 0;
    }
  }
LAB_00331e6c:
  iVar2 = (int)param_1 + *(int *)(iVar2 + -0xc);
  (*(code *)PTR_clear_004c22b8)(iVar2,uVar7 | *(uint *)(iVar2 + 0x14));
  return param_1;
}

