
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::istream&,
   std::string&, char) */

istream * std::getline<char,std::char_traits<char>,std::allocator<char>>
                    (istream *param_1,string *param_2,char param_3)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  _Ios_Iostate _Var4;
  uint uVar5;
  void *pvVar6;
  string *psVar7;
  byte *pbVar8;
  int iVar9;
  byte *pbVar10;
  uint uVar11;
  size_t __n;
  uint local_30;
  sentry local_1d [9];
  undefined4 uStack_14;
  
  uStack_14 = 0x1e7cbb;
  istream::sentry::sentry(local_1d,(istream *)param_1,true);
  if (local_1d[0] != (sentry)0x0) {
    *(undefined4 *)(param_2 + 4) = 0;
    **(undefined1 **)param_2 = 0;
    uVar3 = (uint)(byte)param_3;
    piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);
    pbVar10 = (byte *)piVar1[2];
    pbVar8 = (byte *)piVar1[3];
    if (pbVar10 < pbVar8) {
      uVar5 = (uint)*pbVar10;
LAB_001e7d4f:
      local_30 = 0;
      if (uVar3 == uVar5) {
        if (pbVar10 < pbVar8) {
          piVar1[2] = (int)(pbVar10 + 1);
          return param_1;
        }
                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */
        (**(code **)(*piVar1 + 0x28))(piVar1);
        return param_1;
      }
LAB_001e7dea:
      uVar2 = *(uint *)(param_2 + 4);
      __n = (int)pbVar8 - (int)pbVar10;
      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {
        __n = 0x7fffffff - local_30;
      }
      if ((int)__n < 2) {
        psVar7 = *(string **)param_2;
        if (psVar7 == param_2 + 8) {
          uVar11 = 0xf;
        }
        else {
          uVar11 = *(uint *)(param_2 + 8);
        }
        if (uVar11 < uVar2 + 1) {
          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);
          psVar7 = *(string **)param_2;
        }
        local_30 = local_30 + 1;
        psVar7[uVar2] = SUB41(uVar5,0);
        *(uint *)(param_2 + 4) = uVar2 + 1;
        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;
        pbVar10 = (byte *)piVar1[3];
        if ((byte *)piVar1[2] < pbVar10) {
          pbVar8 = (byte *)piVar1[2] + 1;
          piVar1[2] = (int)pbVar8;
LAB_001e7e5b:
          if (pbVar8 < pbVar10) goto LAB_001e7dcb;
          goto LAB_001e7e63;
        }
        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);
        if (iVar9 != -1) {
          pbVar8 = (byte *)piVar1[2];
          pbVar10 = (byte *)piVar1[3];
          goto LAB_001e7e5b;
        }
      }
      else {
        pvVar6 = memchr(pbVar10,(int)param_3,__n);
        if (pvVar6 != (void *)0x0) {
          __n = (int)pvVar6 - (int)pbVar10;
        }
        if (0x7fffffff - uVar2 < __n) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */
          __throw_length_error("basic_string::append");
        }
                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */
        string::_M_append(param_2,(char *)pbVar10,__n);
        local_30 = local_30 + __n;
        pbVar8 = (byte *)(piVar1[2] + __n);
        piVar1[2] = (int)pbVar8;
        if (pbVar8 < (byte *)piVar1[3]) {
LAB_001e7dcb:
          uVar5 = (uint)*pbVar8;
          if (0x7ffffffe < local_30) {
LAB_001e7ee0:
            if (uVar3 != uVar5) goto LAB_001e7ce6;
            local_30 = local_30 + 1;
            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;
            piVar1[2] = piVar1[2] + 1;
            goto joined_r0x001e7f00;
          }
LAB_001e7ddb:
          pbVar10 = (byte *)piVar1[2];
          pbVar8 = (byte *)piVar1[3];
          if (uVar5 == uVar3) goto LAB_001e7f10;
          goto LAB_001e7dea;
        }
LAB_001e7e63:
        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);
        if (0x7ffffffe < local_30) {
          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;
          goto LAB_001e7f49;
        }
        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;
        if (local_30 == 0) goto LAB_001e7e8c;
      }
LAB_001e7f49:
      _Var4 = _S_eofbit;
      goto LAB_001e7ceb;
    }
                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */
    uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);
    if (uVar5 != 0xffffffff) {
      pbVar8 = (byte *)piVar1[3];
      pbVar10 = (byte *)piVar1[2];
      goto LAB_001e7d4f;
    }
LAB_001e7e8c:
    _Var4 = _S_failbit|_S_eofbit;
    goto LAB_001e7ceb;
  }
  goto LAB_001e7ce6;
LAB_001e7f10:
  local_30 = local_30 + 1;
  if (pbVar10 < pbVar8) {
    piVar1[2] = (int)(pbVar10 + 1);
    return param_1;
  }
LAB_001e7f18:
  (**(code **)(*piVar1 + 0x28))(piVar1);
joined_r0x001e7f00:
  if (local_30 != 0) {
    return param_1;
  }
LAB_001e7ce6:
  _Var4 = _S_failbit;
LAB_001e7ceb:
  ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),
             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));
  return param_1;
}



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

int * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  void *pvVar4;
  int *piVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  int iVar9;
  size_t __n;
  uint local_30;
  char local_1d [9];
  undefined4 uStack_14;
  
  uStack_14 = 0x1e7cbb;
  FUN_0020a6a0(local_1d,param_1,1);
  if (local_1d[0] != '\0') {
    param_2[1] = 0;
    *(undefined1 *)*param_2 = 0;
    uVar2 = (uint)param_3;
    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    pbVar7 = (byte *)piVar1[2];
    pbVar6 = (byte *)piVar1[3];
    if (pbVar7 < pbVar6) {
      uVar3 = (uint)*pbVar7;
LAB_001e7d4f:
      local_30 = 0;
      if (uVar2 == uVar3) {
        if (pbVar7 < pbVar6) {
          piVar1[2] = (int)(pbVar7 + 1);
          return param_1;
        }
                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */
        (**(code **)(*piVar1 + 0x28))(piVar1);
        return param_1;
      }
LAB_001e7dea:
      iVar9 = param_2[1];
      __n = (int)pbVar6 - (int)pbVar7;
      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {
        __n = 0x7fffffff - local_30;
      }
      if ((int)__n < 2) {
        piVar5 = (int *)*param_2;
        if (piVar5 == param_2 + 2) {
          uVar8 = 0xf;
        }
        else {
          uVar8 = param_2[2];
        }
        if (uVar8 < iVar9 + 1U) {
          FUN_001eeaa0(param_2,iVar9,0,0,1);
          piVar5 = (int *)*param_2;
        }
        local_30 = local_30 + 1;
        *(char *)((int)piVar5 + iVar9) = (char)uVar3;
        param_2[1] = iVar9 + 1U;
        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;
        pbVar7 = (byte *)piVar1[3];
        if ((byte *)piVar1[2] < pbVar7) {
          pbVar6 = (byte *)piVar1[2] + 1;
          piVar1[2] = (int)pbVar6;
LAB_001e7e5b:
          if (pbVar6 < pbVar7) goto LAB_001e7dcb;
          goto LAB_001e7e63;
        }
        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);
        if (iVar9 != -1) {
          pbVar6 = (byte *)piVar1[2];
          pbVar7 = (byte *)piVar1[3];
          goto LAB_001e7e5b;
        }
      }
      else {
        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);
        if (pvVar4 != (void *)0x0) {
          __n = (int)pvVar4 - (int)pbVar7;
        }
        if (0x7fffffffU - iVar9 < __n) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */
          FUN_0022c7a0("basic_string::append");
        }
                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */
        FUN_001f05c0(param_2,pbVar7,__n);
        local_30 = local_30 + __n;
        pbVar6 = (byte *)(piVar1[2] + __n);
        piVar1[2] = (int)pbVar6;
        if (pbVar6 < (byte *)piVar1[3]) {
LAB_001e7dcb:
          uVar3 = (uint)*pbVar6;
          if (0x7ffffffe < local_30) {
LAB_001e7ee0:
            if (uVar2 != uVar3) goto LAB_001e7ce6;
            local_30 = local_30 + 1;
            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;
            piVar1[2] = piVar1[2] + 1;
            goto joined_r0x001e7f00;
          }
LAB_001e7ddb:
          pbVar7 = (byte *)piVar1[2];
          pbVar6 = (byte *)piVar1[3];
          if (uVar3 == uVar2) goto LAB_001e7f10;
          goto LAB_001e7dea;
        }
LAB_001e7e63:
        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);
        if (0x7ffffffe < local_30) {
          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;
          goto LAB_001e7f49;
        }
        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;
        if (local_30 == 0) goto LAB_001e7e8c;
      }
LAB_001e7f49:
      uVar2 = 2;
      goto LAB_001e7ceb;
    }
                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */
    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);
    if (uVar3 != 0xffffffff) {
      pbVar6 = (byte *)piVar1[3];
      pbVar7 = (byte *)piVar1[2];
      goto LAB_001e7d4f;
    }
LAB_001e7e8c:
    uVar2 = 6;
    goto LAB_001e7ceb;
  }
  goto LAB_001e7ce6;
LAB_001e7f10:
  local_30 = local_30 + 1;
  if (pbVar7 < pbVar6) {
    piVar1[2] = (int)(pbVar7 + 1);
    return param_1;
  }
LAB_001e7f18:
  (**(code **)(*piVar1 + 0x28))(piVar1);
joined_r0x001e7f00:
  if (local_30 != 0) {
    return param_1;
  }
LAB_001e7ce6:
  uVar2 = 4;
LAB_001e7ceb:
  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);
  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x1a7345
