
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostreambuf_iterator<char, std::char_traits<char> > std::money_put<char,
   std::ostreambuf_iterator<char, std::char_traits<char> >
   >::_M_insert<false>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,
   char, std::string const&) const */

void std::money_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert<false>
               (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,
               char param_6,undefined4 *param_7)

{
  int *piVar1;
  char cVar2;
  ctype *pcVar3;
  uint uVar4;
  byte *pbVar5;
  char *pcVar6;
  int iVar7;
  __moneypunct_cache<char,false> *this;
  byte *pbVar8;
  uint uVar9;
  uint uVar10;
  undefined4 *puVar11;
  int iVar12;
  char *local_68;
  uint local_5c;
  uint local_50;
  char local_41;
  byte *local_40;
  undefined4 local_3c;
  char *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [2];
  undefined4 uStack_14;
  
  uStack_14 = 0x19828b;
  local_3c = param_4;
  local_41 = (char)param_4;
  pcVar3 = use_facet<std::ctype<char>>((locale *)(param_5 + 0x6c));
  uVar4 = locale::id::_M_id((id *)PTR_id_00301bdc);
  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4);
  iVar12 = *piVar1;
  if (iVar12 == 0) {
                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */
    this = (__moneypunct_cache<char,false> *)operator_new(0x44);
    *(undefined4 *)(this + 4) = 0;
    *(undefined4 *)(this + 8) = 0;
    *(undefined ***)this = &PTR____moneypunct_cache_002ff698;
    *(undefined4 *)(this + 0xc) = 0;
    *(undefined2 *)(this + 0x10) = 0;
    this[0x12] = (__moneypunct_cache<char,false>)0x0;
    *(undefined4 *)(this + 0x14) = 0;
    *(undefined4 *)(this + 0x18) = 0;
    *(undefined4 *)(this + 0x1c) = 0;
    *(undefined4 *)(this + 0x20) = 0;
    *(undefined4 *)(this + 0x24) = 0;
    *(undefined4 *)(this + 0x28) = 0;
    *(undefined4 *)(this + 0x2c) = 0;
    *(undefined4 *)(this + 0x30) = 0;
    *(undefined4 *)(this + 0x34) = 0;
    this[0x43] = (__moneypunct_cache<char,false>)0x0;
                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */
    __moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c));
    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);
    iVar12 = *piVar1;
  }
  local_40 = (byte *)*param_7;
  pbVar8 = local_40 + -0xc;
  if (*local_40 == *(byte *)(iVar12 + 0x38)) {
    local_20 = *(undefined4 *)(iVar12 + 0x34);
    if (*(int *)pbVar8 == 0) goto LAB_00198358;
    local_68 = *(char **)(iVar12 + 0x24);
    local_40 = local_40 + 1;
    local_50 = *(uint *)(iVar12 + 0x28);
  }
  else {
    local_20 = *(undefined4 *)(iVar12 + 0x30);
    local_68 = *(char **)(iVar12 + 0x1c);
    local_50 = *(uint *)(iVar12 + 0x20);
  }
  pbVar8 = local_40 + *(int *)pbVar8;
  if ((local_40 < pbVar8) &&
     (pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {
    do {
      pbVar5 = pbVar5 + 1;
      if (pbVar8 == pbVar5) {
        uVar4 = (int)pbVar8 - (int)local_40;
        goto joined_r0x0019838f;
      }
    } while ((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0);
    uVar4 = (int)pbVar5 - (int)local_40;
joined_r0x0019838f:
    if (uVar4 != 0) {
      local_28 = &DAT_00309e0c;
                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */
      std::string::reserve((string *)&local_28,uVar4 * 2);
      iVar7 = *(int *)(iVar12 + 0x2c);
      local_5c = uVar4 - iVar7;
      if (0 < (int)local_5c) {
        if (iVar7 < 0) {
          local_5c = uVar4;
        }
        if (*(int *)(iVar12 + 0xc) == 0) {
                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */
          std::string::assign((string *)&local_28,(char *)local_40,local_5c);
        }
        else {
          std::string::_M_replace_aux
                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');
          uVar10 = *(uint *)(iVar12 + 0xc);
          pcVar6 = *(char **)(iVar12 + 8);
          cVar2 = *(char *)(iVar12 + 0x12);
          std::string::_M_leak((string *)&local_28);
          pcVar6 = __add_grouping<char>
                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,
                              (char *)(local_40 + local_5c));
          std::string::_M_leak((string *)&local_28);
          uVar9 = (int)pcVar6 - (int)local_28;
          uVar10 = *(uint *)(local_28 + -0xc);
          if (uVar10 < uVar9) {
                    /* WARNING: Subroutine does not return */
            __throw_out_of_range_fmt
                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",
                       "basic_string::erase",uVar9,uVar10);
          }
          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);
        }
        iVar7 = *(int *)(iVar12 + 0x2c);
      }
      if (0 < iVar7) {
                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */
        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));
        if ((int)local_5c < 0) {
                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */
          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));
          std::string::append((string *)&local_28,(char *)local_40,uVar4);
        }
        else {
          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),
                              *(uint *)(iVar12 + 0x2c));
        }
      }
      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;
      uVar10 = local_50 + *(int *)(local_28 + -0xc);
      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);
      }
      local_24 = &DAT_00309e0c;
                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */
      std::string::reserve((string *)&local_24,uVar10 * 2);
      uVar9 = *(uint *)(param_5 + 8);
      puVar11 = &local_20;
      do {
        switch(*(undefined1 *)puVar11) {
        case 0:
          if (uVar4 == 0x10 && uVar10 < uVar9) {
LAB_0019859a:
            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);
          }
          break;
        case 1:
          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;
                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */
          std::string::push_back((string *)&local_24,param_6);
          break;
        case 2:
          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),
                                *(uint *)(iVar12 + 0x18));
          }
          break;
        case 3:
          if (local_50 != 0) {
            std::string::push_back((string *)&local_24,*local_68);
          }
          break;
        case 4:
          std::string::append((string *)&local_24,(string *)&local_28);
        }
        puVar11 = (undefined4 *)((int)puVar11 + 1);
      } while (puVar11 != local_1c);
      if (local_50 < 2) {
        local_5c = *(uint *)(local_24 + -0xc);
      }
      else {
        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);
        local_5c = *(uint *)(local_24 + -0xc);
      }
      if (local_5c < uVar9) {
        if (uVar4 == 0x20) {
                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */
          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);
          local_5c = uVar9;
        }
        else {
          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);
          local_5c = uVar9;
        }
      }
      if (local_41 == '\0') {
        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);
        local_41 = uVar4 != local_5c;
      }
      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
      local_3c = CONCAT31(local_3c._1_3_,local_41);
      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {
        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));
      }
      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {
        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));
      }
    }
  }
LAB_00198358:
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_41);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}



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

void FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5
                 ,char param_6,undefined4 *param_7)

{
  int *piVar1;
  char cVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  byte *pbVar8;
  byte *pbVar9;
  uint uVar10;
  uint uVar11;
  undefined4 *puVar12;
  int iVar13;
  char *local_68;
  uint local_5c;
  uint local_50;
  char local_41;
  byte *local_40;
  undefined4 local_3c;
  undefined *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [2];
  undefined4 uStack_14;
  
  uStack_14 = 0x19828b;
  local_3c = param_4;
  local_41 = (char)param_4;
  iVar6 = FUN_001957d0(param_5 + 0x6c);
  iVar7 = FUN_00183130(PTR_DAT_00301bdc);
  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);
  iVar13 = *piVar1;
  if (iVar13 == 0) {
                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */
    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);
    puVar12[1] = 0;
    puVar12[2] = 0;
    *puVar12 = &PTR_FUN_002ff698;
    puVar12[3] = 0;
    *(undefined2 *)(puVar12 + 4) = 0;
    *(undefined1 *)((int)puVar12 + 0x12) = 0;
    puVar12[5] = 0;
    puVar12[6] = 0;
    puVar12[7] = 0;
    puVar12[8] = 0;
    puVar12[9] = 0;
    puVar12[10] = 0;
    puVar12[0xb] = 0;
    puVar12[0xc] = 0;
    puVar12[0xd] = 0;
    *(undefined1 *)((int)puVar12 + 0x43) = 0;
                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */
    FUN_00196ab0(puVar12,param_5 + 0x6c);
    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);
    iVar13 = *piVar1;
  }
  local_40 = (byte *)*param_7;
  pbVar9 = local_40 + -0xc;
  if (*local_40 == *(byte *)(iVar13 + 0x38)) {
    local_20 = *(undefined4 *)(iVar13 + 0x34);
    if (*(int *)pbVar9 == 0) goto LAB_00198358;
    local_68 = *(char **)(iVar13 + 0x24);
    local_40 = local_40 + 1;
    local_50 = *(uint *)(iVar13 + 0x28);
  }
  else {
    local_20 = *(undefined4 *)(iVar13 + 0x30);
    local_68 = *(char **)(iVar13 + 0x1c);
    local_50 = *(uint *)(iVar13 + 0x20);
  }
  pbVar9 = local_40 + *(int *)pbVar9;
  if ((local_40 < pbVar9) &&
     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {
    do {
      pbVar8 = pbVar8 + 1;
      if (pbVar9 == pbVar8) {
        iVar6 = (int)pbVar9 - (int)local_40;
        goto joined_r0x0019838f;
      }
    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);
    iVar6 = (int)pbVar8 - (int)local_40;
joined_r0x0019838f:
    if (iVar6 != 0) {
      local_28 = &DAT_00309e0c;
                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */
      FUN_001b9450(&local_28,iVar6 * 2);
      iVar7 = *(int *)(iVar13 + 0x2c);
      local_5c = iVar6 - iVar7;
      if (0 < (int)local_5c) {
        if (iVar7 < 0) {
          local_5c = iVar6;
        }
        if (*(int *)(iVar13 + 0xc) == 0) {
                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */
          FUN_001b8e90(&local_28,local_40,local_5c);
        }
        else {
          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);
          uVar3 = *(undefined4 *)(iVar13 + 0xc);
          uVar4 = *(undefined4 *)(iVar13 + 8);
          cVar2 = *(char *)(iVar13 + 0x12);
          FUN_001b8820(&local_28);
          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);
          FUN_001b8820(&local_28);
          uVar10 = iVar7 - (int)local_28;
          uVar11 = *(uint *)(local_28 + -0xc);
          if (uVar11 < uVar10) {
                    /* WARNING: Subroutine does not return */
            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",
                         "basic_string::erase",uVar10,uVar11);
          }
          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);
        }
        iVar7 = *(int *)(iVar13 + 0x2c);
      }
      if (0 < iVar7) {
                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */
        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));
        if ((int)local_5c < 0) {
                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */
          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));
          FUN_001b9740(&local_28,local_40,iVar6);
        }
        else {
          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));
        }
      }
      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;
      uVar10 = local_50 + *(int *)(local_28 + -0xc);
      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);
      }
      local_24 = &DAT_00309e0c;
                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */
      FUN_001b9450(&local_24,uVar10 * 2);
      uVar5 = *(uint *)(param_5 + 8);
      puVar12 = &local_20;
      do {
        switch(*(undefined1 *)puVar12) {
        case 0:
          if (uVar11 == 0x10 && uVar10 < uVar5) {
code_r0x0019859a:
            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);
          }
          break;
        case 1:
          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;
          FUN_001b9a70(&local_24,(int)param_6);
          break;
        case 2:
          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));
          }
          break;
        case 3:
          if (local_50 != 0) {
            FUN_001b9a70(&local_24,(int)*local_68);
          }
          break;
        case 4:
          FUN_001b9570(&local_24,&local_28);
        }
        puVar12 = (undefined4 *)((int)puVar12 + 1);
      } while (puVar12 != local_1c);
      if (local_50 < 2) {
        local_5c = *(uint *)(local_24 + -0xc);
      }
      else {
        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);
        local_5c = *(uint *)(local_24 + -0xc);
      }
      if (local_5c < uVar5) {
        if (uVar11 == 0x20) {
                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */
          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);
          local_5c = uVar5;
        }
        else {
          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);
          local_5c = uVar5;
        }
      }
      if (local_41 == '\0') {
        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);
        local_41 = uVar11 != local_5c;
      }
      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
      local_3c = CONCAT31(local_3c._1_3_,local_41);
      if (local_24 != &DAT_00309e0c) {
        FUN_00192a20();
      }
      if (local_28 != &DAT_00309e0c) {
        FUN_00192a20();
      }
    }
  }
