
/* std::filebuf::underflow() */

ulong __thiscall std::filebuf::underflow(filebuf *this)

{
  long lVar1;
  undefined8 uVar2;
  bool bVar3;
  bool bVar4;
  char cVar5;
  int iVar6;
  char *pcVar7;
  ulong uVar8;
  byte *pbVar9;
  char *__dest;
  ulong uVar10;
  size_t __n;
  void *__src;
  void *__dest_00;
  ulong uVar11;
  long lVar12;
  void *local_40 [2];
  
  if (((byte)this[0x78] & 8) == 0) {
    return 0xffffffff;
  }
  if (this[0xaa] == (filebuf)0x0) {
    pbVar9 = *(byte **)(this + 0x10);
    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;
LAB_0029e099:
    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;
  }
  else {
    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);
    if ((int)uVar8 == -1) {
      return uVar8;
    }
    pbVar9 = *(byte **)(this + 0x98);
    *(undefined8 *)(this + 0x28) = 0;
    *(undefined8 *)(this + 0x20) = 0;
    *(byte **)(this + 8) = pbVar9;
    *(byte **)(this + 0x10) = pbVar9;
    *(byte **)(this + 0x18) = pbVar9;
    *(undefined8 *)(this + 0x30) = 0;
    this[0xaa] = (filebuf)0x0;
    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;
LAB_0029e323:
    this[0xc0] = (filebuf)0x0;
    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));
    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);
    *(byte **)(this + 0xb0) = pbVar9;
    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);
    *(byte **)(this + 0x10) = pbVar9;
    if (pbVar9 < *(byte **)(this + 0xb8)) {
LAB_0029e365:
      return (ulong)*pbVar9;
    }
  }
  lVar12 = 2;
  if (1 < *(ulong *)(this + 0xa0)) {
    lVar12 = *(long *)(this + 0xa0);
  }
  uVar8 = lVar12 - 1;
  if (*(long **)(this + 200) == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    __throw_bad_cast();
  }
  cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))();
  if (cVar5 != '\0') {
    uVar11 = __basic_file<char>::xsgetn
                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);
    if (uVar11 != 0) {
      if (0 < (long)uVar11) {
LAB_0029e449:
        pbVar9 = *(byte **)(this + 0x98);
        *(byte **)(this + 8) = pbVar9;
        *(byte **)(this + 0x10) = pbVar9;
        if (((byte)this[0x78] & 8) == 0) {
          *(byte **)(this + 0x18) = pbVar9;
        }
        else {
          *(byte **)(this + 0x18) = pbVar9 + uVar11;
        }
        *(undefined8 *)(this + 0x28) = 0;
        *(undefined8 *)(this + 0x20) = 0;
        *(undefined8 *)(this + 0x30) = 0;
        this[0xa9] = (filebuf)0x1;
        return (ulong)*pbVar9;
      }
LAB_0029e42e:
                    /* WARNING: Subroutine does not return */
      __throw_ios_failure("basic_filebuf::underflow error reading the file");
    }
    goto LAB_0029e4b0;
  }
  iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))();
  if (iVar6 < 1) {
    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();
    uVar11 = lVar12 + -2 + (long)iVar6;
    uVar10 = uVar8;
  }
  else {
    uVar11 = (long)iVar6 * uVar8;
    uVar10 = uVar11;
  }
  __n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0);
  lVar12 = uVar10 - __n;
  if ((long)uVar10 <= (long)__n) {
    lVar12 = 0;
  }
  lVar1 = *(long *)(this + 0xd8);
  if ((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))) {
    if (lVar1 < (long)uVar11) {
      __dest = (char *)operator_new__(uVar11);
      if (__n != 0) goto LAB_0029e58e;
      goto LAB_0029e510;
    }
    __dest = *(char **)(this + 0xd0);
    if (__n != 0) goto LAB_0029e554;
  }
  else {
    if (__n == 0) {
      if (lVar1 < (long)uVar11) {
        __dest = (char *)operator_new__(uVar11);
        goto LAB_0029e510;
      }
    }
    else {
      if (lVar1 < (long)uVar11) {
        lVar12 = 0;
        __dest = (char *)operator_new__(uVar11);
LAB_0029e58e:
        memcpy(__dest,*(void **)(this + 0xe0),__n);
LAB_0029e510:
        if (*(void **)(this + 0xd0) != (void *)0x0) {
          operator_delete__(*(void **)(this + 0xd0));
        }
        *(char **)(this + 0xd0) = __dest;
        *(ulong *)(this + 0xd8) = uVar11;
        goto LAB_0029e156;
      }
      __dest = *(char **)(this + 0xd0);
      lVar12 = 0;
LAB_0029e554:
      memmove(__dest,*(void **)(this + 0xe0),__n);
    }
    __dest = *(char **)(this + 0xd0);
  }
LAB_0029e156:
  pcVar7 = __dest + __n;
  *(char **)(this + 0xe0) = __dest;
  *(char **)(this + 0xe8) = pcVar7;
  *(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84);
  if (lVar12 != 0) {
    iVar6 = 0;
    goto LAB_0029e20d;
  }
  __dest_00 = *(void **)(this + 8);
  iVar6 = 0;
  local_40[0] = __dest_00;
  if (pcVar7 <= __dest) goto LAB_0029e1f6;
  bVar4 = false;
LAB_0029e198:
  local_40[0] = __dest_00;
  iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))
                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,
                     (long)__dest_00 + uVar8,local_40);
  if (iVar6 == 3) {
    pcVar7 = *(char **)(this + 0xe8);
    __dest_00 = *(void **)(this + 8);
    goto LAB_0029e3ab;
  }
  uVar11 = (long)local_40[0] - *(long *)(this + 8);
  if (iVar6 != 2) {
    bVar3 = (bool)(uVar11 != 0 | bVar4);
    while (!bVar3) {
LAB_0029e1f6:
      while( true ) {
        pcVar7 = *(char **)(this + 0xe8);
        lVar12 = 1;
        __n = (long)pcVar7 - *(long *)(this + 0xd0);
LAB_0029e20d:
        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {
                    /* WARNING: Subroutine does not return */
          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");
        }
        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);
        if (lVar12 == 0) {
          bVar4 = true;
        }
        else {
          if (lVar12 == -1) goto LAB_0029e42e;
          bVar4 = false;
        }
        __dest_00 = *(void **)(this + 8);
        __dest = *(char **)(this + 0xe0);
        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));
        *(char **)(this + 0xe8) = pcVar7;
        if (__dest < pcVar7) goto LAB_0029e198;
        local_40[0] = __dest_00;
        if (iVar6 == 3) break;
        if (bVar4) goto LAB_0029e27e;
      }
LAB_0029e3ab:
      __src = *(void **)(this + 0xd0);
      uVar10 = (long)pcVar7 - (long)__src;
      uVar11 = uVar8;
      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {
        memcpy(__dest_00,__src,uVar11);
        __src = (void *)(*(long *)(this + 0xd0) + uVar11);
      }
      *(void **)(this + 0xe0) = __src;
      iVar6 = 3;
      bVar3 = (bool)(uVar11 != 0 | bVar4);
    }
    if (0 < (long)uVar11) goto LAB_0029e449;
    if (bVar4) {
LAB_0029e27e:
      uVar2 = *(undefined8 *)(this + 0x98);
      *(undefined8 *)(this + 0x28) = 0;
      *(undefined8 *)(this + 0x20) = 0;
      *(undefined8 *)(this + 8) = uVar2;
      *(undefined8 *)(this + 0x10) = uVar2;
      *(undefined8 *)(this + 0x18) = uVar2;
      *(undefined8 *)(this + 0x30) = 0;
      this[0xa9] = (filebuf)0x0;
      if (iVar6 != 1) {
        return 0xffffffff;
      }
                    /* WARNING: Subroutine does not return */
      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");
    }
    goto LAB_0029e42e;
  }
  if (0 < (long)uVar11) goto LAB_0029e449;
  if (!bVar4) {
                    /* WARNING: Subroutine does not return */
    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");
  }
LAB_0029e4b0:
  uVar2 = *(undefined8 *)(this + 0x98);
  *(undefined8 *)(this + 0x28) = 0;
  *(undefined8 *)(this + 0x20) = 0;
  *(undefined8 *)(this + 8) = uVar2;
  *(undefined8 *)(this + 0x10) = uVar2;
  *(undefined8 *)(this + 0x18) = uVar2;
  *(undefined8 *)(this + 0x30) = 0;
  this[0xa9] = (filebuf)0x0;
  return 0xffffffff;
}



ulong FUN_0029e060(long *param_1)

{
  long lVar1;
  bool bVar2;
  bool bVar3;
  char cVar4;
  int iVar5;
  void *pvVar6;
  ulong uVar7;
  byte *pbVar8;
  ulong uVar9;
  size_t __n;
  void *pvVar10;
  void *__dest;
  ulong uVar11;
  long lVar12;
  
  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {
    return 0xffffffff;
  }
  if (*(char *)((long)param_1 + 0xaa) == '\0') {
    pbVar8 = (byte *)param_1[2];
    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;
LAB_0029e099:
    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;
  }
  else {
    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);
    if ((int)uVar7 == -1) {
      return uVar7;
    }
    pbVar8 = (byte *)param_1[0x13];
    param_1[5] = 0;
    param_1[4] = 0;
    param_1[1] = (long)pbVar8;
    param_1[2] = (long)pbVar8;
    param_1[3] = (long)pbVar8;
    param_1[6] = 0;
    *(undefined1 *)((long)param_1 + 0xaa) = 0;
    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;
LAB_0029e323:
    *(undefined1 *)(param_1 + 0x18) = 0;
    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);
    param_1[3] = param_1[0x17];
    param_1[0x16] = (long)pbVar8;
    param_1[1] = param_1[0x13];
    param_1[2] = (long)pbVar8;
    if (pbVar8 < (byte *)param_1[0x17]) {
LAB_0029e365:
      return (ulong)*pbVar8;
    }
  }
  lVar12 = 2;
  if (1 < (ulong)param_1[0x14]) {
    lVar12 = param_1[0x14];
  }
  uVar7 = lVar12 - 1;
  if ((long *)param_1[0x19] == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002b5510();
  }
  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();
  if (cVar4 != '\0') {
    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);
    if (uVar11 != 0) {
      if (0 < (long)uVar11) {
LAB_0029e449:
        pbVar8 = (byte *)param_1[0x13];
        param_1[1] = (long)pbVar8;
        param_1[2] = (long)pbVar8;
        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {
          param_1[3] = (long)pbVar8;
        }
        else {
          param_1[3] = (long)(pbVar8 + uVar11);
        }
        param_1[5] = 0;
        param_1[4] = 0;
        param_1[6] = 0;
        *(undefined1 *)((long)param_1 + 0xa9) = 1;
        return (ulong)*pbVar8;
      }
LAB_0029e42e:
                    /* WARNING: Subroutine does not return */
      FUN_002b0560("basic_filebuf::underflow error reading the file");
    }
    goto LAB_0029e4b0;
  }
  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();
  if (iVar5 < 1) {
    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();
    uVar11 = lVar12 + -2 + (long)iVar5;
    uVar9 = uVar7;
  }
  else {
    uVar11 = (long)iVar5 * uVar7;
    uVar9 = uVar11;
  }
  __n = param_1[0x1d] - param_1[0x1c];
  lVar12 = uVar9 - __n;
  if ((long)uVar9 <= (long)__n) {
    lVar12 = 0;
  }
  lVar1 = param_1[0x1b];
  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {
    if (lVar1 < (long)uVar11) {
      pvVar10 = (void *)thunk_FUN_00275550(uVar11);
      if (__n != 0) goto LAB_0029e58e;
      goto LAB_0029e510;
    }
    pvVar10 = (void *)param_1[0x1a];
    if (__n != 0) goto LAB_0029e554;
  }
  else {
    if (__n == 0) {
      if (lVar1 < (long)uVar11) {
        pvVar10 = (void *)thunk_FUN_00275550(uVar11);
        goto LAB_0029e510;
      }
    }
    else {
      if (lVar1 < (long)uVar11) {
        lVar12 = 0;
        pvVar10 = (void *)thunk_FUN_00275550(uVar11);
LAB_0029e58e:
        memcpy(pvVar10,(void *)param_1[0x1c],__n);
LAB_0029e510:
        if (param_1[0x1a] != 0) {
          thunk_FUN_00276d20();
        }
        param_1[0x1a] = (long)pvVar10;
        param_1[0x1b] = uVar11;
        goto LAB_0029e156;
      }
      pvVar10 = (void *)param_1[0x1a];
      lVar12 = 0;
LAB_0029e554:
      memmove(pvVar10,(void *)param_1[0x1c],__n);
    }
    pvVar10 = (void *)param_1[0x1a];
  }
LAB_0029e156:
  pvVar6 = (void *)((long)pvVar10 + __n);
  param_1[0x1c] = (long)pvVar10;
  param_1[0x1d] = (long)pvVar6;
  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);
  if (lVar12 != 0) {
    iVar5 = 0;
    goto LAB_0029e20d;
  }
  __dest = (void *)param_1[1];
  iVar5 = 0;
  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;
  bVar3 = false;
LAB_0029e198:
  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))
                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest
                     ,(long)__dest + uVar7);
  if (iVar5 == 3) {
    pvVar6 = (void *)param_1[0x1d];
    __dest = (void *)param_1[1];
    goto LAB_0029e3ab;
  }
  uVar11 = (long)__dest - param_1[1];
  if (iVar5 != 2) {
    bVar2 = (bool)(uVar11 != 0 | bVar3);
    while (!bVar2) {
LAB_0029e1f6:
      while( true ) {
        pvVar6 = (void *)param_1[0x1d];
        lVar12 = 1;
        __n = (long)pvVar6 - param_1[0x1a];
LAB_0029e20d:
        if (param_1[0x1b] < (long)(__n + lVar12)) {
                    /* WARNING: Subroutine does not return */
          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");
        }
        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);
        if (lVar12 == 0) {
          bVar3 = true;
        }
        else {
          if (lVar12 == -1) goto LAB_0029e42e;
          bVar3 = false;
        }
        __dest = (void *)param_1[1];
        pvVar10 = (void *)param_1[0x1c];
        pvVar6 = (void *)(lVar12 + param_1[0x1d]);
        param_1[0x1d] = (long)pvVar6;
        if (pvVar10 < pvVar6) goto LAB_0029e198;
        if (iVar5 == 3) break;
        if (bVar3) goto LAB_0029e27e;
      }
LAB_0029e3ab:
      pvVar10 = (void *)param_1[0x1a];
      uVar9 = (long)pvVar6 - (long)pvVar10;
      uVar11 = uVar7;
      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {
        memcpy(__dest,pvVar10,uVar11);
        pvVar10 = (void *)(param_1[0x1a] + uVar11);
      }
      param_1[0x1c] = (long)pvVar10;
      iVar5 = 3;
      bVar2 = (bool)(uVar11 != 0 | bVar3);
    }
    if (0 < (long)uVar11) goto LAB_0029e449;
    if (bVar3) {
LAB_0029e27e:
      lVar12 = param_1[0x13];
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[1] = lVar12;
      param_1[2] = lVar12;
      param_1[3] = lVar12;
      param_1[6] = 0;
      *(undefined1 *)((long)param_1 + 0xa9) = 0;
      if (iVar5 != 1) {
        return 0xffffffff;
      }
                    /* WARNING: Subroutine does not return */
      FUN_002b0560("basic_filebuf::underflow incomplete character in file");
    }
    goto LAB_0029e42e;
  }
  if (0 < (long)uVar11) goto LAB_0029e449;
  if (!bVar3) {
                    /* WARNING: Subroutine does not return */
    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");
  }
LAB_0029e4b0:
  lVar12 = param_1[0x13];
  param_1[5] = 0;
  param_1[4] = 0;
  param_1[1] = lVar12;
  param_1[2] = lVar12;
  param_1[3] = lVar12;
  param_1[6] = 0;
  *(undefined1 *)((long)param_1 + 0xa9) = 0;
  return 0xffffffff;
}