SUB ESP,0x40
MOV ESI,dword ptr [EBP + 0x10]
PUSH 0x1
MOV EAX,ESI
PUSH dword ptr [EBP + 0x8]
MOV byte ptr [EBP + -0x3d],AL
LEA EAX,[EBP + -0x19]
PUSH EAX
MOV dword ptr [EBP + -0x34],EBX
CALL 0x0020a6a0
ADD ESP,0x10
CMP byte ptr [EBP + -0x19],0x0
JNZ 0x001e7d18
MOV EAX,0x4
MOV ESI,dword ptr [EBP + 0x8]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x34]
MOV EDX,dword ptr [ESI]
ADD ESI,dword ptr [EDX + -0xc]
OR EAX,dword ptr [ESI + 0x14]
PUSH EAX
PUSH ESI
CALL 0x00210c00
ADD ESP,0x10
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX + 0x4],0x0
MOV EAX,dword ptr [EAX]
MOV byte ptr [EAX],0x0
MOV EAX,ESI
MOV ESI,dword ptr [EBP + 0x8]
MOVZX EAX,AL
MOV dword ptr [EBP + -0x3c],EAX
MOV EAX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + -0xc]
MOV ESI,dword ptr [ESI + EAX*0x1 + 0x78]
MOV EDX,dword ptr [ESI + 0x8]
MOV EDI,dword ptr [ESI + 0xc]
CMP EDI,EDX
JBE 0x001e7f58
MOVZX EAX,byte ptr [EDX]
MOV ECX,dword ptr [EBP + 0xc]
MOV dword ptr [EBP + -0x2c],0x0
ADD ECX,0x8
MOV dword ptr [EBP + -0x44],ECX
CMP dword ptr [EBP + -0x3c],EAX
JNZ 0x001e7dea
JMP 0x001e7f78
MOVSX EAX,byte ptr [EBP + -0x3d]
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
MOV dword ptr [EBP + -0x38],EDX
PUSH EDI
PUSH EAX
PUSH EDX
CALL 0x00029970
MOV EDX,dword ptr [EBP + -0x38]
ADD ESP,0x10
MOV ECX,EAX
SUB ECX,EDX
TEST EAX,EAX
MOV EAX,0x7fffffff
CMOVNZ EDI,ECX
SUB EAX,dword ptr [EBP + -0x30]
CMP EAX,EDI
JC 0x001e7fa3
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDI
PUSH EDX
PUSH dword ptr [EBP + 0xc]
CALL 0x001f05c0
MOV EAX,dword ptr [ESI + 0x8]
ADD ESP,0x10
ADD dword ptr [EBP + -0x2c],EDI
ADD EAX,EDI
MOV dword ptr [ESI + 0x8],EAX
CMP dword ptr [ESI + 0xc],EAX
JBE 0x001e7e63
CMP dword ptr [EBP + -0x2c],0x7ffffffe
MOVZX EAX,byte ptr [EAX]
JA 0x001e7ee0
MOV EDX,dword ptr [ESI + 0x8]
MOV EDI,dword ptr [ESI + 0xc]
CMP EAX,dword ptr [EBP + -0x3c]
JZ 0x001e7f10
SUB EDI,EDX
MOV ECX,0x7fffffff
MOV EBX,dword ptr [EBP + 0xc]
SUB ECX,dword ptr [EBP + -0x2c]
CMP ECX,EDI
MOV EBX,dword ptr [EBX + 0x4]
CMOVLE EDI,ECX
MOV dword ptr [EBP + -0x30],EBX
CMP EDI,0x1
JG 0x001e7d70
MOV byte ptr [EBP + -0x38],AL
MOV EAX,dword ptr [EBP + -0x30]
LEA EDI,[EAX + 0x1]
MOV EAX,dword ptr [EBP + 0xc]
MOV EAX,dword ptr [EAX]
CMP EAX,dword ptr [EBP + -0x44]
JZ 0x001e7ec8
MOV ECX,dword ptr [EBP + 0xc]
MOV EDX,dword ptr [ECX + 0x8]
CMP EDI,EDX
JA 0x001e7ea0
MOV EDX,dword ptr [EBP + -0x30]
MOVZX EBX,byte ptr [EBP + -0x38]
ADD dword ptr [EBP + -0x2c],0x1
MOV byte ptr [EAX + EDX*0x1],BL
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX + 0x4],EDI
MOV EAX,dword ptr [EAX]
MOV byte ptr [EAX + EDX*0x1 + 0x1],0x0
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [ESI + 0xc]
CMP EAX,EDX
JNC 0x001e7f38
ADD EAX,0x1
MOV dword ptr [ESI + 0x8],EAX
CMP EAX,EDX
JC 0x001e7dcb
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
CMP dword ptr [EBP + -0x2c],0x7ffffffe
JA 0x001e7ed2
CMP EAX,-0x1
JNZ 0x001e7ddb
MOV EDX,dword ptr [EBP + -0x2c]
TEST EDX,EDX
JNZ 0x001e7f49
MOV EAX,0x6
JMP 0x001e7ceb
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EBP + -0x30]
PUSH dword ptr [EBP + 0xc]
CALL 0x001eeaa0
MOV EAX,dword ptr [EBP + 0xc]
ADD ESP,0x20
MOV EAX,dword ptr [EAX]
JMP 0x001e7e2c
MOV EDX,0xf
JMP 0x001e7e28
CMP EAX,-0x1
JZ 0x001e7f49
LEA ESI,[ESI]
NOP
CMP dword ptr [EBP + -0x3c],EAX
JNZ 0x001e7ce6
ADD dword ptr [EBP + -0x2c],0x1
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [EBP + -0x2c]
CMP dword ptr [ESI + 0xc],EAX
JBE 0x001e7f18
ADD EAX,0x1
MOV dword ptr [ESI + 0x8],EAX
TEST EDX,EDX
JZ 0x001e7ce6
JMP 0x001e7d06
ADD dword ptr [EBP + -0x2c],0x1
CMP EDX,EDI
JC 0x001e7f87
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x28]
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001e7ce6
JMP 0x001e7d06
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x001e7fb2
MOV EAX,0x2
JMP 0x001e7ceb
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x001e7e8c
MOV EDI,dword ptr [ESI + 0xc]
MOV EDX,dword ptr [ESI + 0x8]
JMP 0x001e7d4f
CMP EDX,EDI
JNC 0x001e7f92
ADD EDX,0x1
MOV dword ptr [ESI + 0x8],EDX
JMP 0x001e7d06
ADD EDX,0x1
MOV dword ptr [ESI + 0x8],EDX
JMP 0x001e7d06
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
JMP 0x001e7d06
SUB ESP,0xc
LEA EAX,[EBX + 0xffef7be2]
PUSH EAX
CALL 0x0022c7a0
MOV EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [ESI + 0xc]
JMP 0x001e7e5b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" * (function_declarator "FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" identifier (parameter_list "(int *param_1,int *param_2,byte param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte param_3" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1e7cbb;" (assignment_expression "uStack_14 = 0x1e7cbb" identifier = number_literal) ;) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" if (parenthesized_expression "(local_1d[0] != '\0')" ( (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" { (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)*param_2 = 0;" (assignment_expression "*(undefined1 *)*param_2 = 0" (pointer_expression "*(undefined1 *)*param_2" * (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) = number_literal) ;) (expression_statement "uVar2 = (uint)param_3;" (assignment_expression "uVar2 = (uint)param_3" identifier = (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" { (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_001e7d4f:\n      local_30 = 0;" statement_identifier : (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;)) (if_statement "if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" if (parenthesized_expression "(uVar2 == uVar3)" ( (binary_expression "uVar2 == uVar3" identifier == identifier) )) (compound_statement "{\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" { (if_statement "if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" { (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar7 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar7 + 1)" ( (binary_expression "pbVar7 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7dea:\n      iVar9 = param_2[1];" statement_identifier : (expression_statement "iVar9 = param_2[1];" (assignment_expression "iVar9 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;)) (expression_statement "__n = (int)pbVar6 - (int)pbVar7;" (assignment_expression "__n = (int)pbVar6 - (int)pbVar7" identifier = (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }" if (parenthesized_expression "((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7)" ( (binary_expression "(int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7" (cast_expression "(int)(0x7fffffff - local_30)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(0x7fffffff - local_30)" ( (binary_expression "0x7fffffff - local_30" number_literal - identifier) ))) <= (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        __n = 0x7fffffff - local_30;\n      }" { (expression_statement "__n = 0x7fffffff - local_30;" (assignment_expression "__n = 0x7fffffff - local_30" identifier = (binary_expression "0x7fffffff - local_30" number_literal - identifier)) ;) })) (if_statement "if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" if (parenthesized_expression "((int)__n < 2)" ( (binary_expression "(int)__n < 2" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }" { (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }" if (parenthesized_expression "(piVar5 == param_2 + 2)" ( (binary_expression "piVar5 == param_2 + 2" identifier == (binary_expression "param_2 + 2" identifier + number_literal)) )) (compound_statement "{\n          uVar8 = 0xf;\n        }" { (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n          uVar8 = param_2[2];\n        }" else (compound_statement "{\n          uVar8 = param_2[2];\n        }" { (expression_statement "uVar8 = param_2[2];" (assignment_expression "uVar8 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" if (parenthesized_expression "(uVar8 < iVar9 + 1U)" ( (binary_expression "uVar8 < iVar9 + 1U" identifier < (binary_expression "iVar9 + 1U" identifier + number_literal)) )) (compound_statement "{\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" { (expression_statement "FUN_001eeaa0(param_2,iVar9,0,0,1);" (call_expression "FUN_001eeaa0(param_2,iVar9,0,0,1)" identifier (argument_list "(param_2,iVar9,0,0,1)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) })) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)piVar5 + iVar9) = (char)uVar3;" (assignment_expression "*(char *)((int)piVar5 + iVar9) = (char)uVar3" (pointer_expression "*(char *)((int)piVar5 + iVar9)" * (cast_expression "(char *)((int)piVar5 + iVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + iVar9)" ( (binary_expression "(int)piVar5 + iVar9" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = iVar9 + 1U;" (assignment_expression "param_2[1] = iVar9 + 1U" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "iVar9 + 1U" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(*param_2 + 1 + iVar9) = 0;" (assignment_expression "*(undefined1 *)(*param_2 + 1 + iVar9) = 0" (pointer_expression "*(undefined1 *)(*param_2 + 1 + iVar9)" * (cast_expression "(undefined1 *)(*param_2 + 1 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 1 + iVar9)" ( (binary_expression "*param_2 + 1 + iVar9" (binary_expression "*param_2 + 1" (pointer_expression "*param_2" * identifier) + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" if (parenthesized_expression "((byte *)piVar1[2] < pbVar7)" ( (binary_expression "(byte *)piVar1[2] < pbVar7" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" { (expression_statement "pbVar6 = (byte *)piVar1[2] + 1;" (assignment_expression "pbVar6 = (byte *)piVar1[2] + 1" identifier = (binary_expression "(byte *)piVar1[2] + 1" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;" statement_identifier : (if_statement "if (pbVar6 < pbVar7) goto LAB_001e7dcb;" if (parenthesized_expression "(pbVar6 < pbVar7)" ( (binary_expression "pbVar6 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_001e7dcb;" goto statement_identifier ;))) (goto_statement "goto LAB_001e7e63;" goto statement_identifier ;) })) (expression_statement "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" if (parenthesized_expression "(iVar9 != -1)" ( (binary_expression "iVar9 != -1" identifier != number_literal) )) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" { (expression_statement "pbVar6 = (byte *)piVar1[2];" (assignment_expression "pbVar6 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7e5b;" goto statement_identifier ;) })) }) (else_clause "else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" else (compound_statement "{\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" { (expression_statement "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);" (assignment_expression "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n)" identifier = (call_expression "memchr(pbVar7,(int)(char)param_3,__n)" identifier (argument_list "(pbVar7,(int)(char)param_3,__n)" ( identifier , (cast_expression "(int)(char)param_3" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier )))) ;) (if_statement "if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" if (parenthesized_expression "(pvVar4 != (void *)0x0)" ( (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" { (expression_statement "__n = (int)pvVar4 - (int)pbVar7;" (assignment_expression "__n = (int)pvVar4 - (int)pbVar7" identifier = (binary_expression "(int)pvVar4 - (int)pbVar7" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (0x7fffffffU - iVar9 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }" if (parenthesized_expression "(0x7fffffffU - iVar9 < __n)" ( (binary_expression "0x7fffffffU - iVar9 < __n" (binary_expression "0x7fffffffU - iVar9" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          FUN_0022c7a0("basic_string::append");\n        }" { comment comment (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })) comment (expression_statement "FUN_001f05c0(param_2,pbVar7,__n);" (call_expression "FUN_001f05c0(param_2,pbVar7,__n)" identifier (argument_list "(param_2,pbVar7,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_30 = local_30 + __n;" (assignment_expression "local_30 = local_30 + __n" identifier = (binary_expression "local_30 + __n" identifier + identifier)) ;) (expression_statement "pbVar6 = (byte *)(piVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(piVar1[2] + __n)" identifier = (cast_expression "(byte *)(piVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1[2] + __n)" ( (binary_expression "piVar1[2] + __n" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" if (parenthesized_expression "(pbVar6 < (byte *)piVar1[3])" ( (binary_expression "pbVar6 < (byte *)piVar1[3]" identifier < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" { (labeled_statement "LAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;" statement_identifier : (expression_statement "uVar3 = (uint)*pbVar6;" (assignment_expression "uVar3 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;)) (if_statement "if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" { (labeled_statement "LAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;" statement_identifier : (if_statement "if (uVar2 != uVar3) goto LAB_001e7ce6;" if (parenthesized_expression "(uVar2 != uVar3)" ( (binary_expression "uVar2 != uVar3" identifier != identifier) )) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;" if (parenthesized_expression "((uint)piVar1[3] <= (uint)piVar1[2])" ( (binary_expression "(uint)piVar1[3] <= (uint)piVar1[2]" (cast_expression "(uint)piVar1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[3]" identifier [ number_literal ])) <= (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_001e7f18;" goto statement_identifier ;)) (expression_statement "piVar1[2] = piVar1[2] + 1;" (assignment_expression "piVar1[2] = piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (binary_expression "piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (goto_statement "goto joined_r0x001e7f00;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];" statement_identifier : (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;)) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (uVar3 == uVar2) goto LAB_001e7f10;" if (parenthesized_expression "(uVar3 == uVar2)" ( (binary_expression "uVar3 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_001e7f10;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7dea;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" statement_identifier : (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;)) (if_statement "if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" { (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ee0;" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ee0;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7f49;" goto statement_identifier ;) })) (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ddb;" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ddb;" goto statement_identifier ;)) (if_statement "if (local_30 == 0) goto LAB_001e7e8c;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e7e8c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_001e7f49:\n      uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) comment (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" { (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7d4f;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e8c:\n    uVar2 = 6;" statement_identifier : (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" identifier = number_literal) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;) (labeled_statement "LAB_001e7f10:\n  local_30 = local_30 + 1;" statement_identifier : (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" { (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar7 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar7 + 1)" ( (binary_expression "pbVar7 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);" statement_identifier : (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;)) (labeled_statement "joined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_30 != 0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (labeled_statement "LAB_001e7ce6:\n  uVar2 = 4;" statement_identifier : (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;)) (labeled_statement "LAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" statement_identifier : (expression_statement "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;)) (expression_statement "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));" (call_expression "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" identifier (argument_list "(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" ( identifier , (binary_expression "uVar2 | *(uint *)(iVar9 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar9 + 0x14)" * (cast_expression "(uint *)(iVar9 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::istream& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::istream&,\n   std::string&, char) */\n\nistream * std::getline<char,std::char_traits<char>,std::allocator<char>>\n                    (istream *param_1,string *param_2,char param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  _Ios_Iostate _Var4;\n  uint uVar5;\n  void *pvVar6;\n  string *psVar7;\n  byte *pbVar8;\n  int iVar9;\n  byte *pbVar10;\n  uint uVar11;\n  size_t __n;\n  uint local_30;\n  sentry local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  istream::sentry::sentry(local_1d,(istream *)param_1,true);\n  if (local_1d[0] != (sentry)0x0) {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar3 = (uint)(byte)param_3;\n    piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    pbVar10 = (byte *)piVar1[2];\n    pbVar8 = (byte *)piVar1[3];\n    if (pbVar10 < pbVar8) {\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar5 != 0xffffffff) {\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    _Var4 = _S_failbit|_S_eofbit;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar10 < pbVar8) {\n    piVar1[2] = (int)(pbVar10 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  _Var4 = _S_failbit;\nLAB_001e7ceb:\n  ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}\n\n" comment comment comment (ERROR "istream * std::getline<char," (binary_expression "istream * std::getline<char" (binary_expression "istream * std" identifier * identifier) (ERROR "::getline" : : identifier) < identifier) ,) (labeled_statement "std::char_traits<char>,std::allocator<char>>\n                    (istream *param_1,string *param_2,char param_3)" statement_identifier (ERROR "::char_traits<char>,std:" : : (binary_expression "char_traits<char>,std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) :) : (expression_statement "allocator<char>>\n                    (istream *param_1,string *param_2,char param_3)" (binary_expression "allocator<char>>\n                    (istream *param_1,string *param_2,char param_3)" identifier < (binary_expression "char>>\n                    (istream *param_1,string *param_2,char param_3)" identifier >> (parenthesized_expression "(istream *param_1,string *param_2,char param_3)" ( (comma_expression "istream *param_1,string *param_2,char param_3" (binary_expression "istream *param_1" identifier * identifier) , (comma_expression "string *param_2,char param_3" (binary_expression "string *param_2" identifier * identifier) , (ERROR "char" identifier) identifier)) )))) ;)) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  _Ios_Iostate _Var4;\n  uint uVar5;\n  void *pvVar6;\n  string *psVar7;\n  byte *pbVar8;\n  int iVar9;\n  byte *pbVar10;\n  uint uVar11;\n  size_t __n;\n  uint local_30;\n  sentry local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  istream::sentry::sentry(local_1d,(istream *)param_1,true);\n  if (local_1d[0] != (sentry)0x0) {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar3 = (uint)(byte)param_3;\n    piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    pbVar10 = (byte *)piVar1[2];\n    pbVar8 = (byte *)piVar1[3];\n    if (pbVar10 < pbVar8) {\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar5 != 0xffffffff) {\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    _Var4 = _S_failbit|_S_eofbit;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar10 < pbVar8) {\n    piVar1[2] = (int)(pbVar10 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  _Var4 = _S_failbit;\nLAB_001e7ceb:\n  ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "_Ios_Iostate _Var4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "string *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "sentry local_1d [9];" type_identifier (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1e7cbb;" (assignment_expression "uStack_14 = 0x1e7cbb" identifier = number_literal) ;) (labeled_statement "istream::sentry::sentry(local_1d,(istream *)param_1,true);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(local_1d,(istream *)param_1,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1d,(istream *)param_1,true);" (call_expression "sentry(local_1d,(istream *)param_1,true)" identifier (argument_list "(local_1d,(istream *)param_1,true)" ( identifier , (cast_expression "(istream *)param_1" ( (type_descriptor "istream *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , true ))) ;))) (if_statement "if (local_1d[0] != (sentry)0x0) {\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar3 = (uint)(byte)param_3;\n    piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    pbVar10 = (byte *)piVar1[2];\n    pbVar8 = (byte *)piVar1[3];\n    if (pbVar10 < pbVar8) {\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar5 != 0xffffffff) {\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    _Var4 = _S_failbit|_S_eofbit;\n    goto LAB_001e7ceb;\n  }" if (parenthesized_expression "(local_1d[0] != (sentry)0x0)" ( (binary_expression "local_1d[0] != (sentry)0x0" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    *(undefined4 *)(param_2 + 4) = 0;\n    **(undefined1 **)param_2 = 0;\n    uVar3 = (uint)(byte)param_3;\n    piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);\n    pbVar10 = (byte *)piVar1[2];\n    pbVar8 = (byte *)piVar1[3];\n    if (pbVar10 < pbVar8) {\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }\n                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */\n    uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar5 != 0xffffffff) {\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    _Var4 = _S_failbit|_S_eofbit;\n    goto LAB_001e7ceb;\n  }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 0" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "**(undefined1 **)param_2 = 0;" (assignment_expression "**(undefined1 **)param_2 = 0" (pointer_expression "**(undefined1 **)param_2" * (pointer_expression "*(undefined1 **)param_2" * (cast_expression "(undefined1 **)param_2" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) = number_literal) ;) (expression_statement "uVar3 = (uint)(byte)param_3;" (assignment_expression "uVar3 = (uint)(byte)param_3" identifier = (cast_expression "(uint)(byte)param_3" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" * (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x78" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "pbVar10 = (byte *)piVar1[2];" (assignment_expression "pbVar10 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar8 = (byte *)piVar1[3];" (assignment_expression "pbVar8 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar10 < pbVar8) {\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }" if (parenthesized_expression "(pbVar10 < pbVar8)" ( (binary_expression "pbVar10 < pbVar8" identifier < identifier) )) (compound_statement "{\n      uVar5 = (uint)*pbVar10;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);\n      __n = (int)pbVar8 - (int)pbVar10;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      _Var4 = _S_eofbit;\n      goto LAB_001e7ceb;\n    }" { (expression_statement "uVar5 = (uint)*pbVar10;" (assignment_expression "uVar5 = (uint)*pbVar10" identifier = (binary_expression "(uint)*pbVar10" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_001e7d4f:\n      local_30 = 0;" statement_identifier : (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;)) (if_statement "if (uVar3 == uVar5) {\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" if (parenthesized_expression "(uVar3 == uVar5)" ( (binary_expression "uVar3 == uVar5" identifier == identifier) )) (compound_statement "{\n        if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }\n                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */\n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" { (if_statement "if (pbVar10 < pbVar8) {\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }" if (parenthesized_expression "(pbVar10 < pbVar8)" ( (binary_expression "pbVar10 < pbVar8" identifier < identifier) )) (compound_statement "{\n          piVar1[2] = (int)(pbVar10 + 1);\n          return param_1;\n        }" { (expression_statement "piVar1[2] = (int)(pbVar10 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar10 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar10 + 1)" ( (binary_expression "pbVar10 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7dea:\n      uVar2 = *(uint *)(param_2 + 4);" statement_identifier : (expression_statement "uVar2 = *(uint *)(param_2 + 4);" (assignment_expression "uVar2 = *(uint *)(param_2 + 4)" identifier = (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;)) (expression_statement "__n = (int)pbVar8 - (int)pbVar10;" (assignment_expression "__n = (int)pbVar8 - (int)pbVar10" identifier = (binary_expression "(int)pbVar8 - (int)pbVar10" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10) {\n        __n = 0x7fffffff - local_30;\n      }" if (parenthesized_expression "((int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10)" ( (binary_expression "(int)(0x7fffffff - local_30) <= (int)pbVar8 - (int)pbVar10" (cast_expression "(int)(0x7fffffff - local_30)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(0x7fffffff - local_30)" ( (binary_expression "0x7fffffff - local_30" number_literal - identifier) ))) <= (binary_expression "(int)pbVar8 - (int)pbVar10" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar10" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        __n = 0x7fffffff - local_30;\n      }" { (expression_statement "__n = 0x7fffffff - local_30;" (assignment_expression "__n = 0x7fffffff - local_30" identifier = (binary_expression "0x7fffffff - local_30" number_literal - identifier)) ;) })) (if_statement "if ((int)__n < 2) {\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" if (parenthesized_expression "((int)__n < 2)" ( (binary_expression "(int)__n < 2" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        psVar7 = *(string **)param_2;\n        if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }\n        if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }\n        local_30 = local_30 + 1;\n        psVar7[uVar2] = SUB41(uVar5,0);\n        *(uint *)(param_2 + 4) = uVar2 + 1;\n        *(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;\n        pbVar10 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }" { (expression_statement "psVar7 = *(string **)param_2;" (assignment_expression "psVar7 = *(string **)param_2" identifier = (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (psVar7 == param_2 + 8) {\n          uVar11 = 0xf;\n        }\n        else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }" if (parenthesized_expression "(psVar7 == param_2 + 8)" ( (binary_expression "psVar7 == param_2 + 8" identifier == (binary_expression "param_2 + 8" identifier + number_literal)) )) (compound_statement "{\n          uVar11 = 0xf;\n        }" { (expression_statement "uVar11 = 0xf;" (assignment_expression "uVar11 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n          uVar11 = *(uint *)(param_2 + 8);\n        }" else (compound_statement "{\n          uVar11 = *(uint *)(param_2 + 8);\n        }" { (expression_statement "uVar11 = *(uint *)(param_2 + 8);" (assignment_expression "uVar11 = *(uint *)(param_2 + 8)" identifier = (pointer_expression "*(uint *)(param_2 + 8)" * (cast_expression "(uint *)(param_2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) }))) (if_statement "if (uVar11 < uVar2 + 1) {\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }" if (parenthesized_expression "(uVar11 < uVar2 + 1)" ( (binary_expression "uVar11 < uVar2 + 1" identifier < (binary_expression "uVar2 + 1" identifier + number_literal)) )) (compound_statement "{\n          string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);\n          psVar7 = *(string **)param_2;\n        }" { (labeled_statement "string::_M_mutate(param_2,uVar2,0,(char *)0x0,1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate(param_2,uVar2,0,(char *)0x0,1);" (call_expression "_M_mutate(param_2,uVar2,0,(char *)0x0,1)" identifier (argument_list "(param_2,uVar2,0,(char *)0x0,1)" ( identifier , identifier , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;)) (expression_statement "psVar7 = *(string **)param_2;" (assignment_expression "psVar7 = *(string **)param_2" identifier = (pointer_expression "*(string **)param_2" * (cast_expression "(string **)param_2" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "psVar7[uVar2] = SUB41(uVar5,0);" (assignment_expression "psVar7[uVar2] = SUB41(uVar5,0)" (subscript_expression "psVar7[uVar2]" identifier [ identifier ]) = (call_expression "SUB41(uVar5,0)" identifier (argument_list "(uVar5,0)" ( identifier , number_literal )))) ;) (expression_statement "*(uint *)(param_2 + 4) = uVar2 + 1;" (assignment_expression "*(uint *)(param_2 + 4) = uVar2 + 1" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0;" (assignment_expression "*(undefined1 *)(*(int *)param_2 + 1 + uVar2) = 0" (pointer_expression "*(undefined1 *)(*(int *)param_2 + 1 + uVar2)" * (cast_expression "(undefined1 *)(*(int *)param_2 + 1 + uVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_2 + 1 + uVar2)" ( (binary_expression "*(int *)param_2 + 1 + uVar2" (binary_expression "*(int *)param_2 + 1" (pointer_expression "*(int *)param_2" * (cast_expression "(int *)param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "pbVar10 = (byte *)piVar1[3];" (assignment_expression "pbVar10 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)piVar1[2] < pbVar10) {\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" if (parenthesized_expression "((byte *)piVar1[2] < pbVar10)" ( (binary_expression "(byte *)piVar1[2] < pbVar10" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar8 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar8;\nLAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" { (expression_statement "pbVar8 = (byte *)piVar1[2] + 1;" (assignment_expression "pbVar8 = (byte *)piVar1[2] + 1" identifier = (binary_expression "(byte *)piVar1[2] + 1" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "piVar1[2] = (int)pbVar8;" (assignment_expression "piVar1[2] = (int)pbVar8" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_001e7e5b:\n          if (pbVar8 < pbVar10) goto LAB_001e7dcb;" statement_identifier : (if_statement "if (pbVar8 < pbVar10) goto LAB_001e7dcb;" if (parenthesized_expression "(pbVar8 < pbVar10)" ( (binary_expression "pbVar8 < pbVar10" identifier < identifier) )) (goto_statement "goto LAB_001e7dcb;" goto statement_identifier ;))) (goto_statement "goto LAB_001e7e63;" goto statement_identifier ;) })) (expression_statement "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar9 != -1) {\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" if (parenthesized_expression "(iVar9 != -1)" ( (binary_expression "iVar9 != -1" identifier != number_literal) )) (compound_statement "{\n          pbVar8 = (byte *)piVar1[2];\n          pbVar10 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" { (expression_statement "pbVar8 = (byte *)piVar1[2];" (assignment_expression "pbVar8 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar10 = (byte *)piVar1[3];" (assignment_expression "pbVar10 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7e5b;" goto statement_identifier ;) })) }) (else_clause "else {\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" else (compound_statement "{\n        pvVar6 = memchr(pbVar10,(int)param_3,__n);\n        if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }\n        if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }\n                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */\n        string::_M_append(param_2,(char *)pbVar10,__n);\n        local_30 = local_30 + __n;\n        pbVar8 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar8;\n        if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar5 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" { (expression_statement "pvVar6 = memchr(pbVar10,(int)param_3,__n);" (assignment_expression "pvVar6 = memchr(pbVar10,(int)param_3,__n)" identifier = (call_expression "memchr(pbVar10,(int)param_3,__n)" identifier (argument_list "(pbVar10,(int)param_3,__n)" ( identifier , (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (pvVar6 != (void *)0x0) {\n          __n = (int)pvVar6 - (int)pbVar10;\n        }" if (parenthesized_expression "(pvVar6 != (void *)0x0)" ( (binary_expression "pvVar6 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          __n = (int)pvVar6 - (int)pbVar10;\n        }" { (expression_statement "__n = (int)pvVar6 - (int)pbVar10;" (assignment_expression "__n = (int)pvVar6 - (int)pbVar10" identifier = (binary_expression "(int)pvVar6 - (int)pbVar10" (cast_expression "(int)pvVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (0x7fffffff - uVar2 < __n) {\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }" if (parenthesized_expression "(0x7fffffff - uVar2 < __n)" ( (binary_expression "0x7fffffff - uVar2 < __n" (binary_expression "0x7fffffff - uVar2" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */\n          __throw_length_error("basic_string::append");\n        }" { comment comment (expression_statement "__throw_length_error("basic_string::append");" (call_expression "__throw_length_error("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })) comment (labeled_statement "string::_M_append(param_2,(char *)pbVar10,__n);" statement_identifier : (ERROR ":" :) (expression_statement "_M_append(param_2,(char *)pbVar10,__n);" (call_expression "_M_append(param_2,(char *)pbVar10,__n)" identifier (argument_list "(param_2,(char *)pbVar10,__n)" ( identifier , (cast_expression "(char *)pbVar10" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;)) (expression_statement "local_30 = local_30 + __n;" (assignment_expression "local_30 = local_30 + __n" identifier = (binary_expression "local_30 + __n" identifier + identifier)) ;) (expression_statement "pbVar8 = (byte *)(piVar1[2] + __n);" (assignment_expression "pbVar8 = (byte *)(piVar1[2] + __n)" identifier = (cast_expression "(byte *)(piVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1[2] + __n)" ( (binary_expression "piVar1[2] + __n" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar1[2] = (int)pbVar8;" (assignment_expression "piVar1[2] = (int)pbVar8" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar8 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" if (parenthesized_expression "(pbVar8 < (byte *)piVar1[3])" ( (binary_expression "pbVar8 < (byte *)piVar1[3]" identifier < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];\n          pbVar8 = (byte *)piVar1[3];\n          if (uVar5 == uVar3) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" { (labeled_statement "LAB_001e7dcb:\n          uVar5 = (uint)*pbVar8;" statement_identifier : (expression_statement "uVar5 = (uint)*pbVar8;" (assignment_expression "uVar5 = (uint)*pbVar8" identifier = (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;)) (if_statement "if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\nLAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" { (labeled_statement "LAB_001e7ee0:\n            if (uVar3 != uVar5) goto LAB_001e7ce6;" statement_identifier : (if_statement "if (uVar3 != uVar5) goto LAB_001e7ce6;" if (parenthesized_expression "(uVar3 != uVar5)" ( (binary_expression "uVar3 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;" if (parenthesized_expression "((uint)piVar1[3] <= (uint)piVar1[2])" ( (binary_expression "(uint)piVar1[3] <= (uint)piVar1[2]" (cast_expression "(uint)piVar1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[3]" identifier [ number_literal ])) <= (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_001e7f18;" goto statement_identifier ;)) (expression_statement "piVar1[2] = piVar1[2] + 1;" (assignment_expression "piVar1[2] = piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (binary_expression "piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (goto_statement "goto joined_r0x001e7f00;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7ddb:\n          pbVar10 = (byte *)piVar1[2];" statement_identifier : (expression_statement "pbVar10 = (byte *)piVar1[2];" (assignment_expression "pbVar10 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;)) (expression_statement "pbVar8 = (byte *)piVar1[3];" (assignment_expression "pbVar8 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (uVar5 == uVar3) goto LAB_001e7f10;" if (parenthesized_expression "(uVar5 == uVar3)" ( (binary_expression "uVar5 == uVar3" identifier == identifier) )) (goto_statement "goto LAB_001e7f10;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7dea;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e63:\n        uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);" statement_identifier : (expression_statement "uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;)) (if_statement "if (0x7ffffffe < local_30) {\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\n          if (uVar5 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" { (if_statement "if (uVar5 != 0xffffffff) goto LAB_001e7ee0;" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ee0;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7f49;" goto statement_identifier ;) })) (if_statement "if (uVar5 != 0xffffffff) goto LAB_001e7ddb;" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ddb;" goto statement_identifier ;)) (if_statement "if (local_30 == 0) goto LAB_001e7e8c;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e7e8c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_001e7f49:\n      _Var4 = _S_eofbit;" statement_identifier : (expression_statement "_Var4 = _S_eofbit;" (assignment_expression "_Var4 = _S_eofbit" identifier = identifier) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) comment (expression_statement "uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar5 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (uVar5 != 0xffffffff) {\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" if (parenthesized_expression "(uVar5 != 0xffffffff)" ( (binary_expression "uVar5 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      pbVar8 = (byte *)piVar1[3];\n      pbVar10 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" { (expression_statement "pbVar8 = (byte *)piVar1[3];" (assignment_expression "pbVar8 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar10 = (byte *)piVar1[2];" (assignment_expression "pbVar10 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7d4f;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e8c:\n    _Var4 = _S_failbit|_S_eofbit;" statement_identifier : (expression_statement "_Var4 = _S_failbit|_S_eofbit;" (assignment_expression "_Var4 = _S_failbit|_S_eofbit" identifier = (binary_expression "_S_failbit|_S_eofbit" identifier | identifier)) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;) (labeled_statement "LAB_001e7f10:\n  local_30 = local_30 + 1;" statement_identifier : (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar10 < pbVar8) {\n    piVar1[2] = (int)(pbVar10 + 1);\n    return param_1;\n  }" if (parenthesized_expression "(pbVar10 < pbVar8)" ( (binary_expression "pbVar10 < pbVar8" identifier < identifier) )) (compound_statement "{\n    piVar1[2] = (int)(pbVar10 + 1);\n    return param_1;\n  }" { (expression_statement "piVar1[2] = (int)(pbVar10 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar10 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar10 + 1)" ( (binary_expression "pbVar10 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);" statement_identifier : (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;)) (labeled_statement "joined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_30 != 0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (labeled_statement "LAB_001e7ce6:\n  _Var4 = _S_failbit;" statement_identifier : (expression_statement "_Var4 = _S_failbit;" (assignment_expression "_Var4 = _S_failbit" identifier = identifier) ;)) (labeled_statement "LAB_001e7ceb:\n  ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (labeled_statement "ios::clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14));" (call_expression "clear((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" identifier (argument_list "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)),\n             _Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14))" ( (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) , (binary_expression "_Var4 | *(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" identifier | (pointer_expression "*(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" * (cast_expression "(_Ios_Iostate *)((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14)" ( (binary_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc)) + 0x14" (cast_expression "(ios *)(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc))" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "int * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" * (function_declarator "FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" identifier (parameter_list "(int *param_1,int *param_2,byte param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "byte param_3" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1e7cbb;" (assignment_expression "uStack_14 = 0x1e7cbb" identifier = number_literal) ;) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" identifier (argument_list "(local_1d,param_1,1)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" if (parenthesized_expression "(local_1d[0] != '\0')" ( (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" { (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)*param_2 = 0;" (assignment_expression "*(undefined1 *)*param_2 = 0" (pointer_expression "*(undefined1 *)*param_2" * (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) = number_literal) ;) (expression_statement "uVar2 = (uint)param_3;" (assignment_expression "uVar2 = (uint)param_3" identifier = (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" { (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_001e7d4f:\n      local_30 = 0;" statement_identifier : (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;)) (if_statement "if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" if (parenthesized_expression "(uVar2 == uVar3)" ( (binary_expression "uVar2 == uVar3" identifier == identifier) )) (compound_statement "{\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" { (if_statement "if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" { (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar7 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar7 + 1)" ( (binary_expression "pbVar7 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7dea:\n      iVar9 = param_2[1];" statement_identifier : (expression_statement "iVar9 = param_2[1];" (assignment_expression "iVar9 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;)) (expression_statement "__n = (int)pbVar6 - (int)pbVar7;" (assignment_expression "__n = (int)pbVar6 - (int)pbVar7" identifier = (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }" if (parenthesized_expression "((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7)" ( (binary_expression "(int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7" (cast_expression "(int)(0x7fffffff - local_30)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(0x7fffffff - local_30)" ( (binary_expression "0x7fffffff - local_30" number_literal - identifier) ))) <= (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n        __n = 0x7fffffff - local_30;\n      }" { (expression_statement "__n = 0x7fffffff - local_30;" (assignment_expression "__n = 0x7fffffff - local_30" identifier = (binary_expression "0x7fffffff - local_30" number_literal - identifier)) ;) })) (if_statement "if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" if (parenthesized_expression "((int)__n < 2)" ( (binary_expression "(int)__n < 2" (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }" { (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }" if (parenthesized_expression "(piVar5 == param_2 + 2)" ( (binary_expression "piVar5 == param_2 + 2" identifier == (binary_expression "param_2 + 2" identifier + number_literal)) )) (compound_statement "{\n          uVar8 = 0xf;\n        }" { (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" identifier = number_literal) ;) }) (else_clause "else {\n          uVar8 = param_2[2];\n        }" else (compound_statement "{\n          uVar8 = param_2[2];\n        }" { (expression_statement "uVar8 = param_2[2];" (assignment_expression "uVar8 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) }))) (if_statement "if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" if (parenthesized_expression "(uVar8 < iVar9 + 1U)" ( (binary_expression "uVar8 < iVar9 + 1U" identifier < (binary_expression "iVar9 + 1U" identifier + number_literal)) )) (compound_statement "{\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" { (expression_statement "FUN_001eeaa0(param_2,iVar9,0,0,1);" (call_expression "FUN_001eeaa0(param_2,iVar9,0,0,1)" identifier (argument_list "(param_2,iVar9,0,0,1)" ( identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) })) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "*(char *)((int)piVar5 + iVar9) = (char)uVar3;" (assignment_expression "*(char *)((int)piVar5 + iVar9) = (char)uVar3" (pointer_expression "*(char *)((int)piVar5 + iVar9)" * (cast_expression "(char *)((int)piVar5 + iVar9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar5 + iVar9)" ( (binary_expression "(int)piVar5 + iVar9" (cast_expression "(int)piVar5" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "param_2[1] = iVar9 + 1U;" (assignment_expression "param_2[1] = iVar9 + 1U" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (binary_expression "iVar9 + 1U" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(*param_2 + 1 + iVar9) = 0;" (assignment_expression "*(undefined1 *)(*param_2 + 1 + iVar9) = 0" (pointer_expression "*(undefined1 *)(*param_2 + 1 + iVar9)" * (cast_expression "(undefined1 *)(*param_2 + 1 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + 1 + iVar9)" ( (binary_expression "*param_2 + 1 + iVar9" (binary_expression "*param_2 + 1" (pointer_expression "*param_2" * identifier) + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" if (parenthesized_expression "((byte *)piVar1[2] < pbVar7)" ( (binary_expression "(byte *)piVar1[2] < pbVar7" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" { (expression_statement "pbVar6 = (byte *)piVar1[2] + 1;" (assignment_expression "pbVar6 = (byte *)piVar1[2] + 1" identifier = (binary_expression "(byte *)piVar1[2] + 1" (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (labeled_statement "LAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;" statement_identifier : (if_statement "if (pbVar6 < pbVar7) goto LAB_001e7dcb;" if (parenthesized_expression "(pbVar6 < pbVar7)" ( (binary_expression "pbVar6 < pbVar7" identifier < identifier) )) (goto_statement "goto LAB_001e7dcb;" goto statement_identifier ;))) (goto_statement "goto LAB_001e7e63;" goto statement_identifier ;) })) (expression_statement "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" if (parenthesized_expression "(iVar9 != -1)" ( (binary_expression "iVar9 != -1" identifier != number_literal) )) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" { (expression_statement "pbVar6 = (byte *)piVar1[2];" (assignment_expression "pbVar6 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7e5b;" goto statement_identifier ;) })) }) (else_clause "else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" else (compound_statement "{\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" { (expression_statement "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);" (assignment_expression "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n)" identifier = (call_expression "memchr(pbVar7,(int)(char)param_3,__n)" identifier (argument_list "(pbVar7,(int)(char)param_3,__n)" ( identifier , (cast_expression "(int)(char)param_3" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier)) , identifier )))) ;) (if_statement "if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" if (parenthesized_expression "(pvVar4 != (void *)0x0)" ( (binary_expression "pvVar4 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" { (expression_statement "__n = (int)pvVar4 - (int)pbVar7;" (assignment_expression "__n = (int)pvVar4 - (int)pbVar7" identifier = (binary_expression "(int)pvVar4 - (int)pbVar7" (cast_expression "(int)pvVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }" if (parenthesized_expression "(0x7fffffffU - iVar9 < __n)" ( (binary_expression "0x7fffffffU - iVar9 < __n" (binary_expression "0x7fffffffU - iVar9" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }" { (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })) (expression_statement "FUN_001f05c0(param_2,pbVar7,__n);" (call_expression "FUN_001f05c0(param_2,pbVar7,__n)" identifier (argument_list "(param_2,pbVar7,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "local_30 = local_30 + __n;" (assignment_expression "local_30 = local_30 + __n" identifier = (binary_expression "local_30 + __n" identifier + identifier)) ;) (expression_statement "pbVar6 = (byte *)(piVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(piVar1[2] + __n)" identifier = (cast_expression "(byte *)(piVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1[2] + __n)" ( (binary_expression "piVar1[2] + __n" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)pbVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" if (parenthesized_expression "(pbVar6 < (byte *)piVar1[3])" ( (binary_expression "pbVar6 < (byte *)piVar1[3]" identifier < (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" { (labeled_statement "LAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;" statement_identifier : (expression_statement "uVar3 = (uint)*pbVar6;" (assignment_expression "uVar3 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;)) (if_statement "if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" { (labeled_statement "LAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;" statement_identifier : (if_statement "if (uVar2 != uVar3) goto LAB_001e7ce6;" if (parenthesized_expression "(uVar2 != uVar3)" ( (binary_expression "uVar2 != uVar3" identifier != identifier) )) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;" if (parenthesized_expression "((uint)piVar1[3] <= (uint)piVar1[2])" ( (binary_expression "(uint)piVar1[3] <= (uint)piVar1[2]" (cast_expression "(uint)piVar1[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[3]" identifier [ number_literal ])) <= (cast_expression "(uint)piVar1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) )) (goto_statement "goto LAB_001e7f18;" goto statement_identifier ;)) (expression_statement "piVar1[2] = piVar1[2] + 1;" (assignment_expression "piVar1[2] = piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (binary_expression "piVar1[2] + 1" (subscript_expression "piVar1[2]" identifier [ number_literal ]) + number_literal)) ;) (goto_statement "goto joined_r0x001e7f00;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];" statement_identifier : (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;)) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if (uVar3 == uVar2) goto LAB_001e7f10;" if (parenthesized_expression "(uVar3 == uVar2)" ( (binary_expression "uVar3 == uVar2" identifier == identifier) )) (goto_statement "goto LAB_001e7f10;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7dea;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" statement_identifier : (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;)) (if_statement "if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" if (parenthesized_expression "(0x7ffffffe < local_30)" ( (binary_expression "0x7ffffffe < local_30" number_literal < identifier) )) (compound_statement "{\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" { (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ee0;" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ee0;" goto statement_identifier ;)) (goto_statement "goto LAB_001e7f49;" goto statement_identifier ;) })) (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ddb;" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (goto_statement "goto LAB_001e7ddb;" goto statement_identifier ;)) (if_statement "if (local_30 == 0) goto LAB_001e7e8c;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e7e8c;" goto statement_identifier ;)) }))) (labeled_statement "LAB_001e7f49:\n      uVar2 = 2;" statement_identifier : (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" ( (pointer_expression "**(code **)(*piVar1 + 0x24)" * (pointer_expression "*(code **)(*piVar1 + 0x24)" * (cast_expression "(code **)(*piVar1 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x24)" ( (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" if (parenthesized_expression "(uVar3 != 0xffffffff)" ( (binary_expression "uVar3 != 0xffffffff" identifier != number_literal) )) (compound_statement "{\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" { (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" identifier = (cast_expression "(byte *)piVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[3]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" identifier = (cast_expression "(byte *)piVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_001e7d4f;" goto statement_identifier ;) })) (labeled_statement "LAB_001e7e8c:\n    uVar2 = 6;" statement_identifier : (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" identifier = number_literal) ;)) (goto_statement "goto LAB_001e7ceb;" goto statement_identifier ;) })) (goto_statement "goto LAB_001e7ce6;" goto statement_identifier ;) (labeled_statement "LAB_001e7f10:\n  local_30 = local_30 + 1;" statement_identifier : (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" if (parenthesized_expression "(pbVar7 < pbVar6)" ( (binary_expression "pbVar7 < pbVar6" identifier < identifier) )) (compound_statement "{\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" { (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = (cast_expression "(int)(pbVar7 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar7 + 1)" ( (binary_expression "pbVar7 + 1" identifier + number_literal) )))) ;) (return_statement "return param_1;" return identifier ;) })) (labeled_statement "LAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);" statement_identifier : (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" ( (pointer_expression "**(code **)(*piVar1 + 0x28)" * (pointer_expression "*(code **)(*piVar1 + 0x28)" * (cast_expression "(code **)(*piVar1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x28)" ( (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;)) (labeled_statement "joined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_30 != 0) {\n    return param_1;\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (labeled_statement "LAB_001e7ce6:\n  uVar2 = 4;" statement_identifier : (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" identifier = number_literal) ;)) (labeled_statement "LAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" statement_identifier : (expression_statement "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;)) (expression_statement "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));" (call_expression "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" identifier (argument_list "(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" ( identifier , (binary_expression "uVar2 | *(uint *)(iVar9 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar9 + 0x14)" * (cast_expression "(uint *)(iVar9 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (expression_statement (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 ))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression LIT - IDENT) ))) <= (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;))) (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (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 ))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001e7cb0(int *param_1,int *param_2,byte param_3)\n\n{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" (* "*") (function_declarator "FUN_001e7cb0(int *param_1,int *param_2,byte param_3)" (identifier "FUN_001e7cb0") (parameter_list "(int *param_1,int *param_2,byte param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "byte param_3" (type_identifier "byte") (identifier "param_3")) () ")")))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  uint uVar3;\n  void *pvVar4;\n  int *piVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  uint uVar8;\n  int iVar9;\n  size_t __n;\n  uint local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e7cbb;\n  FUN_0020a6a0(local_1d,param_1,1);\n  if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }\n  goto LAB_001e7ce6;\nLAB_001e7f10:\n  local_30 = local_30 + 1;\n  if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }\nLAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);\njoined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }\nLAB_001e7ce6:\n  uVar2 = 4;\nLAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);\n  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));\n  return param_1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "void *pvVar4;" (primitive_type "void") (pointer_declarator "*pvVar4" (* "*") (identifier "pvVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "char local_1d [9];" (primitive_type "char") (array_declarator "local_1d [9]" (identifier "local_1d") ([ "[") (number_literal "9") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1e7cbb;" (assignment_expression "uStack_14 = 0x1e7cbb" (identifier "uStack_14") (= "=") (number_literal "0x1e7cbb")) (; ";")) (expression_statement "FUN_0020a6a0(local_1d,param_1,1);" (call_expression "FUN_0020a6a0(local_1d,param_1,1)" (identifier "FUN_0020a6a0") (argument_list "(local_1d,param_1,1)" (( "(") (identifier "local_1d") (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if (local_1d[0] != '\0') {\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" (if "if") (parenthesized_expression "(local_1d[0] != '\0')" (( "(") (binary_expression "local_1d[0] != '\0'" (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    param_2[1] = 0;\n    *(undefined1 *)*param_2 = 0;\n    uVar2 = (uint)param_3;\n    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);\n    pbVar7 = (byte *)piVar1[2];\n    pbVar6 = (byte *)piVar1[3];\n    if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }\n                    \n    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n    if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }\nLAB_001e7e8c:\n    uVar2 = 6;\n    goto LAB_001e7ceb;\n  }" ({ "{") (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)*param_2 = 0;" (assignment_expression "*(undefined1 *)*param_2 = 0" (pointer_expression "*(undefined1 *)*param_2" (* "*") (cast_expression "(undefined1 *)*param_2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = (uint)param_3;" (assignment_expression "uVar2 = (uint)param_3" (identifier "uVar2") (= "=") (cast_expression "(uint)param_3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_3"))) (; ";")) (expression_statement "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);" (assignment_expression "piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" (identifier "pbVar7") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (pbVar7 < pbVar6) {\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" (if "if") (parenthesized_expression "(pbVar7 < pbVar6)" (( "(") (binary_expression "pbVar7 < pbVar6" (identifier "pbVar7") (< "<") (identifier "pbVar6")) () ")")) (compound_statement "{\n      uVar3 = (uint)*pbVar7;\nLAB_001e7d4f:\n      local_30 = 0;\n      if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }\nLAB_001e7dea:\n      iVar9 = param_2[1];\n      __n = (int)pbVar6 - (int)pbVar7;\n      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }\n      if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }\nLAB_001e7f49:\n      uVar2 = 2;\n      goto LAB_001e7ceb;\n    }" ({ "{") (expression_statement "uVar3 = (uint)*pbVar7;" (assignment_expression "uVar3 = (uint)*pbVar7" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7"))) (; ";")) (labeled_statement "LAB_001e7d4f:\n      local_30 = 0;" (statement_identifier "LAB_001e7d4f") (: ":") (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (uVar2 == uVar3) {\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" (if "if") (parenthesized_expression "(uVar2 == uVar3)" (( "(") (binary_expression "uVar2 == uVar3" (identifier "uVar2") (== "==") (identifier "uVar3")) () ")")) (compound_statement "{\n        if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }\n                    \n        (**(code **)(*piVar1 + 0x28))(piVar1);\n        return param_1;\n      }" ({ "{") (if_statement "if (pbVar7 < pbVar6) {\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" (if "if") (parenthesized_expression "(pbVar7 < pbVar6)" (( "(") (binary_expression "pbVar7 < pbVar6" (identifier "pbVar7") (< "<") (identifier "pbVar6")) () ")")) (compound_statement "{\n          piVar1[2] = (int)(pbVar7 + 1);\n          return param_1;\n        }" ({ "{") (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)(pbVar7 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar7 + 1)" (( "(") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (labeled_statement "LAB_001e7dea:\n      iVar9 = param_2[1];" (statement_identifier "LAB_001e7dea") (: ":") (expression_statement "iVar9 = param_2[1];" (assignment_expression "iVar9 = param_2[1]" (identifier "iVar9") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "__n = (int)pbVar6 - (int)pbVar7;" (assignment_expression "__n = (int)pbVar6 - (int)pbVar7" (identifier "__n") (= "=") (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar6")) (- "-") (cast_expression "(int)pbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar7")))) (; ";")) (if_statement "if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {\n        __n = 0x7fffffff - local_30;\n      }" (if "if") (parenthesized_expression "((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7)" (( "(") (binary_expression "(int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7" (cast_expression "(int)(0x7fffffff - local_30)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(0x7fffffff - local_30)" (( "(") (binary_expression "0x7fffffff - local_30" (number_literal "0x7fffffff") (- "-") (identifier "local_30")) () ")"))) (<= "<=") (binary_expression "(int)pbVar6 - (int)pbVar7" (cast_expression "(int)pbVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar6")) (- "-") (cast_expression "(int)pbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar7")))) () ")")) (compound_statement "{\n        __n = 0x7fffffff - local_30;\n      }" ({ "{") (expression_statement "__n = 0x7fffffff - local_30;" (assignment_expression "__n = 0x7fffffff - local_30" (identifier "__n") (= "=") (binary_expression "0x7fffffff - local_30" (number_literal "0x7fffffff") (- "-") (identifier "local_30"))) (; ";")) (} "}"))) (if_statement "if ((int)__n < 2) {\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }\n      else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" (if "if") (parenthesized_expression "((int)__n < 2)" (( "(") (binary_expression "(int)__n < 2" (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        piVar5 = (int *)*param_2;\n        if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }\n        if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }\n        local_30 = local_30 + 1;\n        *(char *)((int)piVar5 + iVar9) = (char)uVar3;\n        param_2[1] = iVar9 + 1U;\n        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;\n        pbVar7 = (byte *)piVar1[3];\n        if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }\n        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);\n        if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }\n      }" ({ "{") (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" (identifier "piVar5") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar5 == param_2 + 2) {\n          uVar8 = 0xf;\n        }\n        else {\n          uVar8 = param_2[2];\n        }" (if "if") (parenthesized_expression "(piVar5 == param_2 + 2)" (( "(") (binary_expression "piVar5 == param_2 + 2" (identifier "piVar5") (== "==") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n          uVar8 = 0xf;\n        }" ({ "{") (expression_statement "uVar8 = 0xf;" (assignment_expression "uVar8 = 0xf" (identifier "uVar8") (= "=") (number_literal "0xf")) (; ";")) (} "}")) (else_clause "else {\n          uVar8 = param_2[2];\n        }" (else "else") (compound_statement "{\n          uVar8 = param_2[2];\n        }" ({ "{") (expression_statement "uVar8 = param_2[2];" (assignment_expression "uVar8 = param_2[2]" (identifier "uVar8") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}")))) (if_statement "if (uVar8 < iVar9 + 1U) {\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" (if "if") (parenthesized_expression "(uVar8 < iVar9 + 1U)" (( "(") (binary_expression "uVar8 < iVar9 + 1U" (identifier "uVar8") (< "<") (binary_expression "iVar9 + 1U" (identifier "iVar9") (+ "+") (number_literal "1U"))) () ")")) (compound_statement "{\n          FUN_001eeaa0(param_2,iVar9,0,0,1);\n          piVar5 = (int *)*param_2;\n        }" ({ "{") (expression_statement "FUN_001eeaa0(param_2,iVar9,0,0,1);" (call_expression "FUN_001eeaa0(param_2,iVar9,0,0,1)" (identifier "FUN_001eeaa0") (argument_list "(param_2,iVar9,0,0,1)" (( "(") (identifier "param_2") (, ",") (identifier "iVar9") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "piVar5 = (int *)*param_2;" (assignment_expression "piVar5 = (int *)*param_2" (identifier "piVar5") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (} "}"))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char *)((int)piVar5 + iVar9) = (char)uVar3;" (assignment_expression "*(char *)((int)piVar5 + iVar9) = (char)uVar3" (pointer_expression "*(char *)((int)piVar5 + iVar9)" (* "*") (cast_expression "(char *)((int)piVar5 + iVar9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar5 + iVar9)" (( "(") (binary_expression "(int)piVar5 + iVar9" (cast_expression "(int)piVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar5")) (+ "+") (identifier "iVar9")) () ")")))) (= "=") (cast_expression "(char)uVar3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar3"))) (; ";")) (expression_statement "param_2[1] = iVar9 + 1U;" (assignment_expression "param_2[1] = iVar9 + 1U" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar9 + 1U" (identifier "iVar9") (+ "+") (number_literal "1U"))) (; ";")) (expression_statement "*(undefined1 *)(*param_2 + 1 + iVar9) = 0;" (assignment_expression "*(undefined1 *)(*param_2 + 1 + iVar9) = 0" (pointer_expression "*(undefined1 *)(*param_2 + 1 + iVar9)" (* "*") (cast_expression "(undefined1 *)(*param_2 + 1 + iVar9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + 1 + iVar9)" (( "(") (binary_expression "*param_2 + 1 + iVar9" (binary_expression "*param_2 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "1")) (+ "+") (identifier "iVar9")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" (identifier "pbVar7") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if ((byte *)piVar1[2] < pbVar7) {\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" (if "if") (parenthesized_expression "((byte *)piVar1[2] < pbVar7)" (( "(") (binary_expression "(byte *)piVar1[2] < pbVar7" (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]"))) (< "<") (identifier "pbVar7")) () ")")) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2] + 1;\n          piVar1[2] = (int)pbVar6;\nLAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;\n          goto LAB_001e7e63;\n        }" ({ "{") (expression_statement "pbVar6 = (byte *)piVar1[2] + 1;" (assignment_expression "pbVar6 = (byte *)piVar1[2] + 1" (identifier "pbVar6") (= "=") (binary_expression "(byte *)piVar1[2] + 1" (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar6"))) (; ";")) (labeled_statement "LAB_001e7e5b:\n          if (pbVar6 < pbVar7) goto LAB_001e7dcb;" (statement_identifier "LAB_001e7e5b") (: ":") (if_statement "if (pbVar6 < pbVar7) goto LAB_001e7dcb;" (if "if") (parenthesized_expression "(pbVar6 < pbVar7)" (( "(") (binary_expression "pbVar6 < pbVar7" (identifier "pbVar6") (< "<") (identifier "pbVar7")) () ")")) (goto_statement "goto LAB_001e7dcb;" (goto "goto") (statement_identifier "LAB_001e7dcb") (; ";")))) (goto_statement "goto LAB_001e7e63;" (goto "goto") (statement_identifier "LAB_001e7e63") (; ";")) (} "}"))) (expression_statement "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);" (assignment_expression "iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (iVar9 != -1) {\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" (if "if") (parenthesized_expression "(iVar9 != -1)" (( "(") (binary_expression "iVar9 != -1" (identifier "iVar9") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          pbVar6 = (byte *)piVar1[2];\n          pbVar7 = (byte *)piVar1[3];\n          goto LAB_001e7e5b;\n        }" ({ "{") (expression_statement "pbVar6 = (byte *)piVar1[2];" (assignment_expression "pbVar6 = (byte *)piVar1[2]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar7 = (byte *)piVar1[3];" (assignment_expression "pbVar7 = (byte *)piVar1[3]" (identifier "pbVar7") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (goto_statement "goto LAB_001e7e5b;" (goto "goto") (statement_identifier "LAB_001e7e5b") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" (else "else") (compound_statement "{\n        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);\n        if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }\n        if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }\n                    \n        FUN_001f05c0(param_2,pbVar7,__n);\n        local_30 = local_30 + __n;\n        pbVar6 = (byte *)(piVar1[2] + __n);\n        piVar1[2] = (int)pbVar6;\n        if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }\nLAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);\n        if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }\n        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;\n        if (local_30 == 0) goto LAB_001e7e8c;\n      }" ({ "{") (expression_statement "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);" (assignment_expression "pvVar4 = memchr(pbVar7,(int)(char)param_3,__n)" (identifier "pvVar4") (= "=") (call_expression "memchr(pbVar7,(int)(char)param_3,__n)" (identifier "memchr") (argument_list "(pbVar7,(int)(char)param_3,__n)" (( "(") (identifier "pbVar7") (, ",") (cast_expression "(int)(char)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)param_3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_3"))) (, ",") (identifier "__n") () ")")))) (; ";")) (if_statement "if (pvVar4 != (void *)0x0) {\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" (if "if") (parenthesized_expression "(pvVar4 != (void *)0x0)" (( "(") (binary_expression "pvVar4 != (void *)0x0" (identifier "pvVar4") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          __n = (int)pvVar4 - (int)pbVar7;\n        }" ({ "{") (expression_statement "__n = (int)pvVar4 - (int)pbVar7;" (assignment_expression "__n = (int)pvVar4 - (int)pbVar7" (identifier "__n") (= "=") (binary_expression "(int)pvVar4 - (int)pbVar7" (cast_expression "(int)pvVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar4")) (- "-") (cast_expression "(int)pbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar7")))) (; ";")) (} "}"))) (if_statement "if (0x7fffffffU - iVar9 < __n) {\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }" (if "if") (parenthesized_expression "(0x7fffffffU - iVar9 < __n)" (( "(") (binary_expression "0x7fffffffU - iVar9 < __n" (binary_expression "0x7fffffffU - iVar9" (number_literal "0x7fffffffU") (- "-") (identifier "iVar9")) (< "<") (identifier "__n")) () ")")) (compound_statement "{\n                    \n                    \n          FUN_0022c7a0("basic_string::append");\n        }" ({ "{") (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" (identifier "FUN_0022c7a0") (argument_list "("basic_string::append")" (( "(") (string_literal ""basic_string::append"" (" """) (string_content "basic_string::append") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001f05c0(param_2,pbVar7,__n);" (call_expression "FUN_001f05c0(param_2,pbVar7,__n)" (identifier "FUN_001f05c0") (argument_list "(param_2,pbVar7,__n)" (( "(") (identifier "param_2") (, ",") (identifier "pbVar7") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "local_30 = local_30 + __n;" (assignment_expression "local_30 = local_30 + __n" (identifier "local_30") (= "=") (binary_expression "local_30 + __n" (identifier "local_30") (+ "+") (identifier "__n"))) (; ";")) (expression_statement "pbVar6 = (byte *)(piVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(piVar1[2] + __n)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(piVar1[2] + __n)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1[2] + __n)" (( "(") (binary_expression "piVar1[2] + __n" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (expression_statement "piVar1[2] = (int)pbVar6;" (assignment_expression "piVar1[2] = (int)pbVar6" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)pbVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar6"))) (; ";")) (if_statement "if (pbVar6 < (byte *)piVar1[3]) {\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" (if "if") (parenthesized_expression "(pbVar6 < (byte *)piVar1[3])" (( "(") (binary_expression "pbVar6 < (byte *)piVar1[3]" (identifier "pbVar6") (< "<") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\nLAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;\n          if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }\nLAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];\n          pbVar6 = (byte *)piVar1[3];\n          if (uVar3 == uVar2) goto LAB_001e7f10;\n          goto LAB_001e7dea;\n        }" ({ "{") (labeled_statement "LAB_001e7dcb:\n          uVar3 = (uint)*pbVar6;" (statement_identifier "LAB_001e7dcb") (: ":") (expression_statement "uVar3 = (uint)*pbVar6;" (assignment_expression "uVar3 = (uint)*pbVar6" (identifier "uVar3") (= "=") (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar6"))) (; ";"))) (if_statement "if (0x7ffffffe < local_30) {\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" (if "if") (parenthesized_expression "(0x7ffffffe < local_30)" (( "(") (binary_expression "0x7ffffffe < local_30" (number_literal "0x7ffffffe") (< "<") (identifier "local_30")) () ")")) (compound_statement "{\nLAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;\n            local_30 = local_30 + 1;\n            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;\n            piVar1[2] = piVar1[2] + 1;\n            goto joined_r0x001e7f00;\n          }" ({ "{") (labeled_statement "LAB_001e7ee0:\n            if (uVar2 != uVar3) goto LAB_001e7ce6;" (statement_identifier "LAB_001e7ee0") (: ":") (if_statement "if (uVar2 != uVar3) goto LAB_001e7ce6;" (if "if") (parenthesized_expression "(uVar2 != uVar3)" (( "(") (binary_expression "uVar2 != uVar3" (identifier "uVar2") (!= "!=") (identifier "uVar3")) () ")")) (goto_statement "goto LAB_001e7ce6;" (goto "goto") (statement_identifier "LAB_001e7ce6") (; ";")))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;" (if "if") (parenthesized_expression "((uint)piVar1[3] <= (uint)piVar1[2])" (( "(") (binary_expression "(uint)piVar1[3] <= (uint)piVar1[2]" (cast_expression "(uint)piVar1[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)piVar1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) () ")")) (goto_statement "goto LAB_001e7f18;" (goto "goto") (statement_identifier "LAB_001e7f18") (; ";"))) (expression_statement "piVar1[2] = piVar1[2] + 1;" (assignment_expression "piVar1[2] = piVar1[2] + 1" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "piVar1[2] + 1" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto joined_r0x001e7f00;" (goto "goto") (statement_identifier "joined_r0x001e7f00") (; ";")) (} "}"))) (labeled_statement "LAB_001e7ddb:\n          pbVar7 = (byte *)piVar1[2];" (statement_identifier "LAB_001e7ddb") (: ":") (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" (identifier "pbVar7") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";"))) (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (uVar3 == uVar2) goto LAB_001e7f10;" (if "if") (parenthesized_expression "(uVar3 == uVar2)" (( "(") (binary_expression "uVar3 == uVar2" (identifier "uVar3") (== "==") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_001e7f10;" (goto "goto") (statement_identifier "LAB_001e7f10") (; ";"))) (goto_statement "goto LAB_001e7dea;" (goto "goto") (statement_identifier "LAB_001e7dea") (; ";")) (} "}"))) (labeled_statement "LAB_001e7e63:\n        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (statement_identifier "LAB_001e7e63") (: ":") (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x24)" (* "*") (cast_expression "(code **)(*piVar1 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x24)" (( "(") (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";"))) (if_statement "if (0x7ffffffe < local_30) {\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" (if "if") (parenthesized_expression "(0x7ffffffe < local_30)" (( "(") (binary_expression "0x7ffffffe < local_30" (number_literal "0x7ffffffe") (< "<") (identifier "local_30")) () ")")) (compound_statement "{\n          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;\n          goto LAB_001e7f49;\n        }" ({ "{") (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ee0;" (if "if") (parenthesized_expression "(uVar3 != 0xffffffff)" (( "(") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff")) () ")")) (goto_statement "goto LAB_001e7ee0;" (goto "goto") (statement_identifier "LAB_001e7ee0") (; ";"))) (goto_statement "goto LAB_001e7f49;" (goto "goto") (statement_identifier "LAB_001e7f49") (; ";")) (} "}"))) (if_statement "if (uVar3 != 0xffffffff) goto LAB_001e7ddb;" (if "if") (parenthesized_expression "(uVar3 != 0xffffffff)" (( "(") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff")) () ")")) (goto_statement "goto LAB_001e7ddb;" (goto "goto") (statement_identifier "LAB_001e7ddb") (; ";"))) (if_statement "if (local_30 == 0) goto LAB_001e7e8c;" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001e7e8c;" (goto "goto") (statement_identifier "LAB_001e7e8c") (; ";"))) (} "}")))) (labeled_statement "LAB_001e7f49:\n      uVar2 = 2;" (statement_identifier "LAB_001e7f49") (: ":") (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";"))) (goto_statement "goto LAB_001e7ceb;" (goto "goto") (statement_identifier "LAB_001e7ceb") (; ";")) (} "}"))) (expression_statement "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);" (assignment_expression "uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1)" (identifier "uVar3") (= "=") (call_expression "(**(code **)(*piVar1 + 0x24))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x24))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x24)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x24)" (* "*") (cast_expression "(code **)(*piVar1 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x24)" (( "(") (binary_expression "*piVar1 + 0x24" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (uVar3 != 0xffffffff) {\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" (if "if") (parenthesized_expression "(uVar3 != 0xffffffff)" (( "(") (binary_expression "uVar3 != 0xffffffff" (identifier "uVar3") (!= "!=") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n      pbVar6 = (byte *)piVar1[3];\n      pbVar7 = (byte *)piVar1[2];\n      goto LAB_001e7d4f;\n    }" ({ "{") (expression_statement "pbVar6 = (byte *)piVar1[3];" (assignment_expression "pbVar6 = (byte *)piVar1[3]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)piVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "pbVar7 = (byte *)piVar1[2];" (assignment_expression "pbVar7 = (byte *)piVar1[2]" (identifier "pbVar7") (= "=") (cast_expression "(byte *)piVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (goto_statement "goto LAB_001e7d4f;" (goto "goto") (statement_identifier "LAB_001e7d4f") (; ";")) (} "}"))) (labeled_statement "LAB_001e7e8c:\n    uVar2 = 6;" (statement_identifier "LAB_001e7e8c") (: ":") (expression_statement "uVar2 = 6;" (assignment_expression "uVar2 = 6" (identifier "uVar2") (= "=") (number_literal "6")) (; ";"))) (goto_statement "goto LAB_001e7ceb;" (goto "goto") (statement_identifier "LAB_001e7ceb") (; ";")) (} "}"))) (goto_statement "goto LAB_001e7ce6;" (goto "goto") (statement_identifier "LAB_001e7ce6") (; ";")) (labeled_statement "LAB_001e7f10:\n  local_30 = local_30 + 1;" (statement_identifier "LAB_001e7f10") (: ":") (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (pbVar7 < pbVar6) {\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(pbVar7 < pbVar6)" (( "(") (binary_expression "pbVar7 < pbVar6" (identifier "pbVar7") (< "<") (identifier "pbVar6")) () ")")) (compound_statement "{\n    piVar1[2] = (int)(pbVar7 + 1);\n    return param_1;\n  }" ({ "{") (expression_statement "piVar1[2] = (int)(pbVar7 + 1);" (assignment_expression "piVar1[2] = (int)(pbVar7 + 1)" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)(pbVar7 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar7 + 1)" (( "(") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (labeled_statement "LAB_001e7f18:\n  (**(code **)(*piVar1 + 0x28))(piVar1);" (statement_identifier "LAB_001e7f18") (: ":") (expression_statement "(**(code **)(*piVar1 + 0x28))(piVar1);" (call_expression "(**(code **)(*piVar1 + 0x28))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x28)" (* "*") (cast_expression "(code **)(*piVar1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x28)" (( "(") (binary_expression "*piVar1 + 0x28" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";"))) (labeled_statement "joined_r0x001e7f00:\n  if (local_30 != 0) {\n    return param_1;\n  }" (statement_identifier "joined_r0x001e7f00") (: ":") (if_statement "if (local_30 != 0) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (labeled_statement "LAB_001e7ce6:\n  uVar2 = 4;" (statement_identifier "LAB_001e7ce6") (: ":") (expression_statement "uVar2 = 4;" (assignment_expression "uVar2 = 4" (identifier "uVar2") (= "=") (number_literal "4")) (; ";"))) (labeled_statement "LAB_001e7ceb:\n  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" (statement_identifier "LAB_001e7ceb") (: ":") (expression_statement "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc)" (identifier "iVar9") (= "=") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";"))) (expression_statement "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));" (call_expression "FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" (identifier "FUN_00210c00") (argument_list "(iVar9,uVar2 | *(uint *)(iVar9 + 0x14))" (( "(") (identifier "iVar9") (, ",") (binary_expression "uVar2 | *(uint *)(iVar9 + 0x14)" (identifier "uVar2") (| "|") (pointer_expression "*(uint *)(iVar9 + 0x14)" (* "*") (cast_expression "(uint *)(iVar9 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::istream&,
   std::string&, char) */

var_3 * std::getline<var_2,std::char_traits<var_2>,std::var_1<var_2>>
                    (var_3 *var_4,var_5 *var_6,var_2 param_3)

{
  int *piVar1;
  type_1 var_14;
  type_1 var_9;
  type_2 var_26;
  type_1 var_10;
  void *var_19;
  var_5 *var_12;
  type_3 *var_8;
  int var_17;
  type_3 *var_7;
  type_1 var_13;
  size_t var_20;
  type_1 var_11;
  type_4 local_1d [9];
  type_5 uStack_14;
  
  uStack_14 = 0x1e7cbb;
  istream::sentry::type_4(local_1d,(var_3 *)var_4,true);
  if (local_1d[0] != (type_4)0x0) {
    *(type_5 *)(var_6 + 4) = 0;
    **(type_6 **)var_6 = 0;
    var_9 = (type_1)(type_3)param_3;
    piVar1 = *(int **)(var_4 + *(int *)(*(int *)var_4 + -0xc) + 0x78);
    var_7 = (type_3 *)piVar1[2];
    var_8 = (type_3 *)piVar1[3];
    if (var_7 < var_8) {
      var_10 = (type_1)*var_7;
LAB_001e7d4f:
      var_11 = 0;
      if (var_9 == var_10) {
        if (var_7 < var_8) {
          piVar1[2] = (int)(var_7 + 1);
          return var_4;
        }
                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */
        (**(type_7 **)(*piVar1 + 0x28))(piVar1);
        return var_4;
      }
LAB_001e7dea:
      var_14 = *(type_1 *)(var_6 + 4);
      var_20 = (int)var_8 - (int)var_7;
      if ((int)(0x7fffffff - var_11) <= (int)var_8 - (int)var_7) {
        var_20 = 0x7fffffff - var_11;
      }
      if ((int)var_20 < 2) {
        var_12 = *(var_5 **)var_6;
        if (var_12 == var_6 + 8) {
          var_13 = 0xf;
        }
        else {
          var_13 = *(type_1 *)(var_6 + 8);
        }
        if (var_13 < var_14 + 1) {
          string::var_15(var_6,var_14,0,(char *)0x0,1);
          var_12 = *(var_5 **)var_6;
        }
        var_11 = var_11 + 1;
        var_12[var_14] = var_16(var_10,0);
        *(type_1 *)(var_6 + 4) = var_14 + 1;
        *(type_6 *)(*(int *)var_6 + 1 + var_14) = 0;
        var_7 = (type_3 *)piVar1[3];
        if ((type_3 *)piVar1[2] < var_7) {
          var_8 = (type_3 *)piVar1[2] + 1;
          piVar1[2] = (int)var_8;
LAB_001e7e5b:
          if (var_8 < var_7) goto LAB_001e7dcb;
          goto LAB_001e7e63;
        }
        var_17 = (**(type_7 **)(*piVar1 + 0x28))(piVar1);
        if (var_17 != -1) {
          var_8 = (type_3 *)piVar1[2];
          var_7 = (type_3 *)piVar1[3];
          goto LAB_001e7e5b;
        }
      }
      else {
        var_19 = var_18(var_7,(int)param_3,var_20);
        if (var_19 != (void *)0x0) {
          var_20 = (int)var_19 - (int)var_7;
        }
        if (0x7fffffff - var_14 < var_20) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */
          var_21("basic_string::append");
        }
                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */
        string::var_22(var_6,(char *)var_7,var_20);
        var_11 = var_11 + var_20;
        var_8 = (type_3 *)(piVar1[2] + var_20);
        piVar1[2] = (int)var_8;
        if (var_8 < (type_3 *)piVar1[3]) {
LAB_001e7dcb:
          var_10 = (type_1)*var_8;
          if (0x7ffffffe < var_11) {
LAB_001e7ee0:
            if (var_9 != var_10) goto LAB_001e7ce6;
            var_11 = var_11 + 1;
            if ((type_1)piVar1[3] <= (type_1)piVar1[2]) goto LAB_001e7f18;
            piVar1[2] = piVar1[2] + 1;
            goto joined_r0x001e7f00;
          }
LAB_001e7ddb:
          var_7 = (type_3 *)piVar1[2];
          var_8 = (type_3 *)piVar1[3];
          if (var_10 == var_9) goto LAB_001e7f10;
          goto LAB_001e7dea;
        }
LAB_001e7e63:
        var_10 = (**(type_7 **)(*piVar1 + 0x24))(piVar1);
        if (0x7ffffffe < var_11) {
          if (var_10 != 0xffffffff) goto LAB_001e7ee0;
          goto LAB_001e7f49;
        }
        if (var_10 != 0xffffffff) goto LAB_001e7ddb;
        if (var_11 == 0) goto LAB_001e7e8c;
      }
LAB_001e7f49:
      var_26 = var_24;
      goto LAB_001e7ceb;
    }
                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */
    var_10 = (**(type_7 **)(*piVar1 + 0x24))(piVar1);
    if (var_10 != 0xffffffff) {
      var_8 = (type_3 *)piVar1[3];
      var_7 = (type_3 *)piVar1[2];
      goto LAB_001e7d4f;
    }
LAB_001e7e8c:
    var_26 = var_23|var_24;
    goto LAB_001e7ceb;
  }
  goto LAB_001e7ce6;
LAB_001e7f10:
  var_11 = var_11 + 1;
  if (var_7 < var_8) {
    piVar1[2] = (int)(var_7 + 1);
    return var_4;
  }
LAB_001e7f18:
  (**(type_7 **)(*piVar1 + 0x28))(piVar1);
joined_r0x001e7f00:
  if (var_11 != 0) {
    return var_4;
  }
LAB_001e7ce6:
  var_26 = var_23;
LAB_001e7ceb:
  ios::var_25((type_8 *)(var_4 + *(int *)(*(int *)var_4 + -0xc)),
             var_26 | *(type_2 *)((type_8 *)(var_4 + *(int *)(*(int *)var_4 + -0xc)) + 0x14));
  return var_4;
}


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

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

int * MASKED(int *param_1,int *param_2,byte param_3)

{
  int *piVar1;
  uint uVar2;
  uint uVar3;
  void *pvVar4;
  int *piVar5;
  byte *pbVar6;
  byte *pbVar7;
  uint uVar8;
  int iVar9;
  size_t __n;
  uint local_30;
  char local_1d [9];
  undefined4 uStack_14;
  
  uStack_14 = 0x1e7cbb;
  FUN_0020a6a0(local_1d,param_1,1);
  if (local_1d[0] != '\0') {
    param_2[1] = 0;
    *(undefined1 *)*param_2 = 0;
    uVar2 = (uint)param_3;
    piVar1 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78);
    pbVar7 = (byte *)piVar1[2];
    pbVar6 = (byte *)piVar1[3];
    if (pbVar7 < pbVar6) {
      uVar3 = (uint)*pbVar7;
LAB_001e7d4f:
      local_30 = 0;
      if (uVar2 == uVar3) {
        if (pbVar7 < pbVar6) {
          piVar1[2] = (int)(pbVar7 + 1);
          return param_1;
        }
                    /* try { // try from 001e7f98 to 001e7f9a has its CatchHandler @ 001e7fc7 */
        (**(code **)(*piVar1 + 0x28))(piVar1);
        return param_1;
      }
LAB_001e7dea:
      iVar9 = param_2[1];
      __n = (int)pbVar6 - (int)pbVar7;
      if ((int)(0x7fffffff - local_30) <= (int)pbVar6 - (int)pbVar7) {
        __n = 0x7fffffff - local_30;
      }
      if ((int)__n < 2) {
        piVar5 = (int *)*param_2;
        if (piVar5 == param_2 + 2) {
          uVar8 = 0xf;
        }
        else {
          uVar8 = param_2[2];
        }
        if (uVar8 < iVar9 + 1U) {
          FUN_001eeaa0(param_2,iVar9,0,0,1);
          piVar5 = (int *)*param_2;
        }
        local_30 = local_30 + 1;
        *(char *)((int)piVar5 + iVar9) = (char)uVar3;
        param_2[1] = iVar9 + 1U;
        *(undefined1 *)(*param_2 + 1 + iVar9) = 0;
        pbVar7 = (byte *)piVar1[3];
        if ((byte *)piVar1[2] < pbVar7) {
          pbVar6 = (byte *)piVar1[2] + 1;
          piVar1[2] = (int)pbVar6;
LAB_001e7e5b:
          if (pbVar6 < pbVar7) goto LAB_001e7dcb;
          goto LAB_001e7e63;
        }
        iVar9 = (**(code **)(*piVar1 + 0x28))(piVar1);
        if (iVar9 != -1) {
          pbVar6 = (byte *)piVar1[2];
          pbVar7 = (byte *)piVar1[3];
          goto LAB_001e7e5b;
        }
      }
      else {
        pvVar4 = memchr(pbVar7,(int)(char)param_3,__n);
        if (pvVar4 != (void *)0x0) {
          __n = (int)pvVar4 - (int)pbVar7;
        }
        if (0x7fffffffU - iVar9 < __n) {
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 001e7fad to 001e7fb1 has its CatchHandler @ 001e7fc2 */
          FUN_0022c7a0("basic_string::append");
        }
                    /* try { // try from 001e7daf to 001e7f40 has its CatchHandler @ 001e7fc2 */
        FUN_001f05c0(param_2,pbVar7,__n);
        local_30 = local_30 + __n;
        pbVar6 = (byte *)(piVar1[2] + __n);
        piVar1[2] = (int)pbVar6;
        if (pbVar6 < (byte *)piVar1[3]) {
LAB_001e7dcb:
          uVar3 = (uint)*pbVar6;
          if (0x7ffffffe < local_30) {
LAB_001e7ee0:
            if (uVar2 != uVar3) goto LAB_001e7ce6;
            local_30 = local_30 + 1;
            if ((uint)piVar1[3] <= (uint)piVar1[2]) goto LAB_001e7f18;
            piVar1[2] = piVar1[2] + 1;
            goto joined_r0x001e7f00;
          }
LAB_001e7ddb:
          pbVar7 = (byte *)piVar1[2];
          pbVar6 = (byte *)piVar1[3];
          if (uVar3 == uVar2) goto LAB_001e7f10;
          goto LAB_001e7dea;
        }
LAB_001e7e63:
        uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);
        if (0x7ffffffe < local_30) {
          if (uVar3 != 0xffffffff) goto LAB_001e7ee0;
          goto LAB_001e7f49;
        }
        if (uVar3 != 0xffffffff) goto LAB_001e7ddb;
        if (local_30 == 0) goto LAB_001e7e8c;
      }
LAB_001e7f49:
      uVar2 = 2;
      goto LAB_001e7ceb;
    }
                    /* try { // try from 001e7f5e to 001e7f60 has its CatchHandler @ 001e7fbd */
    uVar3 = (**(code **)(*piVar1 + 0x24))(piVar1);
    if (uVar3 != 0xffffffff) {
      pbVar6 = (byte *)piVar1[3];
      pbVar7 = (byte *)piVar1[2];
      goto LAB_001e7d4f;
    }
LAB_001e7e8c:
    uVar2 = 6;
    goto LAB_001e7ceb;
  }
  goto LAB_001e7ce6;
LAB_001e7f10:
  local_30 = local_30 + 1;
  if (pbVar7 < pbVar6) {
    piVar1[2] = (int)(pbVar7 + 1);
    return param_1;
  }
LAB_001e7f18:
  (**(code **)(*piVar1 + 0x28))(piVar1);
joined_r0x001e7f00:
  if (local_30 != 0) {
    return param_1;
  }
LAB_001e7ce6:
  uVar2 = 4;
LAB_001e7ceb:
  iVar9 = (int)param_1 + *(int *)(*param_1 + -0xc);
  FUN_00210c00(iVar9,uVar2 | *(uint *)(iVar9 + 0x14));
  return param_1;
}