LAB_00198358:
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_41);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x169d75
SUB ESP,0x78
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x44],EAX
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + -0x38],EDI
MOV dword ptr [EBP + -0x60],EAX
MOV byte ptr [EBP + -0x50],AL
MOV EAX,EDI
MOV byte ptr [EBP + -0x3d],AL
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [EBP + -0x34],EBX
ADD EAX,0x6c
PUSH EAX
MOV dword ptr [EBP + -0x3c],EAX
CALL 0x001957d0
POP ESI
PUSH dword ptr [EBX + 0xfffffbdc]
MOV dword ptr [EBP + -0x48],EAX
CALL 0x00183130
ADD ESP,0x10
MOV EDI,EAX
MOV dword ptr [EBP + -0x4c],EAX
MOV EAX,dword ptr [EBP + 0x18]
MOV EAX,dword ptr [EAX + 0x6c]
MOV EAX,dword ptr [EAX + 0xc]
LEA EAX,[EAX + EDI*0x4]
MOV EDI,dword ptr [EAX]
MOV dword ptr [EBP + -0x54],EAX
TEST EDI,EDI
JZ 0x00198740
MOV EAX,dword ptr [EBP + 0x20]
MOV EAX,dword ptr [EAX]
MOV EDX,EAX
MOV dword ptr [EBP + -0x3c],EAX
MOV ECX,dword ptr [EAX + -0xc]
MOVZX EAX,byte ptr [EDI + 0x38]
CMP byte ptr [EDX],AL
JZ 0x00198520
MOV EAX,dword ptr [EDI + 0x30]
MOV dword ptr [EBP + -0x1c],EAX
MOV EAX,dword ptr [EDI + 0x1c]
MOV dword ptr [EBP + -0x64],EAX
MOV EAX,dword ptr [EDI + 0x20]
MOV dword ptr [EBP + -0x4c],EAX
MOV EBX,dword ptr [EBP + -0x3c]
ADD ECX,EBX
CMP ECX,EBX
JBE 0x00198358
MOV EDX,dword ptr [EBP + -0x48]
MOVZX EAX,byte ptr [EBX]
MOV ESI,dword ptr [EDX + 0x18]
TEST byte ptr [ESI + EAX*0x2 + 0x1],0x8
JZ 0x00198358
MOV EAX,EBX
JMP 0x0019834a
MOVZX EDX,byte ptr [EAX]
TEST byte ptr [ESI + EDX*0x2 + 0x1],0x8
JZ 0x00198388
ADD EAX,0x1
CMP ECX,EAX
JNZ 0x00198340
MOV ESI,ECX
SUB ESI,dword ptr [EBP + -0x3c]
JNZ 0x00198391
MOV EAX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + -0x44]
MOV dword ptr [EAX + 0x8],0x0
MOVZX EAX,byte ptr [EBP + -0x3d]
MOV byte ptr [EBP + -0x38],AL
MOV EAX,dword ptr [EBP + 0x8]
MOV EBX,dword ptr [EBP + -0x38]
MOV dword ptr [EAX],EDX
MOV dword ptr [EAX + 0x4],EBX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV ECX,EAX
MOV ESI,ECX
SUB ESI,dword ptr [EBP + -0x3c]
JZ 0x00198358
MOV EDX,dword ptr [EBP + -0x34]
SUB ESP,0x8
LEA EAX,[EDX + 0x7e00]
MOV EBX,EDX
MOV dword ptr [EBP + -0x54],EAX
ADD EAX,0xc
MOV dword ptr [EBP + -0x24],EAX
LEA EAX,[ESI + ESI*0x1]
PUSH EAX
LEA EAX,[EBP + -0x24]
PUSH EAX
MOV dword ptr [EBP + -0x48],EAX
CALL 0x001b9450
MOV EAX,dword ptr [EDI + 0x2c]
MOV ECX,ESI
ADD ESP,0x10
SUB ECX,EAX
MOV dword ptr [EBP + -0x58],ECX
TEST ECX,ECX
JLE 0x00198483
TEST EAX,EAX
MOV EAX,ECX
MOV EBX,dword ptr [EDI + 0xc]
CMOVS EAX,ESI
MOV dword ptr [EBP + -0x58],EAX
TEST EBX,EBX
JZ 0x001987f0
SUB ESP,0xc
ADD EAX,EAX
MOV EBX,dword ptr [EBP + -0x34]
PUSH 0x0
PUSH EAX
MOV EAX,dword ptr [EBP + -0x24]
PUSH dword ptr [EAX + -0xc]
PUSH 0x0
PUSH dword ptr [EBP + -0x48]
CALL 0x001b8b80
MOV EBX,dword ptr [EDI + 0xc]
MOV EDX,dword ptr [EDI + 0x8]
ADD ESP,0x14
MOVSX EAX,byte ptr [EDI + 0x12]
MOV ECX,dword ptr [EBP + -0x3c]
PUSH dword ptr [EBP + -0x48]
ADD ECX,dword ptr [EBP + -0x58]
MOV dword ptr [EBP + -0x68],EBX
MOV EBX,dword ptr [EBP + -0x34]
MOV dword ptr [EBP + -0x5c],ECX
MOV dword ptr [EBP + -0x6c],EDX
MOV dword ptr [EBP + -0x70],EAX
CALL 0x001b8820
POP EDX
POP ECX
PUSH dword ptr [EBP + -0x5c]
MOV EBX,dword ptr [EBP + -0x34]
PUSH dword ptr [EBP + -0x3c]
PUSH dword ptr [EBP + -0x68]
PUSH dword ptr [EBP + -0x6c]
PUSH dword ptr [EBP + -0x70]
PUSH dword ptr [EBP + -0x24]
CALL 0x00197980
ADD ESP,0x14
PUSH dword ptr [EBP + -0x48]
MOV EBX,dword ptr [EBP + -0x34]
MOV dword ptr [EBP + -0x5c],EAX
CALL 0x001b8820
MOV EAX,dword ptr [EBP + -0x24]
MOV ECX,dword ptr [EBP + -0x5c]
ADD ESP,0x10
SUB ECX,EAX
MOV EAX,dword ptr [EAX + -0xc]
MOV EDX,EAX
SUB EDX,ECX
CMP ECX,EAX
JA 0x00198861
PUSH 0x0
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDX
PUSH ECX
PUSH dword ptr [EBP + -0x48]
CALL 0x001b8580
MOV EAX,dword ptr [EDI + 0x2c]
ADD ESP,0x10
TEST EAX,EAX
JG 0x001986d8
MOV EAX,dword ptr [EBP + 0x18]
MOV ESI,dword ptr [EBP + -0x4c]
MOV EAX,dword ptr [EAX + 0xc]
MOV EDX,EAX
AND EDX,0xb0
MOV dword ptr [EBP + -0x68],EDX
MOV EDX,dword ptr [EBP + -0x24]
ADD ESI,dword ptr [EDX + -0xc]
MOV EBX,ESI
TEST AH,0x2
JNZ 0x00198698
MOV EAX,dword ptr [EBP + -0x54]
SUB ESP,0x8
MOV ESI,EBX
ADD EAX,0xc
MOV dword ptr [EBP + -0x20],EAX
LEA EAX,[EBX + EBX*0x1]
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
LEA EAX,[EBP + -0x20]
PUSH EAX
MOV dword ptr [EBP + -0x5c],EAX
CALL 0x001b9450
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0x10
CMP dword ptr [EBP + -0x68],0x10
MOV ECX,ESI
SETZ DL
MOV EBX,dword ptr [EAX + 0x8]
CMP EBX,ESI
MOV dword ptr [EBP + -0x58],EBX
LEA ESI,[EBP + -0x1c]
SETA AL
SUB EBX,ECX
AND EDX,EAX
LEA EAX,[EBP + -0x18]
MOV dword ptr [EBP + -0x70],EBX
MOV dword ptr [EBP + -0x3c],EAX
MOVSX EAX,byte ptr [EBP + -0x50]
MOV byte ptr [EBP + -0x6c],DL
MOV dword ptr [EBP + -0x50],EAX
CMP byte ptr [ESI],0x4
JA 0x001985d4
MOV ECX,dword ptr [EBP + -0x34]
MOVZX EAX,byte ptr [ESI]
MOV EBX,dword ptr [ECX + EAX*0x4 + 0xfff38a24]
ADD EBX,ECX
JMP EBX
MOV EAX,dword ptr [EDI + 0x34]
MOV dword ptr [EBP + -0x1c],EAX
TEST ECX,ECX
JZ 0x00198358
MOV EAX,dword ptr [EDI + 0x24]
ADD dword ptr [EBP + -0x3c],0x1
MOV dword ptr [EBP + -0x64],EAX
MOV EAX,dword ptr [EDI + 0x28]
MOV dword ptr [EBP + -0x4c],EAX
JMP 0x0019831b
ADD ESI,0x1
CMP ESI,dword ptr [EBP + -0x3c]
JNZ 0x00198505
MOV EAX,dword ptr [EBP + -0x4c]
CMP EAX,0x1
JA 0x001986a8
MOV EDX,dword ptr [EBP + -0x20]
MOV ECX,dword ptr [EDX + -0xc]
CMP dword ptr [EBP + -0x58],ECX
JA 0x00198660
MOV dword ptr [EBP + -0x58],ECX
CMP byte ptr [EBP + -0x3d],0x0
JNZ 0x0019861d
MOV EDI,dword ptr [EBP + -0x44]
MOV ESI,dword ptr [EBP + -0x58]
SUB ESP,0x4
MOV EAX,dword ptr [EDI]
PUSH ESI
PUSH EDX
PUSH EDI
CALL dword ptr [EAX + 0x30]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x20]
CMP EAX,ESI
SETNZ byte ptr [EBP + -0x3d]
XOR EAX,EAX
MOV EDI,dword ptr [EBP + -0x44]
MOV AL,byte ptr [EBP + -0x3d]
MOV dword ptr [EBP + -0x30],EDI
MOV dword ptr [EBP + -0x2c],EAX
MOV byte ptr [EBP + -0x38],AL
LEA EAX,[EDX + -0xc]
CMP EAX,dword ptr [EBP + -0x54]
JNZ 0x00198854
MOV EAX,dword ptr [EBP + -0x24]
SUB EAX,0xc
CMP EAX,dword ptr [EBP + -0x54]
JZ 0x00198358
LEA EDX,[EBP + -0x25]
CALL 0x00192a20
JMP 0x00198358
MOV EDX,dword ptr [EBP + -0x58]
MOVSX EAX,byte ptr [EBP + -0x60]
SUB EDX,ECX
CMP dword ptr [EBP + -0x68],0x20
JZ 0x00198809
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
PUSH EDX
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EBP + -0x5c]
CALL 0x001b8b80
ADD ESP,0x20
MOV EDX,dword ptr [EBP + -0x20]
JMP 0x001985fa
MOV EAX,dword ptr [EDI + 0x18]
ADD ESI,EAX
MOV EBX,ESI
JMP 0x001984b0
SUB ESP,0x4
SUB EAX,0x1
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
MOV EAX,dword ptr [EBP + -0x64]
ADD EAX,0x1
PUSH EAX
PUSH dword ptr [EBP + -0x5c]
CALL 0x001b9740
MOV EDX,dword ptr [EBP + -0x20]
ADD ESP,0x10
MOV ECX,dword ptr [EDX + -0xc]
CMP dword ptr [EBP + -0x58],ECX
JA 0x00198660
JMP 0x001985f7
MOVSX EAX,byte ptr [EDI + 0x11]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
PUSH dword ptr [EBP + -0x48]
CALL 0x001b9a70
MOV ECX,dword ptr [EBP + -0x58]
ADD ESP,0x10
TEST ECX,ECX
JS 0x00198824
MOV EAX,dword ptr [EBP + -0x3c]
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
PUSH dword ptr [EDI + 0x2c]
ADD EAX,ECX
PUSH EAX
PUSH dword ptr [EBP + -0x48]
CALL 0x001b9740
ADD ESP,0x10
JMP 0x0019848b
SUB ESP,0xc
MOV EDI,dword ptr [EBP + -0x34]
PUSH 0x44
MOV EBX,EDI
CALL 0x0017ebf0
MOV ESI,EAX
POP EAX
LEA EAX,[EDI + 0xffffd690]
XOR ECX,ECX
POP EDX
MOV dword ptr [ESI + 0x4],0x0
ADD EAX,0x8
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0xc],0x0
MOV word ptr [ESI + 0x10],CX
MOV byte ptr [ESI + 0x12],0x0
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x1c],0x0
MOV dword ptr [ESI + 0x20],0x0
MOV dword ptr [ESI + 0x24],0x0
MOV dword ptr [ESI + 0x28],0x0
MOV dword ptr [ESI + 0x2c],0x0
MOV dword ptr [ESI + 0x30],0x0
MOV dword ptr [ESI + 0x34],0x0
MOV byte ptr [ESI + 0x43],0x0
PUSH dword ptr [EBP + -0x3c]
PUSH ESI
CALL 0x00196ab0
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0xc
PUSH dword ptr [EBP + -0x4c]
PUSH ESI
PUSH dword ptr [EAX + 0x6c]
CALL 0x00183640
MOV EAX,dword ptr [EBP + -0x54]
ADD ESP,0x10
MOV EDI,dword ptr [EAX]
JMP 0x001982f0
SUB ESP,0x4
PUSH dword ptr [EBP + -0x58]
MOV EBX,dword ptr [EBP + -0x34]
PUSH dword ptr [EBP + -0x3c]
PUSH dword ptr [EBP + -0x48]
CALL 0x001b8e90
JMP 0x0019847d
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
PUSH EDX
PUSH dword ptr [EBP + -0x5c]
CALL 0x001b9910
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x20]
JMP 0x001985fa
MOVSX EAX,byte ptr [EDI + 0x39]
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
MOV EAX,dword ptr [EBP + -0x58]
NEG EAX
PUSH EAX
PUSH dword ptr [EBP + -0x48]
CALL 0x001b9910
ADD ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH ESI
PUSH dword ptr [EBP + -0x3c]
PUSH dword ptr [EBP + -0x48]
CALL 0x001b9740
JMP 0x00198710
LEA EDX,[EBP + -0x25]
CALL 0x00192a20
JMP 0x0019863a
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
PUSH ECX
LEA EAX,[EBX + 0xfff2f3be]
PUSH EAX
LEA EAX,[EBX + 0xfff21910]
PUSH EAX
CALL 0x001c6230
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" comment (function_definition "void FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" primitive_type (function_declarator "FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "char param_6" primitive_type identifier) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "uint local_5c;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "char local_41;" primitive_type identifier ;) (declaration "byte *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c [2];" type_identifier (array_declarator "local_1c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x19828b;" (assignment_expression "uStack_14 = 0x19828b" identifier = number_literal) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_41 = (char)param_4;" (assignment_expression "local_41 = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = FUN_001957d0(param_5 + 0x6c);" (assignment_expression "iVar6 = FUN_001957d0(param_5 + 0x6c)" identifier = (call_expression "FUN_001957d0(param_5 + 0x6c)" identifier (argument_list "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "iVar7 = FUN_00183130(PTR_DAT_00301bdc);" (assignment_expression "iVar7 = FUN_00183130(PTR_DAT_00301bdc)" identifier = (call_expression "FUN_00183130(PTR_DAT_00301bdc)" identifier (argument_list "(PTR_DAT_00301bdc)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4" (pointer_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc)" * (cast_expression "(int *)(*(int *)(param_5 + 0x6c) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_5 + 0x6c) + 0xc)" ( (binary_expression "*(int *)(param_5 + 0x6c) + 0xc" (pointer_expression "*(int *)(param_5 + 0x6c)" * (cast_expression "(int *)(param_5 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar13 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" { comment (expression_statement "puVar12 = (undefined4 *)FUN_0017ebf0(0x44);" (assignment_expression "puVar12 = (undefined4 *)FUN_0017ebf0(0x44)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(0x44)" identifier (argument_list "(0x44)" ( number_literal ))))) ;) (expression_statement "puVar12[1] = 0;" (assignment_expression "puVar12[1] = 0" (subscript_expression "puVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[2] = 0;" (assignment_expression "puVar12[2] = 0" (subscript_expression "puVar12[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar12 = &PTR_FUN_002ff698;" (assignment_expression "*puVar12 = &PTR_FUN_002ff698" (pointer_expression "*puVar12" * identifier) = (pointer_expression "&PTR_FUN_002ff698" & identifier)) ;) (expression_statement "puVar12[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined2 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined2 *)(puVar12 + 4)" * (cast_expression "(undefined2 *)(puVar12 + 4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 4)" ( (binary_expression "puVar12 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar12 + 0x12) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x12) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar12 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 0x12)" ( (binary_expression "(int)puVar12 + 0x12" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar12[5] = 0;" (assignment_expression "puVar12[5] = 0" (subscript_expression "puVar12[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[6] = 0;" (assignment_expression "puVar12[6] = 0" (subscript_expression "puVar12[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[7] = 0;" (assignment_expression "puVar12[7] = 0" (subscript_expression "puVar12[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[8] = 0;" (assignment_expression "puVar12[8] = 0" (subscript_expression "puVar12[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[9] = 0;" (assignment_expression "puVar12[9] = 0" (subscript_expression "puVar12[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[10] = 0;" (assignment_expression "puVar12[10] = 0" (subscript_expression "puVar12[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xb] = 0;" (assignment_expression "puVar12[0xb] = 0" (subscript_expression "puVar12[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xc] = 0;" (assignment_expression "puVar12[0xc] = 0" (subscript_expression "puVar12[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xd] = 0;" (assignment_expression "puVar12[0xd] = 0" (subscript_expression "puVar12[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar12 + 0x43) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x43) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x43)" * (cast_expression "(undefined1 *)((int)puVar12 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 0x43)" ( (binary_expression "(int)puVar12 + 0x43" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_00196ab0(puVar12,param_5 + 0x6c);" (call_expression "FUN_00196ab0(puVar12,param_5 + 0x6c)" identifier (argument_list "(puVar12,param_5 + 0x6c)" ( identifier , (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);" (call_expression "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" identifier (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" ( (pointer_expression "*(undefined4 *)(param_5 + 0x6c)" * (cast_expression "(undefined4 *)(param_5 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (expression_statement "local_40 = (byte *)*param_7;" (assignment_expression "local_40 = (byte *)*param_7" identifier = (cast_expression "(byte *)*param_7" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "pbVar9 = local_40 + -0xc;" (assignment_expression "pbVar9 = local_40 + -0xc" identifier = (binary_expression "local_40 + -0xc" identifier + number_literal)) ;) (if_statement "if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" if (parenthesized_expression "(*local_40 == *(byte *)(iVar13 + 0x38))" ( (binary_expression "*local_40 == *(byte *)(iVar13 + 0x38)" (pointer_expression "*local_40" * identifier) == (pointer_expression "*(byte *)(iVar13 + 0x38)" * (cast_expression "(byte *)(iVar13 + 0x38)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38)" ( (binary_expression "iVar13 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x34);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x34)" * (cast_expression "(undefined4 *)(iVar13 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x34)" ( (binary_expression "iVar13 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)pbVar9 == 0) goto LAB_00198358;" if (parenthesized_expression "(*(int *)pbVar9 == 0)" ( (binary_expression "*(int *)pbVar9 == 0" (pointer_expression "*(int *)pbVar9" * (cast_expression "(int *)pbVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_00198358;" goto statement_identifier ;)) (expression_statement "local_68 = *(char **)(iVar13 + 0x24);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x24)" identifier = (pointer_expression "*(char **)(iVar13 + 0x24)" * (cast_expression "(char **)(iVar13 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "local_50 = *(uint *)(iVar13 + 0x28);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x28)" * (cast_expression "(uint *)(iVar13 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x28)" ( (binary_expression "iVar13 + 0x28" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x30);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x30)" * (cast_expression "(undefined4 *)(iVar13 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x30)" ( (binary_expression "iVar13 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_68 = *(char **)(iVar13 + 0x1c);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar13 + 0x1c)" * (cast_expression "(char **)(iVar13 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(uint *)(iVar13 + 0x20);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x20)" * (cast_expression "(uint *)(iVar13 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x20)" ( (binary_expression "iVar13 + 0x20" identifier + number_literal) ))))) ;) }))) (expression_statement "pbVar9 = local_40 + *(int *)pbVar9;" (assignment_expression "pbVar9 = local_40 + *(int *)pbVar9" identifier = (binary_expression "local_40 + *(int *)pbVar9" identifier + (pointer_expression "*(int *)pbVar9" * (cast_expression "(int *)pbVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (if_statement "if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" if (parenthesized_expression "((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0))" ( (binary_expression "(local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" (parenthesized_expression "(local_40 < pbVar9)" ( (binary_expression "local_40 < pbVar9" identifier < identifier) )) && (parenthesized_expression "(pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" ( (comma_expression "pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (assignment_expression "pbVar8 = local_40" identifier = identifier) , (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" * (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" ( (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*local_40 * 2" (binary_expression "(uint)*local_40" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" { (do_statement "do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);" do (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" if (parenthesized_expression "(pbVar9 == pbVar8)" ( (binary_expression "pbVar9 == pbVar8" identifier == identifier) )) (compound_statement "{\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" { (expression_statement "iVar6 = (int)pbVar9 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar9 - (int)local_40" identifier = (binary_expression "(int)pbVar9 - (int)local_40" (cast_expression "(int)pbVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto joined_r0x0019838f;" goto statement_identifier ;) })) }) while (parenthesized_expression "((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0)" ( (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" * (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" ( (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar8 * 2" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "iVar6 = (int)pbVar8 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar8 - (int)local_40" identifier = (binary_expression "(int)pbVar8 - (int)local_40" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (labeled_statement "joined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" statement_identifier : (if_statement "if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" { (expression_statement "local_28 = &DAT_00309e0c;" (assignment_expression "local_28 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) comment (expression_statement "FUN_001b9450(&local_28,iVar6 * 2);" (call_expression "FUN_001b9450(&local_28,iVar6 * 2)" identifier (argument_list "(&local_28,iVar6 * 2)" ( (pointer_expression "&local_28" & identifier) , (binary_expression "iVar6 * 2" identifier * number_literal) ))) ;) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x2c)" * (cast_expression "(int *)(iVar13 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_5c = iVar6 - iVar7;" (assignment_expression "local_5c = iVar6 - iVar7" identifier = (binary_expression "iVar6 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" if (parenthesized_expression "(0 < (int)local_5c)" ( (binary_expression "0 < (int)local_5c" number_literal < (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" { (if_statement "if (iVar7 < 0) {\n          local_5c = iVar6;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n          local_5c = iVar6;\n        }" { (expression_statement "local_5c = iVar6;" (assignment_expression "local_5c = iVar6" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar13 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" if (parenthesized_expression "(*(int *)(iVar13 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar13 + 0xc) == 0" (pointer_expression "*(int *)(iVar13 + 0xc)" * (cast_expression "(int *)(iVar13 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0xc)" ( (binary_expression "iVar13 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }" { comment (expression_statement "FUN_001b8e90(&local_28,local_40,local_5c);" (call_expression "FUN_001b8e90(&local_28,local_40,local_5c)" identifier (argument_list "(&local_28,local_40,local_5c)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" else (compound_statement "{\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" { (expression_statement "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);" (call_expression "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" identifier (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" ( (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "*(undefined4 *)(local_28 + -0xc)" * (cast_expression "(undefined4 *)(local_28 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))) , (binary_expression "local_5c * 2" identifier * number_literal) , number_literal ))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0xc)" * (cast_expression "(undefined4 *)(iVar13 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0xc)" ( (binary_expression "iVar13 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar13 + 8);" (assignment_expression "uVar4 = *(undefined4 *)(iVar13 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 8)" * (cast_expression "(undefined4 *)(iVar13 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *(char *)(iVar13 + 0x12);" (assignment_expression "cVar2 = *(char *)(iVar13 + 0x12)" identifier = (pointer_expression "*(char *)(iVar13 + 0x12)" * (cast_expression "(char *)(iVar13 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x12)" ( (binary_expression "iVar13 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);" (assignment_expression "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" identifier = (call_expression "FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" identifier (argument_list "(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" ( identifier , (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (binary_expression "local_40 + local_5c" identifier + identifier) )))) ;) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "uVar10 = iVar7 - (int)local_28;" (assignment_expression "uVar10 = iVar7 - (int)local_28" identifier = (binary_expression "iVar7 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = *(uint *)(local_28 + -0xc);" (assignment_expression "uVar11 = *(uint *)(local_28 + -0xc)" identifier = (pointer_expression "*(uint *)(local_28 + -0xc)" * (cast_expression "(uint *)(local_28 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if (uVar11 < uVar10) {\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" if (parenthesized_expression "(uVar11 < uVar10)" ( (binary_expression "uVar11 < uVar10" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" { comment (expression_statement "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);" (call_expression "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" ( (string_literal ""%s: __pos (which is %zu) > this->size() (which is %zu)"" " string_content ") , (string_literal ""basic_string::erase"" " string_content ") , identifier , identifier ))) ;) })) (expression_statement "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);" (call_expression "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0)" identifier (argument_list "(&local_28,uVar10,uVar11 - uVar10,0)" ( (pointer_expression "&local_28" & identifier) , identifier , (binary_expression "uVar11 - uVar10" identifier - identifier) , number_literal ))) ;) }))) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x2c)" * (cast_expression "(int *)(iVar13 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" { comment (expression_statement "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));" (call_expression "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11))" identifier (argument_list "(&local_28,(int)*(char *)(iVar13 + 0x11))" ( (pointer_expression "&local_28" & identifier) , (cast_expression "(int)*(char *)(iVar13 + 0x11)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar13 + 0x11)" * (cast_expression "(char *)(iVar13 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11)" ( (binary_expression "iVar13 + 0x11" identifier + number_literal) ))))) ))) ;) (if_statement "if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" if (parenthesized_expression "((int)local_5c < 0)" ( (binary_expression "(int)local_5c < 0" (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }" { comment (expression_statement "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));" (call_expression "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" identifier (argument_list "(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" ( (pointer_expression "&local_28" & identifier) , (unary_expression "-local_5c" - identifier) , (cast_expression "(int)*(char *)(iVar13 + 0x39)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar13 + 0x39)" * (cast_expression "(char *)(iVar13 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x39)" ( (binary_expression "iVar13 + 0x39" identifier + number_literal) ))))) ))) ;) (expression_statement "FUN_001b9740(&local_28,local_40,iVar6);" (call_expression "FUN_001b9740(&local_28,local_40,iVar6)" identifier (argument_list "(&local_28,local_40,iVar6)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" else (compound_statement "{\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" { (expression_statement "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));" (call_expression "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" identifier (argument_list "(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" ( (pointer_expression "&local_28" & identifier) , (binary_expression "local_40 + local_5c" identifier + identifier) , (pointer_expression "*(undefined4 *)(iVar13 + 0x2c)" * (cast_expression "(undefined4 *)(iVar13 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) )))) ))) ;) }))) })) (expression_statement "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0" identifier = (binary_expression "*(uint *)(param_5 + 0xc) & 0xb0" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "uVar10 = local_50 + *(int *)(local_28 + -0xc);" (assignment_expression "uVar10 = local_50 + *(int *)(local_28 + -0xc)" identifier = (binary_expression "local_50 + *(int *)(local_28 + -0xc)" identifier + (pointer_expression "*(int *)(local_28 + -0xc)" * (cast_expression "(int *)(local_28 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))))) ;) (if_statement "if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" if (parenthesized_expression "((*(uint *)(param_5 + 0xc) & 0x200) != 0)" ( (binary_expression "(*(uint *)(param_5 + 0xc) & 0x200) != 0" (parenthesized_expression "(*(uint *)(param_5 + 0xc) & 0x200)" ( (binary_expression "*(uint *)(param_5 + 0xc) & 0x200" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" { (expression_statement "uVar10 = uVar10 + *(int *)(iVar13 + 0x18);" (assignment_expression "uVar10 = uVar10 + *(int *)(iVar13 + 0x18)" identifier = (binary_expression "uVar10 + *(int *)(iVar13 + 0x18)" identifier + (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00309e0c;" (assignment_expression "local_24 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) comment (expression_statement "FUN_001b9450(&local_24,uVar10 * 2);" (call_expression "FUN_001b9450(&local_24,uVar10 * 2)" identifier (argument_list "(&local_24,uVar10 * 2)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar10 * 2" identifier * number_literal) ))) ;) (expression_statement "uVar5 = *(uint *)(param_5 + 8);" (assignment_expression "uVar5 = *(uint *)(param_5 + 8)" identifier = (pointer_expression "*(uint *)(param_5 + 8)" * (cast_expression "(uint *)(param_5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar12 = &local_20;" (assignment_expression "puVar12 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (do_statement "do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);" do (compound_statement "{\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      }" { (switch_statement "switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" switch (parenthesized_expression "(*(undefined1 *)puVar12)" ( (pointer_expression "*(undefined1 *)puVar12" * (cast_expression "(undefined1 *)puVar12" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" { (case_statement "case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;" case number_literal : (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" if (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" ( (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar5" identifier < identifier)) )) (compound_statement "{\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" { (labeled_statement "code_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" statement_identifier : (expression_statement "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6)" identifier (argument_list "(&local_24,uVar5 - uVar10,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar5 - uVar10" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;)) })) (break_statement "break;" break ;)) (case_statement "case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;" case number_literal : (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;" if (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" ( (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar5" identifier < identifier)) )) (goto_statement "goto code_r0x0019859a;" goto statement_identifier ;)) (expression_statement "FUN_001b9a70(&local_24,(int)param_6);" (call_expression "FUN_001b9a70(&local_24,(int)param_6)" identifier (argument_list "(&local_24,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" if (parenthesized_expression "((*(byte *)(param_5 + 0xd) & 2) != 0)" ( (binary_expression "(*(byte *)(param_5 + 0xd) & 2) != 0" (parenthesized_expression "(*(byte *)(param_5 + 0xd) & 2)" ( (binary_expression "*(byte *)(param_5 + 0xd) & 2" (pointer_expression "*(byte *)(param_5 + 0xd)" * (cast_expression "(byte *)(param_5 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xd)" ( (binary_expression "param_5 + 0xd" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" { (expression_statement "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));" (call_expression "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" identifier (argument_list "(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*(undefined4 *)(iVar13 + 0x14)" * (cast_expression "(undefined4 *)(iVar13 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" * (cast_expression "(undefined4 *)(iVar13 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;" case number_literal : (if_statement "if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" if (parenthesized_expression "(local_50 != 0)" ( (binary_expression "local_50 != 0" identifier != number_literal) )) (compound_statement "{\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" { (expression_statement "FUN_001b9a70(&local_24,(int)*local_68);" (call_expression "FUN_001b9a70(&local_24,(int)*local_68)" identifier (argument_list "(&local_24,(int)*local_68)" ( (pointer_expression "&local_24" & identifier) , (cast_expression "(int)*local_68" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_68" * identifier)) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 4:\n          FUN_001b9570(&local_24,&local_28);" case number_literal : (expression_statement "FUN_001b9570(&local_24,&local_28);" (call_expression "FUN_001b9570(&local_24,&local_28)" identifier (argument_list "(&local_24,&local_28)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) ))) ;)) })) (expression_statement "puVar12 = (undefined4 *)((int)puVar12 + 1);" (assignment_expression "puVar12 = (undefined4 *)((int)puVar12 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar12 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar12 != local_1c)" ( (binary_expression "puVar12 != local_1c" identifier != identifier) )) ;) (if_statement "if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" if (parenthesized_expression "(local_50 < 2)" ( (binary_expression "local_50 < 2" identifier < number_literal) )) (compound_statement "{\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" else (compound_statement "{\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (expression_statement "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);" (call_expression "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1)" identifier (argument_list "(&local_24,local_68 + 1,local_50 - 1)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "local_68 + 1" identifier + number_literal) , (binary_expression "local_50 - 1" identifier - number_literal) ))) ;) (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" if (parenthesized_expression "(local_5c < uVar5)" ( (binary_expression "local_5c < uVar5" identifier < identifier) )) (compound_statement "{\n        if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" { (if_statement "if (uVar11 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" if (parenthesized_expression "(uVar11 == 0x20)" ( (binary_expression "uVar11 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" { comment (expression_statement "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6)" identifier (argument_list "(&local_24,uVar5 - local_5c,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar5 - local_5c" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" identifier = identifier) ;) }) (else_clause "else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" else (compound_statement "{\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" { (expression_statement "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6)" identifier (argument_list "(&local_24,0,0,uVar5 - local_5c,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , number_literal , number_literal , (binary_expression "uVar5 - local_5c" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" identifier = identifier) ;) }))) })) (if_statement "if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" if (parenthesized_expression "(local_41 == '\0')" ( (binary_expression "local_41 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" { (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" (parenthesized_expression "(**(code **)(*param_3 + 0x30))" ( (pointer_expression "**(code **)(*param_3 + 0x30)" * (pointer_expression "*(code **)(*param_3 + 0x30)" * (cast_expression "(code **)(*param_3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x30)" ( (binary_expression "*param_3 + 0x30" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,local_24,local_5c)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_41 = uVar11 != local_5c;" (assignment_expression "local_41 = uVar11 != local_5c" identifier = (binary_expression "uVar11 != local_5c" identifier != identifier)) ;) })) (expression_statement "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);" (assignment_expression "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8)" (field_expression "local_3c._1_3_" identifier . field_identifier) = (call_expression "(undefined3)((uint)param_4 >> 8)" (parenthesized_expression "(undefined3)" ( identifier )) (argument_list "((uint)param_4 >> 8)" ( (binary_expression "(uint)param_4 >> 8" (cast_expression "(uint)param_4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" if (parenthesized_expression "(local_24 != &DAT_00309e0c)" ( (binary_expression "local_24 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        FUN_00192a20();\n      }" { (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" if (parenthesized_expression "(local_28 != &DAT_00309e0c)" ( (binary_expression "local_28 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        FUN_00192a20();\n      }" { (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" identifier (argument_list "()" ( ))) ;) })) }))) })) (labeled_statement "LAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_3c;" (assignment_expression "param_1[1] = local_3c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ostreambuf_iterator<char, std::char_traits<char> > std::money_put<char,\n   std::ostreambuf_iterator<char, std::char_traits<char> >\n   >::_M_insert<false>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,\n   char, std::string const&) const */\n\nvoid std::money_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert<false>\n               (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n               char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  ctype *pcVar3;\n  uint uVar4;\n  byte *pbVar5;\n  char *pcVar6;\n  int iVar7;\n  __moneypunct_cache<char,false> *this;\n  byte *pbVar8;\n  uint uVar9;\n  uint uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  char *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  pcVar3 = use_facet<std::ctype<char>>((locale *)(param_5 + 0x6c));\n  uVar4 = locale::id::_M_id((id *)PTR_id_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4);\n  iVar12 = *piVar1;\n  if (iVar12 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    this = (__moneypunct_cache<char,false> *)operator_new(0x44);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined ***)this = &PTR____moneypunct_cache_002ff698;\n    *(undefined4 *)(this + 0xc) = 0;\n    *(undefined2 *)(this + 0x10) = 0;\n    this[0x12] = (__moneypunct_cache<char,false>)0x0;\n    *(undefined4 *)(this + 0x14) = 0;\n    *(undefined4 *)(this + 0x18) = 0;\n    *(undefined4 *)(this + 0x1c) = 0;\n    *(undefined4 *)(this + 0x20) = 0;\n    *(undefined4 *)(this + 0x24) = 0;\n    *(undefined4 *)(this + 0x28) = 0;\n    *(undefined4 *)(this + 0x2c) = 0;\n    *(undefined4 *)(this + 0x30) = 0;\n    *(undefined4 *)(this + 0x34) = 0;\n    this[0x43] = (__moneypunct_cache<char,false>)0x0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    __moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);\n    iVar12 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar8 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar12 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar12 + 0x34);\n    if (*(int *)pbVar8 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar12 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar12 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar12 + 0x30);\n    local_68 = *(char **)(iVar12 + 0x1c);\n    local_50 = *(uint *)(iVar12 + 0x20);\n  }\n  pbVar8 = local_40 + *(int *)pbVar8;\n  if ((local_40 < pbVar8) &&\n     (pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar5 = pbVar5 + 1;\n      if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0);\n    uVar4 = (int)pbVar5 - (int)local_40;\njoined_r0x0019838f:\n    if (uVar4 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" comment comment (declaration "void std::money_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert<false>\n               (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n               char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;" primitive_type (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>::_M_insert<false>\n               (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n               char param_6,undefined4 *param_7)\n\n{\n  int" identifier : : identifier < primitive_type >> > : : (function_declarator "_M_insert<false>\n               (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n               char param_6,undefined4 *param_7)" identifier (ERROR "<false>" < false >) (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n               char param_6,undefined4 *param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "char param_6" primitive_type identifier) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "ctype *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "__moneypunct_cache<char,false> *this;" (update_expression "__moneypunct_cache<char,false> *this" (binary_expression "__moneypunct_cache<char,false> *this" (binary_expression "__moneypunct_cache<char" identifier < identifier) (ERROR ",false" , false) > (pointer_expression "*this" * identifier)) --) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "uint local_5c;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "char local_41;" primitive_type identifier ;) (declaration "byte *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "char *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c [2];" type_identifier (array_declarator "local_1c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x19828b;" (assignment_expression "uStack_14 = 0x19828b" identifier = number_literal) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_41 = (char)param_4;" (assignment_expression "local_41 = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_5 + 0x6c));" (update_expression "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_5 + 0x6c))" (binary_expression "pcVar3 = use_facet<std::ctype<char>>((locale *)(param_5 + 0x6c))" (assignment_expression "pcVar3 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "char>>((locale *)(param_5 + 0x6c))" identifier >> (parenthesized_expression "((locale *)(param_5 + 0x6c))" ( (cast_expression "(locale *)(param_5 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) )))) --) ;) (ERROR "uVar4 = locale::" (assignment_expression "uVar4 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_00301bdc);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_00301bdc);" (call_expression "_M_id((id *)PTR_id_00301bdc)" identifier (argument_list "((id *)PTR_id_00301bdc)" ( (cast_expression "(id *)PTR_id_00301bdc" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar4 * 4" (pointer_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc)" * (cast_expression "(int *)(*(int *)(param_5 + 0x6c) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_5 + 0x6c) + 0xc)" ( (binary_expression "*(int *)(param_5 + 0x6c) + 0xc" (pointer_expression "*(int *)(param_5 + 0x6c)" * (cast_expression "(int *)(param_5 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "uVar4 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar12 = *piVar1;" (assignment_expression "iVar12 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar12 == 0) {\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    this = (__moneypunct_cache<char,false> *)operator_new(0x44);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined ***)this = &PTR____moneypunct_cache_002ff698;\n    *(undefined4 *)(this + 0xc) = 0;\n    *(undefined2 *)(this + 0x10) = 0;\n    this[0x12] = (__moneypunct_cache<char,false>)0x0;\n    *(undefined4 *)(this + 0x14) = 0;\n    *(undefined4 *)(this + 0x18) = 0;\n    *(undefined4 *)(this + 0x1c) = 0;\n    *(undefined4 *)(this + 0x20) = 0;\n    *(undefined4 *)(this + 0x24) = 0;\n    *(undefined4 *)(this + 0x28) = 0;\n    *(undefined4 *)(this + 0x2c) = 0;\n    *(undefined4 *)(this + 0x30) = 0;\n    *(undefined4 *)(this + 0x34) = 0;\n    this[0x43] = (__moneypunct_cache<char,false>)0x0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    __moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);\n    iVar12 = *piVar1;\n  }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */\n    this = (__moneypunct_cache<char,false> *)operator_new(0x44);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined ***)this = &PTR____moneypunct_cache_002ff698;\n    *(undefined4 *)(this + 0xc) = 0;\n    *(undefined2 *)(this + 0x10) = 0;\n    this[0x12] = (__moneypunct_cache<char,false>)0x0;\n    *(undefined4 *)(this + 0x14) = 0;\n    *(undefined4 *)(this + 0x18) = 0;\n    *(undefined4 *)(this + 0x1c) = 0;\n    *(undefined4 *)(this + 0x20) = 0;\n    *(undefined4 *)(this + 0x24) = 0;\n    *(undefined4 *)(this + 0x28) = 0;\n    *(undefined4 *)(this + 0x2c) = 0;\n    *(undefined4 *)(this + 0x30) = 0;\n    *(undefined4 *)(this + 0x34) = 0;\n    this[0x43] = (__moneypunct_cache<char,false>)0x0;\n                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */\n    __moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);\n    iVar12 = *piVar1;\n  }" { comment (expression_statement "this = (__moneypunct_cache<char,false> *)operator_new(0x44);" (assignment_expression "this = (__moneypunct_cache<char,false> *)operator_new(0x44)" identifier = (parenthesized_expression "(__moneypunct_cache<char,false> *)operator_new(0x44)" ( (comma_expression "__moneypunct_cache<char,false> *)operator_new(0x44)" (binary_expression "__moneypunct_cache<char" identifier < identifier) , (binary_expression "false> *)operator_new(0x44)" false > (pointer_expression "*)operator_new(0x44)" * (ERROR ")" )) (call_expression "operator_new(0x44)" identifier (argument_list "(0x44)" ( number_literal )))))) ))) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined ***)this = &PTR____moneypunct_cache_002ff698;" (assignment_expression "*(undefined ***)this = &PTR____moneypunct_cache_002ff698" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR____moneypunct_cache_002ff698" & identifier)) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(this + 0x10) = 0;" (assignment_expression "*(undefined2 *)(this + 0x10) = 0" (pointer_expression "*(undefined2 *)(this + 0x10)" * (cast_expression "(undefined2 *)(this + 0x10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x12] = (__moneypunct_cache<char,false>)0x0;" (assignment_expression "this[0x12] = (__moneypunct_cache<char,false>)0x0" (subscript_expression "this[0x12]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<char,false>)0x0" ( (comma_expression "__moneypunct_cache<char,false>)0x0" (binary_expression "__moneypunct_cache<char" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = 0;" (assignment_expression "*(undefined4 *)(this + 0x14) = 0" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x18) = 0;" (assignment_expression "*(undefined4 *)(this + 0x18) = 0" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x1c) = 0" (pointer_expression "*(undefined4 *)(this + 0x1c)" * (cast_expression "(undefined4 *)(this + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x20) = 0;" (assignment_expression "*(undefined4 *)(this + 0x20) = 0" (pointer_expression "*(undefined4 *)(this + 0x20)" * (cast_expression "(undefined4 *)(this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x24) = 0;" (assignment_expression "*(undefined4 *)(this + 0x24) = 0" (pointer_expression "*(undefined4 *)(this + 0x24)" * (cast_expression "(undefined4 *)(this + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x24)" ( (binary_expression "this + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x28) = 0;" (assignment_expression "*(undefined4 *)(this + 0x28) = 0" (pointer_expression "*(undefined4 *)(this + 0x28)" * (cast_expression "(undefined4 *)(this + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x28)" ( (binary_expression "this + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x2c) = 0" (pointer_expression "*(undefined4 *)(this + 0x2c)" * (cast_expression "(undefined4 *)(this + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x2c)" ( (binary_expression "this + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x30) = 0;" (assignment_expression "*(undefined4 *)(this + 0x30) = 0" (pointer_expression "*(undefined4 *)(this + 0x30)" * (cast_expression "(undefined4 *)(this + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x30)" ( (binary_expression "this + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x34) = 0;" (assignment_expression "*(undefined4 *)(this + 0x34) = 0" (pointer_expression "*(undefined4 *)(this + 0x34)" * (cast_expression "(undefined4 *)(this + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x34)" ( (binary_expression "this + 0x34" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x43] = (__moneypunct_cache<char,false>)0x0;" (assignment_expression "this[0x43] = (__moneypunct_cache<char,false>)0x0" (subscript_expression "this[0x43]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<char,false>)0x0" ( (comma_expression "__moneypunct_cache<char,false>)0x0" (binary_expression "__moneypunct_cache<char" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) comment (expression_statement "__moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c));" (comma_expression "__moneypunct_cache<char,false>::_M_cache(this,(locale *)(param_5 + 0x6c))" (binary_expression "__moneypunct_cache<char" identifier < identifier) , (binary_expression "false>::_M_cache(this,(locale *)(param_5 + 0x6c))" false > (ERROR "::" : :) (call_expression "_M_cache(this,(locale *)(param_5 + 0x6c))" identifier (argument_list "(this,(locale *)(param_5 + 0x6c))" ( identifier , (cast_expression "(locale *)(param_5 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) ))))) ;) (labeled_statement "locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);" statement_identifier : (ERROR ":" :) (labeled_statement "_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4);" (call_expression "_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4)" identifier (argument_list "(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar4)" ( (pointer_expression "*(_Impl **)(param_5 + 0x6c)" * (cast_expression "(_Impl **)(param_5 + 0x6c)" ( (type_descriptor "_Impl **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) , (cast_expression "(facet *)this" ( (type_descriptor "facet *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;))) (expression_statement "iVar12 = *piVar1;" (assignment_expression "iVar12 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (expression_statement "local_40 = (byte *)*param_7;" (assignment_expression "local_40 = (byte *)*param_7" identifier = (cast_expression "(byte *)*param_7" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "pbVar8 = local_40 + -0xc;" (assignment_expression "pbVar8 = local_40 + -0xc" identifier = (binary_expression "local_40 + -0xc" identifier + number_literal)) ;) (if_statement "if (*local_40 == *(byte *)(iVar12 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar12 + 0x34);\n    if (*(int *)pbVar8 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar12 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar12 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar12 + 0x30);\n    local_68 = *(char **)(iVar12 + 0x1c);\n    local_50 = *(uint *)(iVar12 + 0x20);\n  }" if (parenthesized_expression "(*local_40 == *(byte *)(iVar12 + 0x38))" ( (binary_expression "*local_40 == *(byte *)(iVar12 + 0x38)" (pointer_expression "*local_40" * identifier) == (pointer_expression "*(byte *)(iVar12 + 0x38)" * (cast_expression "(byte *)(iVar12 + 0x38)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38)" ( (binary_expression "iVar12 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar12 + 0x34);\n    if (*(int *)pbVar8 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar12 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar12 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar12 + 0x34);" (assignment_expression "local_20 = *(undefined4 *)(iVar12 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar12 + 0x34)" * (cast_expression "(undefined4 *)(iVar12 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x34)" ( (binary_expression "iVar12 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)pbVar8 == 0) goto LAB_00198358;" if (parenthesized_expression "(*(int *)pbVar8 == 0)" ( (binary_expression "*(int *)pbVar8 == 0" (pointer_expression "*(int *)pbVar8" * (cast_expression "(int *)pbVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_00198358;" goto statement_identifier ;)) (expression_statement "local_68 = *(char **)(iVar12 + 0x24);" (assignment_expression "local_68 = *(char **)(iVar12 + 0x24)" identifier = (pointer_expression "*(char **)(iVar12 + 0x24)" * (cast_expression "(char **)(iVar12 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x24)" ( (binary_expression "iVar12 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "local_50 = *(uint *)(iVar12 + 0x28);" (assignment_expression "local_50 = *(uint *)(iVar12 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar12 + 0x28)" * (cast_expression "(uint *)(iVar12 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x28)" ( (binary_expression "iVar12 + 0x28" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar12 + 0x30);\n    local_68 = *(char **)(iVar12 + 0x1c);\n    local_50 = *(uint *)(iVar12 + 0x20);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar12 + 0x30);\n    local_68 = *(char **)(iVar12 + 0x1c);\n    local_50 = *(uint *)(iVar12 + 0x20);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar12 + 0x30);" (assignment_expression "local_20 = *(undefined4 *)(iVar12 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar12 + 0x30)" * (cast_expression "(undefined4 *)(iVar12 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x30)" ( (binary_expression "iVar12 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_68 = *(char **)(iVar12 + 0x1c);" (assignment_expression "local_68 = *(char **)(iVar12 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar12 + 0x1c)" * (cast_expression "(char **)(iVar12 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x1c)" ( (binary_expression "iVar12 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(uint *)(iVar12 + 0x20);" (assignment_expression "local_50 = *(uint *)(iVar12 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar12 + 0x20)" * (cast_expression "(uint *)(iVar12 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x20)" ( (binary_expression "iVar12 + 0x20" identifier + number_literal) ))))) ;) }))) (expression_statement "pbVar8 = local_40 + *(int *)pbVar8;" (assignment_expression "pbVar8 = local_40 + *(int *)pbVar8" identifier = (binary_expression "local_40 + *(int *)pbVar8" identifier + (pointer_expression "*(int *)pbVar8" * (cast_expression "(int *)pbVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (if_statement "if ((local_40 < pbVar8) &&\n     (pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar5 = pbVar5 + 1;\n      if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0);\n    uVar4 = (int)pbVar5 - (int)local_40;\njoined_r0x0019838f:\n    if (uVar4 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }\n  }" if (parenthesized_expression "((local_40 < pbVar8) &&\n     (pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0))" ( (binary_expression "(local_40 < pbVar8) &&\n     (pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" (parenthesized_expression "(local_40 < pbVar8)" ( (binary_expression "local_40 < pbVar8" identifier < identifier) )) && (parenthesized_expression "(pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" ( (comma_expression "pbVar5 = local_40, (*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (assignment_expression "pbVar5 = local_40" identifier = identifier) , (binary_expression "(*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2)" * (cast_expression "(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2)" ( (binary_expression "*(int *)(pcVar3 + 0x18) + 1 + (uint)*local_40 * 2" (binary_expression "*(int *)(pcVar3 + 0x18) + 1" (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*local_40 * 2" (binary_expression "(uint)*local_40" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      pbVar5 = pbVar5 + 1;\n      if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0);\n    uVar4 = (int)pbVar5 - (int)local_40;\njoined_r0x0019838f:\n    if (uVar4 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }\n  }" { (do_statement "do {\n      pbVar5 = pbVar5 + 1;\n      if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0);" do (compound_statement "{\n      pbVar5 = pbVar5 + 1;\n      if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    }" { (expression_statement "pbVar5 = pbVar5 + 1;" (assignment_expression "pbVar5 = pbVar5 + 1" identifier = (binary_expression "pbVar5 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar8 == pbVar5) {\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" if (parenthesized_expression "(pbVar8 == pbVar5)" ( (binary_expression "pbVar8 == pbVar5" identifier == identifier) )) (compound_statement "{\n        uVar4 = (int)pbVar8 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" { (expression_statement "uVar4 = (int)pbVar8 - (int)local_40;" (assignment_expression "uVar4 = (int)pbVar8 - (int)local_40" identifier = (binary_expression "(int)pbVar8 - (int)local_40" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto joined_r0x0019838f;" goto statement_identifier ;) })) }) while (parenthesized_expression "((*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0)" ( (binary_expression "(*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2)" * (cast_expression "(byte *)(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2)" ( (binary_expression "*(int *)(pcVar3 + 0x18) + 1 + (uint)*pbVar5 * 2" (binary_expression "*(int *)(pcVar3 + 0x18) + 1" (pointer_expression "*(int *)(pcVar3 + 0x18)" * (cast_expression "(int *)(pcVar3 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 0x18)" ( (binary_expression "pcVar3 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar5 * 2" (binary_expression "(uint)*pbVar5" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "uVar4 = (int)pbVar5 - (int)local_40;" (assignment_expression "uVar4 = (int)pbVar5 - (int)local_40" identifier = (binary_expression "(int)pbVar5 - (int)local_40" (cast_expression "(int)pbVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (labeled_statement "joined_r0x0019838f:\n    if (uVar4 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }" statement_identifier : (if_statement "if (uVar4 != 0) {\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      local_28 = &DAT_00309e0c;\n                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */\n      std::string::reserve((string *)&local_28,uVar4 * 2);\n      iVar7 = *(int *)(iVar12 + 0x2c);\n      local_5c = uVar4 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }\n      uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */\n      std::string::reserve((string *)&local_24,uVar10 * 2);\n      uVar9 = *(uint *)(param_5 + 8);\n      puVar11 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }\n      if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }\n    }" { (expression_statement "local_28 = &DAT_00309e0c;" (assignment_expression "local_28 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) comment (labeled_statement "std::string::reserve((string *)&local_28,uVar4 * 2);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve((string *)&local_28,uVar4 * 2);" statement_identifier : (ERROR ":" :) (expression_statement "reserve((string *)&local_28,uVar4 * 2);" (call_expression "reserve((string *)&local_28,uVar4 * 2)" identifier (argument_list "((string *)&local_28,uVar4 * 2)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (binary_expression "uVar4 * 2" identifier * number_literal) ))) ;))) (expression_statement "iVar7 = *(int *)(iVar12 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar12 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar12 + 0x2c)" * (cast_expression "(int *)(iVar12 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x2c)" ( (binary_expression "iVar12 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_5c = uVar4 - iVar7;" (assignment_expression "local_5c = uVar4 - iVar7" identifier = (binary_expression "uVar4 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }" if (parenthesized_expression "(0 < (int)local_5c)" ( (binary_expression "0 < (int)local_5c" number_literal < (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        if (iVar7 < 0) {\n          local_5c = uVar4;\n        }\n        if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }\n        iVar7 = *(int *)(iVar12 + 0x2c);\n      }" { (if_statement "if (iVar7 < 0) {\n          local_5c = uVar4;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n          local_5c = uVar4;\n        }" { (expression_statement "local_5c = uVar4;" (assignment_expression "local_5c = uVar4" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar12 + 0xc) == 0) {\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }\n        else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }" if (parenthesized_expression "(*(int *)(iVar12 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar12 + 0xc) == 0" (pointer_expression "*(int *)(iVar12 + 0xc)" * (cast_expression "(int *)(iVar12 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0xc)" ( (binary_expression "iVar12 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */\n          std::string::assign((string *)&local_28,(char *)local_40,local_5c);\n        }" { comment (labeled_statement "std::string::assign((string *)&local_28,(char *)local_40,local_5c);" statement_identifier : (ERROR ":" :) (labeled_statement "string::assign((string *)&local_28,(char *)local_40,local_5c);" statement_identifier : (ERROR ":" :) (expression_statement "assign((string *)&local_28,(char *)local_40,local_5c);" (call_expression "assign((string *)&local_28,(char *)local_40,local_5c)" identifier (argument_list "((string *)&local_28,(char *)local_40,local_5c)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (cast_expression "(char *)local_40" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;))) }) (else_clause "else {\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }" else (compound_statement "{\n          std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');\n          uVar10 = *(uint *)(iVar12 + 0xc);\n          pcVar6 = *(char **)(iVar12 + 8);\n          cVar2 = *(char *)(iVar12 + 0x12);\n          std::string::_M_leak((string *)&local_28);\n          pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));\n          std::string::_M_leak((string *)&local_28);\n          uVar9 = (int)pcVar6 - (int)local_28;\n          uVar10 = *(uint *)(local_28 + -0xc);\n          if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }\n          std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);\n        }" { (labeled_statement "std::string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0');" (call_expression "_M_replace_aux\n                    ((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0')" identifier (argument_list "((string *)&local_28,0,*(uint *)(local_28 + -0xc),local_5c * 2,'\0')" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , number_literal , (pointer_expression "*(uint *)(local_28 + -0xc)" * (cast_expression "(uint *)(local_28 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))) , (binary_expression "local_5c * 2" identifier * number_literal) , (char_literal "'\0'" ' escape_sequence ') ))) ;))) (expression_statement "uVar10 = *(uint *)(iVar12 + 0xc);" (assignment_expression "uVar10 = *(uint *)(iVar12 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar12 + 0xc)" * (cast_expression "(uint *)(iVar12 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0xc)" ( (binary_expression "iVar12 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pcVar6 = *(char **)(iVar12 + 8);" (assignment_expression "pcVar6 = *(char **)(iVar12 + 8)" identifier = (pointer_expression "*(char **)(iVar12 + 8)" * (cast_expression "(char **)(iVar12 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 8)" ( (binary_expression "iVar12 + 8" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *(char *)(iVar12 + 0x12);" (assignment_expression "cVar2 = *(char *)(iVar12 + 0x12)" identifier = (pointer_expression "*(char *)(iVar12 + 0x12)" * (cast_expression "(char *)(iVar12 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x12)" ( (binary_expression "iVar12 + 0x12" identifier + number_literal) ))))) ;) (labeled_statement "std::string::_M_leak((string *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_leak((string *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak((string *)&local_28);" (call_expression "_M_leak((string *)&local_28)" identifier (argument_list "((string *)&local_28)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;))) (expression_statement "pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c));" (assignment_expression "pcVar6 = __add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c))" identifier = (binary_expression "__add_grouping<char>\n                             (local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c))" (binary_expression "__add_grouping<char" identifier < identifier) > (parenthesized_expression "(local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c))" ( (comma_expression "local_28,cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c)" identifier , (comma_expression "cVar2,pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c)" identifier , (comma_expression "pcVar6,uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c)" identifier , (comma_expression "uVar10,(char *)local_40,\n                              (char *)(local_40 + local_5c)" identifier , (comma_expression "(char *)local_40,\n                              (char *)(local_40 + local_5c)" (cast_expression "(char *)local_40" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)(local_40 + local_5c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40 + local_5c)" ( (binary_expression "local_40 + local_5c" identifier + identifier) )))))))) )))) ;) (labeled_statement "std::string::_M_leak((string *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_leak((string *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak((string *)&local_28);" (call_expression "_M_leak((string *)&local_28)" identifier (argument_list "((string *)&local_28)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;))) (expression_statement "uVar9 = (int)pcVar6 - (int)local_28;" (assignment_expression "uVar9 = (int)pcVar6 - (int)local_28" identifier = (binary_expression "(int)pcVar6 - (int)local_28" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar10 = *(uint *)(local_28 + -0xc);" (assignment_expression "uVar10 = *(uint *)(local_28 + -0xc)" identifier = (pointer_expression "*(uint *)(local_28 + -0xc)" * (cast_expression "(uint *)(local_28 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if (uVar10 < uVar9) {\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }" if (parenthesized_expression "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            __throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);\n          }" { comment (expression_statement "__throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10);" (call_expression "__throw_out_of_range_fmt\n                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar9,uVar10)" ( (string_literal ""%s: __pos (which is %zu) > this->size() (which is %zu)"" " string_content ") , (string_literal ""basic_string::erase"" " string_content ") , identifier , identifier ))) ;) })) (labeled_statement "std::string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0);" (call_expression "_M_mutate((string *)&local_28,uVar9,uVar10 - uVar9,0)" identifier (argument_list "((string *)&local_28,uVar9,uVar10 - uVar9,0)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , identifier , (binary_expression "uVar10 - uVar9" identifier - identifier) , number_literal ))) ;))) }))) (expression_statement "iVar7 = *(int *)(iVar12 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar12 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar12 + 0x2c)" * (cast_expression "(int *)(iVar12 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x2c)" ( (binary_expression "iVar12 + 0x2c" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */\n        std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));\n        if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }\n      }" { comment (labeled_statement "std::string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));" statement_identifier : (ERROR ":" :) (labeled_statement "string::push_back((string *)&local_28,*(char *)(iVar12 + 0x11));" statement_identifier : (ERROR ":" :) (expression_statement "push_back((string *)&local_28,*(char *)(iVar12 + 0x11));" (call_expression "push_back((string *)&local_28,*(char *)(iVar12 + 0x11))" identifier (argument_list "((string *)&local_28,*(char *)(iVar12 + 0x11))" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (pointer_expression "*(char *)(iVar12 + 0x11)" * (cast_expression "(char *)(iVar12 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x11)" ( (binary_expression "iVar12 + 0x11" identifier + number_literal) )))) ))) ;))) (if_statement "if ((int)local_5c < 0) {\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }\n        else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }" if (parenthesized_expression "((int)local_5c < 0)" ( (binary_expression "(int)local_5c < 0" (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */\n          std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));\n          std::string::append((string *)&local_28,(char *)local_40,uVar4);\n        }" { comment (labeled_statement "std::string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39));" (call_expression "append((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39))" identifier (argument_list "((string *)&local_28,-local_5c,*(char *)(iVar12 + 0x39))" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (unary_expression "-local_5c" - identifier) , (pointer_expression "*(char *)(iVar12 + 0x39)" * (cast_expression "(char *)(iVar12 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x39)" ( (binary_expression "iVar12 + 0x39" identifier + number_literal) )))) ))) ;))) (labeled_statement "std::string::append((string *)&local_28,(char *)local_40,uVar4);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_28,(char *)local_40,uVar4);" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_28,(char *)local_40,uVar4);" (call_expression "append((string *)&local_28,(char *)local_40,uVar4)" identifier (argument_list "((string *)&local_28,(char *)local_40,uVar4)" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (cast_expression "(char *)local_40" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;))) }) (else_clause "else {\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }" else (compound_statement "{\n          std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));\n        }" { (labeled_statement "std::string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c));" (call_expression "append((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c))" identifier (argument_list "((string *)&local_28,(char *)(local_40 + local_5c),\n                              *(uint *)(iVar12 + 0x2c))" ( (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (cast_expression "(char *)(local_40 + local_5c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_40 + local_5c)" ( (binary_expression "local_40 + local_5c" identifier + identifier) ))) , (pointer_expression "*(uint *)(iVar12 + 0x2c)" * (cast_expression "(uint *)(iVar12 + 0x2c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x2c)" ( (binary_expression "iVar12 + 0x2c" identifier + number_literal) )))) ))) ;))) }))) })) (expression_statement "uVar4 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar4 = *(uint *)(param_5 + 0xc) & 0xb0" identifier = (binary_expression "*(uint *)(param_5 + 0xc) & 0xb0" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "uVar10 = local_50 + *(int *)(local_28 + -0xc);" (assignment_expression "uVar10 = local_50 + *(int *)(local_28 + -0xc)" identifier = (binary_expression "local_50 + *(int *)(local_28 + -0xc)" identifier + (pointer_expression "*(int *)(local_28 + -0xc)" * (cast_expression "(int *)(local_28 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))))) ;) (if_statement "if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }" if (parenthesized_expression "((*(uint *)(param_5 + 0xc) & 0x200) != 0)" ( (binary_expression "(*(uint *)(param_5 + 0xc) & 0x200) != 0" (parenthesized_expression "(*(uint *)(param_5 + 0xc) & 0x200)" ( (binary_expression "*(uint *)(param_5 + 0xc) & 0x200" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar10 = uVar10 + *(int *)(iVar12 + 0x18);\n      }" { (expression_statement "uVar10 = uVar10 + *(int *)(iVar12 + 0x18);" (assignment_expression "uVar10 = uVar10 + *(int *)(iVar12 + 0x18)" identifier = (binary_expression "uVar10 + *(int *)(iVar12 + 0x18)" identifier + (pointer_expression "*(int *)(iVar12 + 0x18)" * (cast_expression "(int *)(iVar12 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x18)" ( (binary_expression "iVar12 + 0x18" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00309e0c;" (assignment_expression "local_24 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) comment (labeled_statement "std::string::reserve((string *)&local_24,uVar10 * 2);" statement_identifier : (ERROR ":" :) (labeled_statement "string::reserve((string *)&local_24,uVar10 * 2);" statement_identifier : (ERROR ":" :) (expression_statement "reserve((string *)&local_24,uVar10 * 2);" (call_expression "reserve((string *)&local_24,uVar10 * 2)" identifier (argument_list "((string *)&local_24,uVar10 * 2)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar10 * 2" identifier * number_literal) ))) ;))) (expression_statement "uVar9 = *(uint *)(param_5 + 8);" (assignment_expression "uVar9 = *(uint *)(param_5 + 8)" identifier = (pointer_expression "*(uint *)(param_5 + 8)" * (cast_expression "(uint *)(param_5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar11 = &local_20;" (assignment_expression "puVar11 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (do_statement "do {\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      } while (puVar11 != local_1c);" do (compound_statement "{\n        switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }\n        puVar11 = (undefined4 *)((int)puVar11 + 1);\n      }" { (switch_statement "switch(*(undefined1 *)puVar11) {\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }" switch (parenthesized_expression "(*(undefined1 *)puVar11)" ( (pointer_expression "*(undefined1 *)puVar11" * (cast_expression "(undefined1 *)puVar11" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;\n        case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;\n        case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);\n        }" { (case_statement "case 0:\n          if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }\n          break;" case number_literal : (if_statement "if (uVar4 == 0x10 && uVar10 < uVar9) {\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }" if (parenthesized_expression "(uVar4 == 0x10 && uVar10 < uVar9)" ( (binary_expression "uVar4 == 0x10 && uVar10 < uVar9" (binary_expression "uVar4 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar9" identifier < identifier)) )) (compound_statement "{\nLAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);\n          }" { (labeled_statement "LAB_0019859a:\n            std::string::append((string *)&local_24,uVar9 - uVar10,param_6);" statement_identifier : (labeled_statement "std::string::append((string *)&local_24,uVar9 - uVar10,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_24,uVar9 - uVar10,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_24,uVar9 - uVar10,param_6);" (call_expression "append((string *)&local_24,uVar9 - uVar10,param_6)" identifier (argument_list "((string *)&local_24,uVar9 - uVar10,param_6)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar9 - uVar10" identifier - identifier) , identifier ))) ;)))) })) (break_statement "break;" break ;)) (case_statement "case 1:\n          if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;\n                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */\n          std::string::push_back((string *)&local_24,param_6);\n          break;" case number_literal : (if_statement "if (uVar4 == 0x10 && uVar10 < uVar9) goto LAB_0019859a;" if (parenthesized_expression "(uVar4 == 0x10 && uVar10 < uVar9)" ( (binary_expression "uVar4 == 0x10 && uVar10 < uVar9" (binary_expression "uVar4 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar9" identifier < identifier)) )) (goto_statement "goto LAB_0019859a;" goto statement_identifier ;)) comment (labeled_statement "std::string::push_back((string *)&local_24,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "string::push_back((string *)&local_24,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "push_back((string *)&local_24,param_6);" (call_expression "push_back((string *)&local_24,param_6)" identifier (argument_list "((string *)&local_24,param_6)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , identifier ))) ;))) (break_statement "break;" break ;)) (case_statement "case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }\n          break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }" if (parenthesized_expression "((*(byte *)(param_5 + 0xd) & 2) != 0)" ( (binary_expression "(*(byte *)(param_5 + 0xd) & 2) != 0" (parenthesized_expression "(*(byte *)(param_5 + 0xd) & 2)" ( (binary_expression "*(byte *)(param_5 + 0xd) & 2" (pointer_expression "*(byte *)(param_5 + 0xd)" * (cast_expression "(byte *)(param_5 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xd)" ( (binary_expression "param_5 + 0xd" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));\n          }" { (labeled_statement "std::string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18));" (call_expression "append((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18))" identifier (argument_list "((string *)&local_24,*(char **)(iVar12 + 0x14),\n                                *(uint *)(iVar12 + 0x18))" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (pointer_expression "*(char **)(iVar12 + 0x14)" * (cast_expression "(char **)(iVar12 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar12 + 0x14)" ( (binary_expression "iVar12 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(uint *)(iVar12 + 0x18)" * (cast_expression "(uint *)(iVar12 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x18)" ( (binary_expression "iVar12 + 0x18" identifier + number_literal) )))) ))) ;))) })) (break_statement "break;" break ;)) (case_statement "case 3:\n          if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }\n          break;" case number_literal : (if_statement "if (local_50 != 0) {\n            std::string::push_back((string *)&local_24,*local_68);\n          }" if (parenthesized_expression "(local_50 != 0)" ( (binary_expression "local_50 != 0" identifier != number_literal) )) (compound_statement "{\n            std::string::push_back((string *)&local_24,*local_68);\n          }" { (labeled_statement "std::string::push_back((string *)&local_24,*local_68);" statement_identifier : (ERROR ":" :) (labeled_statement "string::push_back((string *)&local_24,*local_68);" statement_identifier : (ERROR ":" :) (expression_statement "push_back((string *)&local_24,*local_68);" (call_expression "push_back((string *)&local_24,*local_68)" identifier (argument_list "((string *)&local_24,*local_68)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (pointer_expression "*local_68" * identifier) ))) ;))) })) (break_statement "break;" break ;)) (case_statement "case 4:\n          std::string::append((string *)&local_24,(string *)&local_28);" case number_literal : (labeled_statement "std::string::append((string *)&local_24,(string *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_24,(string *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_24,(string *)&local_28);" (call_expression "append((string *)&local_24,(string *)&local_28)" identifier (argument_list "((string *)&local_24,(string *)&local_28)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (cast_expression "(string *)&local_28" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;)))) })) (expression_statement "puVar11 = (undefined4 *)((int)puVar11 + 1);" (assignment_expression "puVar11 = (undefined4 *)((int)puVar11 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar11 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar11 + 1)" ( (binary_expression "(int)puVar11 + 1" (cast_expression "(int)puVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar11 != local_1c)" ( (binary_expression "puVar11 != local_1c" identifier != identifier) )) ;) (if_statement "if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" if (parenthesized_expression "(local_50 < 2)" ( (binary_expression "local_50 < 2" identifier < number_literal) )) (compound_statement "{\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" else (compound_statement "{\n        std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (labeled_statement "std::string::append((string *)&local_24,local_68 + 1,local_50 - 1);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_24,local_68 + 1,local_50 - 1);" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_24,local_68 + 1,local_50 - 1);" (call_expression "append((string *)&local_24,local_68 + 1,local_50 - 1)" identifier (argument_list "((string *)&local_24,local_68 + 1,local_50 - 1)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "local_68 + 1" identifier + number_literal) , (binary_expression "local_50 - 1" identifier - number_literal) ))) ;))) (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (local_5c < uVar9) {\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }" if (parenthesized_expression "(local_5c < uVar9)" ( (binary_expression "local_5c < uVar9" identifier < identifier) )) (compound_statement "{\n        if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n      }" { (if_statement "if (uVar4 == 0x20) {\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }\n        else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }" if (parenthesized_expression "(uVar4 == 0x20)" ( (binary_expression "uVar4 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */\n          std::string::append((string *)&local_24,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }" { comment (labeled_statement "std::string::append((string *)&local_24,uVar9 - local_5c,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "string::append((string *)&local_24,uVar9 - local_5c,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "append((string *)&local_24,uVar9 - local_5c,param_6);" (call_expression "append((string *)&local_24,uVar9 - local_5c,param_6)" identifier (argument_list "((string *)&local_24,uVar9 - local_5c,param_6)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar9 - local_5c" identifier - identifier) , identifier ))) ;))) (expression_statement "local_5c = uVar9;" (assignment_expression "local_5c = uVar9" identifier = identifier) ;) }) (else_clause "else {\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }" else (compound_statement "{\n          std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);\n          local_5c = uVar9;\n        }" { (labeled_statement "std::string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "string::_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6);" (call_expression "_M_replace_aux((string *)&local_24,0,0,uVar9 - local_5c,param_6)" identifier (argument_list "((string *)&local_24,0,0,uVar9 - local_5c,param_6)" ( (cast_expression "(string *)&local_24" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , number_literal , number_literal , (binary_expression "uVar9 - local_5c" identifier - identifier) , identifier ))) ;))) (expression_statement "local_5c = uVar9;" (assignment_expression "local_5c = uVar9" identifier = identifier) ;) }))) })) (if_statement "if (local_41 == '\0') {\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }" if (parenthesized_expression "(local_41 == '\0')" ( (binary_expression "local_41 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar4 != local_5c;\n      }" { (expression_statement "uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);" (assignment_expression "uVar4 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" (parenthesized_expression "(**(code **)(*param_3 + 0x30))" ( (pointer_expression "**(code **)(*param_3 + 0x30)" * (pointer_expression "*(code **)(*param_3 + 0x30)" * (cast_expression "(code **)(*param_3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x30)" ( (binary_expression "*param_3 + 0x30" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,local_24,local_5c)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_41 = uVar4 != local_5c;" (assignment_expression "local_41 = uVar4 != local_5c" identifier = (binary_expression "uVar4 != local_5c" identifier != identifier)) ;) })) (expression_statement "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);" (assignment_expression "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8)" (field_expression "local_3c._1_3_" identifier . field_identifier) = (call_expression "(undefined3)((uint)param_4 >> 8)" (parenthesized_expression "(undefined3)" ( identifier )) (argument_list "((uint)param_4 >> 8)" ( (binary_expression "(uint)param_4 >> 8" (cast_expression "(uint)param_4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if ((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }" if (parenthesized_expression "((allocator *)(local_24 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage)" ( (binary_expression "(allocator *)(local_24 + -0xc) != (allocator *)&std" (cast_expression "(allocator *)(local_24 + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))) != (cast_expression "(allocator *)&std" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&std" & identifier))) (ERROR "::string::_Rep::_S_empty_rep_storage" : : identifier : : identifier : : identifier) )) (compound_statement "{\n        std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n      }" { (labeled_statement "std::string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "string::_Rep::_M_dispose((allocator *)(local_24 + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_M_dispose((allocator *)(local_24 + -0xc));" statement_identifier : (ERROR ":" :) (expression_statement "_M_dispose((allocator *)(local_24 + -0xc));" (call_expression "_M_dispose((allocator *)(local_24 + -0xc))" identifier (argument_list "((allocator *)(local_24 + -0xc))" ( (cast_expression "(allocator *)(local_24 + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))) ))) ;)))) })) (if_statement "if ((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage) {\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }" if (parenthesized_expression "((allocator *)(local_28 + -0xc) != (allocator *)&std::string::_Rep::_S_empty_rep_storage)" ( (binary_expression "(allocator *)(local_28 + -0xc) != (allocator *)&std" (cast_expression "(allocator *)(local_28 + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) ))) != (cast_expression "(allocator *)&std" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&std" & identifier))) (ERROR "::string::_Rep::_S_empty_rep_storage" : : identifier : : identifier : : identifier) )) (compound_statement "{\n        std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));\n      }" { (labeled_statement "std::string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "string::_Rep::_M_dispose((allocator *)(local_28 + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_M_dispose((allocator *)(local_28 + -0xc));" statement_identifier : (ERROR ":" :) (expression_statement "_M_dispose((allocator *)(local_28 + -0xc));" (call_expression "_M_dispose((allocator *)(local_28 + -0xc))" identifier (argument_list "((allocator *)(local_28 + -0xc))" ( (cast_expression "(allocator *)(local_28 + -0xc)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) ))) ))) ;)))) })) }))) })) (labeled_statement "LAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_3c;" (assignment_expression "param_1[1] = local_3c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" (function_definition "void FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" primitive_type (function_declarator "FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "char param_6" primitive_type identifier) , (parameter_declaration "undefined4 *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "uint local_5c;" type_identifier identifier ;) (declaration "uint local_50;" type_identifier identifier ;) (declaration "char local_41;" primitive_type identifier ;) (declaration "byte *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "undefined *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "undefined *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c [2];" type_identifier (array_declarator "local_1c [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x19828b;" (assignment_expression "uStack_14 = 0x19828b" identifier = number_literal) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_41 = (char)param_4;" (assignment_expression "local_41 = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = FUN_001957d0(param_5 + 0x6c);" (assignment_expression "iVar6 = FUN_001957d0(param_5 + 0x6c)" identifier = (call_expression "FUN_001957d0(param_5 + 0x6c)" identifier (argument_list "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) ;) (expression_statement "iVar7 = FUN_00183130(PTR_DAT_00301bdc);" (assignment_expression "iVar7 = FUN_00183130(PTR_DAT_00301bdc)" identifier = (call_expression "FUN_00183130(PTR_DAT_00301bdc)" identifier (argument_list "(PTR_DAT_00301bdc)" ( identifier )))) ;) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4" (pointer_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc)" * (cast_expression "(int *)(*(int *)(param_5 + 0x6c) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_5 + 0x6c) + 0xc)" ( (binary_expression "*(int *)(param_5 + 0x6c) + 0xc" (pointer_expression "*(int *)(param_5 + 0x6c)" * (cast_expression "(int *)(param_5 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" { (expression_statement "puVar12 = (undefined4 *)FUN_0017ebf0(0x44);" (assignment_expression "puVar12 = (undefined4 *)FUN_0017ebf0(0x44)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(0x44)" identifier (argument_list "(0x44)" ( number_literal ))))) ;) (expression_statement "puVar12[1] = 0;" (assignment_expression "puVar12[1] = 0" (subscript_expression "puVar12[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[2] = 0;" (assignment_expression "puVar12[2] = 0" (subscript_expression "puVar12[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar12 = &PTR_FUN_002ff698;" (assignment_expression "*puVar12 = &PTR_FUN_002ff698" (pointer_expression "*puVar12" * identifier) = (pointer_expression "&PTR_FUN_002ff698" & identifier)) ;) (expression_statement "puVar12[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined2 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined2 *)(puVar12 + 4)" * (cast_expression "(undefined2 *)(puVar12 + 4)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 4)" ( (binary_expression "puVar12 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar12 + 0x12) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x12) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x12)" * (cast_expression "(undefined1 *)((int)puVar12 + 0x12)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 0x12)" ( (binary_expression "(int)puVar12 + 0x12" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar12[5] = 0;" (assignment_expression "puVar12[5] = 0" (subscript_expression "puVar12[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[6] = 0;" (assignment_expression "puVar12[6] = 0" (subscript_expression "puVar12[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[7] = 0;" (assignment_expression "puVar12[7] = 0" (subscript_expression "puVar12[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[8] = 0;" (assignment_expression "puVar12[8] = 0" (subscript_expression "puVar12[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[9] = 0;" (assignment_expression "puVar12[9] = 0" (subscript_expression "puVar12[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[10] = 0;" (assignment_expression "puVar12[10] = 0" (subscript_expression "puVar12[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xb] = 0;" (assignment_expression "puVar12[0xb] = 0" (subscript_expression "puVar12[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xc] = 0;" (assignment_expression "puVar12[0xc] = 0" (subscript_expression "puVar12[0xc]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xd] = 0;" (assignment_expression "puVar12[0xd] = 0" (subscript_expression "puVar12[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)puVar12 + 0x43) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x43) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x43)" * (cast_expression "(undefined1 *)((int)puVar12 + 0x43)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 0x43)" ( (binary_expression "(int)puVar12 + 0x43" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00196ab0(puVar12,param_5 + 0x6c);" (call_expression "FUN_00196ab0(puVar12,param_5 + 0x6c)" identifier (argument_list "(puVar12,param_5 + 0x6c)" ( identifier , (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);" (call_expression "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" identifier (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" ( (pointer_expression "*(undefined4 *)(param_5 + 0x6c)" * (cast_expression "(undefined4 *)(param_5 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (expression_statement "local_40 = (byte *)*param_7;" (assignment_expression "local_40 = (byte *)*param_7" identifier = (cast_expression "(byte *)*param_7" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "pbVar9 = local_40 + -0xc;" (assignment_expression "pbVar9 = local_40 + -0xc" identifier = (binary_expression "local_40 + -0xc" identifier + number_literal)) ;) (if_statement "if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" if (parenthesized_expression "(*local_40 == *(byte *)(iVar13 + 0x38))" ( (binary_expression "*local_40 == *(byte *)(iVar13 + 0x38)" (pointer_expression "*local_40" * identifier) == (pointer_expression "*(byte *)(iVar13 + 0x38)" * (cast_expression "(byte *)(iVar13 + 0x38)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38)" ( (binary_expression "iVar13 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x34);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x34)" * (cast_expression "(undefined4 *)(iVar13 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x34)" ( (binary_expression "iVar13 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)pbVar9 == 0) goto LAB_00198358;" if (parenthesized_expression "(*(int *)pbVar9 == 0)" ( (binary_expression "*(int *)pbVar9 == 0" (pointer_expression "*(int *)pbVar9" * (cast_expression "(int *)pbVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (goto_statement "goto LAB_00198358;" goto statement_identifier ;)) (expression_statement "local_68 = *(char **)(iVar13 + 0x24);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x24)" identifier = (pointer_expression "*(char **)(iVar13 + 0x24)" * (cast_expression "(char **)(iVar13 + 0x24)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "local_50 = *(uint *)(iVar13 + 0x28);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x28)" * (cast_expression "(uint *)(iVar13 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x28)" ( (binary_expression "iVar13 + 0x28" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x30);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x30)" * (cast_expression "(undefined4 *)(iVar13 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x30)" ( (binary_expression "iVar13 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "local_68 = *(char **)(iVar13 + 0x1c);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x1c)" identifier = (pointer_expression "*(char **)(iVar13 + 0x1c)" * (cast_expression "(char **)(iVar13 + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar13 + 0x1c)" ( (binary_expression "iVar13 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "local_50 = *(uint *)(iVar13 + 0x20);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x20)" identifier = (pointer_expression "*(uint *)(iVar13 + 0x20)" * (cast_expression "(uint *)(iVar13 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x20)" ( (binary_expression "iVar13 + 0x20" identifier + number_literal) ))))) ;) }))) (expression_statement "pbVar9 = local_40 + *(int *)pbVar9;" (assignment_expression "pbVar9 = local_40 + *(int *)pbVar9" identifier = (binary_expression "local_40 + *(int *)pbVar9" identifier + (pointer_expression "*(int *)pbVar9" * (cast_expression "(int *)pbVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)))) ;) (if_statement "if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" if (parenthesized_expression "((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0))" ( (binary_expression "(local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" (parenthesized_expression "(local_40 < pbVar9)" ( (binary_expression "local_40 < pbVar9" identifier < identifier) )) && (parenthesized_expression "(pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" ( (comma_expression "pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (assignment_expression "pbVar8 = local_40" identifier = identifier) , (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" * (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" ( (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*local_40 * 2" (binary_expression "(uint)*local_40" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" { (do_statement "do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);" do (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    }" { (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) (if_statement "if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" if (parenthesized_expression "(pbVar9 == pbVar8)" ( (binary_expression "pbVar9 == pbVar8" identifier == identifier) )) (compound_statement "{\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" { (expression_statement "iVar6 = (int)pbVar9 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar9 - (int)local_40" identifier = (binary_expression "(int)pbVar9 - (int)local_40" (cast_expression "(int)pbVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (goto_statement "goto joined_r0x0019838f;" goto statement_identifier ;) })) }) while (parenthesized_expression "((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0)" ( (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8)" ( (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" * (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" ( (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) + number_literal) + (binary_expression "(uint)*pbVar8 * 2" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "iVar6 = (int)pbVar8 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar8 - (int)local_40" identifier = (binary_expression "(int)pbVar8 - (int)local_40" (cast_expression "(int)pbVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (labeled_statement "joined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" statement_identifier : (if_statement "if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" { (expression_statement "local_28 = &DAT_00309e0c;" (assignment_expression "local_28 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) (expression_statement "FUN_001b9450(&local_28,iVar6 * 2);" (call_expression "FUN_001b9450(&local_28,iVar6 * 2)" identifier (argument_list "(&local_28,iVar6 * 2)" ( (pointer_expression "&local_28" & identifier) , (binary_expression "iVar6 * 2" identifier * number_literal) ))) ;) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x2c)" * (cast_expression "(int *)(iVar13 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_5c = iVar6 - iVar7;" (assignment_expression "local_5c = iVar6 - iVar7" identifier = (binary_expression "iVar6 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" if (parenthesized_expression "(0 < (int)local_5c)" ( (binary_expression "0 < (int)local_5c" number_literal < (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" { (if_statement "if (iVar7 < 0) {\n          local_5c = iVar6;\n        }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n          local_5c = iVar6;\n        }" { (expression_statement "local_5c = iVar6;" (assignment_expression "local_5c = iVar6" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" if (parenthesized_expression "(*(int *)(iVar13 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar13 + 0xc) == 0" (pointer_expression "*(int *)(iVar13 + 0xc)" * (cast_expression "(int *)(iVar13 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0xc)" ( (binary_expression "iVar13 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }" { (expression_statement "FUN_001b8e90(&local_28,local_40,local_5c);" (call_expression "FUN_001b8e90(&local_28,local_40,local_5c)" identifier (argument_list "(&local_28,local_40,local_5c)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" else (compound_statement "{\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" { (expression_statement "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);" (call_expression "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" identifier (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" ( (pointer_expression "&local_28" & identifier) , number_literal , (pointer_expression "*(undefined4 *)(local_28 + -0xc)" * (cast_expression "(undefined4 *)(local_28 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))) , (binary_expression "local_5c * 2" identifier * number_literal) , number_literal ))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0xc)" * (cast_expression "(undefined4 *)(iVar13 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0xc)" ( (binary_expression "iVar13 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar13 + 8);" (assignment_expression "uVar4 = *(undefined4 *)(iVar13 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 8)" * (cast_expression "(undefined4 *)(iVar13 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *(char *)(iVar13 + 0x12);" (assignment_expression "cVar2 = *(char *)(iVar13 + 0x12)" identifier = (pointer_expression "*(char *)(iVar13 + 0x12)" * (cast_expression "(char *)(iVar13 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x12)" ( (binary_expression "iVar13 + 0x12" identifier + number_literal) ))))) ;) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);" (assignment_expression "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" identifier = (call_expression "FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" identifier (argument_list "(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" ( identifier , (cast_expression "(int)cVar2" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier , (binary_expression "local_40 + local_5c" identifier + identifier) )))) ;) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) (expression_statement "uVar10 = iVar7 - (int)local_28;" (assignment_expression "uVar10 = iVar7 - (int)local_28" identifier = (binary_expression "iVar7 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = *(uint *)(local_28 + -0xc);" (assignment_expression "uVar11 = *(uint *)(local_28 + -0xc)" identifier = (pointer_expression "*(uint *)(local_28 + -0xc)" * (cast_expression "(uint *)(local_28 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) ))))) ;) (if_statement "if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" if (parenthesized_expression "(uVar11 < uVar10)" ( (binary_expression "uVar11 < uVar10" identifier < identifier) )) (compound_statement "{\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" { (expression_statement "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);" (call_expression "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" ( (string_literal ""%s: __pos (which is %zu) > this->size() (which is %zu)"" " string_content ") , (string_literal ""basic_string::erase"" " string_content ") , identifier , identifier ))) ;) })) (expression_statement "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);" (call_expression "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0)" identifier (argument_list "(&local_28,uVar10,uVar11 - uVar10,0)" ( (pointer_expression "&local_28" & identifier) , identifier , (binary_expression "uVar11 - uVar10" identifier - identifier) , number_literal ))) ;) }))) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar13 + 0x2c)" * (cast_expression "(int *)(iVar13 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" { (expression_statement "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));" (call_expression "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11))" identifier (argument_list "(&local_28,(int)*(char *)(iVar13 + 0x11))" ( (pointer_expression "&local_28" & identifier) , (cast_expression "(int)*(char *)(iVar13 + 0x11)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar13 + 0x11)" * (cast_expression "(char *)(iVar13 + 0x11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x11)" ( (binary_expression "iVar13 + 0x11" identifier + number_literal) ))))) ))) ;) (if_statement "if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" if (parenthesized_expression "((int)local_5c < 0)" ( (binary_expression "(int)local_5c < 0" (cast_expression "(int)local_5c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }" { (expression_statement "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));" (call_expression "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" identifier (argument_list "(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" ( (pointer_expression "&local_28" & identifier) , (unary_expression "-local_5c" - identifier) , (cast_expression "(int)*(char *)(iVar13 + 0x39)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar13 + 0x39)" * (cast_expression "(char *)(iVar13 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x39)" ( (binary_expression "iVar13 + 0x39" identifier + number_literal) ))))) ))) ;) (expression_statement "FUN_001b9740(&local_28,local_40,iVar6);" (call_expression "FUN_001b9740(&local_28,local_40,iVar6)" identifier (argument_list "(&local_28,local_40,iVar6)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" else (compound_statement "{\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" { (expression_statement "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));" (call_expression "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" identifier (argument_list "(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" ( (pointer_expression "&local_28" & identifier) , (binary_expression "local_40 + local_5c" identifier + identifier) , (pointer_expression "*(undefined4 *)(iVar13 + 0x2c)" * (cast_expression "(undefined4 *)(iVar13 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x2c)" ( (binary_expression "iVar13 + 0x2c" identifier + number_literal) )))) ))) ;) }))) })) (expression_statement "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0" identifier = (binary_expression "*(uint *)(param_5 + 0xc) & 0xb0" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal)) ;) (expression_statement "uVar10 = local_50 + *(int *)(local_28 + -0xc);" (assignment_expression "uVar10 = local_50 + *(int *)(local_28 + -0xc)" identifier = (binary_expression "local_50 + *(int *)(local_28 + -0xc)" identifier + (pointer_expression "*(int *)(local_28 + -0xc)" * (cast_expression "(int *)(local_28 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -0xc)" ( (binary_expression "local_28 + -0xc" identifier + number_literal) )))))) ;) (if_statement "if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" if (parenthesized_expression "((*(uint *)(param_5 + 0xc) & 0x200) != 0)" ( (binary_expression "(*(uint *)(param_5 + 0xc) & 0x200) != 0" (parenthesized_expression "(*(uint *)(param_5 + 0xc) & 0x200)" ( (binary_expression "*(uint *)(param_5 + 0xc) & 0x200" (pointer_expression "*(uint *)(param_5 + 0xc)" * (cast_expression "(uint *)(param_5 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xc)" ( (binary_expression "param_5 + 0xc" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" { (expression_statement "uVar10 = uVar10 + *(int *)(iVar13 + 0x18);" (assignment_expression "uVar10 = uVar10 + *(int *)(iVar13 + 0x18)" identifier = (binary_expression "uVar10 + *(int *)(iVar13 + 0x18)" identifier + (pointer_expression "*(int *)(iVar13 + 0x18)" * (cast_expression "(int *)(iVar13 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00309e0c;" (assignment_expression "local_24 = &DAT_00309e0c" identifier = (pointer_expression "&DAT_00309e0c" & identifier)) ;) (expression_statement "FUN_001b9450(&local_24,uVar10 * 2);" (call_expression "FUN_001b9450(&local_24,uVar10 * 2)" identifier (argument_list "(&local_24,uVar10 * 2)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar10 * 2" identifier * number_literal) ))) ;) (expression_statement "uVar5 = *(uint *)(param_5 + 8);" (assignment_expression "uVar5 = *(uint *)(param_5 + 8)" identifier = (pointer_expression "*(uint *)(param_5 + 8)" * (cast_expression "(uint *)(param_5 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar12 = &local_20;" (assignment_expression "puVar12 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (do_statement "do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);" do (compound_statement "{\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      }" { (switch_statement "switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" switch (parenthesized_expression "(*(undefined1 *)puVar12)" ( (pointer_expression "*(undefined1 *)puVar12" * (cast_expression "(undefined1 *)puVar12" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" { (case_statement "case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;" case number_literal : (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" if (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" ( (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar5" identifier < identifier)) )) (compound_statement "{\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" { (labeled_statement "code_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" statement_identifier : (expression_statement "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6)" identifier (argument_list "(&local_24,uVar5 - uVar10,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar5 - uVar10" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;)) })) (break_statement "break;" break ;)) (case_statement "case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;" case number_literal : (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;" if (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" ( (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" identifier == number_literal) && (binary_expression "uVar10 < uVar5" identifier < identifier)) )) (goto_statement "goto code_r0x0019859a;" goto statement_identifier ;)) (expression_statement "FUN_001b9a70(&local_24,(int)param_6);" (call_expression "FUN_001b9a70(&local_24,(int)param_6)" identifier (argument_list "(&local_24,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" if (parenthesized_expression "((*(byte *)(param_5 + 0xd) & 2) != 0)" ( (binary_expression "(*(byte *)(param_5 + 0xd) & 2) != 0" (parenthesized_expression "(*(byte *)(param_5 + 0xd) & 2)" ( (binary_expression "*(byte *)(param_5 + 0xd) & 2" (pointer_expression "*(byte *)(param_5 + 0xd)" * (cast_expression "(byte *)(param_5 + 0xd)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 0xd)" ( (binary_expression "param_5 + 0xd" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" { (expression_statement "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));" (call_expression "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" identifier (argument_list "(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*(undefined4 *)(iVar13 + 0x14)" * (cast_expression "(undefined4 *)(iVar13 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x14)" ( (binary_expression "iVar13 + 0x14" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" * (cast_expression "(undefined4 *)(iVar13 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x18)" ( (binary_expression "iVar13 + 0x18" identifier + number_literal) )))) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;" case number_literal : (if_statement "if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" if (parenthesized_expression "(local_50 != 0)" ( (binary_expression "local_50 != 0" identifier != number_literal) )) (compound_statement "{\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" { (expression_statement "FUN_001b9a70(&local_24,(int)*local_68);" (call_expression "FUN_001b9a70(&local_24,(int)*local_68)" identifier (argument_list "(&local_24,(int)*local_68)" ( (pointer_expression "&local_24" & identifier) , (cast_expression "(int)*local_68" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*local_68" * identifier)) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 4:\n          FUN_001b9570(&local_24,&local_28);" case number_literal : (expression_statement "FUN_001b9570(&local_24,&local_28);" (call_expression "FUN_001b9570(&local_24,&local_28)" identifier (argument_list "(&local_24,&local_28)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "&local_28" & identifier) ))) ;)) })) (expression_statement "puVar12 = (undefined4 *)((int)puVar12 + 1);" (assignment_expression "puVar12 = (undefined4 *)((int)puVar12 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar12 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar12 + 1)" ( (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar12 != local_1c)" ( (binary_expression "puVar12 != local_1c" identifier != identifier) )) ;) (if_statement "if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" if (parenthesized_expression "(local_50 < 2)" ( (binary_expression "local_50 < 2" identifier < number_literal) )) (compound_statement "{\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" else (compound_statement "{\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" { (expression_statement "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);" (call_expression "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1)" identifier (argument_list "(&local_24,local_68 + 1,local_50 - 1)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "local_68 + 1" identifier + number_literal) , (binary_expression "local_50 - 1" identifier - number_literal) ))) ;) (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" identifier = (pointer_expression "*(uint *)(local_24 + -0xc)" * (cast_expression "(uint *)(local_24 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + -0xc)" ( (binary_expression "local_24 + -0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" if (parenthesized_expression "(local_5c < uVar5)" ( (binary_expression "local_5c < uVar5" identifier < identifier) )) (compound_statement "{\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" { (if_statement "if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" if (parenthesized_expression "(uVar11 == 0x20)" ( (binary_expression "uVar11 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" { (expression_statement "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6)" identifier (argument_list "(&local_24,uVar5 - local_5c,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar5 - local_5c" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" identifier = identifier) ;) }) (else_clause "else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" else (compound_statement "{\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" { (expression_statement "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6)" identifier (argument_list "(&local_24,0,0,uVar5 - local_5c,(int)param_6)" ( (pointer_expression "&local_24" & identifier) , number_literal , number_literal , (binary_expression "uVar5 - local_5c" identifier - identifier) , (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" identifier = identifier) ;) }))) })) (if_statement "if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" if (parenthesized_expression "(local_41 == '\0')" ( (binary_expression "local_41 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" { (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" (parenthesized_expression "(**(code **)(*param_3 + 0x30))" ( (pointer_expression "**(code **)(*param_3 + 0x30)" * (pointer_expression "*(code **)(*param_3 + 0x30)" * (cast_expression "(code **)(*param_3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x30)" ( (binary_expression "*param_3 + 0x30" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,local_24,local_5c)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_41 = uVar11 != local_5c;" (assignment_expression "local_41 = uVar11 != local_5c" identifier = (binary_expression "uVar11 != local_5c" identifier != identifier)) ;) })) (expression_statement "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);" (assignment_expression "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8)" (field_expression "local_3c._1_3_" identifier . field_identifier) = (call_expression "(undefined3)((uint)param_4 >> 8)" (parenthesized_expression "(undefined3)" ( identifier )) (argument_list "((uint)param_4 >> 8)" ( (binary_expression "(uint)param_4 >> 8" (cast_expression "(uint)param_4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" if (parenthesized_expression "(local_24 != &DAT_00309e0c)" ( (binary_expression "local_24 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        FUN_00192a20();\n      }" { (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" if (parenthesized_expression "(local_28 != &DAT_00309e0c)" ( (binary_expression "local_28 != &DAT_00309e0c" identifier != (pointer_expression "&DAT_00309e0c" & identifier)) )) (compound_statement "{\n        FUN_00192a20();\n      }" { (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" identifier (argument_list "()" ( ))) ;) })) }))) })) (labeled_statement "LAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_41)" identifier (argument_list "(local_3c._1_3_,local_41)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_3c;" (assignment_expression "param_1[1] = local_3c" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) != LIT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT * LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT , IDENT , IDENT , (binary_expression IDENT + IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT - IDENT) , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (unary_expression - IDENT) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT * LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (switch_statement switch (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT < IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT - IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;)) })) (break_statement break ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT < IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (break_statement break ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (break_statement break ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) ))) ;) })) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) , (binary_expression IDENT - LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT - IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , (binary_expression IDENT - IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != IDENT)) ;) })) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)\n\n{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00198280(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" (identifier "FUN_00198280") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,char param_6,undefined4 *param_7)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "char param_6" (primitive_type "char") (identifier "param_6")) (, ",") (parameter_declaration "undefined4 *param_7" (type_identifier "undefined4") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  uint uVar5;\n  int iVar6;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  uint uVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  char *local_68;\n  uint local_5c;\n  uint local_50;\n  char local_41;\n  byte *local_40;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [2];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x19828b;\n  local_3c = param_4;\n  local_41 = (char)param_4;\n  iVar6 = FUN_001957d0(param_5 + 0x6c);\n  iVar7 = FUN_00183130(PTR_DAT_00301bdc);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);\n  iVar13 = *piVar1;\n  if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }\n  local_40 = (byte *)*param_7;\n  pbVar9 = local_40 + -0xc;\n  if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }\n  pbVar9 = local_40 + *(int *)pbVar9;\n  if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }\nLAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_41);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "char *local_68;" (primitive_type "char") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "uint local_5c;" (type_identifier "uint") (identifier "local_5c") (; ";")) (declaration "uint local_50;" (type_identifier "uint") (identifier "local_50") (; ";")) (declaration "char local_41;" (primitive_type "char") (identifier "local_41") (; ";")) (declaration "byte *local_40;" (type_identifier "byte") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "undefined *local_28;" (type_identifier "undefined") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "undefined *local_24;" (type_identifier "undefined") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c [2];" (type_identifier "undefined4") (array_declarator "local_1c [2]" (identifier "local_1c") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x19828b;" (assignment_expression "uStack_14 = 0x19828b" (identifier "uStack_14") (= "=") (number_literal "0x19828b")) (; ";")) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" (identifier "local_3c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_41 = (char)param_4;" (assignment_expression "local_41 = (char)param_4" (identifier "local_41") (= "=") (cast_expression "(char)param_4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_4"))) (; ";")) (expression_statement "iVar6 = FUN_001957d0(param_5 + 0x6c);" (assignment_expression "iVar6 = FUN_001957d0(param_5 + 0x6c)" (identifier "iVar6") (= "=") (call_expression "FUN_001957d0(param_5 + 0x6c)" (identifier "FUN_001957d0") (argument_list "(param_5 + 0x6c)" (( "(") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")")))) (; ";")) (expression_statement "iVar7 = FUN_00183130(PTR_DAT_00301bdc);" (assignment_expression "iVar7 = FUN_00183130(PTR_DAT_00301bdc)" (identifier "iVar7") (= "=") (call_expression "FUN_00183130(PTR_DAT_00301bdc)" (identifier "FUN_00183130") (argument_list "(PTR_DAT_00301bdc)" (( "(") (identifier "PTR_DAT_00301bdc") () ")")))) (; ";")) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4" (pointer_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(param_5 + 0x6c) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_5 + 0x6c) + 0xc)" (( "(") (binary_expression "*(int *)(param_5 + 0x6c) + 0xc" (pointer_expression "*(int *)(param_5 + 0x6c)" (* "*") (cast_expression "(int *)(param_5 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x6c)" (( "(") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" (identifier "iVar13") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (iVar13 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    *puVar12 = &PTR_FUN_002ff698;\n    puVar12[3] = 0;\n    *(undefined2 *)(puVar12 + 4) = 0;\n    *(undefined1 *)((int)puVar12 + 0x12) = 0;\n    puVar12[5] = 0;\n    puVar12[6] = 0;\n    puVar12[7] = 0;\n    puVar12[8] = 0;\n    puVar12[9] = 0;\n    puVar12[10] = 0;\n    puVar12[0xb] = 0;\n    puVar12[0xc] = 0;\n    puVar12[0xd] = 0;\n    *(undefined1 *)((int)puVar12 + 0x43) = 0;\n                    \n    FUN_00196ab0(puVar12,param_5 + 0x6c);\n    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);\n    iVar13 = *piVar1;\n  }" ({ "{") (expression_statement "puVar12 = (undefined4 *)FUN_0017ebf0(0x44);" (assignment_expression "puVar12 = (undefined4 *)FUN_0017ebf0(0x44)" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)FUN_0017ebf0(0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(0x44)" (identifier "FUN_0017ebf0") (argument_list "(0x44)" (( "(") (number_literal "0x44") () ")"))))) (; ";")) (expression_statement "puVar12[1] = 0;" (assignment_expression "puVar12[1] = 0" (subscript_expression "puVar12[1]" (identifier "puVar12") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[2] = 0;" (assignment_expression "puVar12[2] = 0" (subscript_expression "puVar12[2]" (identifier "puVar12") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar12 = &PTR_FUN_002ff698;" (assignment_expression "*puVar12 = &PTR_FUN_002ff698" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (pointer_expression "&PTR_FUN_002ff698" (& "&") (identifier "PTR_FUN_002ff698"))) (; ";")) (expression_statement "puVar12[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" (identifier "puVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined2 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined2 *)(puVar12 + 4)" (* "*") (cast_expression "(undefined2 *)(puVar12 + 4)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 4)" (( "(") (binary_expression "puVar12 + 4" (identifier "puVar12") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar12 + 0x12) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x12) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x12)" (* "*") (cast_expression "(undefined1 *)((int)puVar12 + 0x12)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 0x12)" (( "(") (binary_expression "(int)puVar12 + 0x12" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "0x12")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[5] = 0;" (assignment_expression "puVar12[5] = 0" (subscript_expression "puVar12[5]" (identifier "puVar12") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[6] = 0;" (assignment_expression "puVar12[6] = 0" (subscript_expression "puVar12[6]" (identifier "puVar12") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[7] = 0;" (assignment_expression "puVar12[7] = 0" (subscript_expression "puVar12[7]" (identifier "puVar12") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[8] = 0;" (assignment_expression "puVar12[8] = 0" (subscript_expression "puVar12[8]" (identifier "puVar12") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[9] = 0;" (assignment_expression "puVar12[9] = 0" (subscript_expression "puVar12[9]" (identifier "puVar12") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[10] = 0;" (assignment_expression "puVar12[10] = 0" (subscript_expression "puVar12[10]" (identifier "puVar12") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[0xb] = 0;" (assignment_expression "puVar12[0xb] = 0" (subscript_expression "puVar12[0xb]" (identifier "puVar12") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[0xc] = 0;" (assignment_expression "puVar12[0xc] = 0" (subscript_expression "puVar12[0xc]" (identifier "puVar12") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[0xd] = 0;" (assignment_expression "puVar12[0xd] = 0" (subscript_expression "puVar12[0xd]" (identifier "puVar12") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)puVar12 + 0x43) = 0;" (assignment_expression "*(undefined1 *)((int)puVar12 + 0x43) = 0" (pointer_expression "*(undefined1 *)((int)puVar12 + 0x43)" (* "*") (cast_expression "(undefined1 *)((int)puVar12 + 0x43)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 0x43)" (( "(") (binary_expression "(int)puVar12 + 0x43" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "0x43")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00196ab0(puVar12,param_5 + 0x6c);" (call_expression "FUN_00196ab0(puVar12,param_5 + 0x6c)" (identifier "FUN_00196ab0") (argument_list "(puVar12,param_5 + 0x6c)" (( "(") (identifier "puVar12") (, ",") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")"))) (; ";")) (expression_statement "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);" (call_expression "FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" (identifier "FUN_00183640") (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7)" (( "(") (pointer_expression "*(undefined4 *)(param_5 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(param_5 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0x6c)" (( "(") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")")))) (, ",") (identifier "puVar12") (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "iVar13 = *piVar1;" (assignment_expression "iVar13 = *piVar1" (identifier "iVar13") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (} "}"))) (expression_statement "local_40 = (byte *)*param_7;" (assignment_expression "local_40 = (byte *)*param_7" (identifier "local_40") (= "=") (cast_expression "(byte *)*param_7" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_7" (* "*") (identifier "param_7")))) (; ";")) (expression_statement "pbVar9 = local_40 + -0xc;" (assignment_expression "pbVar9 = local_40 + -0xc" (identifier "pbVar9") (= "=") (binary_expression "local_40 + -0xc" (identifier "local_40") (+ "+") (number_literal "-0xc"))) (; ";")) (if_statement "if (*local_40 == *(byte *)(iVar13 + 0x38)) {\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" (if "if") (parenthesized_expression "(*local_40 == *(byte *)(iVar13 + 0x38))" (( "(") (binary_expression "*local_40 == *(byte *)(iVar13 + 0x38)" (pointer_expression "*local_40" (* "*") (identifier "local_40")) (== "==") (pointer_expression "*(byte *)(iVar13 + 0x38)" (* "*") (cast_expression "(byte *)(iVar13 + 0x38)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x38)" (( "(") (binary_expression "iVar13 + 0x38" (identifier "iVar13") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x34);\n    if (*(int *)pbVar9 == 0) goto LAB_00198358;\n    local_68 = *(char **)(iVar13 + 0x24);\n    local_40 = local_40 + 1;\n    local_50 = *(uint *)(iVar13 + 0x28);\n  }" ({ "{") (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x34);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x34)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x34)" (( "(") (binary_expression "iVar13 + 0x34" (identifier "iVar13") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (*(int *)pbVar9 == 0) goto LAB_00198358;" (if "if") (parenthesized_expression "(*(int *)pbVar9 == 0)" (( "(") (binary_expression "*(int *)pbVar9 == 0" (pointer_expression "*(int *)pbVar9" (* "*") (cast_expression "(int *)pbVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar9"))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00198358;" (goto "goto") (statement_identifier "LAB_00198358") (; ";"))) (expression_statement "local_68 = *(char **)(iVar13 + 0x24);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x24)" (identifier "local_68") (= "=") (pointer_expression "*(char **)(iVar13 + 0x24)" (* "*") (cast_expression "(char **)(iVar13 + 0x24)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x24)" (( "(") (binary_expression "iVar13 + 0x24" (identifier "iVar13") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_50 = *(uint *)(iVar13 + 0x28);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x28)" (identifier "local_50") (= "=") (pointer_expression "*(uint *)(iVar13 + 0x28)" (* "*") (cast_expression "(uint *)(iVar13 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x28)" (( "(") (binary_expression "iVar13 + 0x28" (identifier "iVar13") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" (else "else") (compound_statement "{\n    local_20 = *(undefined4 *)(iVar13 + 0x30);\n    local_68 = *(char **)(iVar13 + 0x1c);\n    local_50 = *(uint *)(iVar13 + 0x20);\n  }" ({ "{") (expression_statement "local_20 = *(undefined4 *)(iVar13 + 0x30);" (assignment_expression "local_20 = *(undefined4 *)(iVar13 + 0x30)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x30)" (( "(") (binary_expression "iVar13 + 0x30" (identifier "iVar13") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "local_68 = *(char **)(iVar13 + 0x1c);" (assignment_expression "local_68 = *(char **)(iVar13 + 0x1c)" (identifier "local_68") (= "=") (pointer_expression "*(char **)(iVar13 + 0x1c)" (* "*") (cast_expression "(char **)(iVar13 + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar13 + 0x1c)" (( "(") (binary_expression "iVar13 + 0x1c" (identifier "iVar13") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "local_50 = *(uint *)(iVar13 + 0x20);" (assignment_expression "local_50 = *(uint *)(iVar13 + 0x20)" (identifier "local_50") (= "=") (pointer_expression "*(uint *)(iVar13 + 0x20)" (* "*") (cast_expression "(uint *)(iVar13 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x20)" (( "(") (binary_expression "iVar13 + 0x20" (identifier "iVar13") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (} "}")))) (expression_statement "pbVar9 = local_40 + *(int *)pbVar9;" (assignment_expression "pbVar9 = local_40 + *(int *)pbVar9" (identifier "pbVar9") (= "=") (binary_expression "local_40 + *(int *)pbVar9" (identifier "local_40") (+ "+") (pointer_expression "*(int *)pbVar9" (* "*") (cast_expression "(int *)pbVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar9"))))) (; ";")) (if_statement "if ((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" (if "if") (parenthesized_expression "((local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0))" (( "(") (binary_expression "(local_40 < pbVar9) &&\n     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" (parenthesized_expression "(local_40 < pbVar9)" (( "(") (binary_expression "local_40 < pbVar9" (identifier "local_40") (< "<") (identifier "pbVar9")) () ")")) (&& "&&") (parenthesized_expression "(pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)" (( "(") (comma_expression "pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (assignment_expression "pbVar8 = local_40" (identifier "pbVar8") (= "=") (identifier "local_40")) (, ",") (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8)" (( "(") (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" (* "*") (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2)" (( "(") (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1")) (+ "+") (binary_expression "(uint)*local_40 * 2" (binary_expression "(uint)*local_40" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_40")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);\n    iVar6 = (int)pbVar8 - (int)local_40;\njoined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }\n  }" ({ "{") (do_statement "do {\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);" (do "do") (compound_statement "{\n      pbVar8 = pbVar8 + 1;\n      if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }\n    }" ({ "{") (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + 1" (identifier "pbVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar9 == pbVar8) {\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" (if "if") (parenthesized_expression "(pbVar9 == pbVar8)" (( "(") (binary_expression "pbVar9 == pbVar8" (identifier "pbVar9") (== "==") (identifier "pbVar8")) () ")")) (compound_statement "{\n        iVar6 = (int)pbVar9 - (int)local_40;\n        goto joined_r0x0019838f;\n      }" ({ "{") (expression_statement "iVar6 = (int)pbVar9 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar9 - (int)local_40" (identifier "iVar6") (= "=") (binary_expression "(int)pbVar9 - (int)local_40" (cast_expression "(int)pbVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar9")) (- "-") (cast_expression "(int)local_40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_40")))) (; ";")) (goto_statement "goto joined_r0x0019838f;" (goto "goto") (statement_identifier "joined_r0x0019838f") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0" (parenthesized_expression "(*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8)" (( "(") (binary_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8" (pointer_expression "*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" (* "*") (cast_expression "(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2)" (( "(") (binary_expression "*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2" (binary_expression "*(int *)(iVar6 + 0x18) + 1" (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "1")) (+ "+") (binary_expression "(uint)*pbVar8 * 2" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar8")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar6 = (int)pbVar8 - (int)local_40;" (assignment_expression "iVar6 = (int)pbVar8 - (int)local_40" (identifier "iVar6") (= "=") (binary_expression "(int)pbVar8 - (int)local_40" (cast_expression "(int)pbVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar8")) (- "-") (cast_expression "(int)local_40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_40")))) (; ";")) (labeled_statement "joined_r0x0019838f:\n    if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" (statement_identifier "joined_r0x0019838f") (: ":") (if_statement "if (iVar6 != 0) {\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_28 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_28,iVar6 * 2);\n      iVar7 = *(int *)(iVar13 + 0x2c);\n      local_5c = iVar6 - iVar7;\n      if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }\n      if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }\n      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;\n      uVar10 = local_50 + *(int *)(local_28 + -0xc);\n      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }\n      local_24 = &DAT_00309e0c;\n                    \n      FUN_001b9450(&local_24,uVar10 * 2);\n      uVar5 = *(uint *)(param_5 + 8);\n      puVar12 = &local_20;\n      do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);\n      if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }\n      if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }\n      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n      local_3c = CONCAT31(local_3c._1_3_,local_41);\n      if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n      if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }\n    }" ({ "{") (expression_statement "local_28 = &DAT_00309e0c;" (assignment_expression "local_28 = &DAT_00309e0c" (identifier "local_28") (= "=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) (; ";")) (expression_statement "FUN_001b9450(&local_28,iVar6 * 2);" (call_expression "FUN_001b9450(&local_28,iVar6 * 2)" (identifier "FUN_001b9450") (argument_list "(&local_28,iVar6 * 2)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (binary_expression "iVar6 * 2" (identifier "iVar6") (* "*") (number_literal "2")) () ")"))) (; ";")) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar13 + 0x2c)" (* "*") (cast_expression "(int *)(iVar13 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2c)" (( "(") (binary_expression "iVar13 + 0x2c" (identifier "iVar13") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "local_5c = iVar6 - iVar7;" (assignment_expression "local_5c = iVar6 - iVar7" (identifier "local_5c") (= "=") (binary_expression "iVar6 - iVar7" (identifier "iVar6") (- "-") (identifier "iVar7"))) (; ";")) (if_statement "if (0 < (int)local_5c) {\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" (if "if") (parenthesized_expression "(0 < (int)local_5c)" (( "(") (binary_expression "0 < (int)local_5c" (number_literal "0") (< "<") (cast_expression "(int)local_5c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_5c"))) () ")")) (compound_statement "{\n        if (iVar7 < 0) {\n          local_5c = iVar6;\n        }\n        if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }\n        iVar7 = *(int *)(iVar13 + 0x2c);\n      }" ({ "{") (if_statement "if (iVar7 < 0) {\n          local_5c = iVar6;\n        }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          local_5c = iVar6;\n        }" ({ "{") (expression_statement "local_5c = iVar6;" (assignment_expression "local_5c = iVar6" (identifier "local_5c") (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar13 + 0xc) == 0) {\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }\n        else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" (if "if") (parenthesized_expression "(*(int *)(iVar13 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar13 + 0xc) == 0" (pointer_expression "*(int *)(iVar13 + 0xc)" (* "*") (cast_expression "(int *)(iVar13 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0xc)" (( "(") (binary_expression "iVar13 + 0xc" (identifier "iVar13") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n          FUN_001b8e90(&local_28,local_40,local_5c);\n        }" ({ "{") (expression_statement "FUN_001b8e90(&local_28,local_40,local_5c);" (call_expression "FUN_001b8e90(&local_28,local_40,local_5c)" (identifier "FUN_001b8e90") (argument_list "(&local_28,local_40,local_5c)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "local_40") (, ",") (identifier "local_5c") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" (else "else") (compound_statement "{\n          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);\n          uVar3 = *(undefined4 *)(iVar13 + 0xc);\n          uVar4 = *(undefined4 *)(iVar13 + 8);\n          cVar2 = *(char *)(iVar13 + 0x12);\n          FUN_001b8820(&local_28);\n          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);\n          FUN_001b8820(&local_28);\n          uVar10 = iVar7 - (int)local_28;\n          uVar11 = *(uint *)(local_28 + -0xc);\n          if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }\n          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);\n        }" ({ "{") (expression_statement "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);" (call_expression "FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" (identifier "FUN_001b8b80") (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(local_28 + -0xc)" (* "*") (cast_expression "(undefined4 *)(local_28 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + -0xc)" (( "(") (binary_expression "local_28 + -0xc" (identifier "local_28") (+ "+") (number_literal "-0xc")) () ")")))) (, ",") (binary_expression "local_5c * 2" (identifier "local_5c") (* "*") (number_literal "2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar13 + 0xc);" (assignment_expression "uVar3 = *(undefined4 *)(iVar13 + 0xc)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0xc)" (( "(") (binary_expression "iVar13 + 0xc" (identifier "iVar13") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(iVar13 + 8);" (assignment_expression "uVar4 = *(undefined4 *)(iVar13 + 8)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 8)" (( "(") (binary_expression "iVar13 + 8" (identifier "iVar13") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "cVar2 = *(char *)(iVar13 + 0x12);" (assignment_expression "cVar2 = *(char *)(iVar13 + 0x12)" (identifier "cVar2") (= "=") (pointer_expression "*(char *)(iVar13 + 0x12)" (* "*") (cast_expression "(char *)(iVar13 + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x12)" (( "(") (binary_expression "iVar13 + 0x12" (identifier "iVar13") (+ "+") (number_literal "0x12")) () ")"))))) (; ";")) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" (identifier "FUN_001b8820") (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (expression_statement "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);" (assignment_expression "iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" (identifier "iVar7") (= "=") (call_expression "FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" (identifier "FUN_00197980") (argument_list "(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c)" (( "(") (identifier "local_28") (, ",") (cast_expression "(int)cVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar2")) (, ",") (identifier "uVar4") (, ",") (identifier "uVar3") (, ",") (identifier "local_40") (, ",") (binary_expression "local_40 + local_5c" (identifier "local_40") (+ "+") (identifier "local_5c")) () ")")))) (; ";")) (expression_statement "FUN_001b8820(&local_28);" (call_expression "FUN_001b8820(&local_28)" (identifier "FUN_001b8820") (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (expression_statement "uVar10 = iVar7 - (int)local_28;" (assignment_expression "uVar10 = iVar7 - (int)local_28" (identifier "uVar10") (= "=") (binary_expression "iVar7 - (int)local_28" (identifier "iVar7") (- "-") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28")))) (; ";")) (expression_statement "uVar11 = *(uint *)(local_28 + -0xc);" (assignment_expression "uVar11 = *(uint *)(local_28 + -0xc)" (identifier "uVar11") (= "=") (pointer_expression "*(uint *)(local_28 + -0xc)" (* "*") (cast_expression "(uint *)(local_28 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + -0xc)" (( "(") (binary_expression "local_28 + -0xc" (identifier "local_28") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (if_statement "if (uVar11 < uVar10) {\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" (if "if") (parenthesized_expression "(uVar11 < uVar10)" (( "(") (binary_expression "uVar11 < uVar10" (identifier "uVar11") (< "<") (identifier "uVar10")) () ")")) (compound_statement "{\n                    \n            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);\n          }" ({ "{") (expression_statement "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11);" (call_expression "FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" (identifier "FUN_001c6230") (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                         "basic_string::erase",uVar10,uVar11)" (( "(") (string_literal ""%s: __pos (which is %zu) > this->size() (which is %zu)"" (" """) (string_content "%s: __pos (which is %zu) > this->size() (which is %zu)") (" """)) (, ",") (string_literal ""basic_string::erase"" (" """) (string_content "basic_string::erase") (" """)) (, ",") (identifier "uVar10") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);" (call_expression "FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0)" (identifier "FUN_001b8580") (argument_list "(&local_28,uVar10,uVar11 - uVar10,0)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "uVar10") (, ",") (binary_expression "uVar11 - uVar10" (identifier "uVar11") (- "-") (identifier "uVar10")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar7 = *(int *)(iVar13 + 0x2c);" (assignment_expression "iVar7 = *(int *)(iVar13 + 0x2c)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar13 + 0x2c)" (* "*") (cast_expression "(int *)(iVar13 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2c)" (( "(") (binary_expression "iVar13 + 0x2c" (identifier "iVar13") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (0 < iVar7) {\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n                    \n        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));\n        if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }\n      }" ({ "{") (expression_statement "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));" (call_expression "FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11))" (identifier "FUN_001b9a70") (argument_list "(&local_28,(int)*(char *)(iVar13 + 0x11))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (cast_expression "(int)*(char *)(iVar13 + 0x11)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(iVar13 + 0x11)" (* "*") (cast_expression "(char *)(iVar13 + 0x11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x11)" (( "(") (binary_expression "iVar13 + 0x11" (identifier "iVar13") (+ "+") (number_literal "0x11")) () ")"))))) () ")"))) (; ";")) (if_statement "if ((int)local_5c < 0) {\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }\n        else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" (if "if") (parenthesized_expression "((int)local_5c < 0)" (( "(") (binary_expression "(int)local_5c < 0" (cast_expression "(int)local_5c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_5c")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));\n          FUN_001b9740(&local_28,local_40,iVar6);\n        }" ({ "{") (expression_statement "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));" (call_expression "FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" (identifier "FUN_001b9910") (argument_list "(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (unary_expression "-local_5c" (- "-") (identifier "local_5c")) (, ",") (cast_expression "(int)*(char *)(iVar13 + 0x39)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(iVar13 + 0x39)" (* "*") (cast_expression "(char *)(iVar13 + 0x39)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x39)" (( "(") (binary_expression "iVar13 + 0x39" (identifier "iVar13") (+ "+") (number_literal "0x39")) () ")"))))) () ")"))) (; ";")) (expression_statement "FUN_001b9740(&local_28,local_40,iVar6);" (call_expression "FUN_001b9740(&local_28,local_40,iVar6)" (identifier "FUN_001b9740") (argument_list "(&local_28,local_40,iVar6)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "local_40") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}")) (else_clause "else {\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" (else "else") (compound_statement "{\n          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));\n        }" ({ "{") (expression_statement "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));" (call_expression "FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" (identifier "FUN_001b9740") (argument_list "(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (binary_expression "local_40 + local_5c" (identifier "local_40") (+ "+") (identifier "local_5c")) (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x2c)" (( "(") (binary_expression "iVar13 + 0x2c" (identifier "iVar13") (+ "+") (number_literal "0x2c")) () ")")))) () ")"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar11 = *(uint *)(param_5 + 0xc) & 0xb0" (identifier "uVar11") (= "=") (binary_expression "*(uint *)(param_5 + 0xc) & 0xb0" (pointer_expression "*(uint *)(param_5 + 0xc)" (* "*") (cast_expression "(uint *)(param_5 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xc)" (( "(") (binary_expression "param_5 + 0xc" (identifier "param_5") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xb0"))) (; ";")) (expression_statement "uVar10 = local_50 + *(int *)(local_28 + -0xc);" (assignment_expression "uVar10 = local_50 + *(int *)(local_28 + -0xc)" (identifier "uVar10") (= "=") (binary_expression "local_50 + *(int *)(local_28 + -0xc)" (identifier "local_50") (+ "+") (pointer_expression "*(int *)(local_28 + -0xc)" (* "*") (cast_expression "(int *)(local_28 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + -0xc)" (( "(") (binary_expression "local_28 + -0xc" (identifier "local_28") (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (if_statement "if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" (if "if") (parenthesized_expression "((*(uint *)(param_5 + 0xc) & 0x200) != 0)" (( "(") (binary_expression "(*(uint *)(param_5 + 0xc) & 0x200) != 0" (parenthesized_expression "(*(uint *)(param_5 + 0xc) & 0x200)" (( "(") (binary_expression "*(uint *)(param_5 + 0xc) & 0x200" (pointer_expression "*(uint *)(param_5 + 0xc)" (* "*") (cast_expression "(uint *)(param_5 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xc)" (( "(") (binary_expression "param_5 + 0xc" (identifier "param_5") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0x200")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);\n      }" ({ "{") (expression_statement "uVar10 = uVar10 + *(int *)(iVar13 + 0x18);" (assignment_expression "uVar10 = uVar10 + *(int *)(iVar13 + 0x18)" (identifier "uVar10") (= "=") (binary_expression "uVar10 + *(int *)(iVar13 + 0x18)" (identifier "uVar10") (+ "+") (pointer_expression "*(int *)(iVar13 + 0x18)" (* "*") (cast_expression "(int *)(iVar13 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x18)" (( "(") (binary_expression "iVar13 + 0x18" (identifier "iVar13") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (} "}"))) (expression_statement "local_24 = &DAT_00309e0c;" (assignment_expression "local_24 = &DAT_00309e0c" (identifier "local_24") (= "=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) (; ";")) (expression_statement "FUN_001b9450(&local_24,uVar10 * 2);" (call_expression "FUN_001b9450(&local_24,uVar10 * 2)" (identifier "FUN_001b9450") (argument_list "(&local_24,uVar10 * 2)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar10 * 2" (identifier "uVar10") (* "*") (number_literal "2")) () ")"))) (; ";")) (expression_statement "uVar5 = *(uint *)(param_5 + 8);" (assignment_expression "uVar5 = *(uint *)(param_5 + 8)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(param_5 + 8)" (* "*") (cast_expression "(uint *)(param_5 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 8)" (( "(") (binary_expression "param_5 + 8" (identifier "param_5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar12 = &local_20;" (assignment_expression "puVar12 = &local_20" (identifier "puVar12") (= "=") (pointer_expression "&local_20" (& "&") (identifier "local_20"))) (; ";")) (do_statement "do {\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      } while (puVar12 != local_1c);" (do "do") (compound_statement "{\n        switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }\n        puVar12 = (undefined4 *)((int)puVar12 + 1);\n      }" ({ "{") (switch_statement "switch(*(undefined1 *)puVar12) {\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" (switch "switch") (parenthesized_expression "(*(undefined1 *)puVar12)" (( "(") (pointer_expression "*(undefined1 *)puVar12" (* "*") (cast_expression "(undefined1 *)puVar12" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (compound_statement "{\n        case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;\n        case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;\n        case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;\n        case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;\n        case 4:\n          FUN_001b9570(&local_24,&local_28);\n        }" ({ "{") (case_statement "case 0:\n          if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }\n          break;" (case "case") (number_literal "0") (: ":") (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) {\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" (if "if") (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" (( "(") (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" (identifier "uVar11") (== "==") (number_literal "0x10")) (&& "&&") (binary_expression "uVar10 < uVar5" (identifier "uVar10") (< "<") (identifier "uVar5"))) () ")")) (compound_statement "{\ncode_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);\n          }" ({ "{") (labeled_statement "code_r0x0019859a:\n            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" (statement_identifier "code_r0x0019859a") (: ":") (expression_statement "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6)" (identifier "FUN_001b9910") (argument_list "(&local_24,uVar5 - uVar10,(int)param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar5 - uVar10" (identifier "uVar5") (- "-") (identifier "uVar10")) (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) () ")"))) (; ";"))) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;\n          FUN_001b9a70(&local_24,(int)param_6);\n          break;" (case "case") (number_literal "1") (: ":") (if_statement "if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;" (if "if") (parenthesized_expression "(uVar11 == 0x10 && uVar10 < uVar5)" (( "(") (binary_expression "uVar11 == 0x10 && uVar10 < uVar5" (binary_expression "uVar11 == 0x10" (identifier "uVar11") (== "==") (number_literal "0x10")) (&& "&&") (binary_expression "uVar10 < uVar5" (identifier "uVar10") (< "<") (identifier "uVar5"))) () ")")) (goto_statement "goto code_r0x0019859a;" (goto "goto") (statement_identifier "code_r0x0019859a") (; ";"))) (expression_statement "FUN_001b9a70(&local_24,(int)param_6);" (call_expression "FUN_001b9a70(&local_24,(int)param_6)" (identifier "FUN_001b9a70") (argument_list "(&local_24,(int)param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }\n          break;" (case "case") (number_literal "2") (: ":") (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" (if "if") (parenthesized_expression "((*(byte *)(param_5 + 0xd) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(param_5 + 0xd) & 2) != 0" (parenthesized_expression "(*(byte *)(param_5 + 0xd) & 2)" (( "(") (binary_expression "*(byte *)(param_5 + 0xd) & 2" (pointer_expression "*(byte *)(param_5 + 0xd)" (* "*") (cast_expression "(byte *)(param_5 + 0xd)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 0xd)" (( "(") (binary_expression "param_5 + 0xd" (identifier "param_5") (+ "+") (number_literal "0xd")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));\n          }" ({ "{") (expression_statement "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));" (call_expression "FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" (identifier "FUN_001b9740") (argument_list "(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18))" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x14)" (( "(") (binary_expression "iVar13 + 0x14" (identifier "iVar13") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar13 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x18)" (( "(") (binary_expression "iVar13 + 0x18" (identifier "iVar13") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n          if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }\n          break;" (case "case") (number_literal "3") (: ":") (if_statement "if (local_50 != 0) {\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" (if "if") (parenthesized_expression "(local_50 != 0)" (( "(") (binary_expression "local_50 != 0" (identifier "local_50") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_001b9a70(&local_24,(int)*local_68);\n          }" ({ "{") (expression_statement "FUN_001b9a70(&local_24,(int)*local_68);" (call_expression "FUN_001b9a70(&local_24,(int)*local_68)" (identifier "FUN_001b9a70") (argument_list "(&local_24,(int)*local_68)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (cast_expression "(int)*local_68" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*local_68" (* "*") (identifier "local_68"))) () ")"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:\n          FUN_001b9570(&local_24,&local_28);" (case "case") (number_literal "4") (: ":") (expression_statement "FUN_001b9570(&local_24,&local_28);" (call_expression "FUN_001b9570(&local_24,&local_28)" (identifier "FUN_001b9570") (argument_list "(&local_24,&local_28)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";"))) (} "}"))) (expression_statement "puVar12 = (undefined4 *)((int)puVar12 + 1);" (assignment_expression "puVar12 = (undefined4 *)((int)puVar12 + 1)" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)((int)puVar12 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar12 + 1)" (( "(") (binary_expression "(int)puVar12 + 1" (cast_expression "(int)puVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar12")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 != local_1c)" (( "(") (binary_expression "puVar12 != local_1c" (identifier "puVar12") (!= "!=") (identifier "local_1c")) () ")")) (; ";")) (if_statement "if (local_50 < 2) {\n        local_5c = *(uint *)(local_24 + -0xc);\n      }\n      else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" (if "if") (parenthesized_expression "(local_50 < 2)" (( "(") (binary_expression "local_50 < 2" (identifier "local_50") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" ({ "{") (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" (identifier "local_5c") (= "=") (pointer_expression "*(uint *)(local_24 + -0xc)" (* "*") (cast_expression "(uint *)(local_24 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + -0xc)" (( "(") (binary_expression "local_24 + -0xc" (identifier "local_24") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" (else "else") (compound_statement "{\n        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);\n        local_5c = *(uint *)(local_24 + -0xc);\n      }" ({ "{") (expression_statement "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);" (call_expression "FUN_001b9740(&local_24,local_68 + 1,local_50 - 1)" (identifier "FUN_001b9740") (argument_list "(&local_24,local_68 + 1,local_50 - 1)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "local_68 + 1" (identifier "local_68") (+ "+") (number_literal "1")) (, ",") (binary_expression "local_50 - 1" (identifier "local_50") (- "-") (number_literal "1")) () ")"))) (; ";")) (expression_statement "local_5c = *(uint *)(local_24 + -0xc);" (assignment_expression "local_5c = *(uint *)(local_24 + -0xc)" (identifier "local_5c") (= "=") (pointer_expression "*(uint *)(local_24 + -0xc)" (* "*") (cast_expression "(uint *)(local_24 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + -0xc)" (( "(") (binary_expression "local_24 + -0xc" (identifier "local_24") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (local_5c < uVar5) {\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" (if "if") (parenthesized_expression "(local_5c < uVar5)" (( "(") (binary_expression "local_5c < uVar5" (identifier "local_5c") (< "<") (identifier "uVar5")) () ")")) (compound_statement "{\n        if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n      }" ({ "{") (if_statement "if (uVar11 == 0x20) {\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }\n        else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" (if "if") (parenthesized_expression "(uVar11 == 0x20)" (( "(") (binary_expression "uVar11 == 0x20" (identifier "uVar11") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n                    \n          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" ({ "{") (expression_statement "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6)" (identifier "FUN_001b9910") (argument_list "(&local_24,uVar5 - local_5c,(int)param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar5 - local_5c" (identifier "uVar5") (- "-") (identifier "local_5c")) (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) () ")"))) (; ";")) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" (identifier "local_5c") (= "=") (identifier "uVar5")) (; ";")) (} "}")) (else_clause "else {\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" (else "else") (compound_statement "{\n          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);\n          local_5c = uVar5;\n        }" ({ "{") (expression_statement "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);" (call_expression "FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6)" (identifier "FUN_001b8b80") (argument_list "(&local_24,0,0,uVar5 - local_5c,(int)param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (binary_expression "uVar5 - local_5c" (identifier "uVar5") (- "-") (identifier "local_5c")) (, ",") (cast_expression "(int)param_6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_6")) () ")"))) (; ";")) (expression_statement "local_5c = uVar5;" (assignment_expression "local_5c = uVar5" (identifier "local_5c") (= "=") (identifier "uVar5")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_41 == '\0') {\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" (if "if") (parenthesized_expression "(local_41 == '\0')" (( "(") (binary_expression "local_41 == '\0'" (identifier "local_41") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);\n        local_41 = uVar11 != local_5c;\n      }" ({ "{") (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" (identifier "uVar11") (= "=") (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c)" (parenthesized_expression "(**(code **)(*param_3 + 0x30))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x30)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x30)" (* "*") (cast_expression "(code **)(*param_3 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x30)" (( "(") (binary_expression "*param_3 + 0x30" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(param_3,local_24,local_5c)" (( "(") (identifier "param_3") (, ",") (identifier "local_24") (, ",") (identifier "local_5c") () ")")))) (; ";")) (expression_statement "local_41 = uVar11 != local_5c;" (assignment_expression "local_41 = uVar11 != local_5c" (identifier "local_41") (= "=") (binary_expression "uVar11 != local_5c" (identifier "uVar11") (!= "!=") (identifier "local_5c"))) (; ";")) (} "}"))) (expression_statement "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);" (assignment_expression "local_3c._1_3_ = (undefined3)((uint)param_4 >> 8)" (field_expression "local_3c._1_3_" (identifier "local_3c") (. ".") (field_identifier "_1_3_")) (= "=") (call_expression "(undefined3)((uint)param_4 >> 8)" (parenthesized_expression "(undefined3)" (( "(") (identifier "undefined3") () ")")) (argument_list "((uint)param_4 >> 8)" (( "(") (binary_expression "(uint)param_4 >> 8" (cast_expression "(uint)param_4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_4")) (>> ">>") (number_literal "8")) () ")")))) (; ";")) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" (identifier "local_3c") (= "=") (call_expression "CONCAT31(local_3c._1_3_,local_41)" (identifier "CONCAT31") (argument_list "(local_3c._1_3_,local_41)" (( "(") (field_expression "local_3c._1_3_" (identifier "local_3c") (. ".") (field_identifier "_1_3_")) (, ",") (identifier "local_41") () ")")))) (; ";")) (if_statement "if (local_24 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" (if "if") (parenthesized_expression "(local_24 != &DAT_00309e0c)" (( "(") (binary_expression "local_24 != &DAT_00309e0c" (identifier "local_24") (!= "!=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) () ")")) (compound_statement "{\n        FUN_00192a20();\n      }" ({ "{") (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" (identifier "FUN_00192a20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_28 != &DAT_00309e0c) {\n        FUN_00192a20();\n      }" (if "if") (parenthesized_expression "(local_28 != &DAT_00309e0c)" (( "(") (binary_expression "local_28 != &DAT_00309e0c" (identifier "local_28") (!= "!=") (pointer_expression "&DAT_00309e0c" (& "&") (identifier "DAT_00309e0c"))) () ")")) (compound_statement "{\n        FUN_00192a20();\n      }" ({ "{") (expression_statement "FUN_00192a20();" (call_expression "FUN_00192a20()" (identifier "FUN_00192a20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (labeled_statement "LAB_00198358:\n  *(undefined4 *)(param_5 + 8) = 0;" (statement_identifier "LAB_00198358") (: ":") (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" (* "*") (cast_expression "(undefined4 *)(param_5 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 8)" (( "(") (binary_expression "param_5 + 8" (identifier "param_5") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (expression_statement "local_3c = CONCAT31(local_3c._1_3_,local_41);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_41)" (identifier "local_3c") (= "=") (call_expression "CONCAT31(local_3c._1_3_,local_41)" (identifier "CONCAT31") (argument_list "(local_3c._1_3_,local_41)" (( "(") (field_expression "local_3c._1_3_" (identifier "local_3c") (. ".") (field_identifier "_1_3_")) (, ",") (identifier "local_41") () ")")))) (; ";")) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[1] = local_3c;" (assignment_expression "param_1[1] = local_3c" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostreambuf_iterator<char, std::char_traits<char> > std::money_put<char,
   std::ostreambuf_iterator<char, std::char_traits<char> >
   >::_M_insert<false>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,
   char, std::string const&) const */

void var_4::money_put<char,var_4::ostreambuf_iterator<char,var_4::char_traits<char>>>::_M_insert<false>
               (type_4 *param_1,type_4 param_2,int *param_3,type_4 param_4,int var_5,
               char param_6,type_4 *param_7)

{
  int *piVar1;
  char cVar2;
  type_1 *var_15;
  type_2 var_7;
  type_3 *var_16;
  char *pcVar6;
  int var_18;
  var_1<var_2,false> *var_10;
  type_3 *var_14;
  type_2 var_26;
  type_2 var_25;
  type_4 *var_32;
  int var_8;
  char *var_35;
  type_2 var_22;
  type_2 var_31;
  char var_36;
  type_3 *var_13;
  type_4 local_3c;
  char *var_21;
  type_5 *var_34;
  type_4 local_20;
  type_4 var_33 [2];
  type_4 uStack_14;
  
  uStack_14 = 0x19828b;
  local_3c = param_4;
  var_36 = (char)param_4;
  var_15 = var_3<var_4::type_1<var_2>>((type_6 *)(var_5 + 0x6c));
  var_7 = type_6::id::var_6((type_7 *)PTR_id_00301bdc);
  piVar1 = (int *)(*(int *)(*(int *)(var_5 + 0x6c) + 0xc) + var_7 * 4);
  var_8 = *piVar1;
  if (var_8 == 0) {
                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */
    var_10 = (var_1<var_2,false> *)var_9(0x44);
    *(type_4 *)(var_10 + 4) = 0;
    *(type_4 *)(var_10 + 8) = 0;
    *(type_5 ***)var_10 = &PTR____moneypunct_cache_002ff698;
    *(type_4 *)(var_10 + 0xc) = 0;
    *(type_8 *)(var_10 + 0x10) = 0;
    var_10[0x12] = (var_1<var_2,false>)0x0;
    *(type_4 *)(var_10 + 0x14) = 0;
    *(type_4 *)(var_10 + 0x18) = 0;
    *(type_4 *)(var_10 + 0x1c) = 0;
    *(type_4 *)(var_10 + 0x20) = 0;
    *(type_4 *)(var_10 + 0x24) = 0;
    *(type_4 *)(var_10 + 0x28) = 0;
    *(type_4 *)(var_10 + 0x2c) = 0;
    *(type_4 *)(var_10 + 0x30) = 0;
    *(type_4 *)(var_10 + 0x34) = 0;
    var_10[0x43] = (var_1<var_2,false>)0x0;
                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */
    var_1<var_2,false>::var_11(var_10,(type_6 *)(var_5 + 0x6c));
    locale::_Impl::var_12(*(type_9 **)(var_5 + 0x6c),(type_10 *)var_10,var_7);
    var_8 = *piVar1;
  }
  var_13 = (type_3 *)*param_7;
  var_14 = var_13 + -0xc;
  if (*var_13 == *(type_3 *)(var_8 + 0x38)) {
    local_20 = *(type_4 *)(var_8 + 0x34);
    if (*(int *)var_14 == 0) goto LAB_00198358;
    var_35 = *(char **)(var_8 + 0x24);
    var_13 = var_13 + 1;
    var_31 = *(type_2 *)(var_8 + 0x28);
  }
  else {
    local_20 = *(type_4 *)(var_8 + 0x30);
    var_35 = *(char **)(var_8 + 0x1c);
    var_31 = *(type_2 *)(var_8 + 0x20);
  }
  var_14 = var_13 + *(int *)var_14;
  if ((var_13 < var_14) &&
     (var_16 = var_13, (*(type_3 *)(*(int *)(var_15 + 0x18) + 1 + (type_2)*var_13 * 2) & 8) != 0)) {
    do {
      var_16 = var_16 + 1;
      if (var_14 == var_16) {
        var_7 = (int)var_14 - (int)var_13;
        goto joined_r0x0019838f;
      }
    } while ((*(type_3 *)(*(int *)(var_15 + 0x18) + 1 + (type_2)*var_16 * 2) & 8) != 0);
    var_7 = (int)var_16 - (int)var_13;
joined_r0x0019838f:
    if (var_7 != 0) {
      var_21 = &DAT_00309e0c;
                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */
      std::string::var_17((type_11 *)&var_21,var_7 * 2);
      var_18 = *(int *)(var_8 + 0x2c);
      var_22 = var_7 - var_18;
      if (0 < (int)var_22) {
        if (var_18 < 0) {
          var_22 = var_7;
        }
        if (*(int *)(var_8 + 0xc) == 0) {
                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */
          std::string::var_19((type_11 *)&var_21,(char *)var_13,var_22);
        }
        else {
          std::string::var_20
                    ((type_11 *)&var_21,0,*(type_2 *)(var_21 + -0xc),var_22 * 2,'\0');
          var_25 = *(type_2 *)(var_8 + 0xc);
          pcVar6 = *(char **)(var_8 + 8);
          cVar2 = *(char *)(var_8 + 0x12);
          std::string::var_23((type_11 *)&var_21);
          pcVar6 = var_24<var_2>
                             (var_21,cVar2,pcVar6,var_25,(char *)var_13,
                              (char *)(var_13 + var_22));
          std::string::var_23((type_11 *)&var_21);
          var_26 = (int)pcVar6 - (int)var_21;
          var_25 = *(type_2 *)(var_21 + -0xc);
          if (var_25 < var_26) {
                    /* WARNING: Subroutine does not return */
            var_27
                      ("%s: __pos (which is %zu) > this->size() (which is %zu)",
                       "basic_string::erase",var_26,var_25);
          }
          std::string::var_28((type_11 *)&var_21,var_26,var_25 - var_26,0);
        }
        var_18 = *(int *)(var_8 + 0x2c);
      }
      if (0 < var_18) {
                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */
        std::string::var_29((type_11 *)&var_21,*(char *)(var_8 + 0x11));
        if ((int)var_22 < 0) {
                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */
          std::string::var_30((type_11 *)&var_21,-var_22,*(char *)(var_8 + 0x39));
          std::string::var_30((type_11 *)&var_21,(char *)var_13,var_7);
        }
        else {
          std::string::var_30((type_11 *)&var_21,(char *)(var_13 + var_22),
                              *(type_2 *)(var_8 + 0x2c));
        }
      }
      var_7 = *(type_2 *)(var_5 + 0xc) & 0xb0;
      var_25 = var_31 + *(int *)(var_21 + -0xc);
      if ((*(type_2 *)(var_5 + 0xc) & 0x200) != 0) {
        var_25 = var_25 + *(int *)(var_8 + 0x18);
      }
      var_34 = &DAT_00309e0c;
                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */
      std::string::var_17((type_11 *)&var_34,var_25 * 2);
      var_26 = *(type_2 *)(var_5 + 8);
      var_32 = &local_20;
      do {
        switch(*(type_12 *)var_32) {
        case 0:
          if (var_7 == 0x10 && var_25 < var_26) {
LAB_0019859a:
            std::string::var_30((type_11 *)&var_34,var_26 - var_25,param_6);
          }
          break;
        case 1:
          if (var_7 == 0x10 && var_25 < var_26) goto LAB_0019859a;
                    /* try { // try from 0019872c to 00198730 has its CatchHandler @ 00198879 */
          std::string::var_29((type_11 *)&var_34,param_6);
          break;
        case 2:
          if ((*(type_3 *)(var_5 + 0xd) & 2) != 0) {
            std::string::var_30((type_11 *)&var_34,*(char **)(var_8 + 0x14),
                                *(type_2 *)(var_8 + 0x18));
          }
          break;
        case 3:
          if (var_31 != 0) {
            std::string::var_29((type_11 *)&var_34,*var_35);
          }
          break;
        case 4:
          std::string::var_30((type_11 *)&var_34,(type_11 *)&var_21);
        }
        var_32 = (type_4 *)((int)var_32 + 1);
      } while (var_32 != var_33);
      if (var_31 < 2) {
        var_22 = *(type_2 *)(var_34 + -0xc);
      }
      else {
        std::string::var_30((type_11 *)&var_34,var_35 + 1,var_31 - 1);
        var_22 = *(type_2 *)(var_34 + -0xc);
      }
      if (var_22 < var_26) {
        if (var_7 == 0x20) {
                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */
          std::string::var_30((type_11 *)&var_34,var_26 - var_22,param_6);
          var_22 = var_26;
        }
        else {
          std::string::var_20((type_11 *)&var_34,0,0,var_26 - var_22,param_6);
          var_22 = var_26;
        }
      }
      if (var_36 == '\0') {
        var_7 = (**(type_13 **)(*param_3 + 0x30))(param_3,var_34,var_22);
        var_36 = var_7 != var_22;
      }
      local_3c._1_3_ = (undefined3)((type_2)param_4 >> 8);
      local_3c = var_37(local_3c._1_3_,var_36);
      if ((type_14 *)(var_34 + -0xc) != (type_14 *)&var_4::type_11::_Rep::_S_empty_rep_storage) {
        std::string::_Rep::var_38((type_14 *)(var_34 + -0xc));
      }
      if ((type_14 *)(var_21 + -0xc) != (type_14 *)&var_4::type_11::_Rep::_S_empty_rep_storage) {
        std::string::_Rep::var_38((type_14 *)(var_21 + -0xc));
      }
    }
  }
LAB_00198358:
  *(type_4 *)(var_5 + 8) = 0;
  local_3c = var_37(local_3c._1_3_,var_36);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}


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

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

void MASKED(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5
                 ,char param_6,undefined4 *param_7)

{
  int *piVar1;
  char cVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  uint uVar5;
  int iVar6;
  int iVar7;
  byte *pbVar8;
  byte *pbVar9;
  uint uVar10;
  uint uVar11;
  undefined4 *puVar12;
  int iVar13;
  char *local_68;
  uint local_5c;
  uint local_50;
  char local_41;
  byte *local_40;
  undefined4 local_3c;
  undefined *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [2];
  undefined4 uStack_14;
  
  uStack_14 = 0x19828b;
  local_3c = param_4;
  local_41 = (char)param_4;
  iVar6 = FUN_001957d0(param_5 + 0x6c);
  iVar7 = FUN_00183130(PTR_DAT_00301bdc);
  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar7 * 4);
  iVar13 = *piVar1;
  if (iVar13 == 0) {
                    /* try { // try from 0019874a to 0019874e has its CatchHandler @ 001988b5 */
    puVar12 = (undefined4 *)FUN_0017ebf0(0x44);
    puVar12[1] = 0;
    puVar12[2] = 0;
    *puVar12 = &PTR_FUN_002ff698;
    puVar12[3] = 0;
    *(undefined2 *)(puVar12 + 4) = 0;
    *(undefined1 *)((int)puVar12 + 0x12) = 0;
    puVar12[5] = 0;
    puVar12[6] = 0;
    puVar12[7] = 0;
    puVar12[8] = 0;
    puVar12[9] = 0;
    puVar12[10] = 0;
    puVar12[0xb] = 0;
    puVar12[0xc] = 0;
    puVar12[0xd] = 0;
    *(undefined1 *)((int)puVar12 + 0x43) = 0;
                    /* try { // try from 001987c4 to 001987c8 has its CatchHandler @ 001988b3 */
    FUN_00196ab0(puVar12,param_5 + 0x6c);
    FUN_00183640(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar7);
    iVar13 = *piVar1;
  }
  local_40 = (byte *)*param_7;
  pbVar9 = local_40 + -0xc;
  if (*local_40 == *(byte *)(iVar13 + 0x38)) {
    local_20 = *(undefined4 *)(iVar13 + 0x34);
    if (*(int *)pbVar9 == 0) goto LAB_00198358;
    local_68 = *(char **)(iVar13 + 0x24);
    local_40 = local_40 + 1;
    local_50 = *(uint *)(iVar13 + 0x28);
  }
  else {
    local_20 = *(undefined4 *)(iVar13 + 0x30);
    local_68 = *(char **)(iVar13 + 0x1c);
    local_50 = *(uint *)(iVar13 + 0x20);
  }
  pbVar9 = local_40 + *(int *)pbVar9;
  if ((local_40 < pbVar9) &&
     (pbVar8 = local_40, (*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*local_40 * 2) & 8) != 0)) {
    do {
      pbVar8 = pbVar8 + 1;
      if (pbVar9 == pbVar8) {
        iVar6 = (int)pbVar9 - (int)local_40;
        goto joined_r0x0019838f;
      }
    } while ((*(byte *)(*(int *)(iVar6 + 0x18) + 1 + (uint)*pbVar8 * 2) & 8) != 0);
    iVar6 = (int)pbVar8 - (int)local_40;
joined_r0x0019838f:
    if (iVar6 != 0) {
      local_28 = &DAT_00309e0c;
                    /* try { // try from 001983b3 to 0019847c has its CatchHandler @ 0019887d */
      FUN_001b9450(&local_28,iVar6 * 2);
      iVar7 = *(int *)(iVar13 + 0x2c);
      local_5c = iVar6 - iVar7;
      if (0 < (int)local_5c) {
        if (iVar7 < 0) {
          local_5c = iVar6;
        }
        if (*(int *)(iVar13 + 0xc) == 0) {
                    /* try { // try from 001987ff to 00198803 has its CatchHandler @ 0019887d */
          FUN_001b8e90(&local_28,local_40,local_5c);
        }
        else {
          FUN_001b8b80(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_5c * 2,0);
          uVar3 = *(undefined4 *)(iVar13 + 0xc);
          uVar4 = *(undefined4 *)(iVar13 + 8);
          cVar2 = *(char *)(iVar13 + 0x12);
          FUN_001b8820(&local_28);
          iVar7 = FUN_00197980(local_28,(int)cVar2,uVar4,uVar3,local_40,local_40 + local_5c);
          FUN_001b8820(&local_28);
          uVar10 = iVar7 - (int)local_28;
          uVar11 = *(uint *)(local_28 + -0xc);
          if (uVar11 < uVar10) {
                    /* WARNING: Subroutine does not return */
            FUN_001c6230("%s: __pos (which is %zu) > this->size() (which is %zu)",
                         "basic_string::erase",uVar10,uVar11);
          }
          FUN_001b8580(&local_28,uVar10,uVar11 - uVar10,0);
        }
        iVar7 = *(int *)(iVar13 + 0x2c);
      }
      if (0 < iVar7) {
                    /* try { // try from 001986e6 to 0019870f has its CatchHandler @ 0019887d */
        FUN_001b9a70(&local_28,(int)*(char *)(iVar13 + 0x11));
        if ((int)local_5c < 0) {
                    /* try { // try from 00198838 to 00198878 has its CatchHandler @ 0019887d */
          FUN_001b9910(&local_28,-local_5c,(int)*(char *)(iVar13 + 0x39));
          FUN_001b9740(&local_28,local_40,iVar6);
        }
        else {
          FUN_001b9740(&local_28,local_40 + local_5c,*(undefined4 *)(iVar13 + 0x2c));
        }
      }
      uVar11 = *(uint *)(param_5 + 0xc) & 0xb0;
      uVar10 = local_50 + *(int *)(local_28 + -0xc);
      if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
        uVar10 = uVar10 + *(int *)(iVar13 + 0x18);
      }
      local_24 = &DAT_00309e0c;
                    /* try { // try from 001984cc to 001986c0 has its CatchHandler @ 00198879 */
      FUN_001b9450(&local_24,uVar10 * 2);
      uVar5 = *(uint *)(param_5 + 8);
      puVar12 = &local_20;
      do {
        switch(*(undefined1 *)puVar12) {
        case 0:
          if (uVar11 == 0x10 && uVar10 < uVar5) {
code_r0x0019859a:
            FUN_001b9910(&local_24,uVar5 - uVar10,(int)param_6);
          }
          break;
        case 1:
          if (uVar11 == 0x10 && uVar10 < uVar5) goto code_r0x0019859a;
          FUN_001b9a70(&local_24,(int)param_6);
          break;
        case 2:
          if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
            FUN_001b9740(&local_24,*(undefined4 *)(iVar13 + 0x14),*(undefined4 *)(iVar13 + 0x18));
          }
          break;
        case 3:
          if (local_50 != 0) {
            FUN_001b9a70(&local_24,(int)*local_68);
          }
          break;
        case 4:
          FUN_001b9570(&local_24,&local_28);
        }
        puVar12 = (undefined4 *)((int)puVar12 + 1);
      } while (puVar12 != local_1c);
      if (local_50 < 2) {
        local_5c = *(uint *)(local_24 + -0xc);
      }
      else {
        FUN_001b9740(&local_24,local_68 + 1,local_50 - 1);
        local_5c = *(uint *)(local_24 + -0xc);
      }
      if (local_5c < uVar5) {
        if (uVar11 == 0x20) {
                    /* try { // try from 00198814 to 00198818 has its CatchHandler @ 00198879 */
          FUN_001b9910(&local_24,uVar5 - local_5c,(int)param_6);
          local_5c = uVar5;
        }
        else {
          FUN_001b8b80(&local_24,0,0,uVar5 - local_5c,(int)param_6);
          local_5c = uVar5;
        }
      }
      if (local_41 == '\0') {
        uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_5c);
        local_41 = uVar11 != local_5c;
      }
      local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
      local_3c = CONCAT31(local_3c._1_3_,local_41);
      if (local_24 != &DAT_00309e0c) {
        FUN_00192a20();
      }
      if (local_28 != &DAT_00309e0c) {
        FUN_00192a20();
      }
    }
  }
LAB_00198358:
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_41);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}