TEST byte ptr [RDI + 0x78],0x8
JZ 0x0029e5ba
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x18
CMP byte ptr [RDI + 0xaa],0x0
JNZ 0x0029e2d0
CMP byte ptr [RBX + 0xc0],0x0
MOV RAX,qword ptr [RDI + 0x10]
JNZ 0x0029e323
MOV RDX,qword ptr [RBX + 0x18]
CMP RDX,RAX
JA 0x0029e365
CMP qword ptr [RBX + 0xa0],0x2
MOV EBP,0x2
MOV RDI,qword ptr [RBX + 0xc8]
CMOVNC RBP,qword ptr [RBX + 0xa0]
LEA R12,[RBP + -0x1]
TEST RDI,RDI
JZ 0x0029e5cc
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x30]
TEST AL,AL
JNZ 0x0029e410
MOV RDI,qword ptr [RBX + 0xc8]
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x28]
TEST EAX,EAX
JLE 0x0029e380
MOVSXD R13,EAX
IMUL R13,R12
MOV RAX,R13
MOV RSI,qword ptr [RBX + 0xe0]
MOV RBP,qword ptr [RBX + 0xe8]
MOV R15,RAX
SUB RBP,RSI
SUB R15,RBP
CMP RAX,RBP
MOV EAX,0x0
CMOVLE R15,RAX
CMP byte ptr [RBX + 0xa9],0x0
MOV RAX,qword ptr [RBX + 0xd8]
JZ 0x0029e13d
MOV RDI,qword ptr [RBX + 0x8]
CMP qword ptr [RBX + 0x18],RDI
JZ 0x0029e540
CMP R13,RAX
JG 0x0029e500
MOV R14,qword ptr [RBX + 0xd0]
TEST RBP,RBP
JNZ 0x0029e554
MOV RAX,qword ptr [RBX + 0x84]
LEA RCX,[R14 + RBP*0x1]
MOV qword ptr [RBX + 0xe0],R14
MOV qword ptr [RBX + 0xe8],RCX
MOV qword ptr [RBX + 0x8c],RAX
TEST R15,R15
JNZ 0x0029e538
MOV R9,qword ptr [RBX + 0x8]
XOR R13D,R13D
MOV qword ptr [RSP + 0x8],R9
CMP RCX,R14
JBE 0x0029e1f6
XOR EBP,EBP
NOP word ptr [RAX + RAX*0x1]
MOV RDI,qword ptr [RBX + 0xc8]
LEA RDX,[RSP + 0x8]
LEA RSI,[RBX + 0x84]
LEA R8,[RBX + 0xe0]
MOV RAX,qword ptr [RDI]
PUSH RDX
LEA RDX,[R9 + R12*0x1]
PUSH RDX
MOV RDX,R14
CALL qword ptr [RAX + 0x20]
MOV R13D,EAX
POP RAX
POP RDX
CMP R13D,0x3
JZ 0x0029e3a0
MOV RCX,qword ptr [RSP + 0x8]
SUB RCX,qword ptr [RBX + 0x8]
MOV R14,RCX
CMP R13D,0x2
JZ 0x0029e498
TEST RCX,RCX
SETNZ DL
OR EDX,EBP
TEST DL,DL
JNZ 0x0029e440
MOV RCX,qword ptr [RBX + 0xe8]
MOV R15D,0x1
MOV RBP,RCX
SUB RBP,qword ptr [RBX + 0xd0]
ADD RBP,R15
CMP RBP,qword ptr [RBX + 0xd8]
JG 0x0029e5c0
LEA RDI,[RBX + 0x68]
MOV RDX,R15
MOV RSI,RCX
CALL 0x002773f0
TEST RAX,RAX
JZ 0x0029e3e0
CMP RAX,-0x1
JZ 0x0029e42e
XOR EBP,EBP
MOV R9,qword ptr [RBX + 0x8]
MOV R14,qword ptr [RBX + 0xe0]
ADD RAX,qword ptr [RBX + 0xe8]
MOV RCX,RAX
MOV qword ptr [RBX + 0xe8],RAX
MOV qword ptr [RSP + 0x8],R9
CMP RAX,R14
JA 0x0029e198
CMP R13D,0x3
JZ 0x0029e3ab
TEST BPL,BPL
JZ 0x0029e1f6
MOV RAX,qword ptr [RBX + 0x98]
SUB R13D,0x1
MOV qword ptr [RBX + 0x28],0x0
MOV qword ptr [RBX + 0x20],0x0
MOV qword ptr [RBX + 0x8],RAX
MOV qword ptr [RBX + 0x10],RAX
MOV qword ptr [RBX + 0x18],RAX
MOV qword ptr [RBX + 0x30],0x0
MOV byte ptr [RBX + 0xa9],0x0
JNZ 0x0029e4e2
LEA RDI,[0x329b80]
CALL 0x002b0560
MOV RAX,qword ptr [RDI]
MOV ESI,0xffffffff
CALL qword ptr [RAX + 0x68]
CMP EAX,-0x1
JZ 0x0029e368
MOV RAX,qword ptr [RBX + 0x98]
CMP byte ptr [RBX + 0xc0],0x0
MOV qword ptr [RBX + 0x28],0x0
MOV qword ptr [RBX + 0x20],0x0
MOV qword ptr [RBX + 0x8],RAX
MOV qword ptr [RBX + 0x10],RAX
MOV qword ptr [RBX + 0x18],RAX
MOV qword ptr [RBX + 0x30],0x0
MOV byte ptr [RBX + 0xaa],0x0
JZ 0x0029e099
CMP qword ptr [RBX + 0x8],RAX
MOV RDX,qword ptr [RBX + 0xb8]
MOV byte ptr [RBX + 0xc0],0x0
SETNZ AL
MOV RCX,qword ptr [RBX + 0x98]
MOVZX EAX,AL
ADD RAX,qword ptr [RBX + 0xb0]
MOV qword ptr [RBX + 0x18],RDX
MOV qword ptr [RBX + 0xb0],RAX
MOV qword ptr [RBX + 0x8],RCX
MOV qword ptr [RBX + 0x10],RAX
CMP RDX,RAX
JBE 0x0029e0a6
MOVZX EAX,byte ptr [RAX]
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,qword ptr [RBX + 0xc8]
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x40]
CDQE
LEA R13,[RBP + RAX*0x1 + -0x2]
MOV RAX,R12
JMP 0x0029e0fc
MOV RCX,qword ptr [RBX + 0xe8]
MOV R9,qword ptr [RBX + 0x8]
MOV RSI,qword ptr [RBX + 0xd0]
SUB RCX,RSI
MOV R14,RCX
MOV R13,RCX
CMP R12,RCX
JC 0x0029e3f0
TEST RCX,RCX
JNZ 0x0029e3f6
TEST R14,R14
MOV qword ptr [RBX + 0xe0],RSI
MOV R13D,0x3
SETNZ DL
OR EDX,EBP
JMP 0x0029e1ee
MOV EBP,0x1
JMP 0x0029e241
MOV R14,R12
MOV R13,R12
MOV RDX,R13
MOV RDI,R9
CALL 0x0013eaa0
MOV RSI,qword ptr [RBX + 0xd0]
ADD RSI,R13
JMP 0x0029e3c5
MOV RSI,qword ptr [RBX + 0x8]
LEA RDI,[RBX + 0x68]
MOV RDX,R12
CALL 0x002773f0
MOV R14,RAX
TEST RAX,RAX
JZ 0x0029e4b0
JG 0x0029e449
LEA RDI,[0x329bb8]
CALL 0x002b0560
TEST R14,R14
JLE 0x0029e56b
MOV RAX,qword ptr [RBX + 0x98]
TEST byte ptr [RBX + 0x78],0x8
MOV qword ptr [RBX + 0x8],RAX
MOV qword ptr [RBX + 0x10],RAX
JZ 0x0029e4f0
LEA RCX,[RAX + R14*0x1]
MOV qword ptr [RBX + 0x18],RCX
MOV qword ptr [RBX + 0x28],0x0
MOV qword ptr [RBX + 0x20],0x0
MOV qword ptr [RBX + 0x30],0x0
MOV byte ptr [RBX + 0xa9],0x1
MOVZX EAX,byte ptr [RAX]
JMP 0x0029e368
TEST RCX,RCX
JG 0x0029e449
TEST BPL,BPL
JNZ 0x0029e4b0
LEA RDI,[0x329b48]
CALL 0x002b0560
MOV RAX,qword ptr [RBX + 0x98]
MOV qword ptr [RBX + 0x28],0x0
MOV qword ptr [RBX + 0x20],0x0
MOV qword ptr [RBX + 0x8],RAX
MOV qword ptr [RBX + 0x10],RAX
MOV qword ptr [RBX + 0x18],RAX
MOV qword ptr [RBX + 0x30],0x0
MOV byte ptr [RBX + 0xa9],0x0
MOV EAX,0xffffffff
JMP 0x0029e368
MOV qword ptr [RBX + 0x18],RAX
JMP 0x0029e46a
MOV RDI,R13
CALL 0x002754f0
MOV R14,RAX
TEST RBP,RBP
JNZ 0x0029e58e
MOV RDI,qword ptr [RBX + 0xd0]
TEST RDI,RDI
JZ 0x0029e521
CALL 0x00276cf0
MOV qword ptr [RBX + 0xd0],R14
MOV qword ptr [RBX + 0xd8],R13
JMP 0x0029e156
XOR R13D,R13D
JMP 0x0029e20d
TEST RBP,RBP
JZ 0x0029e5a5
CMP R13,RAX
JG 0x0029e580
MOV R14,qword ptr [RBX + 0xd0]
XOR R15D,R15D
MOV RDX,RBP
MOV RDI,R14
CALL 0x0013e6d0
MOV R14,qword ptr [RBX + 0xd0]
JMP 0x0029e156
TEST BPL,BPL
JZ 0x0029e42e
JMP 0x0029e27e
MOV RDI,R13
XOR R15D,R15D
CALL 0x002754f0
MOV R14,RAX
MOV RSI,qword ptr [RBX + 0xe0]
MOV RDX,RBP
MOV RDI,R14
CALL 0x0013eaa0
JMP 0x0029e510
CMP R13,RAX
JLE 0x0029e55f
MOV RDI,R13
CALL 0x002754f0
MOV R14,RAX
JMP 0x0029e510
MOV EAX,0xffffffff
RET
LEA RDI,[0x329b08]
CALL 0x002b0560
CALL 0x002b5510
(translation_unit "ulong FUN_0029e060(long *param_1)\n\n{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}\n\n" (function_definition "ulong FUN_0029e060(long *param_1)\n\n{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_0029e060(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *pvVar10;" primitive_type (pointer_declarator "*pvVar10" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" ( (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" * (cast_expression "(byte *)(param_1 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0xaa) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xaa) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xaa)" * (cast_expression "(char *)((long)param_1 + 0xaa)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xaa)" ( (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }" { (expression_statement "pbVar8 = (byte *)param_1[2];" (assignment_expression "pbVar8 = (byte *)param_1[2]" identifier = (cast_expression "(byte *)param_1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char)param_1[0x18] != '\0') goto LAB_0029e323;" if (parenthesized_expression "((char)param_1[0x18] != '\0')" ( (binary_expression "(char)param_1[0x18] != '\0'" (cast_expression "(char)param_1[0x18]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x18]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0029e323;" goto statement_identifier ;)) (labeled_statement "LAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" statement_identifier : (if_statement "if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" if (parenthesized_expression "(pbVar8 < (byte *)param_1[3])" ( (binary_expression "pbVar8 < (byte *)param_1[3]" identifier < (cast_expression "(byte *)param_1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_0029e365;" goto statement_identifier ;))) }) (else_clause "else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" else (compound_statement "{\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" { (expression_statement "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);" (assignment_expression "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" identifier = (call_expression "(**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" (parenthesized_expression "(**(code **)(*param_1 + 0x68))" ( (pointer_expression "**(code **)(*param_1 + 0x68)" * (pointer_expression "*(code **)(*param_1 + 0x68)" * (cast_expression "(code **)(*param_1 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x68)" ( (binary_expression "*param_1 + 0x68" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,0xffffffff)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar7 == -1) {\n      return uVar7;\n    }" if (parenthesized_expression "((int)uVar7 == -1)" ( (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n      return uVar7;\n    }" { (return_statement "return uVar7;" return identifier ;) })) (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" identifier = (cast_expression "(byte *)param_1[0x13]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x13]" identifier [ number_literal ]))) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xaa) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xaa) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xaa)" * (cast_expression "(undefined1 *)((long)param_1 + 0xaa)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xaa)" ( (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if ((char)param_1[0x18] == '\0') goto LAB_0029e099;" if (parenthesized_expression "((char)param_1[0x18] == '\0')" ( (binary_expression "(char)param_1[0x18] == '\0'" (cast_expression "(char)param_1[0x18]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x18]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0029e099;" goto statement_identifier ;)) (labeled_statement "LAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;" statement_identifier : (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);" (assignment_expression "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" identifier = (cast_expression "(byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" ( (binary_expression "(ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]" (call_expression "(ulong)((byte *)param_1[1] != pbVar8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((byte *)param_1[1] != pbVar8)" ( (binary_expression "(byte *)param_1[1] != pbVar8" (cast_expression "(byte *)param_1[1]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) ))) + (subscript_expression "param_1[0x16]" identifier [ number_literal ])) )))) ;) (expression_statement "param_1[3] = param_1[0x17];" (assignment_expression "param_1[3] = param_1[0x17]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "param_1[0x17]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x16] = (long)pbVar8;" (assignment_expression "param_1[0x16] = (long)pbVar8" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[1] = param_1[0x13];" (assignment_expression "param_1[1] = param_1[0x13]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" if (parenthesized_expression "(pbVar8 < (byte *)param_1[0x17])" ( (binary_expression "pbVar8 < (byte *)param_1[0x17]" identifier < (cast_expression "(byte *)param_1[0x17]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x17]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" { (labeled_statement "LAB_0029e365:\n      return (ulong)*pbVar8;" statement_identifier : (return_statement "return (ulong)*pbVar8;" return (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;)) })) }))) (expression_statement "lVar12 = 2;" (assignment_expression "lVar12 = 2" identifier = number_literal) ;) (if_statement "if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }" if (parenthesized_expression "(1 < (ulong)param_1[0x14])" ( (binary_expression "1 < (ulong)param_1[0x14]" number_literal < (cast_expression "(ulong)param_1[0x14]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    lVar12 = param_1[0x14];\n  }" { (expression_statement "lVar12 = param_1[0x14];" (assignment_expression "lVar12 = param_1[0x14]" identifier = (subscript_expression "param_1[0x14]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = lVar12 - 1;" (assignment_expression "uVar7 = lVar12 - 1" identifier = (binary_expression "lVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((long *)param_1[0x19] == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b5510();\n  }" if (parenthesized_expression "((long *)param_1[0x19] == (long *)0x0)" ( (binary_expression "(long *)param_1[0x19] == (long *)0x0" (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ])) == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002b5510();\n  }" { comment (expression_statement "FUN_002b5510();" (call_expression "FUN_002b5510()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();" (assignment_expression "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x30)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x30)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x30)" ( (binary_expression "*(long *)param_1[0x19] + 0x30" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" { (expression_statement "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);" (assignment_expression "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" identifier = (call_expression "FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" identifier (argument_list "(param_1 + 0xd,param_1[1],uVar7)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" { (if_statement "if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" { (labeled_statement "LAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];" statement_identifier : (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" identifier = (cast_expression "(byte *)param_1[0x13]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x13]" identifier [ number_literal ]))) ;)) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" if (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" ( (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" * (cast_expression "(byte *)(param_1 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          param_1[3] = (long)pbVar8;\n        }" { (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) }) (else_clause "else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" else (compound_statement "{\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" { (expression_statement "param_1[3] = (long)(pbVar8 + uVar11);" (assignment_expression "param_1[3] = (long)(pbVar8 + uVar11)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)(pbVar8 + uVar11)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pbVar8 + uVar11)" ( (binary_expression "pbVar8 + uVar11" identifier + identifier) )))) ;) }))) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return (ulong)*pbVar8;" return (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;) })) (labeled_statement "LAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow error reading the file");" statement_identifier : comment (expression_statement "FUN_002b0560("basic_filebuf::underflow error reading the file");" (call_expression "FUN_002b0560("basic_filebuf::underflow error reading the file")" identifier (argument_list "("basic_filebuf::underflow error reading the file")" ( (string_literal ""basic_filebuf::underflow error reading the file"" " string_content ") ))) ;)) })) (goto_statement "goto LAB_0029e4b0;" goto statement_identifier ;) })) (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x28)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x28)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x28)" ( (binary_expression "*(long *)param_1[0x19] + 0x28" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }" { (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x40)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x40)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x40)" ( (binary_expression "*(long *)param_1[0x19] + 0x40" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = lVar12 + -2 + (long)iVar5;" (assignment_expression "uVar11 = lVar12 + -2 + (long)iVar5" identifier = (binary_expression "lVar12 + -2 + (long)iVar5" (binary_expression "lVar12 + -2" identifier + number_literal) + (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" identifier = identifier) ;) }) (else_clause "else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" else (compound_statement "{\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" { (expression_statement "uVar11 = (long)iVar5 * uVar7;" (assignment_expression "uVar11 = (long)iVar5 * uVar7" identifier = (binary_expression "(long)iVar5 * uVar7" (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * identifier)) ;) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" identifier = identifier) ;) }))) (expression_statement "__n = param_1[0x1d] - param_1[0x1c];" (assignment_expression "__n = param_1[0x1d] - param_1[0x1c]" identifier = (binary_expression "param_1[0x1d] - param_1[0x1c]" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) - (subscript_expression "param_1[0x1c]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = uVar9 - __n;" (assignment_expression "lVar12 = uVar9 - __n" identifier = (binary_expression "uVar9 - __n" identifier - identifier)) ;) (if_statement "if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }" if (parenthesized_expression "((long)uVar9 <= (long)__n)" ( (binary_expression "(long)uVar9 <= (long)__n" (cast_expression "(long)uVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) <= (cast_expression "(long)__n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    lVar12 = 0;\n  }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) })) (expression_statement "lVar1 = param_1[0x1b];" (assignment_expression "lVar1 = param_1[0x1b]" identifier = (subscript_expression "param_1[0x1b]" identifier [ number_literal ])) ;) (if_statement "if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1]))" ( (binary_expression "(*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])" (parenthesized_expression "(*(char *)((long)param_1 + 0xa9) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xa9) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xa9)" * (cast_expression "(char *)((long)param_1 + 0xa9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(param_1[3] != param_1[1])" ( (binary_expression "param_1[3] != param_1[1]" (subscript_expression "param_1[3]" identifier [ number_literal ]) != (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }" { (if_statement "if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" { (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (if_statement "if (__n != 0) goto LAB_0029e58e;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e58e;" goto statement_identifier ;)) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (if_statement "if (__n != 0) goto LAB_0029e554;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e554;" goto statement_identifier ;)) }) (else_clause "else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" else (compound_statement "{\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" { (if_statement "if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" { (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" else (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (labeled_statement "LAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);" statement_identifier : (expression_statement "memcpy(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memcpy(pvVar10,(void *)param_1[0x1c],__n)" identifier (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" ( identifier , (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ])) , identifier ))) ;)) (labeled_statement "LAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" statement_identifier : (if_statement "if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" if (parenthesized_expression "(param_1[0x1a] != 0)" ( (binary_expression "param_1[0x1a] != 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          thunk_FUN_00276d20();\n        }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "param_1[0x1a] = (long)pvVar10;" (assignment_expression "param_1[0x1a] = (long)pvVar10" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[0x1b] = uVar11;" (assignment_expression "param_1[0x1b] = uVar11" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0029e156;" goto statement_identifier ;) })) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);" statement_identifier : (expression_statement "memmove(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memmove(pvVar10,(void *)param_1[0x1c],__n)" identifier (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" ( identifier , (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ])) , identifier ))) ;)) }))) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) }))) (labeled_statement "LAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);" statement_identifier : (expression_statement "pvVar6 = (void *)((long)pvVar10 + __n);" (assignment_expression "pvVar6 = (void *)((long)pvVar10 + __n)" identifier = (cast_expression "(void *)((long)pvVar10 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar10 + __n)" ( (binary_expression "(long)pvVar10 + __n" (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;)) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);" (assignment_expression "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84)" (pointer_expression "*(undefined8 *)((long)param_1 + 0x8c)" * (cast_expression "(undefined8 *)((long)param_1 + 0x8c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x8c)" ( (binary_expression "(long)param_1 + 0x8c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined8 *)((long)param_1 + 0x84)" * (cast_expression "(undefined8 *)((long)param_1 + 0x84)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x84)" ( (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" if (parenthesized_expression "(lVar12 != 0)" ( (binary_expression "lVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0029e20d;" goto statement_identifier ;) })) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (pvVar6 <= pvVar10) goto LAB_0029e1f6;" if (parenthesized_expression "(pvVar6 <= pvVar10)" ( (binary_expression "pvVar6 <= pvVar10" identifier <= identifier) )) (goto_statement "goto LAB_0029e1f6;" goto statement_identifier ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (labeled_statement "LAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" statement_identifier : (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x20)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x20)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x20)" ( (binary_expression "*(long *)param_1[0x19] + 0x20" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" ( (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ])) , (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , identifier , identifier , (binary_expression "param_1 + 0x1c" identifier + number_literal) , identifier , (binary_expression "(long)__dest + uVar7" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;)) (if_statement "if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" { (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" identifier = (cast_expression "(void *)param_1[0x1d]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029e3ab;" goto statement_identifier ;) })) (expression_statement "uVar11 = (long)__dest - param_1[1];" (assignment_expression "uVar11 = (long)__dest - param_1[1]" identifier = (binary_expression "(long)__dest - param_1[1]" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" if (parenthesized_expression "(iVar5 != 2)" ( (binary_expression "iVar5 != 2" identifier != number_literal) )) (compound_statement "{\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" { (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar3)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar3)" ( (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) (while_statement "while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" while (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (compound_statement "{\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" { (labeled_statement "LAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" statement_identifier : (while_statement "while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" { (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" identifier = (cast_expression "(void *)param_1[0x1d]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = 1;" (assignment_expression "lVar12 = 1" identifier = number_literal) ;) (expression_statement "__n = (long)pvVar6 - param_1[0x1a];" (assignment_expression "__n = (long)pvVar6 - param_1[0x1a]" identifier = (binary_expression "(long)pvVar6 - param_1[0x1a]" (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" statement_identifier : (if_statement "if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" if (parenthesized_expression "(param_1[0x1b] < (long)(__n + lVar12))" ( (binary_expression "param_1[0x1b] < (long)(__n + lVar12)" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) < (cast_expression "(long)(__n + lVar12)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__n + lVar12)" ( (binary_expression "__n + lVar12" identifier + identifier) )))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" { comment (expression_statement "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");" (call_expression "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid")" identifier (argument_list "("basic_filebuf::underflow codecvt::max_length() is not valid")" ( (string_literal ""basic_filebuf::underflow codecvt::max_length() is not valid"" " string_content ") ))) ;) }))) (expression_statement "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);" (assignment_expression "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" identifier = (call_expression "FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" identifier (argument_list "(param_1 + 0xd,pvVar6,lVar12)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          bVar3 = true;\n        }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" else (compound_statement "{\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" { (if_statement "if (lVar12 == -1) goto LAB_0029e42e;" if (parenthesized_expression "(lVar12 == -1)" ( (binary_expression "lVar12 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }))) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "pvVar10 = (void *)param_1[0x1c];" (assignment_expression "pvVar10 = (void *)param_1[0x1c]" identifier = (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ]))) ;) (expression_statement "pvVar6 = (void *)(lVar12 + param_1[0x1d]);" (assignment_expression "pvVar6 = (void *)(lVar12 + param_1[0x1d])" identifier = (cast_expression "(void *)(lVar12 + param_1[0x1d])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + param_1[0x1d])" ( (binary_expression "lVar12 + param_1[0x1d]" identifier + (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) )))) ;) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (pvVar10 < pvVar6) goto LAB_0029e198;" if (parenthesized_expression "(pvVar10 < pvVar6)" ( (binary_expression "pvVar10 < pvVar6" identifier < identifier) )) (goto_statement "goto LAB_0029e198;" goto statement_identifier ;)) (if_statement "if (iVar5 == 3) break;" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (bVar3) goto LAB_0029e27e;" if (parenthesized_expression "(bVar3)" ( identifier )) (goto_statement "goto LAB_0029e27e;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];" statement_identifier : (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;)) (expression_statement "uVar9 = (long)pvVar6 - (long)pvVar10;" (assignment_expression "uVar9 = (long)pvVar6 - (long)pvVar10" identifier = (binary_expression "(long)pvVar6 - (long)pvVar10" (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" identifier = identifier) ;) (if_statement "if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" if (parenthesized_expression "((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0))" ( (binary_expression "(uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)" (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) || (parenthesized_expression "(uVar11 = uVar9, uVar9 != 0)" ( (comma_expression "uVar11 = uVar9, uVar9 != 0" (assignment_expression "uVar11 = uVar9" identifier = identifier) , (binary_expression "uVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" { (expression_statement "memcpy(__dest,pvVar10,uVar11);" (call_expression "memcpy(__dest,pvVar10,uVar11)" identifier (argument_list "(__dest,pvVar10,uVar11)" ( identifier , identifier , identifier ))) ;) (expression_statement "pvVar10 = (void *)(param_1[0x1a] + uVar11);" (assignment_expression "pvVar10 = (void *)(param_1[0x1a] + uVar11)" identifier = (cast_expression "(void *)(param_1[0x1a] + uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0x1a] + uVar11)" ( (binary_expression "param_1[0x1a] + uVar11" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) + identifier) )))) ;) })) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar3)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar3)" ( (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" { (labeled_statement "LAB_0029e27e:\n      lVar12 = param_1[0x13];" statement_identifier : (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;)) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar5 != 1) {\n        return 0xffffffff;\n      }" if (parenthesized_expression "(iVar5 != 1)" ( (binary_expression "iVar5 != 1" identifier != number_literal) )) (compound_statement "{\n        return 0xffffffff;\n      }" { (return_statement "return 0xffffffff;" return number_literal ;) })) comment (expression_statement "FUN_002b0560("basic_filebuf::underflow incomplete character in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow incomplete character in file")" identifier (argument_list "("basic_filebuf::underflow incomplete character in file")" ( (string_literal ""basic_filebuf::underflow incomplete character in file"" " string_content ") ))) ;) })) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (!bVar3) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" { comment (expression_statement "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file")" identifier (argument_list "("basic_filebuf::underflow invalid byte sequence in file")" ( (string_literal ""basic_filebuf::underflow invalid byte sequence in file"" " string_content ") ))) ;) })) (labeled_statement "LAB_0029e4b0:\n  lVar12 = param_1[0x13];" statement_identifier : (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;)) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit "/* std::filebuf::underflow() */\n\nulong __thiscall std::filebuf::underflow(filebuf *this)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  bool bVar4;\n  char cVar5;\n  int iVar6;\n  char *pcVar7;\n  ulong uVar8;\n  byte *pbVar9;\n  char *__dest;\n  ulong uVar10;\n  size_t __n;\n  void *__src;\n  void *__dest_00;\n  ulong uVar11;\n  long lVar12;\n  void *local_40 [2];\n  \n  if (((byte)this[0x78] & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (this[0xaa] == (filebuf)0x0) {\n    pbVar9 = *(byte **)(this + 0x10);\n    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;\n  }\n  else {\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }\n  lVar12 = 2;\n  if (1 < *(ulong *)(this + 0xa0)) {\n    lVar12 = *(long *)(this + 0xa0);\n  }\n  uVar8 = lVar12 - 1;\n  if (*(long **)(this + 200) == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))();\n  if (cVar5 != '\0') {\n    uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))();\n  if (iVar6 < 1) {\n    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar6;\n    uVar10 = uVar8;\n  }\n  else {\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }\n  __n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0);\n  lVar12 = uVar10 - __n;\n  if ((long)uVar10 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = *(long *)(this + 0xd8);\n  if ((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))) {\n    if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    __dest = *(char **)(this + 0xd0);\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }\nLAB_0029e156:\n  pcVar7 = __dest + __n;\n  *(char **)(this + 0xe0) = __dest;\n  *(char **)(this + 0xe8) = pcVar7;\n  *(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84);\n  if (lVar12 != 0) {\n    iVar6 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest_00 = *(void **)(this + 8);\n  iVar6 = 0;\n  local_40[0] = __dest_00;\n  if (pcVar7 <= __dest) goto LAB_0029e1f6;\n  bVar4 = false;\nLAB_0029e198:\n  local_40[0] = __dest_00;\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40);\n  if (iVar6 == 3) {\n    pcVar7 = *(char **)(this + 0xe8);\n    __dest_00 = *(void **)(this + 8);\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)local_40[0] - *(long *)(this + 8);\n  if (iVar6 != 2) {\n    bVar3 = (bool)(uVar11 != 0 | bVar4);\n    while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar4) {\n                    /* WARNING: Subroutine does not return */\n    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  uVar2 = *(undefined8 *)(this + 0x98);\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  *(undefined8 *)(this + 0x10) = uVar2;\n  *(undefined8 *)(this + 0x18) = uVar2;\n  *(undefined8 *)(this + 0x30) = 0;\n  this[0xa9] = (filebuf)0x0;\n  return 0xffffffff;\n}\n\n" comment (function_definition "ulong __thiscall std::filebuf::underflow(filebuf *this)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  bool bVar4;\n  char cVar5;\n  int iVar6;\n  char *pcVar7;\n  ulong uVar8;\n  byte *pbVar9;\n  char *__dest;\n  ulong uVar10;\n  size_t __n;\n  void *__src;\n  void *__dest_00;\n  ulong uVar11;\n  long lVar12;\n  void *local_40 [2];\n  \n  if (((byte)this[0x78] & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (this[0xaa] == (filebuf)0x0) {\n    pbVar9 = *(byte **)(this + 0x10);\n    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;\n  }\n  else {\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }\n  lVar12 = 2;\n  if (1 < *(ulong *)(this + 0xa0)) {\n    lVar12 = *(long *)(this + 0xa0);\n  }\n  uVar8 = lVar12 - 1;\n  if (*(long **)(this + 200) == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))();\n  if (cVar5 != '\0') {\n    uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))();\n  if (iVar6 < 1) {\n    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar6;\n    uVar10 = uVar8;\n  }\n  else {\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }\n  __n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0);\n  lVar12 = uVar10 - __n;\n  if ((long)uVar10 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = *(long *)(this + 0xd8);\n  if ((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))) {\n    if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    __dest = *(char **)(this + 0xd0);\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }\nLAB_0029e156:\n  pcVar7 = __dest + __n;\n  *(char **)(this + 0xe0) = __dest;\n  *(char **)(this + 0xe8) = pcVar7;\n  *(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84);\n  if (lVar12 != 0) {\n    iVar6 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest_00 = *(void **)(this + 8);\n  iVar6 = 0;\n  local_40[0] = __dest_00;\n  if (pcVar7 <= __dest) goto LAB_0029e1f6;\n  bVar4 = false;\nLAB_0029e198:\n  local_40[0] = __dest_00;\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40);\n  if (iVar6 == 3) {\n    pcVar7 = *(char **)(this + 0xe8);\n    __dest_00 = *(void **)(this + 8);\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)local_40[0] - *(long *)(this + 8);\n  if (iVar6 != 2) {\n    bVar3 = (bool)(uVar11 != 0 | bVar4);\n    while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar4) {\n                    /* WARNING: Subroutine does not return */\n    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  uVar2 = *(undefined8 *)(this + 0x98);\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  *(undefined8 *)(this + 0x10) = uVar2;\n  *(undefined8 *)(this + 0x18) = uVar2;\n  *(undefined8 *)(this + 0x30) = 0;\n  this[0xa9] = (filebuf)0x0;\n  return 0xffffffff;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::filebuf::" identifier : : identifier : :) (function_declarator "underflow(filebuf *this)" identifier (parameter_list "(filebuf *this)" ( (parameter_declaration "filebuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  bool bVar4;\n  char cVar5;\n  int iVar6;\n  char *pcVar7;\n  ulong uVar8;\n  byte *pbVar9;\n  char *__dest;\n  ulong uVar10;\n  size_t __n;\n  void *__src;\n  void *__dest_00;\n  ulong uVar11;\n  long lVar12;\n  void *local_40 [2];\n  \n  if (((byte)this[0x78] & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (this[0xaa] == (filebuf)0x0) {\n    pbVar9 = *(byte **)(this + 0x10);\n    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;\n  }\n  else {\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }\n  lVar12 = 2;\n  if (1 < *(ulong *)(this + 0xa0)) {\n    lVar12 = *(long *)(this + 0xa0);\n  }\n  uVar8 = lVar12 - 1;\n  if (*(long **)(this + 200) == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))();\n  if (cVar5 != '\0') {\n    uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))();\n  if (iVar6 < 1) {\n    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar6;\n    uVar10 = uVar8;\n  }\n  else {\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }\n  __n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0);\n  lVar12 = uVar10 - __n;\n  if ((long)uVar10 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = *(long *)(this + 0xd8);\n  if ((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))) {\n    if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    __dest = *(char **)(this + 0xd0);\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }\nLAB_0029e156:\n  pcVar7 = __dest + __n;\n  *(char **)(this + 0xe0) = __dest;\n  *(char **)(this + 0xe8) = pcVar7;\n  *(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84);\n  if (lVar12 != 0) {\n    iVar6 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest_00 = *(void **)(this + 8);\n  iVar6 = 0;\n  local_40[0] = __dest_00;\n  if (pcVar7 <= __dest) goto LAB_0029e1f6;\n  bVar4 = false;\nLAB_0029e198:\n  local_40[0] = __dest_00;\n  iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40);\n  if (iVar6 == 3) {\n    pcVar7 = *(char **)(this + 0xe8);\n    __dest_00 = *(void **)(this + 8);\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)local_40[0] - *(long *)(this + 8);\n  if (iVar6 != 2) {\n    bVar3 = (bool)(uVar11 != 0 | bVar4);\n    while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar4) {\n                    /* WARNING: Subroutine does not return */\n    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  uVar2 = *(undefined8 *)(this + 0x98);\n  *(undefined8 *)(this + 0x28) = 0;\n  *(undefined8 *)(this + 0x20) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  *(undefined8 *)(this + 0x10) = uVar2;\n  *(undefined8 *)(this + 0x18) = uVar2;\n  *(undefined8 *)(this + 0x30) = 0;\n  this[0xa9] = (filebuf)0x0;\n  return 0xffffffff;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "void *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "void *local_40 [2];" primitive_type (pointer_declarator "*local_40 [2]" * (array_declarator "local_40 [2]" identifier [ number_literal ])) ;) (if_statement "if (((byte)this[0x78] & 8) == 0) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "(((byte)this[0x78] & 8) == 0)" ( (binary_expression "((byte)this[0x78] & 8) == 0" (parenthesized_expression "((byte)this[0x78] & 8)" ( (binary_expression "(byte)this[0x78] & 8" (cast_expression "(byte)this[0x78]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[0x78]" identifier [ number_literal ])) & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if (this[0xaa] == (filebuf)0x0) {\n    pbVar9 = *(byte **)(this + 0x10);\n    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;\n  }\n  else {\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }" if (parenthesized_expression "(this[0xaa] == (filebuf)0x0)" ( (binary_expression "this[0xaa] == (filebuf)0x0" (subscript_expression "this[0xaa]" identifier [ number_literal ]) == (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n    pbVar9 = *(byte **)(this + 0x10);\n    if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;\n  }" { (expression_statement "pbVar9 = *(byte **)(this + 0x10);" (assignment_expression "pbVar9 = *(byte **)(this + 0x10)" identifier = (pointer_expression "*(byte **)(this + 0x10)" * (cast_expression "(byte **)(this + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (this[0xc0] != (filebuf)0x0) goto LAB_0029e323;" if (parenthesized_expression "(this[0xc0] != (filebuf)0x0)" ( (binary_expression "this[0xc0] != (filebuf)0x0" (subscript_expression "this[0xc0]" identifier [ number_literal ]) != (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_0029e323;" goto statement_identifier ;)) (labeled_statement "LAB_0029e099:\n    if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;" statement_identifier : (if_statement "if (pbVar9 < *(byte **)(this + 0x18)) goto LAB_0029e365;" if (parenthesized_expression "(pbVar9 < *(byte **)(this + 0x18))" ( (binary_expression "pbVar9 < *(byte **)(this + 0x18)" identifier < (pointer_expression "*(byte **)(this + 0x18)" * (cast_expression "(byte **)(this + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))))) )) (goto_statement "goto LAB_0029e365;" goto statement_identifier ;))) }) (else_clause "else {\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }" else (compound_statement "{\n    uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);\n    if ((int)uVar8 == -1) {\n      return uVar8;\n    }\n    pbVar9 = *(byte **)(this + 0x98);\n    *(undefined8 *)(this + 0x28) = 0;\n    *(undefined8 *)(this + 0x20) = 0;\n    *(byte **)(this + 8) = pbVar9;\n    *(byte **)(this + 0x10) = pbVar9;\n    *(byte **)(this + 0x18) = pbVar9;\n    *(undefined8 *)(this + 0x30) = 0;\n    this[0xaa] = (filebuf)0x0;\n    if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;\nLAB_0029e323:\n    this[0xc0] = (filebuf)0x0;\n    pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));\n    *(byte **)(this + 0x18) = *(byte **)(this + 0xb8);\n    *(byte **)(this + 0xb0) = pbVar9;\n    *(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);\n    *(byte **)(this + 0x10) = pbVar9;\n    if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }\n  }" { (expression_statement "uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff);" (assignment_expression "uVar8 = (**(code **)(*(long *)this + 0x68))(this,0xffffffff)" identifier = (call_expression "(**(code **)(*(long *)this + 0x68))(this,0xffffffff)" (parenthesized_expression "(**(code **)(*(long *)this + 0x68))" ( (pointer_expression "**(code **)(*(long *)this + 0x68)" * (pointer_expression "*(code **)(*(long *)this + 0x68)" * (cast_expression "(code **)(*(long *)this + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this + 0x68)" ( (binary_expression "*(long *)this + 0x68" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(this,0xffffffff)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar8 == -1) {\n      return uVar8;\n    }" if (parenthesized_expression "((int)uVar8 == -1)" ( (binary_expression "(int)uVar8 == -1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n      return uVar8;\n    }" { (return_statement "return uVar8;" return identifier ;) })) (expression_statement "pbVar9 = *(byte **)(this + 0x98);" (assignment_expression "pbVar9 = *(byte **)(this + 0x98)" identifier = (pointer_expression "*(byte **)(this + 0x98)" * (cast_expression "(byte **)(this + 0x98)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(byte **)(this + 8) = pbVar9;" (assignment_expression "*(byte **)(this + 8) = pbVar9" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(this + 0x10) = pbVar9;" (assignment_expression "*(byte **)(this + 0x10) = pbVar9" (pointer_expression "*(byte **)(this + 0x10)" * (cast_expression "(byte **)(this + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(this + 0x18) = pbVar9;" (assignment_expression "*(byte **)(this + 0x18) = pbVar9" (pointer_expression "*(byte **)(this + 0x18)" * (cast_expression "(byte **)(this + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0xaa] = (filebuf)0x0;" (assignment_expression "this[0xaa] = (filebuf)0x0" (subscript_expression "this[0xaa]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (if_statement "if (this[0xc0] == (filebuf)0x0) goto LAB_0029e099;" if (parenthesized_expression "(this[0xc0] == (filebuf)0x0)" ( (binary_expression "this[0xc0] == (filebuf)0x0" (subscript_expression "this[0xc0]" identifier [ number_literal ]) == (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_0029e099;" goto statement_identifier ;)) (labeled_statement "LAB_0029e323:\n    this[0xc0] = (filebuf)0x0;" statement_identifier : (expression_statement "this[0xc0] = (filebuf)0x0;" (assignment_expression "this[0xc0] = (filebuf)0x0" (subscript_expression "this[0xc0]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;)) (expression_statement "pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0));" (assignment_expression "pbVar9 = (byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0))" identifier = (cast_expression "(byte *)((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0))" ( (binary_expression "(ulong)(*(byte **)(this + 8) != pbVar9) + *(long *)(this + 0xb0)" (call_expression "(ulong)(*(byte **)(this + 8) != pbVar9)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(byte **)(this + 8) != pbVar9)" ( (binary_expression "*(byte **)(this + 8) != pbVar9" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) != identifier) ))) + (pointer_expression "*(long *)(this + 0xb0)" * (cast_expression "(long *)(this + 0xb0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xb0)" ( (binary_expression "this + 0xb0" identifier + number_literal) ))))) )))) ;) (expression_statement "*(byte **)(this + 0x18) = *(byte **)(this + 0xb8);" (assignment_expression "*(byte **)(this + 0x18) = *(byte **)(this + 0xb8)" (pointer_expression "*(byte **)(this + 0x18)" * (cast_expression "(byte **)(this + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(byte **)(this + 0xb8)" * (cast_expression "(byte **)(this + 0xb8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xb8)" ( (binary_expression "this + 0xb8" identifier + number_literal) ))))) ;) (expression_statement "*(byte **)(this + 0xb0) = pbVar9;" (assignment_expression "*(byte **)(this + 0xb0) = pbVar9" (pointer_expression "*(byte **)(this + 0xb0)" * (cast_expression "(byte **)(this + 0xb0)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xb0)" ( (binary_expression "this + 0xb0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98);" (assignment_expression "*(undefined8 *)(this + 8) = *(undefined8 *)(this + 0x98)" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(this + 0x98)" * (cast_expression "(undefined8 *)(this + 0x98)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) ))))) ;) (expression_statement "*(byte **)(this + 0x10) = pbVar9;" (assignment_expression "*(byte **)(this + 0x10) = pbVar9" (pointer_expression "*(byte **)(this + 0x10)" * (cast_expression "(byte **)(this + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (pbVar9 < *(byte **)(this + 0xb8)) {\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }" if (parenthesized_expression "(pbVar9 < *(byte **)(this + 0xb8))" ( (binary_expression "pbVar9 < *(byte **)(this + 0xb8)" identifier < (pointer_expression "*(byte **)(this + 0xb8)" * (cast_expression "(byte **)(this + 0xb8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xb8)" ( (binary_expression "this + 0xb8" identifier + number_literal) ))))) )) (compound_statement "{\nLAB_0029e365:\n      return (ulong)*pbVar9;\n    }" { (labeled_statement "LAB_0029e365:\n      return (ulong)*pbVar9;" statement_identifier : (return_statement "return (ulong)*pbVar9;" return (binary_expression "(ulong)*pbVar9" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;)) })) }))) (expression_statement "lVar12 = 2;" (assignment_expression "lVar12 = 2" identifier = number_literal) ;) (if_statement "if (1 < *(ulong *)(this + 0xa0)) {\n    lVar12 = *(long *)(this + 0xa0);\n  }" if (parenthesized_expression "(1 < *(ulong *)(this + 0xa0))" ( (binary_expression "1 < *(ulong *)(this + 0xa0)" number_literal < (pointer_expression "*(ulong *)(this + 0xa0)" * (cast_expression "(ulong *)(this + 0xa0)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xa0)" ( (binary_expression "this + 0xa0" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar12 = *(long *)(this + 0xa0);\n  }" { (expression_statement "lVar12 = *(long *)(this + 0xa0);" (assignment_expression "lVar12 = *(long *)(this + 0xa0)" identifier = (pointer_expression "*(long *)(this + 0xa0)" * (cast_expression "(long *)(this + 0xa0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xa0)" ( (binary_expression "this + 0xa0" identifier + number_literal) ))))) ;) })) (expression_statement "uVar8 = lVar12 - 1;" (assignment_expression "uVar8 = lVar12 - 1" identifier = (binary_expression "lVar12 - 1" identifier - number_literal)) ;) (if_statement "if (*(long **)(this + 200) == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }" if (parenthesized_expression "(*(long **)(this + 200) == (long *)0x0)" ( (binary_expression "*(long **)(this + 200) == (long *)0x0" (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) )))) == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }" { comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))();" (assignment_expression "cVar5 = (**(code **)(**(long **)(this + 200) + 0x30))()" identifier = (call_expression "(**(code **)(**(long **)(this + 200) + 0x30))()" (parenthesized_expression "(**(code **)(**(long **)(this + 200) + 0x30))" ( (pointer_expression "**(code **)(**(long **)(this + 200) + 0x30)" * (pointer_expression "*(code **)(**(long **)(this + 200) + 0x30)" * (cast_expression "(code **)(**(long **)(this + 200) + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(this + 200) + 0x30)" ( (binary_expression "**(long **)(this + 200) + 0x30" (pointer_expression "**(long **)(this + 200)" * (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (cVar5 != '\0') {\n    uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" if (parenthesized_expression "(cVar5 != '\0')" ( (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" { (expression_statement "uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8);" (assignment_expression "uVar11 = __basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8)" identifier = (binary_expression "__basic_file<char>::xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8)" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "xsgetn\n                       ((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8)" identifier (argument_list "((__basic_file<char> *)(this + 0x68),*(char **)(this + 8),uVar8)" ( (call_expression "(__basic_file<char> *)(this + 0x68)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x68)" ( (binary_expression "this + 0x68" identifier + number_literal) ))) , (pointer_expression "*(char **)(this + 8)" * (cast_expression "(char **)(this + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) , identifier ))))) ;) (if_statement "if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }\nLAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");\n    }" { (if_statement "if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\nLAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);\n        *(byte **)(this + 8) = pbVar9;\n        *(byte **)(this + 0x10) = pbVar9;\n        if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }\n        *(undefined8 *)(this + 0x28) = 0;\n        *(undefined8 *)(this + 0x20) = 0;\n        *(undefined8 *)(this + 0x30) = 0;\n        this[0xa9] = (filebuf)0x1;\n        return (ulong)*pbVar9;\n      }" { (labeled_statement "LAB_0029e449:\n        pbVar9 = *(byte **)(this + 0x98);" statement_identifier : (expression_statement "pbVar9 = *(byte **)(this + 0x98);" (assignment_expression "pbVar9 = *(byte **)(this + 0x98)" identifier = (pointer_expression "*(byte **)(this + 0x98)" * (cast_expression "(byte **)(this + 0x98)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) ))))) ;)) (expression_statement "*(byte **)(this + 8) = pbVar9;" (assignment_expression "*(byte **)(this + 8) = pbVar9" (pointer_expression "*(byte **)(this + 8)" * (cast_expression "(byte **)(this + 8)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(byte **)(this + 0x10) = pbVar9;" (assignment_expression "*(byte **)(this + 0x10) = pbVar9" (pointer_expression "*(byte **)(this + 0x10)" * (cast_expression "(byte **)(this + 0x10)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((byte)this[0x78] & 8) == 0) {\n          *(byte **)(this + 0x18) = pbVar9;\n        }\n        else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }" if (parenthesized_expression "(((byte)this[0x78] & 8) == 0)" ( (binary_expression "((byte)this[0x78] & 8) == 0" (parenthesized_expression "((byte)this[0x78] & 8)" ( (binary_expression "(byte)this[0x78] & 8" (cast_expression "(byte)this[0x78]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[0x78]" identifier [ number_literal ])) & number_literal) )) == number_literal) )) (compound_statement "{\n          *(byte **)(this + 0x18) = pbVar9;\n        }" { (expression_statement "*(byte **)(this + 0x18) = pbVar9;" (assignment_expression "*(byte **)(this + 0x18) = pbVar9" (pointer_expression "*(byte **)(this + 0x18)" * (cast_expression "(byte **)(this + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }" else (compound_statement "{\n          *(byte **)(this + 0x18) = pbVar9 + uVar11;\n        }" { (expression_statement "*(byte **)(this + 0x18) = pbVar9 + uVar11;" (assignment_expression "*(byte **)(this + 0x18) = pbVar9 + uVar11" (pointer_expression "*(byte **)(this + 0x18)" * (cast_expression "(byte **)(this + 0x18)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (binary_expression "pbVar9 + uVar11" identifier + identifier)) ;) }))) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0xa9] = (filebuf)0x1;" (assignment_expression "this[0xa9] = (filebuf)0x1" (subscript_expression "this[0xa9]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x1" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (return_statement "return (ulong)*pbVar9;" return (binary_expression "(ulong)*pbVar9" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;) })) (labeled_statement "LAB_0029e42e:\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow error reading the file");" statement_identifier : comment (expression_statement "__throw_ios_failure("basic_filebuf::underflow error reading the file");" (call_expression "__throw_ios_failure("basic_filebuf::underflow error reading the file")" identifier (argument_list "("basic_filebuf::underflow error reading the file")" ( (string_literal ""basic_filebuf::underflow error reading the file"" " string_content ") ))) ;)) })) (goto_statement "goto LAB_0029e4b0;" goto statement_identifier ;) })) (expression_statement "iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))();" (assignment_expression "iVar6 = (**(code **)(**(long **)(this + 200) + 0x28))()" identifier = (call_expression "(**(code **)(**(long **)(this + 200) + 0x28))()" (parenthesized_expression "(**(code **)(**(long **)(this + 200) + 0x28))" ( (pointer_expression "**(code **)(**(long **)(this + 200) + 0x28)" * (pointer_expression "*(code **)(**(long **)(this + 200) + 0x28)" * (cast_expression "(code **)(**(long **)(this + 200) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(this + 200) + 0x28)" ( (binary_expression "**(long **)(this + 200) + 0x28" (pointer_expression "**(long **)(this + 200)" * (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar6 < 1) {\n    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar6;\n    uVar10 = uVar8;\n  }\n  else {\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }" if (parenthesized_expression "(iVar6 < 1)" ( (binary_expression "iVar6 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar6;\n    uVar10 = uVar8;\n  }" { (expression_statement "iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))();" (assignment_expression "iVar6 = (**(code **)(**(long **)(this + 200) + 0x40))()" identifier = (call_expression "(**(code **)(**(long **)(this + 200) + 0x40))()" (parenthesized_expression "(**(code **)(**(long **)(this + 200) + 0x40))" ( (pointer_expression "**(code **)(**(long **)(this + 200) + 0x40)" * (pointer_expression "*(code **)(**(long **)(this + 200) + 0x40)" * (cast_expression "(code **)(**(long **)(this + 200) + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(this + 200) + 0x40)" ( (binary_expression "**(long **)(this + 200) + 0x40" (pointer_expression "**(long **)(this + 200)" * (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = lVar12 + -2 + (long)iVar6;" (assignment_expression "uVar11 = lVar12 + -2 + (long)iVar6" identifier = (binary_expression "lVar12 + -2 + (long)iVar6" (binary_expression "lVar12 + -2" identifier + number_literal) + (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar10 = uVar8;" (assignment_expression "uVar10 = uVar8" identifier = identifier) ;) }) (else_clause "else {\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }" else (compound_statement "{\n    uVar11 = (long)iVar6 * uVar8;\n    uVar10 = uVar11;\n  }" { (expression_statement "uVar11 = (long)iVar6 * uVar8;" (assignment_expression "uVar11 = (long)iVar6 * uVar8" identifier = (binary_expression "(long)iVar6 * uVar8" (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * identifier)) ;) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) }))) (expression_statement "__n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0);" (assignment_expression "__n = *(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0)" identifier = (binary_expression "*(long *)(this + 0xe8) - (long)*(void **)(this + 0xe0)" (pointer_expression "*(long *)(this + 0xe8)" * (cast_expression "(long *)(this + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) )))) - (cast_expression "(long)*(void **)(this + 0xe0)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(void **)(this + 0xe0)" * (cast_expression "(void **)(this + 0xe0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) ))))))) ;) (expression_statement "lVar12 = uVar10 - __n;" (assignment_expression "lVar12 = uVar10 - __n" identifier = (binary_expression "uVar10 - __n" identifier - identifier)) ;) (if_statement "if ((long)uVar10 <= (long)__n) {\n    lVar12 = 0;\n  }" if (parenthesized_expression "((long)uVar10 <= (long)__n)" ( (binary_expression "(long)uVar10 <= (long)__n" (cast_expression "(long)uVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) <= (cast_expression "(long)__n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    lVar12 = 0;\n  }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) })) (expression_statement "lVar1 = *(long *)(this + 0xd8);" (assignment_expression "lVar1 = *(long *)(this + 0xd8)" identifier = (pointer_expression "*(long *)(this + 0xd8)" * (cast_expression "(long *)(this + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) ))))) ;) (if_statement "if ((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))) {\n    if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    __dest = *(char **)(this + 0xd0);\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }" if (parenthesized_expression "((this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8)))" ( (binary_expression "(this[0xa9] == (filebuf)0x0) || (*(long *)(this + 0x18) != *(long *)(this + 8))" (parenthesized_expression "(this[0xa9] == (filebuf)0x0)" ( (binary_expression "this[0xa9] == (filebuf)0x0" (subscript_expression "this[0xa9]" identifier [ number_literal ]) == (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) )) || (parenthesized_expression "(*(long *)(this + 0x18) != *(long *)(this + 8))" ( (binary_expression "*(long *)(this + 0x18) != *(long *)(this + 8)" (pointer_expression "*(long *)(this + 0x18)" * (cast_expression "(long *)(this + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) != (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ))) )) (compound_statement "{\n    if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    __dest = *(char **)(this + 0xd0);\n    if (__n != 0) goto LAB_0029e554;\n  }" { (if_statement "if (lVar1 < (long)uVar11) {\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n      __dest = (char *)operator_new__(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" { (expression_statement "__dest = (char *)operator_new__(uVar11);" (assignment_expression "__dest = (char *)operator_new__(uVar11)" identifier = (cast_expression "(char *)operator_new__(uVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (if_statement "if (__n != 0) goto LAB_0029e58e;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e58e;" goto statement_identifier ;)) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) (expression_statement "__dest = *(char **)(this + 0xd0);" (assignment_expression "__dest = *(char **)(this + 0xd0)" identifier = (pointer_expression "*(char **)(this + 0xd0)" * (cast_expression "(char **)(this + 0xd0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) ))))) ;) (if_statement "if (__n != 0) goto LAB_0029e554;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e554;" goto statement_identifier ;)) }) (else_clause "else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }" else (compound_statement "{\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }\n    __dest = *(char **)(this + 0xd0);\n  }" { (if_statement "if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        __dest = (char *)operator_new__(uVar11);\n        goto LAB_0029e510;\n      }" { (expression_statement "__dest = (char *)operator_new__(uVar11);" (assignment_expression "__dest = (char *)operator_new__(uVar11)" identifier = (cast_expression "(char *)operator_new__(uVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }" else (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }\n      __dest = *(char **)(this + 0xd0);\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        lVar12 = 0;\n        __dest = (char *)operator_new__(uVar11);\nLAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);\nLAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }\n        *(char **)(this + 0xd0) = __dest;\n        *(ulong *)(this + 0xd8) = uVar11;\n        goto LAB_0029e156;\n      }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "__dest = (char *)operator_new__(uVar11);" (assignment_expression "__dest = (char *)operator_new__(uVar11)" identifier = (cast_expression "(char *)operator_new__(uVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (labeled_statement "LAB_0029e58e:\n        memcpy(__dest,*(void **)(this + 0xe0),__n);" statement_identifier : (expression_statement "memcpy(__dest,*(void **)(this + 0xe0),__n);" (call_expression "memcpy(__dest,*(void **)(this + 0xe0),__n)" identifier (argument_list "(__dest,*(void **)(this + 0xe0),__n)" ( identifier , (pointer_expression "*(void **)(this + 0xe0)" * (cast_expression "(void **)(this + 0xe0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) )))) , identifier ))) ;)) (labeled_statement "LAB_0029e510:\n        if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }" statement_identifier : (if_statement "if (*(void **)(this + 0xd0) != (void *)0x0) {\n          operator_delete__(*(void **)(this + 0xd0));\n        }" if (parenthesized_expression "(*(void **)(this + 0xd0) != (void *)0x0)" ( (binary_expression "*(void **)(this + 0xd0) != (void *)0x0" (pointer_expression "*(void **)(this + 0xd0)" * (cast_expression "(void **)(this + 0xd0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          operator_delete__(*(void **)(this + 0xd0));\n        }" { (expression_statement "operator_delete__(*(void **)(this + 0xd0));" (call_expression "operator_delete__(*(void **)(this + 0xd0))" identifier (argument_list "(*(void **)(this + 0xd0))" ( (pointer_expression "*(void **)(this + 0xd0)" * (cast_expression "(void **)(this + 0xd0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))) ))) ;) }))) (expression_statement "*(char **)(this + 0xd0) = __dest;" (assignment_expression "*(char **)(this + 0xd0) = __dest" (pointer_expression "*(char **)(this + 0xd0)" * (cast_expression "(char **)(this + 0xd0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(ulong *)(this + 0xd8) = uVar11;" (assignment_expression "*(ulong *)(this + 0xd8) = uVar11" (pointer_expression "*(ulong *)(this + 0xd8)" * (cast_expression "(ulong *)(this + 0xd8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto LAB_0029e156;" goto statement_identifier ;) })) (expression_statement "__dest = *(char **)(this + 0xd0);" (assignment_expression "__dest = *(char **)(this + 0xd0)" identifier = (pointer_expression "*(char **)(this + 0xd0)" * (cast_expression "(char **)(this + 0xd0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) ))))) ;) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0029e554:\n      memmove(__dest,*(void **)(this + 0xe0),__n);" statement_identifier : (expression_statement "memmove(__dest,*(void **)(this + 0xe0),__n);" (call_expression "memmove(__dest,*(void **)(this + 0xe0),__n)" identifier (argument_list "(__dest,*(void **)(this + 0xe0),__n)" ( identifier , (pointer_expression "*(void **)(this + 0xe0)" * (cast_expression "(void **)(this + 0xe0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) )))) , identifier ))) ;)) }))) (expression_statement "__dest = *(char **)(this + 0xd0);" (assignment_expression "__dest = *(char **)(this + 0xd0)" identifier = (pointer_expression "*(char **)(this + 0xd0)" * (cast_expression "(char **)(this + 0xd0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) ))))) ;) }))) (labeled_statement "LAB_0029e156:\n  pcVar7 = __dest + __n;" statement_identifier : (expression_statement "pcVar7 = __dest + __n;" (assignment_expression "pcVar7 = __dest + __n" identifier = (binary_expression "__dest + __n" identifier + identifier)) ;)) (expression_statement "*(char **)(this + 0xe0) = __dest;" (assignment_expression "*(char **)(this + 0xe0) = __dest" (pointer_expression "*(char **)(this + 0xe0)" * (cast_expression "(char **)(this + 0xe0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(this + 0xe8) = pcVar7;" (assignment_expression "*(char **)(this + 0xe8) = pcVar7" (pointer_expression "*(char **)(this + 0xe8)" * (cast_expression "(char **)(this + 0xe8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84);" (assignment_expression "*(undefined8 *)(this + 0x8c) = *(undefined8 *)(this + 0x84)" (pointer_expression "*(undefined8 *)(this + 0x8c)" * (cast_expression "(undefined8 *)(this + 0x8c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x8c)" ( (binary_expression "this + 0x8c" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(this + 0x84)" * (cast_expression "(undefined8 *)(this + 0x84)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) ))))) ;) (if_statement "if (lVar12 != 0) {\n    iVar6 = 0;\n    goto LAB_0029e20d;\n  }" if (parenthesized_expression "(lVar12 != 0)" ( (binary_expression "lVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    goto LAB_0029e20d;\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0029e20d;" goto statement_identifier ;) })) (expression_statement "__dest_00 = *(void **)(this + 8);" (assignment_expression "__dest_00 = *(void **)(this + 8)" identifier = (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (expression_statement "local_40[0] = __dest_00;" (assignment_expression "local_40[0] = __dest_00" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pcVar7 <= __dest) goto LAB_0029e1f6;" if (parenthesized_expression "(pcVar7 <= __dest)" ( (binary_expression "pcVar7 <= __dest" identifier <= identifier) )) (goto_statement "goto LAB_0029e1f6;" goto statement_identifier ;)) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (labeled_statement "LAB_0029e198:\n  local_40[0] = __dest_00;" statement_identifier : (expression_statement "local_40[0] = __dest_00;" (assignment_expression "local_40[0] = __dest_00" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40);" (assignment_expression "iVar6 = (**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40)" identifier = (call_expression "(**(code **)(**(long **)(this + 200) + 0x20))\n                    (*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40)" (parenthesized_expression "(**(code **)(**(long **)(this + 200) + 0x20))" ( (pointer_expression "**(code **)(**(long **)(this + 200) + 0x20)" * (pointer_expression "*(code **)(**(long **)(this + 200) + 0x20)" * (cast_expression "(code **)(**(long **)(this + 200) + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(this + 200) + 0x20)" ( (binary_expression "**(long **)(this + 200) + 0x20" (pointer_expression "**(long **)(this + 200)" * (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(long **)(this + 200),this + 0x84,__dest,pcVar7,this + 0xe0,__dest_00,\n                     (long)__dest_00 + uVar8,local_40)" ( (pointer_expression "*(long **)(this + 200)" * (cast_expression "(long **)(this + 200)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 200)" ( (binary_expression "this + 200" identifier + number_literal) )))) , (binary_expression "this + 0x84" identifier + number_literal) , identifier , identifier , (binary_expression "this + 0xe0" identifier + number_literal) , identifier , (binary_expression "(long)__dest_00 + uVar8" (cast_expression "(long)__dest_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) , identifier )))) ;) (if_statement "if (iVar6 == 3) {\n    pcVar7 = *(char **)(this + 0xe8);\n    __dest_00 = *(void **)(this + 8);\n    goto LAB_0029e3ab;\n  }" if (parenthesized_expression "(iVar6 == 3)" ( (binary_expression "iVar6 == 3" identifier == number_literal) )) (compound_statement "{\n    pcVar7 = *(char **)(this + 0xe8);\n    __dest_00 = *(void **)(this + 8);\n    goto LAB_0029e3ab;\n  }" { (expression_statement "pcVar7 = *(char **)(this + 0xe8);" (assignment_expression "pcVar7 = *(char **)(this + 0xe8)" identifier = (pointer_expression "*(char **)(this + 0xe8)" * (cast_expression "(char **)(this + 0xe8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) ))))) ;) (expression_statement "__dest_00 = *(void **)(this + 8);" (assignment_expression "__dest_00 = *(void **)(this + 8)" identifier = (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0029e3ab;" goto statement_identifier ;) })) (expression_statement "uVar11 = (long)local_40[0] - *(long *)(this + 8);" (assignment_expression "uVar11 = (long)local_40[0] - *(long *)(this + 8)" identifier = (binary_expression "(long)local_40[0] - *(long *)(this + 8)" (cast_expression "(long)local_40[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_40[0]" identifier [ number_literal ])) - (pointer_expression "*(long *)(this + 8)" * (cast_expression "(long *)(this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))))) ;) (if_statement "if (iVar6 != 2) {\n    bVar3 = (bool)(uVar11 != 0 | bVar4);\n    while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" if (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) )) (compound_statement "{\n    bVar3 = (bool)(uVar11 != 0 | bVar4);\n    while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" { (expression_statement "bVar3 = (bool)(uVar11 != 0 | bVar4);" (assignment_expression "bVar3 = (bool)(uVar11 != 0 | bVar4)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar4)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar4)" ( (binary_expression "uVar11 != 0 | bVar4" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) (while_statement "while (!bVar3) {\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }" while (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\nLAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);\n      uVar10 = (long)pcVar7 - (long)__src;\n      uVar11 = uVar8;\n      if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }\n      *(void **)(this + 0xe0) = __src;\n      iVar6 = 3;\n      bVar3 = (bool)(uVar11 != 0 | bVar4);\n    }" { (labeled_statement "LAB_0029e1f6:\n      while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }" statement_identifier : (while_statement "while( true ) {\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pcVar7 = *(char **)(this + 0xe8);\n        lVar12 = 1;\n        __n = (long)pcVar7 - *(long *)(this + 0xd0);\nLAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);\n        if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }\n        __dest_00 = *(void **)(this + 8);\n        __dest = *(char **)(this + 0xe0);\n        pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));\n        *(char **)(this + 0xe8) = pcVar7;\n        if (__dest < pcVar7) goto LAB_0029e198;\n        local_40[0] = __dest_00;\n        if (iVar6 == 3) break;\n        if (bVar4) goto LAB_0029e27e;\n      }" { (expression_statement "pcVar7 = *(char **)(this + 0xe8);" (assignment_expression "pcVar7 = *(char **)(this + 0xe8)" identifier = (pointer_expression "*(char **)(this + 0xe8)" * (cast_expression "(char **)(this + 0xe8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) ))))) ;) (expression_statement "lVar12 = 1;" (assignment_expression "lVar12 = 1" identifier = number_literal) ;) (expression_statement "__n = (long)pcVar7 - *(long *)(this + 0xd0);" (assignment_expression "__n = (long)pcVar7 - *(long *)(this + 0xd0)" identifier = (binary_expression "(long)pcVar7 - *(long *)(this + 0xd0)" (cast_expression "(long)pcVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (pointer_expression "*(long *)(this + 0xd0)" * (cast_expression "(long *)(this + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))))) ;) (labeled_statement "LAB_0029e20d:\n        if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" statement_identifier : (if_statement "if (*(long *)(this + 0xd8) < (long)(__n + lVar12)) {\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" if (parenthesized_expression "(*(long *)(this + 0xd8) < (long)(__n + lVar12))" ( (binary_expression "*(long *)(this + 0xd8) < (long)(__n + lVar12)" (pointer_expression "*(long *)(this + 0xd8)" * (cast_expression "(long *)(this + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd8)" ( (binary_expression "this + 0xd8" identifier + number_literal) )))) < (cast_expression "(long)(__n + lVar12)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__n + lVar12)" ( (binary_expression "__n + lVar12" identifier + identifier) )))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          __throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" { comment (expression_statement "__throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid");" (call_expression "__throw_ios_failure("basic_filebuf::underflow codecvt::max_length() is not valid")" identifier (argument_list "("basic_filebuf::underflow codecvt::max_length() is not valid")" ( (string_literal ""basic_filebuf::underflow codecvt::max_length() is not valid"" " string_content ") ))) ;) }))) (expression_statement "lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12);" (assignment_expression "lVar12 = __basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12)" identifier = (binary_expression "__basic_file<char>::xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12)" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "xsgetn((__basic_file<char> *)(this + 0x68),pcVar7,lVar12)" identifier (argument_list "((__basic_file<char> *)(this + 0x68),pcVar7,lVar12)" ( (call_expression "(__basic_file<char> *)(this + 0x68)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x68)" ( (binary_expression "this + 0x68" identifier + number_literal) ))) , identifier , identifier ))))) ;) (if_statement "if (lVar12 == 0) {\n          bVar4 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          bVar4 = true;\n        }" { (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) }) (else_clause "else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }" else (compound_statement "{\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar4 = false;\n        }" { (if_statement "if (lVar12 == -1) goto LAB_0029e42e;" if (parenthesized_expression "(lVar12 == -1)" ( (binary_expression "lVar12 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;)) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) }))) (expression_statement "__dest_00 = *(void **)(this + 8);" (assignment_expression "__dest_00 = *(void **)(this + 8)" identifier = (pointer_expression "*(void **)(this + 8)" * (cast_expression "(void **)(this + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "__dest = *(char **)(this + 0xe0);" (assignment_expression "__dest = *(char **)(this + 0xe0)" identifier = (pointer_expression "*(char **)(this + 0xe0)" * (cast_expression "(char **)(this + 0xe0)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8));" (assignment_expression "pcVar7 = (char *)(lVar12 + *(long *)(this + 0xe8))" identifier = (cast_expression "(char *)(lVar12 + *(long *)(this + 0xe8))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + *(long *)(this + 0xe8))" ( (binary_expression "lVar12 + *(long *)(this + 0xe8)" identifier + (pointer_expression "*(long *)(this + 0xe8)" * (cast_expression "(long *)(this + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) ))))) )))) ;) (expression_statement "*(char **)(this + 0xe8) = pcVar7;" (assignment_expression "*(char **)(this + 0xe8) = pcVar7" (pointer_expression "*(char **)(this + 0xe8)" * (cast_expression "(char **)(this + 0xe8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) )))) = identifier) ;) (if_statement "if (__dest < pcVar7) goto LAB_0029e198;" if (parenthesized_expression "(__dest < pcVar7)" ( (binary_expression "__dest < pcVar7" identifier < identifier) )) (goto_statement "goto LAB_0029e198;" goto statement_identifier ;)) (expression_statement "local_40[0] = __dest_00;" (assignment_expression "local_40[0] = __dest_00" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar6 == 3) break;" if (parenthesized_expression "(iVar6 == 3)" ( (binary_expression "iVar6 == 3" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (bVar4) goto LAB_0029e27e;" if (parenthesized_expression "(bVar4)" ( identifier )) (goto_statement "goto LAB_0029e27e;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0029e3ab:\n      __src = *(void **)(this + 0xd0);" statement_identifier : (expression_statement "__src = *(void **)(this + 0xd0);" (assignment_expression "__src = *(void **)(this + 0xd0)" identifier = (pointer_expression "*(void **)(this + 0xd0)" * (cast_expression "(void **)(this + 0xd0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) ))))) ;)) (expression_statement "uVar10 = (long)pcVar7 - (long)__src;" (assignment_expression "uVar10 = (long)pcVar7 - (long)__src" identifier = (binary_expression "(long)pcVar7 - (long)__src" (cast_expression "(long)pcVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar11 = uVar8;" (assignment_expression "uVar11 = uVar8" identifier = identifier) ;) (if_statement "if ((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)) {\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }" if (parenthesized_expression "((uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0))" ( (binary_expression "(uVar8 < uVar10) || (uVar11 = uVar10, uVar10 != 0)" (parenthesized_expression "(uVar8 < uVar10)" ( (binary_expression "uVar8 < uVar10" identifier < identifier) )) || (parenthesized_expression "(uVar11 = uVar10, uVar10 != 0)" ( (comma_expression "uVar11 = uVar10, uVar10 != 0" (assignment_expression "uVar11 = uVar10" identifier = identifier) , (binary_expression "uVar10 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        memcpy(__dest_00,__src,uVar11);\n        __src = (void *)(*(long *)(this + 0xd0) + uVar11);\n      }" { (expression_statement "memcpy(__dest_00,__src,uVar11);" (call_expression "memcpy(__dest_00,__src,uVar11)" identifier (argument_list "(__dest_00,__src,uVar11)" ( identifier , identifier , identifier ))) ;) (expression_statement "__src = (void *)(*(long *)(this + 0xd0) + uVar11);" (assignment_expression "__src = (void *)(*(long *)(this + 0xd0) + uVar11)" identifier = (cast_expression "(void *)(*(long *)(this + 0xd0) + uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(this + 0xd0) + uVar11)" ( (binary_expression "*(long *)(this + 0xd0) + uVar11" (pointer_expression "*(long *)(this + 0xd0)" * (cast_expression "(long *)(this + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xd0)" ( (binary_expression "this + 0xd0" identifier + number_literal) )))) + identifier) )))) ;) })) (expression_statement "*(void **)(this + 0xe0) = __src;" (assignment_expression "*(void **)(this + 0xe0) = __src" (pointer_expression "*(void **)(this + 0xe0)" * (cast_expression "(void **)(this + 0xe0)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xe0)" ( (binary_expression "this + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = 3;" (assignment_expression "iVar6 = 3" identifier = number_literal) ;) (expression_statement "bVar3 = (bool)(uVar11 != 0 | bVar4);" (assignment_expression "bVar3 = (bool)(uVar11 != 0 | bVar4)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar4)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar4)" ( (binary_expression "uVar11 != 0 | bVar4" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (bVar4) {\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\nLAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);\n      *(undefined8 *)(this + 0x28) = 0;\n      *(undefined8 *)(this + 0x20) = 0;\n      *(undefined8 *)(this + 8) = uVar2;\n      *(undefined8 *)(this + 0x10) = uVar2;\n      *(undefined8 *)(this + 0x18) = uVar2;\n      *(undefined8 *)(this + 0x30) = 0;\n      this[0xa9] = (filebuf)0x0;\n      if (iVar6 != 1) {\n        return 0xffffffff;\n      }\n                    /* WARNING: Subroutine does not return */\n      __throw_ios_failure("basic_filebuf::underflow incomplete character in file");\n    }" { (labeled_statement "LAB_0029e27e:\n      uVar2 = *(undefined8 *)(this + 0x98);" statement_identifier : (expression_statement "uVar2 = *(undefined8 *)(this + 0x98);" (assignment_expression "uVar2 = *(undefined8 *)(this + 0x98)" identifier = (pointer_expression "*(undefined8 *)(this + 0x98)" * (cast_expression "(undefined8 *)(this + 0x98)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) ))))) ;)) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 8) = uVar2;" (assignment_expression "*(undefined8 *)(this + 8) = uVar2" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined8 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0xa9] = (filebuf)0x0;" (assignment_expression "this[0xa9] = (filebuf)0x0" (subscript_expression "this[0xa9]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (if_statement "if (iVar6 != 1) {\n        return 0xffffffff;\n      }" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (compound_statement "{\n        return 0xffffffff;\n      }" { (return_statement "return 0xffffffff;" return number_literal ;) })) comment (expression_statement "__throw_ios_failure("basic_filebuf::underflow incomplete character in file");" (call_expression "__throw_ios_failure("basic_filebuf::underflow incomplete character in file")" identifier (argument_list "("basic_filebuf::underflow incomplete character in file")" ( (string_literal ""basic_filebuf::underflow incomplete character in file"" " string_content ") ))) ;) })) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (!bVar4) {\n                    /* WARNING: Subroutine does not return */\n    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");\n  }" if (parenthesized_expression "(!bVar4)" ( (unary_expression "!bVar4" ! identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");\n  }" { comment (expression_statement "__throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file");" (call_expression "__throw_ios_failure("basic_filebuf::underflow invalid byte sequence in file")" identifier (argument_list "("basic_filebuf::underflow invalid byte sequence in file")" ( (string_literal ""basic_filebuf::underflow invalid byte sequence in file"" " string_content ") ))) ;) })) (labeled_statement "LAB_0029e4b0:\n  uVar2 = *(undefined8 *)(this + 0x98);" statement_identifier : (expression_statement "uVar2 = *(undefined8 *)(this + 0x98);" (assignment_expression "uVar2 = *(undefined8 *)(this + 0x98)" identifier = (pointer_expression "*(undefined8 *)(this + 0x98)" * (cast_expression "(undefined8 *)(this + 0x98)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x98)" ( (binary_expression "this + 0x98" identifier + number_literal) ))))) ;)) (expression_statement "*(undefined8 *)(this + 0x28) = 0;" (assignment_expression "*(undefined8 *)(this + 0x28) = 0" (pointer_expression "*(undefined8 *)(this + 0x28)" * (cast_expression "(undefined8 *)(this + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x20) = 0;" (assignment_expression "*(undefined8 *)(this + 0x20) = 0" (pointer_expression "*(undefined8 *)(this + 0x20)" * (cast_expression "(undefined8 *)(this + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 8) = uVar2;" (assignment_expression "*(undefined8 *)(this + 8) = uVar2" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x10) = uVar2;" (assignment_expression "*(undefined8 *)(this + 0x10) = uVar2" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined8 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(this + 0x30) = 0;" (assignment_expression "*(undefined8 *)(this + 0x30) = 0" (pointer_expression "*(undefined8 *)(this + 0x30)" * (cast_expression "(undefined8 *)(this + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0xa9] = (filebuf)0x0;" (assignment_expression "this[0xa9] = (filebuf)0x0" (subscript_expression "this[0xa9]" identifier [ number_literal ]) = (cast_expression "(filebuf)0x0" ( (type_descriptor "filebuf" type_identifier) ) number_literal)) ;) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit "ulong FUN_0029e060(long *param_1)\n\n{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}\n\n" (function_definition "ulong FUN_0029e060(long *param_1)\n\n{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" type_identifier (function_declarator "FUN_0029e060(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "void *pvVar10;" primitive_type (pointer_declarator "*pvVar10" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" ( (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" * (cast_expression "(byte *)(param_1 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    return 0xffffffff;\n  }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (if_statement "if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" if (parenthesized_expression "(*(char *)((long)param_1 + 0xaa) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xaa) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xaa)" * (cast_expression "(char *)((long)param_1 + 0xaa)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xaa)" ( (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }" { (expression_statement "pbVar8 = (byte *)param_1[2];" (assignment_expression "pbVar8 = (byte *)param_1[2]" identifier = (cast_expression "(byte *)param_1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (if_statement "if ((char)param_1[0x18] != '\0') goto LAB_0029e323;" if (parenthesized_expression "((char)param_1[0x18] != '\0')" ( (binary_expression "(char)param_1[0x18] != '\0'" (cast_expression "(char)param_1[0x18]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x18]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0029e323;" goto statement_identifier ;)) (labeled_statement "LAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" statement_identifier : (if_statement "if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" if (parenthesized_expression "(pbVar8 < (byte *)param_1[3])" ( (binary_expression "pbVar8 < (byte *)param_1[3]" identifier < (cast_expression "(byte *)param_1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_0029e365;" goto statement_identifier ;))) }) (else_clause "else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" else (compound_statement "{\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" { (expression_statement "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);" (assignment_expression "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" identifier = (call_expression "(**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" (parenthesized_expression "(**(code **)(*param_1 + 0x68))" ( (pointer_expression "**(code **)(*param_1 + 0x68)" * (pointer_expression "*(code **)(*param_1 + 0x68)" * (cast_expression "(code **)(*param_1 + 0x68)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x68)" ( (binary_expression "*param_1 + 0x68" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,0xffffffff)" ( identifier , number_literal )))) ;) (if_statement "if ((int)uVar7 == -1) {\n      return uVar7;\n    }" if (parenthesized_expression "((int)uVar7 == -1)" ( (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n      return uVar7;\n    }" { (return_statement "return uVar7;" return identifier ;) })) (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" identifier = (cast_expression "(byte *)param_1[0x13]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x13]" identifier [ number_literal ]))) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xaa) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xaa) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xaa)" * (cast_expression "(undefined1 *)((long)param_1 + 0xaa)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xaa)" ( (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if ((char)param_1[0x18] == '\0') goto LAB_0029e099;" if (parenthesized_expression "((char)param_1[0x18] == '\0')" ( (binary_expression "(char)param_1[0x18] == '\0'" (cast_expression "(char)param_1[0x18]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x18]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0029e099;" goto statement_identifier ;)) (labeled_statement "LAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;" statement_identifier : (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);" (assignment_expression "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" identifier = (cast_expression "(byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" ( (binary_expression "(ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]" (call_expression "(ulong)((byte *)param_1[1] != pbVar8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((byte *)param_1[1] != pbVar8)" ( (binary_expression "(byte *)param_1[1] != pbVar8" (cast_expression "(byte *)param_1[1]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) != identifier) ))) + (subscript_expression "param_1[0x16]" identifier [ number_literal ])) )))) ;) (expression_statement "param_1[3] = param_1[0x17];" (assignment_expression "param_1[3] = param_1[0x17]" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (subscript_expression "param_1[0x17]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x16] = (long)pbVar8;" (assignment_expression "param_1[0x16] = (long)pbVar8" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[1] = param_1[0x13];" (assignment_expression "param_1[1] = param_1[0x13]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" if (parenthesized_expression "(pbVar8 < (byte *)param_1[0x17])" ( (binary_expression "pbVar8 < (byte *)param_1[0x17]" identifier < (cast_expression "(byte *)param_1[0x17]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x17]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" { (labeled_statement "LAB_0029e365:\n      return (ulong)*pbVar8;" statement_identifier : (return_statement "return (ulong)*pbVar8;" return (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;)) })) }))) (expression_statement "lVar12 = 2;" (assignment_expression "lVar12 = 2" identifier = number_literal) ;) (if_statement "if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }" if (parenthesized_expression "(1 < (ulong)param_1[0x14])" ( (binary_expression "1 < (ulong)param_1[0x14]" number_literal < (cast_expression "(ulong)param_1[0x14]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) )) (compound_statement "{\n    lVar12 = param_1[0x14];\n  }" { (expression_statement "lVar12 = param_1[0x14];" (assignment_expression "lVar12 = param_1[0x14]" identifier = (subscript_expression "param_1[0x14]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = lVar12 - 1;" (assignment_expression "uVar7 = lVar12 - 1" identifier = (binary_expression "lVar12 - 1" identifier - number_literal)) ;) (if_statement "if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }" if (parenthesized_expression "((long *)param_1[0x19] == (long *)0x0)" ( (binary_expression "(long *)param_1[0x19] == (long *)0x0" (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ])) == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_002b5510();\n  }" { (expression_statement "FUN_002b5510();" (call_expression "FUN_002b5510()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();" (assignment_expression "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x30)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x30)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x30)" ( (binary_expression "*(long *)param_1[0x19] + 0x30" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" { (expression_statement "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);" (assignment_expression "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" identifier = (call_expression "FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" identifier (argument_list "(param_1 + 0xd,param_1[1],uVar7)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" { (if_statement "if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" { (labeled_statement "LAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];" statement_identifier : (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" identifier = (cast_expression "(byte *)param_1[0x13]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x13]" identifier [ number_literal ]))) ;)) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" if (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" ( (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" * (cast_expression "(byte *)(param_1 + 0xf)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          param_1[3] = (long)pbVar8;\n        }" { (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)pbVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) }) (else_clause "else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" else (compound_statement "{\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" { (expression_statement "param_1[3] = (long)(pbVar8 + uVar11);" (assignment_expression "param_1[3] = (long)(pbVar8 + uVar11)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)(pbVar8 + uVar11)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pbVar8 + uVar11)" ( (binary_expression "pbVar8 + uVar11" identifier + identifier) )))) ;) }))) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return (ulong)*pbVar8;" return (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" ( identifier )) * identifier) ;) })) (labeled_statement "LAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");" statement_identifier : (expression_statement "FUN_002b0560("basic_filebuf::underflow error reading the file");" (call_expression "FUN_002b0560("basic_filebuf::underflow error reading the file")" identifier (argument_list "("basic_filebuf::underflow error reading the file")" ( (string_literal ""basic_filebuf::underflow error reading the file"" " string_content ") ))) ;)) })) (goto_statement "goto LAB_0029e4b0;" goto statement_identifier ;) })) (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x28)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x28)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x28)" ( (binary_expression "*(long *)param_1[0x19] + 0x28" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }" { (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))()" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x40)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x40)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x40)" ( (binary_expression "*(long *)param_1[0x19] + 0x40" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (expression_statement "uVar11 = lVar12 + -2 + (long)iVar5;" (assignment_expression "uVar11 = lVar12 + -2 + (long)iVar5" identifier = (binary_expression "lVar12 + -2 + (long)iVar5" (binary_expression "lVar12 + -2" identifier + number_literal) + (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" identifier = identifier) ;) }) (else_clause "else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" else (compound_statement "{\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" { (expression_statement "uVar11 = (long)iVar5 * uVar7;" (assignment_expression "uVar11 = (long)iVar5 * uVar7" identifier = (binary_expression "(long)iVar5 * uVar7" (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * identifier)) ;) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" identifier = identifier) ;) }))) (expression_statement "__n = param_1[0x1d] - param_1[0x1c];" (assignment_expression "__n = param_1[0x1d] - param_1[0x1c]" identifier = (binary_expression "param_1[0x1d] - param_1[0x1c]" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) - (subscript_expression "param_1[0x1c]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = uVar9 - __n;" (assignment_expression "lVar12 = uVar9 - __n" identifier = (binary_expression "uVar9 - __n" identifier - identifier)) ;) (if_statement "if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }" if (parenthesized_expression "((long)uVar9 <= (long)__n)" ( (binary_expression "(long)uVar9 <= (long)__n" (cast_expression "(long)uVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) <= (cast_expression "(long)__n" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n    lVar12 = 0;\n  }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) })) (expression_statement "lVar1 = param_1[0x1b];" (assignment_expression "lVar1 = param_1[0x1b]" identifier = (subscript_expression "param_1[0x1b]" identifier [ number_literal ])) ;) (if_statement "if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1]))" ( (binary_expression "(*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])" (parenthesized_expression "(*(char *)((long)param_1 + 0xa9) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xa9) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xa9)" * (cast_expression "(char *)((long)param_1 + 0xa9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(param_1[3] != param_1[1])" ( (binary_expression "param_1[3] != param_1[1]" (subscript_expression "param_1[3]" identifier [ number_literal ]) != (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) )) (compound_statement "{\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }" { (if_statement "if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" { (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (if_statement "if (__n != 0) goto LAB_0029e58e;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e58e;" goto statement_identifier ;)) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (if_statement "if (__n != 0) goto LAB_0029e554;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0029e554;" goto statement_identifier ;)) }) (else_clause "else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" else (compound_statement "{\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" { (if_statement "if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" { (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (goto_statement "goto LAB_0029e510;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" else (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" { (if_statement "if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" if (parenthesized_expression "(lVar1 < (long)uVar11)" ( (binary_expression "lVar1 < (long)uVar11" identifier < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" identifier = (cast_expression "(void *)thunk_FUN_00275550(uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "thunk_FUN_00275550(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))))) ;) (labeled_statement "LAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);" statement_identifier : (expression_statement "memcpy(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memcpy(pvVar10,(void *)param_1[0x1c],__n)" identifier (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" ( identifier , (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ])) , identifier ))) ;)) (labeled_statement "LAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" statement_identifier : (if_statement "if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" if (parenthesized_expression "(param_1[0x1a] != 0)" ( (binary_expression "param_1[0x1a] != 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          thunk_FUN_00276d20();\n        }" { (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "param_1[0x1a] = (long)pvVar10;" (assignment_expression "param_1[0x1a] = (long)pvVar10" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[0x1b] = uVar11;" (assignment_expression "param_1[0x1b] = uVar11" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0029e156;" goto statement_identifier ;) })) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);" statement_identifier : (expression_statement "memmove(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memmove(pvVar10,(void *)param_1[0x1c],__n)" identifier (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" ( identifier , (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ])) , identifier ))) ;)) }))) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) }))) (labeled_statement "LAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);" statement_identifier : (expression_statement "pvVar6 = (void *)((long)pvVar10 + __n);" (assignment_expression "pvVar6 = (void *)((long)pvVar10 + __n)" identifier = (cast_expression "(void *)((long)pvVar10 + __n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar10 + __n)" ( (binary_expression "(long)pvVar10 + __n" (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;)) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);" (assignment_expression "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84)" (pointer_expression "*(undefined8 *)((long)param_1 + 0x8c)" * (cast_expression "(undefined8 *)((long)param_1 + 0x8c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x8c)" ( (binary_expression "(long)param_1 + 0x8c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined8 *)((long)param_1 + 0x84)" * (cast_expression "(undefined8 *)((long)param_1 + 0x84)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x84)" ( (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" if (parenthesized_expression "(lVar12 != 0)" ( (binary_expression "lVar12 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0029e20d;" goto statement_identifier ;) })) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (pvVar6 <= pvVar10) goto LAB_0029e1f6;" if (parenthesized_expression "(pvVar6 <= pvVar10)" ( (binary_expression "pvVar6 <= pvVar10" identifier <= identifier) )) (goto_statement "goto LAB_0029e1f6;" goto statement_identifier ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (labeled_statement "LAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" statement_identifier : (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" identifier = (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))" ( (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x20)" * (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x20)" * (cast_expression "(code **)(*(long *)param_1[0x19] + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)param_1[0x19] + 0x20)" ( (binary_expression "*(long *)param_1[0x19] + 0x20" (pointer_expression "*(long *)param_1[0x19]" * (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" ( (cast_expression "(long *)param_1[0x19]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x19]" identifier [ number_literal ])) , (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) , identifier , identifier , (binary_expression "param_1 + 0x1c" identifier + number_literal) , identifier , (binary_expression "(long)__dest + uVar7" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;)) (if_statement "if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (compound_statement "{\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" { (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" identifier = (cast_expression "(void *)param_1[0x1d]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_0029e3ab;" goto statement_identifier ;) })) (expression_statement "uVar11 = (long)__dest - param_1[1];" (assignment_expression "uVar11 = (long)__dest - param_1[1]" identifier = (binary_expression "(long)__dest - param_1[1]" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (if_statement "if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" if (parenthesized_expression "(iVar5 != 2)" ( (binary_expression "iVar5 != 2" identifier != number_literal) )) (compound_statement "{\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" { (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar3)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar3)" ( (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) (while_statement "while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" while (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (compound_statement "{\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" { (labeled_statement "LAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" statement_identifier : (while_statement "while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" { (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" identifier = (cast_expression "(void *)param_1[0x1d]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ]))) ;) (expression_statement "lVar12 = 1;" (assignment_expression "lVar12 = 1" identifier = number_literal) ;) (expression_statement "__n = (long)pvVar6 - param_1[0x1a];" (assignment_expression "__n = (long)pvVar6 - param_1[0x1a]" identifier = (binary_expression "(long)pvVar6 - param_1[0x1a]" (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;) (labeled_statement "LAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" statement_identifier : (if_statement "if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" if (parenthesized_expression "(param_1[0x1b] < (long)(__n + lVar12))" ( (binary_expression "param_1[0x1b] < (long)(__n + lVar12)" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) < (cast_expression "(long)(__n + lVar12)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__n + lVar12)" ( (binary_expression "__n + lVar12" identifier + identifier) )))) )) (compound_statement "{\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" { (expression_statement "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");" (call_expression "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid")" identifier (argument_list "("basic_filebuf::underflow codecvt::max_length() is not valid")" ( (string_literal ""basic_filebuf::underflow codecvt::max_length() is not valid"" " string_content ") ))) ;) }))) (expression_statement "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);" (assignment_expression "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" identifier = (call_expression "FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" identifier (argument_list "(param_1 + 0xd,pvVar6,lVar12)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          bVar3 = true;\n        }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) }) (else_clause "else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" else (compound_statement "{\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" { (if_statement "if (lVar12 == -1) goto LAB_0029e42e;" if (parenthesized_expression "(lVar12 == -1)" ( (binary_expression "lVar12 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;)) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) }))) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" identifier = (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "pvVar10 = (void *)param_1[0x1c];" (assignment_expression "pvVar10 = (void *)param_1[0x1c]" identifier = (cast_expression "(void *)param_1[0x1c]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1c]" identifier [ number_literal ]))) ;) (expression_statement "pvVar6 = (void *)(lVar12 + param_1[0x1d]);" (assignment_expression "pvVar6 = (void *)(lVar12 + param_1[0x1d])" identifier = (cast_expression "(void *)(lVar12 + param_1[0x1d])" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + param_1[0x1d])" ( (binary_expression "lVar12 + param_1[0x1d]" identifier + (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) )))) ;) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) = (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if (pvVar10 < pvVar6) goto LAB_0029e198;" if (parenthesized_expression "(pvVar10 < pvVar6)" ( (binary_expression "pvVar10 < pvVar6" identifier < identifier) )) (goto_statement "goto LAB_0029e198;" goto statement_identifier ;)) (if_statement "if (iVar5 == 3) break;" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (bVar3) goto LAB_0029e27e;" if (parenthesized_expression "(bVar3)" ( identifier )) (goto_statement "goto LAB_0029e27e;" goto statement_identifier ;)) }))) (labeled_statement "LAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];" statement_identifier : (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" identifier = (cast_expression "(void *)param_1[0x1a]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1a]" identifier [ number_literal ]))) ;)) (expression_statement "uVar9 = (long)pvVar6 - (long)pvVar10;" (assignment_expression "uVar9 = (long)pvVar6 - (long)pvVar10" identifier = (binary_expression "(long)pvVar6 - (long)pvVar10" (cast_expression "(long)pvVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" identifier = identifier) ;) (if_statement "if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" if (parenthesized_expression "((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0))" ( (binary_expression "(uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)" (parenthesized_expression "(uVar7 < uVar9)" ( (binary_expression "uVar7 < uVar9" identifier < identifier) )) || (parenthesized_expression "(uVar11 = uVar9, uVar9 != 0)" ( (comma_expression "uVar11 = uVar9, uVar9 != 0" (assignment_expression "uVar11 = uVar9" identifier = identifier) , (binary_expression "uVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" { (expression_statement "memcpy(__dest,pvVar10,uVar11);" (call_expression "memcpy(__dest,pvVar10,uVar11)" identifier (argument_list "(__dest,pvVar10,uVar11)" ( identifier , identifier , identifier ))) ;) (expression_statement "pvVar10 = (void *)(param_1[0x1a] + uVar11);" (assignment_expression "pvVar10 = (void *)(param_1[0x1a] + uVar11)" identifier = (cast_expression "(void *)(param_1[0x1a] + uVar11)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0x1a] + uVar11)" ( (binary_expression "param_1[0x1a] + uVar11" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) + identifier) )))) ;) })) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = (cast_expression "(long)pvVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" identifier = (cast_expression "(bool)(uVar11 != 0 | bVar3)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "(uVar11 != 0 | bVar3)" ( (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" identifier != number_literal) | identifier) )))) ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" { (labeled_statement "LAB_0029e27e:\n      lVar12 = param_1[0x13];" statement_identifier : (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;)) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar5 != 1) {\n        return 0xffffffff;\n      }" if (parenthesized_expression "(iVar5 != 1)" ( (binary_expression "iVar5 != 1" identifier != number_literal) )) (compound_statement "{\n        return 0xffffffff;\n      }" { (return_statement "return 0xffffffff;" return number_literal ;) })) (expression_statement "FUN_002b0560("basic_filebuf::underflow incomplete character in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow incomplete character in file")" identifier (argument_list "("basic_filebuf::underflow incomplete character in file")" ( (string_literal ""basic_filebuf::underflow incomplete character in file"" " string_content ") ))) ;) })) (goto_statement "goto LAB_0029e42e;" goto statement_identifier ;) })) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" if (parenthesized_expression "(0 < (long)uVar11)" ( (binary_expression "0 < (long)uVar11" number_literal < (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_0029e449;" goto statement_identifier ;)) (if_statement "if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" { (expression_statement "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file")" identifier (argument_list "("basic_filebuf::underflow invalid byte sequence in file")" ( (string_literal ""basic_filebuf::underflow invalid byte sequence in file"" " string_content ") ))) ;) })) (labeled_statement "LAB_0029e4b0:\n  lVar12 = param_1[0x13];" statement_identifier : (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;)) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" * (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xa9)" ( (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return 0xffffffff;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (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 + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (goto_statement goto statement_identifier ;))) }) (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 , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) ))) + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (labeled_statement statement_identifier : (return_statement return (binary_expression (parenthesized_expression ( IDENT )) * IDENT) ;)) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (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 + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return (binary_expression (parenthesized_expression ( IDENT )) * IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;)) })) (goto_statement goto 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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) <= (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (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 != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT ))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT ))) ;)) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) , IDENT , IDENT , (binary_expression IDENT + LIT) , IDENT , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + 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 = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) | IDENT) )))) ;) (while_statement while (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (labeled_statement statement_identifier : (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (subscript_expression IDENT [ LIT ]))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (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 ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) | IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "ulong FUN_0029e060(long *param_1)\n\n{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" (type_identifier "ulong") (function_declarator "FUN_0029e060(long *param_1)" (identifier "FUN_0029e060") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  bool bVar2;\n  bool bVar3;\n  char cVar4;\n  int iVar5;\n  void *pvVar6;\n  ulong uVar7;\n  byte *pbVar8;\n  ulong uVar9;\n  size_t __n;\n  void *pvVar10;\n  void *__dest;\n  ulong uVar11;\n  long lVar12;\n  \n  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }\n  if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }\n  lVar12 = 2;\n  if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }\n  uVar7 = lVar12 - 1;\n  if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }\n  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();\n  if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();\n  if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }\n  __n = param_1[0x1d] - param_1[0x1c];\n  lVar12 = uVar9 - __n;\n  if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }\n  lVar1 = param_1[0x1b];\n  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }\nLAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);\n  param_1[0x1c] = (long)pvVar10;\n  param_1[0x1d] = (long)pvVar6;\n  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);\n  if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }\n  __dest = (void *)param_1[1];\n  iVar5 = 0;\n  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;\n  bVar3 = false;\nLAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);\n  if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }\n  uVar11 = (long)__dest - param_1[1];\n  if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }\n  if (0 < (long)uVar11) goto LAB_0029e449;\n  if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }\nLAB_0029e4b0:\n  lVar12 = param_1[0x13];\n  param_1[5] = 0;\n  param_1[4] = 0;\n  param_1[1] = lVar12;\n  param_1[2] = lVar12;\n  param_1[3] = lVar12;\n  param_1[6] = 0;\n  *(undefined1 *)((long)param_1 + 0xa9) = 0;\n  return 0xffffffff;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "void *pvVar6;" (primitive_type "void") (pointer_declarator "*pvVar6" (* "*") (identifier "pvVar6")) (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "ulong uVar9;" (type_identifier "ulong") (identifier "uVar9") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "void *pvVar10;" (primitive_type "void") (pointer_declarator "*pvVar10" (* "*") (identifier "pvVar10")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "ulong uVar11;" (type_identifier "ulong") (identifier "uVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n    return 0xffffffff;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" (( "(") (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" (* "*") (cast_expression "(byte *)(param_1 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf)" (( "(") (binary_expression "param_1 + 0xf" (identifier "param_1") (+ "+") (number_literal "0xf")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0xffffffff;\n  }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (if_statement "if (*(char *)((long)param_1 + 0xaa) == '\0') {\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }\n  else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + 0xaa) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0xaa) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xaa)" (* "*") (cast_expression "(char *)((long)param_1 + 0xaa)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xaa)" (( "(") (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xaa")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pbVar8 = (byte *)param_1[2];\n    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;\nLAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;\n  }" ({ "{") (expression_statement "pbVar8 = (byte *)param_1[2];" (assignment_expression "pbVar8 = (byte *)param_1[2]" (identifier "pbVar8") (= "=") (cast_expression "(byte *)param_1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if ((char)param_1[0x18] != '\0') goto LAB_0029e323;" (if "if") (parenthesized_expression "((char)param_1[0x18] != '\0')" (( "(") (binary_expression "(char)param_1[0x18] != '\0'" (cast_expression "(char)param_1[0x18]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0029e323;" (goto "goto") (statement_identifier "LAB_0029e323") (; ";"))) (labeled_statement "LAB_0029e099:\n    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" (statement_identifier "LAB_0029e099") (: ":") (if_statement "if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;" (if "if") (parenthesized_expression "(pbVar8 < (byte *)param_1[3])" (( "(") (binary_expression "pbVar8 < (byte *)param_1[3]" (identifier "pbVar8") (< "<") (cast_expression "(byte *)param_1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) () ")")) (goto_statement "goto LAB_0029e365;" (goto "goto") (statement_identifier "LAB_0029e365") (; ";")))) (} "}")) (else_clause "else {\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" (else "else") (compound_statement "{\n    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);\n    if ((int)uVar7 == -1) {\n      return uVar7;\n    }\n    pbVar8 = (byte *)param_1[0x13];\n    param_1[5] = 0;\n    param_1[4] = 0;\n    param_1[1] = (long)pbVar8;\n    param_1[2] = (long)pbVar8;\n    param_1[3] = (long)pbVar8;\n    param_1[6] = 0;\n    *(undefined1 *)((long)param_1 + 0xaa) = 0;\n    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;\nLAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;\n    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);\n    param_1[3] = param_1[0x17];\n    param_1[0x16] = (long)pbVar8;\n    param_1[1] = param_1[0x13];\n    param_1[2] = (long)pbVar8;\n    if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }\n  }" ({ "{") (expression_statement "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);" (assignment_expression "uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*param_1 + 0x68))(param_1,0xffffffff)" (parenthesized_expression "(**(code **)(*param_1 + 0x68))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x68)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x68)" (* "*") (cast_expression "(code **)(*param_1 + 0x68)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x68)" (( "(") (binary_expression "*param_1 + 0x68" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x68")) () ")"))))) () ")")) (argument_list "(param_1,0xffffffff)" (( "(") (identifier "param_1") (, ",") (number_literal "0xffffffff") () ")")))) (; ";")) (if_statement "if ((int)uVar7 == -1) {\n      return uVar7;\n    }" (if "if") (parenthesized_expression "((int)uVar7 == -1)" (( "(") (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return uVar7;\n    }" ({ "{") (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" (identifier "pbVar8") (= "=") (cast_expression "(byte *)param_1[0x13]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")))) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xaa) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xaa) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xaa)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xaa)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xaa)" (( "(") (binary_expression "(long)param_1 + 0xaa" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xaa")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((char)param_1[0x18] == '\0') goto LAB_0029e099;" (if "if") (parenthesized_expression "((char)param_1[0x18] == '\0')" (( "(") (binary_expression "(char)param_1[0x18] == '\0'" (cast_expression "(char)param_1[0x18]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0029e099;" (goto "goto") (statement_identifier "LAB_0029e099") (; ";"))) (labeled_statement "LAB_0029e323:\n    *(undefined1 *)(param_1 + 0x18) = 0;" (statement_identifier "LAB_0029e323") (: ":") (expression_statement "*(undefined1 *)(param_1 + 0x18) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (expression_statement "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);" (assignment_expression "pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" (identifier "pbVar8") (= "=") (cast_expression "(byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16])" (( "(") (binary_expression "(ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]" (call_expression "(ulong)((byte *)param_1[1] != pbVar8)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((byte *)param_1[1] != pbVar8)" (( "(") (binary_expression "(byte *)param_1[1] != pbVar8" (cast_expression "(byte *)param_1[1]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "pbVar8")) () ")"))) (+ "+") (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]"))) () ")")))) (; ";")) (expression_statement "param_1[3] = param_1[0x17];" (assignment_expression "param_1[3] = param_1[0x17]" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]"))) (; ";")) (expression_statement "param_1[0x16] = (long)pbVar8;" (assignment_expression "param_1[0x16] = (long)pbVar8" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (expression_statement "param_1[1] = param_1[0x13];" (assignment_expression "param_1[1] = param_1[0x13]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (if_statement "if (pbVar8 < (byte *)param_1[0x17]) {\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" (if "if") (parenthesized_expression "(pbVar8 < (byte *)param_1[0x17])" (( "(") (binary_expression "pbVar8 < (byte *)param_1[0x17]" (identifier "pbVar8") (< "<") (cast_expression "(byte *)param_1[0x17]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")))) () ")")) (compound_statement "{\nLAB_0029e365:\n      return (ulong)*pbVar8;\n    }" ({ "{") (labeled_statement "LAB_0029e365:\n      return (ulong)*pbVar8;" (statement_identifier "LAB_0029e365") (: ":") (return_statement "return (ulong)*pbVar8;" (return "return") (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar8")) (; ";"))) (} "}"))) (} "}")))) (expression_statement "lVar12 = 2;" (assignment_expression "lVar12 = 2" (identifier "lVar12") (= "=") (number_literal "2")) (; ";")) (if_statement "if (1 < (ulong)param_1[0x14]) {\n    lVar12 = param_1[0x14];\n  }" (if "if") (parenthesized_expression "(1 < (ulong)param_1[0x14])" (( "(") (binary_expression "1 < (ulong)param_1[0x14]" (number_literal "1") (< "<") (cast_expression "(ulong)param_1[0x14]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")))) () ")")) (compound_statement "{\n    lVar12 = param_1[0x14];\n  }" ({ "{") (expression_statement "lVar12 = param_1[0x14];" (assignment_expression "lVar12 = param_1[0x14]" (identifier "lVar12") (= "=") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar7 = lVar12 - 1;" (assignment_expression "uVar7 = lVar12 - 1" (identifier "uVar7") (= "=") (binary_expression "lVar12 - 1" (identifier "lVar12") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((long *)param_1[0x19] == (long *)0x0) {\n                    \n    FUN_002b5510();\n  }" (if "if") (parenthesized_expression "((long *)param_1[0x19] == (long *)0x0)" (( "(") (binary_expression "(long *)param_1[0x19] == (long *)0x0" (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]"))) (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_002b5510();\n  }" ({ "{") (expression_statement "FUN_002b5510();" (call_expression "FUN_002b5510()" (identifier "FUN_002b5510") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();" (assignment_expression "cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))()" (identifier "cVar4") (= "=") (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x30))" (( "(") (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x30)" (* "*") (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x30)" (* "*") (cast_expression "(code **)(*(long *)param_1[0x19] + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)param_1[0x19] + 0x30)" (( "(") (binary_expression "*(long *)param_1[0x19] + 0x30" (pointer_expression "*(long *)param_1[0x19]" (* "*") (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")))) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (cVar4 != '\0') {\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);\n    if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }\n    goto LAB_0029e4b0;\n  }" ({ "{") (expression_statement "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);" (assignment_expression "uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" (identifier "uVar11") (= "=") (call_expression "FUN_002773f0(param_1 + 0xd,param_1[1],uVar7)" (identifier "FUN_002773f0") (argument_list "(param_1 + 0xd,param_1[1],uVar7)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "uVar7") () ")")))) (; ";")) (if_statement "if (uVar11 != 0) {\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }\nLAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");\n    }" ({ "{") (if_statement "if (0 < (long)uVar11) {\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" (if "if") (parenthesized_expression "(0 < (long)uVar11)" (( "(") (binary_expression "0 < (long)uVar11" (number_literal "0") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (compound_statement "{\nLAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];\n        param_1[1] = (long)pbVar8;\n        param_1[2] = (long)pbVar8;\n        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }\n        param_1[5] = 0;\n        param_1[4] = 0;\n        param_1[6] = 0;\n        *(undefined1 *)((long)param_1 + 0xa9) = 1;\n        return (ulong)*pbVar8;\n      }" ({ "{") (labeled_statement "LAB_0029e449:\n        pbVar8 = (byte *)param_1[0x13];" (statement_identifier "LAB_0029e449") (: ":") (expression_statement "pbVar8 = (byte *)param_1[0x13];" (assignment_expression "pbVar8 = (byte *)param_1[0x13]" (identifier "pbVar8") (= "=") (cast_expression "(byte *)param_1[0x13]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")))) (; ";"))) (expression_statement "param_1[1] = (long)pbVar8;" (assignment_expression "param_1[1] = (long)pbVar8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (expression_statement "param_1[2] = (long)pbVar8;" (assignment_expression "param_1[2] = (long)pbVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (if_statement "if ((*(byte *)(param_1 + 0xf) & 8) == 0) {\n          param_1[3] = (long)pbVar8;\n        }\n        else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0xf) & 8) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0xf) & 8) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0xf) & 8)" (( "(") (binary_expression "*(byte *)(param_1 + 0xf) & 8" (pointer_expression "*(byte *)(param_1 + 0xf)" (* "*") (cast_expression "(byte *)(param_1 + 0xf)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf)" (( "(") (binary_expression "param_1 + 0xf" (identifier "param_1") (+ "+") (number_literal "0xf")) () ")")))) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          param_1[3] = (long)pbVar8;\n        }" ({ "{") (expression_statement "param_1[3] = (long)pbVar8;" (assignment_expression "param_1[3] = (long)pbVar8" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)pbVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar8"))) (; ";")) (} "}")) (else_clause "else {\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" (else "else") (compound_statement "{\n          param_1[3] = (long)(pbVar8 + uVar11);\n        }" ({ "{") (expression_statement "param_1[3] = (long)(pbVar8 + uVar11);" (assignment_expression "param_1[3] = (long)(pbVar8 + uVar11)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)(pbVar8 + uVar11)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(pbVar8 + uVar11)" (( "(") (binary_expression "pbVar8 + uVar11" (identifier "pbVar8") (+ "+") (identifier "uVar11")) () ")")))) (; ";")) (} "}")))) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xa9)" (( "(") (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xa9")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return (ulong)*pbVar8;" (return "return") (binary_expression "(ulong)*pbVar8" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar8")) (; ";")) (} "}"))) (labeled_statement "LAB_0029e42e:\n                    \n      FUN_002b0560("basic_filebuf::underflow error reading the file");" (statement_identifier "LAB_0029e42e") (: ":") (expression_statement "FUN_002b0560("basic_filebuf::underflow error reading the file");" (call_expression "FUN_002b0560("basic_filebuf::underflow error reading the file")" (identifier "FUN_002b0560") (argument_list "("basic_filebuf::underflow error reading the file")" (( "(") (string_literal ""basic_filebuf::underflow error reading the file"" (" """) (string_content "basic_filebuf::underflow error reading the file") (" """)) () ")"))) (; ";"))) (} "}"))) (goto_statement "goto LAB_0029e4b0;" (goto "goto") (statement_identifier "LAB_0029e4b0") (; ";")) (} "}"))) (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))()" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x28))" (( "(") (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x28)" (* "*") (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x28)" (* "*") (cast_expression "(code **)(*(long *)param_1[0x19] + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)param_1[0x19] + 0x28)" (( "(") (binary_expression "*(long *)param_1[0x19] + 0x28" (pointer_expression "*(long *)param_1[0x19]" (* "*") (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 < 1) {\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }\n  else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();\n    uVar11 = lVar12 + -2 + (long)iVar5;\n    uVar9 = uVar7;\n  }" ({ "{") (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))()" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))()" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x40))" (( "(") (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x40)" (* "*") (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x40)" (* "*") (cast_expression "(code **)(*(long *)param_1[0x19] + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)param_1[0x19] + 0x40)" (( "(") (binary_expression "*(long *)param_1[0x19] + 0x40" (pointer_expression "*(long *)param_1[0x19]" (* "*") (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")))) (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar11 = lVar12 + -2 + (long)iVar5;" (assignment_expression "uVar11 = lVar12 + -2 + (long)iVar5" (identifier "uVar11") (= "=") (binary_expression "lVar12 + -2 + (long)iVar5" (binary_expression "lVar12 + -2" (identifier "lVar12") (+ "+") (number_literal "-2")) (+ "+") (cast_expression "(long)iVar5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar5")))) (; ";")) (expression_statement "uVar9 = uVar7;" (assignment_expression "uVar9 = uVar7" (identifier "uVar9") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (else_clause "else {\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" (else "else") (compound_statement "{\n    uVar11 = (long)iVar5 * uVar7;\n    uVar9 = uVar11;\n  }" ({ "{") (expression_statement "uVar11 = (long)iVar5 * uVar7;" (assignment_expression "uVar11 = (long)iVar5 * uVar7" (identifier "uVar11") (= "=") (binary_expression "(long)iVar5 * uVar7" (cast_expression "(long)iVar5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar5")) (* "*") (identifier "uVar7"))) (; ";")) (expression_statement "uVar9 = uVar11;" (assignment_expression "uVar9 = uVar11" (identifier "uVar9") (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (expression_statement "__n = param_1[0x1d] - param_1[0x1c];" (assignment_expression "__n = param_1[0x1d] - param_1[0x1c]" (identifier "__n") (= "=") (binary_expression "param_1[0x1d] - param_1[0x1c]" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (- "-") (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")))) (; ";")) (expression_statement "lVar12 = uVar9 - __n;" (assignment_expression "lVar12 = uVar9 - __n" (identifier "lVar12") (= "=") (binary_expression "uVar9 - __n" (identifier "uVar9") (- "-") (identifier "__n"))) (; ";")) (if_statement "if ((long)uVar9 <= (long)__n) {\n    lVar12 = 0;\n  }" (if "if") (parenthesized_expression "((long)uVar9 <= (long)__n)" (( "(") (binary_expression "(long)uVar9 <= (long)__n" (cast_expression "(long)uVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar9")) (<= "<=") (cast_expression "(long)__n" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__n"))) () ")")) (compound_statement "{\n    lVar12 = 0;\n  }" ({ "{") (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "lVar1 = param_1[0x1b];" (assignment_expression "lVar1 = param_1[0x1b]" (identifier "lVar1") (= "=") (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]"))) (; ";")) (if_statement "if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }\n  else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" (if "if") (parenthesized_expression "((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1]))" (( "(") (binary_expression "(*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])" (parenthesized_expression "(*(char *)((long)param_1 + 0xa9) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0xa9) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xa9)" (* "*") (cast_expression "(char *)((long)param_1 + 0xa9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xa9)" (( "(") (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xa9")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(param_1[3] != param_1[1])" (( "(") (binary_expression "param_1[3] != param_1[1]" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (!= "!=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")"))) () ")")) (compound_statement "{\n    if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }\n    pvVar10 = (void *)param_1[0x1a];\n    if (__n != 0) goto LAB_0029e554;\n  }" ({ "{") (if_statement "if (lVar1 < (long)uVar11) {\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" (if "if") (parenthesized_expression "(lVar1 < (long)uVar11)" (( "(") (binary_expression "lVar1 < (long)uVar11" (identifier "lVar1") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (compound_statement "{\n      pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n      if (__n != 0) goto LAB_0029e58e;\n      goto LAB_0029e510;\n    }" ({ "{") (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" (identifier "pvVar10") (= "=") (cast_expression "(void *)thunk_FUN_00275550(uVar11)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "thunk_FUN_00275550(uVar11)" (identifier "thunk_FUN_00275550") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))))) (; ";")) (if_statement "if (__n != 0) goto LAB_0029e58e;" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0029e58e;" (goto "goto") (statement_identifier "LAB_0029e58e") (; ";"))) (goto_statement "goto LAB_0029e510;" (goto "goto") (statement_identifier "LAB_0029e510") (; ";")) (} "}"))) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" (identifier "pvVar10") (= "=") (cast_expression "(void *)param_1[0x1a]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")))) (; ";")) (if_statement "if (__n != 0) goto LAB_0029e554;" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0029e554;" (goto "goto") (statement_identifier "LAB_0029e554") (; ";"))) (} "}")) (else_clause "else {\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" (else "else") (compound_statement "{\n    if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }\n    pvVar10 = (void *)param_1[0x1a];\n  }" ({ "{") (if_statement "if (__n == 0) {\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }\n    else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" (if "if") (parenthesized_expression "(__n == 0)" (( "(") (binary_expression "__n == 0" (identifier "__n") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }\n    }" ({ "{") (if_statement "if (lVar1 < (long)uVar11) {\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" (if "if") (parenthesized_expression "(lVar1 < (long)uVar11)" (( "(") (binary_expression "lVar1 < (long)uVar11" (identifier "lVar1") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (compound_statement "{\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\n        goto LAB_0029e510;\n      }" ({ "{") (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" (identifier "pvVar10") (= "=") (cast_expression "(void *)thunk_FUN_00275550(uVar11)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "thunk_FUN_00275550(uVar11)" (identifier "thunk_FUN_00275550") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))))) (; ";")) (goto_statement "goto LAB_0029e510;" (goto "goto") (statement_identifier "LAB_0029e510") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" (else "else") (compound_statement "{\n      if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }\n      pvVar10 = (void *)param_1[0x1a];\n      lVar12 = 0;\nLAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);\n    }" ({ "{") (if_statement "if (lVar1 < (long)uVar11) {\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" (if "if") (parenthesized_expression "(lVar1 < (long)uVar11)" (( "(") (binary_expression "lVar1 < (long)uVar11" (identifier "lVar1") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (compound_statement "{\n        lVar12 = 0;\n        pvVar10 = (void *)thunk_FUN_00275550(uVar11);\nLAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);\nLAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }\n        param_1[0x1a] = (long)pvVar10;\n        param_1[0x1b] = uVar11;\n        goto LAB_0029e156;\n      }" ({ "{") (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "pvVar10 = (void *)thunk_FUN_00275550(uVar11);" (assignment_expression "pvVar10 = (void *)thunk_FUN_00275550(uVar11)" (identifier "pvVar10") (= "=") (cast_expression "(void *)thunk_FUN_00275550(uVar11)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "thunk_FUN_00275550(uVar11)" (identifier "thunk_FUN_00275550") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))))) (; ";")) (labeled_statement "LAB_0029e58e:\n        memcpy(pvVar10,(void *)param_1[0x1c],__n);" (statement_identifier "LAB_0029e58e") (: ":") (expression_statement "memcpy(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memcpy(pvVar10,(void *)param_1[0x1c],__n)" (identifier "memcpy") (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" (( "(") (identifier "pvVar10") (, ",") (cast_expression "(void *)param_1[0x1c]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]"))) (, ",") (identifier "__n") () ")"))) (; ";"))) (labeled_statement "LAB_0029e510:\n        if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" (statement_identifier "LAB_0029e510") (: ":") (if_statement "if (param_1[0x1a] != 0) {\n          thunk_FUN_00276d20();\n        }" (if "if") (parenthesized_expression "(param_1[0x1a] != 0)" (( "(") (binary_expression "param_1[0x1a] != 0" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          thunk_FUN_00276d20();\n        }" ({ "{") (expression_statement "thunk_FUN_00276d20();" (call_expression "thunk_FUN_00276d20()" (identifier "thunk_FUN_00276d20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "param_1[0x1a] = (long)pvVar10;" (assignment_expression "param_1[0x1a] = (long)pvVar10" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (= "=") (cast_expression "(long)pvVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar10"))) (; ";")) (expression_statement "param_1[0x1b] = uVar11;" (assignment_expression "param_1[0x1b] = uVar11" (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (= "=") (identifier "uVar11")) (; ";")) (goto_statement "goto LAB_0029e156;" (goto "goto") (statement_identifier "LAB_0029e156") (; ";")) (} "}"))) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" (identifier "pvVar10") (= "=") (cast_expression "(void *)param_1[0x1a]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")))) (; ";")) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0029e554:\n      memmove(pvVar10,(void *)param_1[0x1c],__n);" (statement_identifier "LAB_0029e554") (: ":") (expression_statement "memmove(pvVar10,(void *)param_1[0x1c],__n);" (call_expression "memmove(pvVar10,(void *)param_1[0x1c],__n)" (identifier "memmove") (argument_list "(pvVar10,(void *)param_1[0x1c],__n)" (( "(") (identifier "pvVar10") (, ",") (cast_expression "(void *)param_1[0x1c]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]"))) (, ",") (identifier "__n") () ")"))) (; ";"))) (} "}")))) (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" (identifier "pvVar10") (= "=") (cast_expression "(void *)param_1[0x1a]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")))) (; ";")) (} "}")))) (labeled_statement "LAB_0029e156:\n  pvVar6 = (void *)((long)pvVar10 + __n);" (statement_identifier "LAB_0029e156") (: ":") (expression_statement "pvVar6 = (void *)((long)pvVar10 + __n);" (assignment_expression "pvVar6 = (void *)((long)pvVar10 + __n)" (identifier "pvVar6") (= "=") (cast_expression "(void *)((long)pvVar10 + __n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)pvVar10 + __n)" (( "(") (binary_expression "(long)pvVar10 + __n" (cast_expression "(long)pvVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar10")) (+ "+") (identifier "__n")) () ")")))) (; ";"))) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (cast_expression "(long)pvVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar10"))) (; ";")) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (cast_expression "(long)pvVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar6"))) (; ";")) (expression_statement "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);" (assignment_expression "*(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84)" (pointer_expression "*(undefined8 *)((long)param_1 + 0x8c)" (* "*") (cast_expression "(undefined8 *)((long)param_1 + 0x8c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x8c)" (( "(") (binary_expression "(long)param_1 + 0x8c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)((long)param_1 + 0x84)" (* "*") (cast_expression "(undefined8 *)((long)param_1 + 0x84)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x84)" (( "(") (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x84")) () ")"))))) (; ";")) (if_statement "if (lVar12 != 0) {\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" (if "if") (parenthesized_expression "(lVar12 != 0)" (( "(") (binary_expression "lVar12 != 0" (identifier "lVar12") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = 0;\n    goto LAB_0029e20d;\n  }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0029e20d;" (goto "goto") (statement_identifier "LAB_0029e20d") (; ";")) (} "}"))) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" (identifier "__dest") (= "=") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (pvVar6 <= pvVar10) goto LAB_0029e1f6;" (if "if") (parenthesized_expression "(pvVar6 <= pvVar10)" (( "(") (binary_expression "pvVar6 <= pvVar10" (identifier "pvVar6") (<= "<=") (identifier "pvVar10")) () ")")) (goto_statement "goto LAB_0029e1f6;" (goto "goto") (statement_identifier "LAB_0029e1f6") (; ";"))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (labeled_statement "LAB_0029e198:\n  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" (statement_identifier "LAB_0029e198") (: ":") (expression_statement "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7);" (assignment_expression "iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))\n                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" (parenthesized_expression "(**(code **)(*(long *)param_1[0x19] + 0x20))" (( "(") (pointer_expression "**(code **)(*(long *)param_1[0x19] + 0x20)" (* "*") (pointer_expression "*(code **)(*(long *)param_1[0x19] + 0x20)" (* "*") (cast_expression "(code **)(*(long *)param_1[0x19] + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)param_1[0x19] + 0x20)" (( "(") (binary_expression "*(long *)param_1[0x19] + 0x20" (pointer_expression "*(long *)param_1[0x19]" (* "*") (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]")))) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest\n                     ,(long)__dest + uVar7)" (( "(") (cast_expression "(long *)param_1[0x19]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]"))) (, ",") (binary_expression "(long)param_1 + 0x84" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x84")) (, ",") (identifier "pvVar10") (, ",") (identifier "pvVar6") (, ",") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) (, ",") (identifier "__dest") (, ",") (binary_expression "(long)__dest + uVar7" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (identifier "uVar7")) () ")")))) (; ";"))) (if_statement "if (iVar5 == 3) {\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" (if "if") (parenthesized_expression "(iVar5 == 3)" (( "(") (binary_expression "iVar5 == 3" (identifier "iVar5") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    pvVar6 = (void *)param_1[0x1d];\n    __dest = (void *)param_1[1];\n    goto LAB_0029e3ab;\n  }" ({ "{") (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" (identifier "pvVar6") (= "=") (cast_expression "(void *)param_1[0x1d]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" (identifier "__dest") (= "=") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (goto_statement "goto LAB_0029e3ab;" (goto "goto") (statement_identifier "LAB_0029e3ab") (; ";")) (} "}"))) (expression_statement "uVar11 = (long)__dest - param_1[1];" (assignment_expression "uVar11 = (long)__dest - param_1[1]" (identifier "uVar11") (= "=") (binary_expression "(long)__dest - param_1[1]" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (- "-") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (iVar5 != 2) {\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" (if "if") (parenthesized_expression "(iVar5 != 2)" (( "(") (binary_expression "iVar5 != 2" (identifier "iVar5") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n    bVar2 = (bool)(uVar11 != 0 | bVar3);\n    while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }\n    if (0 < (long)uVar11) goto LAB_0029e449;\n    if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }\n    goto LAB_0029e42e;\n  }" ({ "{") (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" (identifier "bVar2") (= "=") (cast_expression "(bool)(uVar11 != 0 | bVar3)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(uVar11 != 0 | bVar3)" (( "(") (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) (| "|") (identifier "bVar3")) () ")")))) (; ";")) (while_statement "while (!bVar2) {\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" (while "while") (parenthesized_expression "(!bVar2)" (( "(") (unary_expression "!bVar2" (! "!") (identifier "bVar2")) () ")")) (compound_statement "{\nLAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }\nLAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];\n      uVar9 = (long)pvVar6 - (long)pvVar10;\n      uVar11 = uVar7;\n      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }\n      param_1[0x1c] = (long)pvVar10;\n      iVar5 = 3;\n      bVar2 = (bool)(uVar11 != 0 | bVar3);\n    }" ({ "{") (labeled_statement "LAB_0029e1f6:\n      while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" (statement_identifier "LAB_0029e1f6") (: ":") (while_statement "while( true ) {\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pvVar6 = (void *)param_1[0x1d];\n        lVar12 = 1;\n        __n = (long)pvVar6 - param_1[0x1a];\nLAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }\n        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);\n        if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }\n        __dest = (void *)param_1[1];\n        pvVar10 = (void *)param_1[0x1c];\n        pvVar6 = (void *)(lVar12 + param_1[0x1d]);\n        param_1[0x1d] = (long)pvVar6;\n        if (pvVar10 < pvVar6) goto LAB_0029e198;\n        if (iVar5 == 3) break;\n        if (bVar3) goto LAB_0029e27e;\n      }" ({ "{") (expression_statement "pvVar6 = (void *)param_1[0x1d];" (assignment_expression "pvVar6 = (void *)param_1[0x1d]" (identifier "pvVar6") (= "=") (cast_expression "(void *)param_1[0x1d]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (expression_statement "lVar12 = 1;" (assignment_expression "lVar12 = 1" (identifier "lVar12") (= "=") (number_literal "1")) (; ";")) (expression_statement "__n = (long)pvVar6 - param_1[0x1a];" (assignment_expression "__n = (long)pvVar6 - param_1[0x1a]" (identifier "__n") (= "=") (binary_expression "(long)pvVar6 - param_1[0x1a]" (cast_expression "(long)pvVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar6")) (- "-") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")))) (; ";")) (labeled_statement "LAB_0029e20d:\n        if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" (statement_identifier "LAB_0029e20d") (: ":") (if_statement "if (param_1[0x1b] < (long)(__n + lVar12)) {\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" (if "if") (parenthesized_expression "(param_1[0x1b] < (long)(__n + lVar12))" (( "(") (binary_expression "param_1[0x1b] < (long)(__n + lVar12)" (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (< "<") (cast_expression "(long)(__n + lVar12)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(__n + lVar12)" (( "(") (binary_expression "__n + lVar12" (identifier "__n") (+ "+") (identifier "lVar12")) () ")")))) () ")")) (compound_statement "{\n                    \n          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");\n        }" ({ "{") (expression_statement "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");" (call_expression "FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid")" (identifier "FUN_002b0560") (argument_list "("basic_filebuf::underflow codecvt::max_length() is not valid")" (( "(") (string_literal ""basic_filebuf::underflow codecvt::max_length() is not valid"" (" """) (string_content "basic_filebuf::underflow codecvt::max_length() is not valid") (" """)) () ")"))) (; ";")) (} "}")))) (expression_statement "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);" (assignment_expression "lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" (identifier "lVar12") (= "=") (call_expression "FUN_002773f0(param_1 + 0xd,pvVar6,lVar12)" (identifier "FUN_002773f0") (argument_list "(param_1 + 0xd,pvVar6,lVar12)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) (, ",") (identifier "pvVar6") (, ",") (identifier "lVar12") () ")")))) (; ";")) (if_statement "if (lVar12 == 0) {\n          bVar3 = true;\n        }\n        else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" (if "if") (parenthesized_expression "(lVar12 == 0)" (( "(") (binary_expression "lVar12 == 0" (identifier "lVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          bVar3 = true;\n        }" ({ "{") (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" (else "else") (compound_statement "{\n          if (lVar12 == -1) goto LAB_0029e42e;\n          bVar3 = false;\n        }" ({ "{") (if_statement "if (lVar12 == -1) goto LAB_0029e42e;" (if "if") (parenthesized_expression "(lVar12 == -1)" (( "(") (binary_expression "lVar12 == -1" (identifier "lVar12") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0029e42e;" (goto "goto") (statement_identifier "LAB_0029e42e") (; ";"))) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (} "}")))) (expression_statement "__dest = (void *)param_1[1];" (assignment_expression "__dest = (void *)param_1[1]" (identifier "__dest") (= "=") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "pvVar10 = (void *)param_1[0x1c];" (assignment_expression "pvVar10 = (void *)param_1[0x1c]" (identifier "pvVar10") (= "=") (cast_expression "(void *)param_1[0x1c]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")))) (; ";")) (expression_statement "pvVar6 = (void *)(lVar12 + param_1[0x1d]);" (assignment_expression "pvVar6 = (void *)(lVar12 + param_1[0x1d])" (identifier "pvVar6") (= "=") (cast_expression "(void *)(lVar12 + param_1[0x1d])" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + param_1[0x1d])" (( "(") (binary_expression "lVar12 + param_1[0x1d]" (identifier "lVar12") (+ "+") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]"))) () ")")))) (; ";")) (expression_statement "param_1[0x1d] = (long)pvVar6;" (assignment_expression "param_1[0x1d] = (long)pvVar6" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (cast_expression "(long)pvVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar6"))) (; ";")) (if_statement "if (pvVar10 < pvVar6) goto LAB_0029e198;" (if "if") (parenthesized_expression "(pvVar10 < pvVar6)" (( "(") (binary_expression "pvVar10 < pvVar6" (identifier "pvVar10") (< "<") (identifier "pvVar6")) () ")")) (goto_statement "goto LAB_0029e198;" (goto "goto") (statement_identifier "LAB_0029e198") (; ";"))) (if_statement "if (iVar5 == 3) break;" (if "if") (parenthesized_expression "(iVar5 == 3)" (( "(") (binary_expression "iVar5 == 3" (identifier "iVar5") (== "==") (number_literal "3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (bVar3) goto LAB_0029e27e;" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (goto_statement "goto LAB_0029e27e;" (goto "goto") (statement_identifier "LAB_0029e27e") (; ";"))) (} "}")))) (labeled_statement "LAB_0029e3ab:\n      pvVar10 = (void *)param_1[0x1a];" (statement_identifier "LAB_0029e3ab") (: ":") (expression_statement "pvVar10 = (void *)param_1[0x1a];" (assignment_expression "pvVar10 = (void *)param_1[0x1a]" (identifier "pvVar10") (= "=") (cast_expression "(void *)param_1[0x1a]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")))) (; ";"))) (expression_statement "uVar9 = (long)pvVar6 - (long)pvVar10;" (assignment_expression "uVar9 = (long)pvVar6 - (long)pvVar10" (identifier "uVar9") (= "=") (binary_expression "(long)pvVar6 - (long)pvVar10" (cast_expression "(long)pvVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar6")) (- "-") (cast_expression "(long)pvVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar10")))) (; ";")) (expression_statement "uVar11 = uVar7;" (assignment_expression "uVar11 = uVar7" (identifier "uVar11") (= "=") (identifier "uVar7")) (; ";")) (if_statement "if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" (if "if") (parenthesized_expression "((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0))" (( "(") (binary_expression "(uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)" (parenthesized_expression "(uVar7 < uVar9)" (( "(") (binary_expression "uVar7 < uVar9" (identifier "uVar7") (< "<") (identifier "uVar9")) () ")")) (|| "||") (parenthesized_expression "(uVar11 = uVar9, uVar9 != 0)" (( "(") (comma_expression "uVar11 = uVar9, uVar9 != 0" (assignment_expression "uVar11 = uVar9" (identifier "uVar11") (= "=") (identifier "uVar9")) (, ",") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        memcpy(__dest,pvVar10,uVar11);\n        pvVar10 = (void *)(param_1[0x1a] + uVar11);\n      }" ({ "{") (expression_statement "memcpy(__dest,pvVar10,uVar11);" (call_expression "memcpy(__dest,pvVar10,uVar11)" (identifier "memcpy") (argument_list "(__dest,pvVar10,uVar11)" (( "(") (identifier "__dest") (, ",") (identifier "pvVar10") (, ",") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "pvVar10 = (void *)(param_1[0x1a] + uVar11);" (assignment_expression "pvVar10 = (void *)(param_1[0x1a] + uVar11)" (identifier "pvVar10") (= "=") (cast_expression "(void *)(param_1[0x1a] + uVar11)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0x1a] + uVar11)" (( "(") (binary_expression "param_1[0x1a] + uVar11" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (+ "+") (identifier "uVar11")) () ")")))) (; ";")) (} "}"))) (expression_statement "param_1[0x1c] = (long)pvVar10;" (assignment_expression "param_1[0x1c] = (long)pvVar10" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (cast_expression "(long)pvVar10" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pvVar10"))) (; ";")) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" (identifier "iVar5") (= "=") (number_literal "3")) (; ";")) (expression_statement "bVar2 = (bool)(uVar11 != 0 | bVar3);" (assignment_expression "bVar2 = (bool)(uVar11 != 0 | bVar3)" (identifier "bVar2") (= "=") (cast_expression "(bool)(uVar11 != 0 | bVar3)" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (parenthesized_expression "(uVar11 != 0 | bVar3)" (( "(") (binary_expression "uVar11 != 0 | bVar3" (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) (| "|") (identifier "bVar3")) () ")")))) (; ";")) (} "}"))) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" (if "if") (parenthesized_expression "(0 < (long)uVar11)" (( "(") (binary_expression "0 < (long)uVar11" (number_literal "0") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (goto_statement "goto LAB_0029e449;" (goto "goto") (statement_identifier "LAB_0029e449") (; ";"))) (if_statement "if (bVar3) {\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\nLAB_0029e27e:\n      lVar12 = param_1[0x13];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = lVar12;\n      param_1[2] = lVar12;\n      param_1[3] = lVar12;\n      param_1[6] = 0;\n      *(undefined1 *)((long)param_1 + 0xa9) = 0;\n      if (iVar5 != 1) {\n        return 0xffffffff;\n      }\n                    \n      FUN_002b0560("basic_filebuf::underflow incomplete character in file");\n    }" ({ "{") (labeled_statement "LAB_0029e27e:\n      lVar12 = param_1[0x13];" (statement_identifier "LAB_0029e27e") (: ":") (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" (identifier "lVar12") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";"))) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xa9)" (( "(") (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xa9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar5 != 1) {\n        return 0xffffffff;\n      }" (if "if") (parenthesized_expression "(iVar5 != 1)" (( "(") (binary_expression "iVar5 != 1" (identifier "iVar5") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        return 0xffffffff;\n      }" ({ "{") (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}"))) (expression_statement "FUN_002b0560("basic_filebuf::underflow incomplete character in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow incomplete character in file")" (identifier "FUN_002b0560") (argument_list "("basic_filebuf::underflow incomplete character in file")" (( "(") (string_literal ""basic_filebuf::underflow incomplete character in file"" (" """) (string_content "basic_filebuf::underflow incomplete character in file") (" """)) () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0029e42e;" (goto "goto") (statement_identifier "LAB_0029e42e") (; ";")) (} "}"))) (if_statement "if (0 < (long)uVar11) goto LAB_0029e449;" (if "if") (parenthesized_expression "(0 < (long)uVar11)" (( "(") (binary_expression "0 < (long)uVar11" (number_literal "0") (< "<") (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11"))) () ")")) (goto_statement "goto LAB_0029e449;" (goto "goto") (statement_identifier "LAB_0029e449") (; ";"))) (if_statement "if (!bVar3) {\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" (if "if") (parenthesized_expression "(!bVar3)" (( "(") (unary_expression "!bVar3" (! "!") (identifier "bVar3")) () ")")) (compound_statement "{\n                    \n    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");\n  }" ({ "{") (expression_statement "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");" (call_expression "FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file")" (identifier "FUN_002b0560") (argument_list "("basic_filebuf::underflow invalid byte sequence in file")" (( "(") (string_literal ""basic_filebuf::underflow invalid byte sequence in file"" (" """) (string_content "basic_filebuf::underflow invalid byte sequence in file") (" """)) () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0029e4b0:\n  lVar12 = param_1[0x13];" (statement_identifier "LAB_0029e4b0") (: ":") (expression_statement "lVar12 = param_1[0x13];" (assignment_expression "lVar12 = param_1[0x13]" (identifier "lVar12") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";"))) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = lVar12;" (assignment_expression "param_1[1] = lVar12" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[2] = lVar12;" (assignment_expression "param_1[2] = lVar12" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[3] = lVar12;" (assignment_expression "param_1[3] = lVar12" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "lVar12")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xa9) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xa9) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xa9)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xa9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xa9)" (( "(") (binary_expression "(long)param_1 + 0xa9" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xa9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0xffffffff;" (return "return") (number_literal "0xffffffff") (; ";")) (} "}")))

/* std::filebuf::underflow() */

type_1 __thiscall std::type_2::function_1(type_2 *var_1)

{
  long var_15;
  type_3 uVar2;
  bool bVar3;
  bool var_22;
  char var_5;
  int var_11;
  char *var_21;
  type_1 var_12;
  type_4 *var_2;
  char *var_20;
  type_1 var_13;
  size_t var_14;
  void *__src;
  void *__dest_00;
  type_1 var_9;
  long var_3;
  void *local_40 [2];
  
  if (((type_4)var_1[0x78] & 8) == 0) {
    return 0xffffffff;
  }
  if (var_1[0xaa] == (type_2)0x0) {
    var_2 = *(type_4 **)(var_1 + 0x10);
    if (var_1[0xc0] != (type_2)0x0) goto LAB_0029e323;
LAB_0029e099:
    if (var_2 < *(type_4 **)(var_1 + 0x18)) goto LAB_0029e365;
  }
  else {
    var_12 = (**(type_5 **)(*(long *)var_1 + 0x68))(var_1,0xffffffff);
    if ((int)var_12 == -1) {
      return var_12;
    }
    var_2 = *(type_4 **)(var_1 + 0x98);
    *(type_3 *)(var_1 + 0x28) = 0;
    *(type_3 *)(var_1 + 0x20) = 0;
    *(type_4 **)(var_1 + 8) = var_2;
    *(type_4 **)(var_1 + 0x10) = var_2;
    *(type_4 **)(var_1 + 0x18) = var_2;
    *(type_3 *)(var_1 + 0x30) = 0;
    var_1[0xaa] = (type_2)0x0;
    if (var_1[0xc0] == (type_2)0x0) goto LAB_0029e099;
LAB_0029e323:
    var_1[0xc0] = (type_2)0x0;
    var_2 = (type_4 *)((type_1)(*(type_4 **)(var_1 + 8) != var_2) + *(long *)(var_1 + 0xb0));
    *(type_4 **)(var_1 + 0x18) = *(type_4 **)(var_1 + 0xb8);
    *(type_4 **)(var_1 + 0xb0) = var_2;
    *(type_3 *)(var_1 + 8) = *(type_3 *)(var_1 + 0x98);
    *(type_4 **)(var_1 + 0x10) = var_2;
    if (var_2 < *(type_4 **)(var_1 + 0xb8)) {
LAB_0029e365:
      return (type_1)*var_2;
    }
  }
  var_3 = 2;
  if (1 < *(type_1 *)(var_1 + 0xa0)) {
    var_3 = *(long *)(var_1 + 0xa0);
  }
  var_12 = var_3 - 1;
  if (*(long **)(var_1 + 200) == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_4();
  }
  var_5 = (**(type_5 **)(**(long **)(var_1 + 200) + 0x30))();
  if (var_5 != '\0') {
    var_9 = var_6<var_7>::var_8
                       ((var_6<var_7> *)(var_1 + 0x68),*(char **)(var_1 + 8),var_12);
    if (var_9 != 0) {
      if (0 < (long)var_9) {
LAB_0029e449:
        var_2 = *(type_4 **)(var_1 + 0x98);
        *(type_4 **)(var_1 + 8) = var_2;
        *(type_4 **)(var_1 + 0x10) = var_2;
        if (((type_4)var_1[0x78] & 8) == 0) {
          *(type_4 **)(var_1 + 0x18) = var_2;
        }
        else {
          *(type_4 **)(var_1 + 0x18) = var_2 + var_9;
        }
        *(type_3 *)(var_1 + 0x28) = 0;
        *(type_3 *)(var_1 + 0x20) = 0;
        *(type_3 *)(var_1 + 0x30) = 0;
        var_1[0xa9] = (type_2)0x1;
        return (type_1)*var_2;
      }
LAB_0029e42e:
                    /* WARNING: Subroutine does not return */
      var_10("basic_filebuf::underflow error reading the file");
    }
    goto LAB_0029e4b0;
  }
  var_11 = (**(type_5 **)(**(long **)(var_1 + 200) + 0x28))();
  if (var_11 < 1) {
    var_11 = (**(type_5 **)(**(long **)(var_1 + 200) + 0x40))();
    var_9 = var_3 + -2 + (long)var_11;
    var_13 = var_12;
  }
  else {
    var_9 = (long)var_11 * var_12;
    var_13 = var_9;
  }
  var_14 = *(long *)(var_1 + 0xe8) - (long)*(void **)(var_1 + 0xe0);
  var_3 = var_13 - var_14;
  if ((long)var_13 <= (long)var_14) {
    var_3 = 0;
  }
  var_15 = *(long *)(var_1 + 0xd8);
  if ((var_1[0xa9] == (type_2)0x0) || (*(long *)(var_1 + 0x18) != *(long *)(var_1 + 8))) {
    if (var_15 < (long)var_9) {
      var_20 = (char *)var_16(var_9);
      if (var_14 != 0) goto LAB_0029e58e;
      goto LAB_0029e510;
    }
    var_20 = *(char **)(var_1 + 0xd0);
    if (var_14 != 0) goto LAB_0029e554;
  }
  else {
    if (var_14 == 0) {
      if (var_15 < (long)var_9) {
        var_20 = (char *)var_16(var_9);
        goto LAB_0029e510;
      }
    }
    else {
      if (var_15 < (long)var_9) {
        var_3 = 0;
        var_20 = (char *)var_16(var_9);
LAB_0029e58e:
        var_17(var_20,*(void **)(var_1 + 0xe0),var_14);
LAB_0029e510:
        if (*(void **)(var_1 + 0xd0) != (void *)0x0) {
          var_18(*(void **)(var_1 + 0xd0));
        }
        *(char **)(var_1 + 0xd0) = var_20;
        *(type_1 *)(var_1 + 0xd8) = var_9;
        goto LAB_0029e156;
      }
      var_20 = *(char **)(var_1 + 0xd0);
      var_3 = 0;
LAB_0029e554:
      var_19(var_20,*(void **)(var_1 + 0xe0),var_14);
    }
    var_20 = *(char **)(var_1 + 0xd0);
  }
LAB_0029e156:
  var_21 = var_20 + var_14;
  *(char **)(var_1 + 0xe0) = var_20;
  *(char **)(var_1 + 0xe8) = var_21;
  *(type_3 *)(var_1 + 0x8c) = *(type_3 *)(var_1 + 0x84);
  if (var_3 != 0) {
    var_11 = 0;
    goto LAB_0029e20d;
  }
  __dest_00 = *(void **)(var_1 + 8);
  var_11 = 0;
  local_40[0] = __dest_00;
  if (var_21 <= var_20) goto LAB_0029e1f6;
  var_22 = false;
LAB_0029e198:
  local_40[0] = __dest_00;
  var_11 = (**(type_5 **)(**(long **)(var_1 + 200) + 0x20))
                    (*(long **)(var_1 + 200),var_1 + 0x84,var_20,var_21,var_1 + 0xe0,__dest_00,
                     (long)__dest_00 + var_12,local_40);
  if (var_11 == 3) {
    var_21 = *(char **)(var_1 + 0xe8);
    __dest_00 = *(void **)(var_1 + 8);
    goto LAB_0029e3ab;
  }
  var_9 = (long)local_40[0] - *(long *)(var_1 + 8);
  if (var_11 != 2) {
    bVar3 = (bool)(var_9 != 0 | var_22);
    while (!bVar3) {
LAB_0029e1f6:
      while( true ) {
        var_21 = *(char **)(var_1 + 0xe8);
        var_3 = 1;
        var_14 = (long)var_21 - *(long *)(var_1 + 0xd0);
LAB_0029e20d:
        if (*(long *)(var_1 + 0xd8) < (long)(var_14 + var_3)) {
                    /* WARNING: Subroutine does not return */
          var_10("basic_filebuf::underflow codecvt::max_length() is not valid");
        }
        var_3 = var_6<var_7>::var_8((var_6<var_7> *)(var_1 + 0x68),var_21,var_3);
        if (var_3 == 0) {
          var_22 = true;
        }
        else {
          if (var_3 == -1) goto LAB_0029e42e;
          var_22 = false;
        }
        __dest_00 = *(void **)(var_1 + 8);
        var_20 = *(char **)(var_1 + 0xe0);
        var_21 = (char *)(var_3 + *(long *)(var_1 + 0xe8));
        *(char **)(var_1 + 0xe8) = var_21;
        if (var_20 < var_21) goto LAB_0029e198;
        local_40[0] = __dest_00;
        if (var_11 == 3) break;
        if (var_22) goto LAB_0029e27e;
      }
LAB_0029e3ab:
      __src = *(void **)(var_1 + 0xd0);
      var_13 = (long)var_21 - (long)__src;
      var_9 = var_12;
      if ((var_12 < var_13) || (var_9 = var_13, var_13 != 0)) {
        var_17(__dest_00,__src,var_9);
        __src = (void *)(*(long *)(var_1 + 0xd0) + var_9);
      }
      *(void **)(var_1 + 0xe0) = __src;
      var_11 = 3;
      bVar3 = (bool)(var_9 != 0 | var_22);
    }
    if (0 < (long)var_9) goto LAB_0029e449;
    if (var_22) {
LAB_0029e27e:
      uVar2 = *(type_3 *)(var_1 + 0x98);
      *(type_3 *)(var_1 + 0x28) = 0;
      *(type_3 *)(var_1 + 0x20) = 0;
      *(type_3 *)(var_1 + 8) = uVar2;
      *(type_3 *)(var_1 + 0x10) = uVar2;
      *(type_3 *)(var_1 + 0x18) = uVar2;
      *(type_3 *)(var_1 + 0x30) = 0;
      var_1[0xa9] = (type_2)0x0;
      if (var_11 != 1) {
        return 0xffffffff;
      }
                    /* WARNING: Subroutine does not return */
      var_10("basic_filebuf::underflow incomplete character in file");
    }
    goto LAB_0029e42e;
  }
  if (0 < (long)var_9) goto LAB_0029e449;
  if (!var_22) {
                    /* WARNING: Subroutine does not return */
    var_10("basic_filebuf::underflow invalid byte sequence in file");
  }
LAB_0029e4b0:
  uVar2 = *(type_3 *)(var_1 + 0x98);
  *(type_3 *)(var_1 + 0x28) = 0;
  *(type_3 *)(var_1 + 0x20) = 0;
  *(type_3 *)(var_1 + 8) = uVar2;
  *(type_3 *)(var_1 + 0x10) = uVar2;
  *(type_3 *)(var_1 + 0x18) = uVar2;
  *(type_3 *)(var_1 + 0x30) = 0;
  var_1[0xa9] = (type_2)0x0;
  return 0xffffffff;
}


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

ulong MASKED(long *param_1)

{
  long lVar1;
  bool bVar2;
  bool bVar3;
  char cVar4;
  int iVar5;
  void *pvVar6;
  ulong uVar7;
  byte *pbVar8;
  ulong uVar9;
  size_t __n;
  void *pvVar10;
  void *__dest;
  ulong uVar11;
  long lVar12;
  
  if ((*(byte *)(param_1 + 0xf) & 8) == 0) {
    return 0xffffffff;
  }
  if (*(char *)((long)param_1 + 0xaa) == '\0') {
    pbVar8 = (byte *)param_1[2];
    if ((char)param_1[0x18] != '\0') goto LAB_0029e323;
LAB_0029e099:
    if (pbVar8 < (byte *)param_1[3]) goto LAB_0029e365;
  }
  else {
    uVar7 = (**(code **)(*param_1 + 0x68))(param_1,0xffffffff);
    if ((int)uVar7 == -1) {
      return uVar7;
    }
    pbVar8 = (byte *)param_1[0x13];
    param_1[5] = 0;
    param_1[4] = 0;
    param_1[1] = (long)pbVar8;
    param_1[2] = (long)pbVar8;
    param_1[3] = (long)pbVar8;
    param_1[6] = 0;
    *(undefined1 *)((long)param_1 + 0xaa) = 0;
    if ((char)param_1[0x18] == '\0') goto LAB_0029e099;
LAB_0029e323:
    *(undefined1 *)(param_1 + 0x18) = 0;
    pbVar8 = (byte *)((ulong)((byte *)param_1[1] != pbVar8) + param_1[0x16]);
    param_1[3] = param_1[0x17];
    param_1[0x16] = (long)pbVar8;
    param_1[1] = param_1[0x13];
    param_1[2] = (long)pbVar8;
    if (pbVar8 < (byte *)param_1[0x17]) {
LAB_0029e365:
      return (ulong)*pbVar8;
    }
  }
  lVar12 = 2;
  if (1 < (ulong)param_1[0x14]) {
    lVar12 = param_1[0x14];
  }
  uVar7 = lVar12 - 1;
  if ((long *)param_1[0x19] == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002b5510();
  }
  cVar4 = (**(code **)(*(long *)param_1[0x19] + 0x30))();
  if (cVar4 != '\0') {
    uVar11 = FUN_002773f0(param_1 + 0xd,param_1[1],uVar7);
    if (uVar11 != 0) {
      if (0 < (long)uVar11) {
LAB_0029e449:
        pbVar8 = (byte *)param_1[0x13];
        param_1[1] = (long)pbVar8;
        param_1[2] = (long)pbVar8;
        if ((*(byte *)(param_1 + 0xf) & 8) == 0) {
          param_1[3] = (long)pbVar8;
        }
        else {
          param_1[3] = (long)(pbVar8 + uVar11);
        }
        param_1[5] = 0;
        param_1[4] = 0;
        param_1[6] = 0;
        *(undefined1 *)((long)param_1 + 0xa9) = 1;
        return (ulong)*pbVar8;
      }
LAB_0029e42e:
                    /* WARNING: Subroutine does not return */
      FUN_002b0560("basic_filebuf::underflow error reading the file");
    }
    goto LAB_0029e4b0;
  }
  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x28))();
  if (iVar5 < 1) {
    iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x40))();
    uVar11 = lVar12 + -2 + (long)iVar5;
    uVar9 = uVar7;
  }
  else {
    uVar11 = (long)iVar5 * uVar7;
    uVar9 = uVar11;
  }
  __n = param_1[0x1d] - param_1[0x1c];
  lVar12 = uVar9 - __n;
  if ((long)uVar9 <= (long)__n) {
    lVar12 = 0;
  }
  lVar1 = param_1[0x1b];
  if ((*(char *)((long)param_1 + 0xa9) == '\0') || (param_1[3] != param_1[1])) {
    if (lVar1 < (long)uVar11) {
      pvVar10 = (void *)thunk_FUN_00275550(uVar11);
      if (__n != 0) goto LAB_0029e58e;
      goto LAB_0029e510;
    }
    pvVar10 = (void *)param_1[0x1a];
    if (__n != 0) goto LAB_0029e554;
  }
  else {
    if (__n == 0) {
      if (lVar1 < (long)uVar11) {
        pvVar10 = (void *)thunk_FUN_00275550(uVar11);
        goto LAB_0029e510;
      }
    }
    else {
      if (lVar1 < (long)uVar11) {
        lVar12 = 0;
        pvVar10 = (void *)thunk_FUN_00275550(uVar11);
LAB_0029e58e:
        memcpy(pvVar10,(void *)param_1[0x1c],__n);
LAB_0029e510:
        if (param_1[0x1a] != 0) {
          thunk_FUN_00276d20();
        }
        param_1[0x1a] = (long)pvVar10;
        param_1[0x1b] = uVar11;
        goto LAB_0029e156;
      }
      pvVar10 = (void *)param_1[0x1a];
      lVar12 = 0;
LAB_0029e554:
      memmove(pvVar10,(void *)param_1[0x1c],__n);
    }
    pvVar10 = (void *)param_1[0x1a];
  }
LAB_0029e156:
  pvVar6 = (void *)((long)pvVar10 + __n);
  param_1[0x1c] = (long)pvVar10;
  param_1[0x1d] = (long)pvVar6;
  *(undefined8 *)((long)param_1 + 0x8c) = *(undefined8 *)((long)param_1 + 0x84);
  if (lVar12 != 0) {
    iVar5 = 0;
    goto LAB_0029e20d;
  }
  __dest = (void *)param_1[1];
  iVar5 = 0;
  if (pvVar6 <= pvVar10) goto LAB_0029e1f6;
  bVar3 = false;
LAB_0029e198:
  iVar5 = (**(code **)(*(long *)param_1[0x19] + 0x20))
                    ((long *)param_1[0x19],(long)param_1 + 0x84,pvVar10,pvVar6,param_1 + 0x1c,__dest
                     ,(long)__dest + uVar7);
  if (iVar5 == 3) {
    pvVar6 = (void *)param_1[0x1d];
    __dest = (void *)param_1[1];
    goto LAB_0029e3ab;
  }
  uVar11 = (long)__dest - param_1[1];
  if (iVar5 != 2) {
    bVar2 = (bool)(uVar11 != 0 | bVar3);
    while (!bVar2) {
LAB_0029e1f6:
      while( true ) {
        pvVar6 = (void *)param_1[0x1d];
        lVar12 = 1;
        __n = (long)pvVar6 - param_1[0x1a];
LAB_0029e20d:
        if (param_1[0x1b] < (long)(__n + lVar12)) {
                    /* WARNING: Subroutine does not return */
          FUN_002b0560("basic_filebuf::underflow codecvt::max_length() is not valid");
        }
        lVar12 = FUN_002773f0(param_1 + 0xd,pvVar6,lVar12);
        if (lVar12 == 0) {
          bVar3 = true;
        }
        else {
          if (lVar12 == -1) goto LAB_0029e42e;
          bVar3 = false;
        }
        __dest = (void *)param_1[1];
        pvVar10 = (void *)param_1[0x1c];
        pvVar6 = (void *)(lVar12 + param_1[0x1d]);
        param_1[0x1d] = (long)pvVar6;
        if (pvVar10 < pvVar6) goto LAB_0029e198;
        if (iVar5 == 3) break;
        if (bVar3) goto LAB_0029e27e;
      }
LAB_0029e3ab:
      pvVar10 = (void *)param_1[0x1a];
      uVar9 = (long)pvVar6 - (long)pvVar10;
      uVar11 = uVar7;
      if ((uVar7 < uVar9) || (uVar11 = uVar9, uVar9 != 0)) {
        memcpy(__dest,pvVar10,uVar11);
        pvVar10 = (void *)(param_1[0x1a] + uVar11);
      }
      param_1[0x1c] = (long)pvVar10;
      iVar5 = 3;
      bVar2 = (bool)(uVar11 != 0 | bVar3);
    }
    if (0 < (long)uVar11) goto LAB_0029e449;
    if (bVar3) {
LAB_0029e27e:
      lVar12 = param_1[0x13];
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[1] = lVar12;
      param_1[2] = lVar12;
      param_1[3] = lVar12;
      param_1[6] = 0;
      *(undefined1 *)((long)param_1 + 0xa9) = 0;
      if (iVar5 != 1) {
        return 0xffffffff;
      }
                    /* WARNING: Subroutine does not return */
      FUN_002b0560("basic_filebuf::underflow incomplete character in file");
    }
    goto LAB_0029e42e;
  }
  if (0 < (long)uVar11) goto LAB_0029e449;
  if (!bVar3) {
                    /* WARNING: Subroutine does not return */
    FUN_002b0560("basic_filebuf::underflow invalid byte sequence in file");
  }
LAB_0029e4b0:
  lVar12 = param_1[0x13];
  param_1[5] = 0;
  param_1[4] = 0;
  param_1[1] = lVar12;
  param_1[2] = lVar12;
  param_1[3] = lVar12;
  param_1[6] = 0;
  *(undefined1 *)((long)param_1 + 0xa9) = 0;
  return 0xffffffff;
}

