
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::money_put<wchar_t,
   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_insert<false>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::ios_base&, wchar_t, std::wstring const&) const */

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

{
  int *piVar1;
  char *pcVar2;
  wchar_t wVar3;
  uint uVar4;
  ctype *pcVar5;
  uint uVar6;
  int iVar7;
  wchar_t *pwVar8;
  wchar_t wVar9;
  __moneypunct_cache<wchar_t,false> *this;
  int iVar10;
  wchar_t *pwVar11;
  uint uVar12;
  undefined4 *puVar13;
  wchar_t *local_60;
  uint local_58;
  uint local_4c;
  char local_3d;
  undefined4 local_3c;
  wchar_t *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [3];
  
  local_3c = param_4;
  local_3d = (char)param_4;
  pcVar5 = use_facet<std::ctype<wchar_t>>((locale *)(param_5 + 0x6c));
  uVar6 = locale::id::_M_id((id *)PTR_id_0038ed94);
  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4);
  iVar10 = *piVar1;
  if (iVar10 == 0) {
                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */
    this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);
    *(undefined4 *)(this + 4) = 0;
    *(undefined4 *)(this + 8) = 0;
    *(undefined4 *)(this + 0xc) = 0;
    this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;
    *(undefined ***)this = &PTR____moneypunct_cache_0038d7b8;
    *(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;
    *(undefined4 *)(this + 0x38) = 0;
    *(undefined4 *)(this + 0x3c) = 0;
    this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;
                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */
    __moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c));
    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);
    iVar10 = *piVar1;
  }
  pwVar8 = (wchar_t *)*param_7;
  pwVar11 = pwVar8;
  if (*pwVar8 == *(wchar_t *)(iVar10 + 0x40)) {
    local_20 = *(undefined4 *)(iVar10 + 0x3c);
    local_60 = *(wchar_t **)(iVar10 + 0x2c);
    local_4c = *(uint *)(iVar10 + 0x30);
    if (pwVar8[-3] != L'\0') {
      pwVar11 = pwVar8 + 1;
    }
  }
  else {
    local_20 = *(undefined4 *)(iVar10 + 0x38);
    local_60 = *(wchar_t **)(iVar10 + 0x24);
    local_4c = *(uint *)(iVar10 + 0x28);
  }
  iVar7 = (**(code **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3]);
  uVar6 = iVar7 - (int)pwVar11 >> 2;
  if (uVar6 != 0) {
    local_28 = (wchar_t *)&DAT_00397f6c;
                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */
    std::wstring::reserve((wstring *)&local_28,uVar6 * 2);
    iVar7 = *(int *)(iVar10 + 0x34);
    local_58 = uVar6 - iVar7;
    if (0 < (int)local_58) {
      if (iVar7 < 0) {
        local_58 = uVar6;
      }
      if (*(int *)(iVar10 + 0xc) == 0) {
                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */
        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);
      }
      else {
        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');
        uVar12 = *(uint *)(iVar10 + 0xc);
        pcVar2 = *(char **)(iVar10 + 8);
        wVar3 = *(wchar_t *)(iVar10 + 0x18);
        if (L'\xffffffff' < local_28[-1]) {
          std::wstring::_M_leak_hard((wstring *)&local_28);
        }
        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);
        if (L'\xffffffff' < local_28[-1]) {
          std::wstring::_M_leak_hard((wstring *)&local_28);
        }
        wVar3 = local_28[-3];
        wVar9 = (int)pwVar8 - (int)local_28 >> 2;
        if ((uint)wVar3 < (uint)wVar9) {
                    /* WARNING: Subroutine does not return */
          __throw_out_of_range_fmt
                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",
                     wVar9,wVar3);
        }
        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);
      }
      iVar7 = *(int *)(iVar10 + 0x34);
    }
    if (0 < iVar7) {
                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */
      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));
      if ((int)local_58 < 0) {
                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */
        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));
        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);
      }
      else {
        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));
      }
    }
    uVar12 = *(uint *)(param_5 + 0xc) & 0xb0;
    uVar6 = local_4c + local_28[-3];
    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);
    }
    local_24 = &DAT_00397f6c;
                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */
    std::wstring::reserve((wstring *)&local_24,uVar6 * 2);
    uVar4 = *(uint *)(param_5 + 8);
    puVar13 = &local_20;
    do {
      switch(*(undefined1 *)puVar13) {
      case 0:
        if (uVar12 == 0x10 && uVar6 < uVar4) {
LAB_0023ee2a:
          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);
        }
        break;
      case 1:
        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;
                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */
        std::wstring::push_back((wstring *)&local_24,param_6);
        break;
      case 2:
        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
          std::wstring::append
                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));
        }
        break;
      case 3:
        if (local_4c != 0) {
          std::wstring::push_back((wstring *)&local_24,*local_60);
        }
        break;
      case 4:
        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);
      }
      puVar13 = (undefined4 *)((int)puVar13 + 1);
    } while (puVar13 != local_1c);
    if (local_4c < 2) {
      local_58 = *(uint *)(local_24 + -0xc);
    }
    else {
      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);
      local_58 = *(uint *)(local_24 + -0xc);
    }
    if (local_58 < uVar4) {
      if (uVar12 == 0x20) {
                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */
        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
      else {
        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
    }
    if (local_3d == '\0') {
      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);
      local_3d = uVar6 != local_58;
    }
    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
    local_3c = CONCAT31(local_3c._1_3_,local_3d);
    if ((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {
      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));
    }
    if ((allocator *)(local_28 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {
      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));
    }
  }
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_3d);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

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

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  undefined4 *puVar12;
  undefined4 *local_60;
  uint local_58;
  uint local_4c;
  char local_3d;
  undefined4 local_3c;
  undefined *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [3];
  
  local_3c = param_4;
  local_3d = (char)param_4;
  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);
  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);
  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);
  iVar9 = *piVar10;
  if (iVar9 == 0) {
                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */
    puVar12 = (undefined4 *)FUN_001e5200(0x70);
    puVar12[1] = 0;
    puVar12[2] = 0;
    puVar12[3] = 0;
    *(undefined1 *)(puVar12 + 4) = 0;
    *puVar12 = &PTR_FUN_0038d7b8;
    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;
    puVar12[0xe] = 0;
    puVar12[0xf] = 0;
    *(undefined1 *)(puVar12 + 0x1b) = 0;
                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */
    FUN_0023d400(puVar12,param_5 + 0x6c);
    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);
    iVar9 = *piVar10;
  }
  param_7 = (int *)*param_7;
  piVar10 = param_7;
  if (*param_7 == *(int *)(iVar9 + 0x40)) {
    local_20 = *(undefined4 *)(iVar9 + 0x3c);
    local_60 = *(undefined4 **)(iVar9 + 0x2c);
    local_4c = *(uint *)(iVar9 + 0x30);
    if (param_7[-3] != 0) {
      piVar10 = param_7 + 1;
    }
  }
  else {
    local_20 = *(undefined4 *)(iVar9 + 0x38);
    local_60 = *(undefined4 **)(iVar9 + 0x24);
    local_4c = *(uint *)(iVar9 + 0x28);
  }
  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);
  iVar6 = iVar6 - (int)piVar10 >> 2;
  if (iVar6 != 0) {
    local_28 = &DAT_00397f6c;
                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */
    FUN_0026adc0(&local_28,iVar6 * 2);
    iVar7 = *(int *)(iVar9 + 0x34);
    local_58 = iVar6 - iVar7;
    if (0 < (int)local_58) {
      if (iVar7 < 0) {
        local_58 = iVar6;
      }
      if (*(int *)(iVar9 + 0xc) == 0) {
                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */
        FUN_0026a7c0(&local_28,piVar10,local_58);
      }
      else {
        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);
        uVar1 = *(undefined4 *)(iVar9 + 0xc);
        uVar2 = *(undefined4 *)(iVar9 + 8);
        uVar3 = *(undefined4 *)(iVar9 + 0x18);
        if (-1 < *(int *)(local_28 + -4)) {
          FUN_0026a110(&local_28);
        }
        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);
        if (-1 < *(int *)(local_28 + -4)) {
          FUN_0026a110(&local_28);
        }
        uVar11 = *(uint *)(local_28 + -0xc);
        uVar8 = iVar7 - (int)local_28 >> 2;
        if (uVar11 < uVar8) {
                    /* WARNING: Subroutine does not return */
          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",
                       "basic_string::erase",uVar8,uVar11);
        }
        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);
      }
      iVar7 = *(int *)(iVar9 + 0x34);
    }
    if (0 < iVar7) {
                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */
      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));
      if ((int)local_58 < 0) {
                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */
        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));
        FUN_0026b0d0(&local_28,piVar10,iVar6);
      }
      else {
        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));
      }
    }
    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;
    uVar11 = local_4c + *(int *)(local_28 + -0xc);
    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);
    }
    local_24 = &DAT_00397f6c;
                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */
    FUN_0026adc0(&local_24,uVar11 * 2);
    uVar4 = *(uint *)(param_5 + 8);
    puVar12 = &local_20;
    do {
      switch(*(undefined1 *)puVar12) {
      case 0:
        if (uVar8 == 0x10 && uVar11 < uVar4) {
code_r0x0023ee2a:
          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);
        }
        break;
      case 1:
        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;
        FUN_0026b400(&local_24,param_6);
        break;
      case 2:
        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));
        }
        break;
      case 3:
        if (local_4c != 0) {
          FUN_0026b400(&local_24,*local_60);
        }
        break;
      case 4:
        FUN_0026aee0(&local_24,&local_28);
      }
      puVar12 = (undefined4 *)((int)puVar12 + 1);
    } while (puVar12 != local_1c);
    if (local_4c < 2) {
      local_58 = *(uint *)(local_24 + -0xc);
    }
    else {
      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);
      local_58 = *(uint *)(local_24 + -0xc);
    }
    if (local_58 < uVar4) {
      if (uVar8 == 0x20) {
                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */
        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
      else {
        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
    }
    if (local_3d == '\0') {
      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);
      local_3d = uVar11 != local_58;
    }
    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
    local_3c = CONCAT31(local_3c._1_3_,local_3d);
    if (local_24 != &DAT_00397f6c) {
      FUN_002395a0();
    }
    if (local_28 != &DAT_00397f6c) {
      FUN_002395a0();
    }
  }
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_3d);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}


CALL 0x000650b8
ADD ECX,0x15049b
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,ECX
MOV EBX,ECX
SUB ESP,0x68
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x34],ECX
MOV dword ptr [EBP + -0x40],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x38],EAX
MOV byte ptr [EBP + -0x39],AL
MOV EAX,dword ptr [EBP + 0x18]
ADD EAX,0x6c
PUSH EAX
MOV dword ptr [EBP + -0x48],EAX
CALL 0x0023c1d0
POP EDI
PUSH dword ptr [ESI + 0xfffffd94]
MOV dword ptr [EBP + -0x44],EAX
CALL 0x001e9740
ADD ESP,0x10
MOV EDI,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 ESI,dword ptr [EAX]
MOV dword ptr [EBP + -0x4c],EAX
TEST ESI,ESI
JZ 0x0023efc0
MOV EAX,dword ptr [EBP + 0x20]
MOV EBX,dword ptr [ESI + 0x40]
MOV EDI,dword ptr [EAX]
MOV EAX,dword ptr [EDI + -0xc]
CMP dword ptr [EDI],EBX
JZ 0x0023ec30
MOV EDX,dword ptr [ESI + 0x38]
MOV EBX,dword ptr [ESI + 0x24]
MOV dword ptr [EBP + -0x1c],EDX
MOV EDX,dword ptr [ESI + 0x28]
MOV dword ptr [EBP + -0x5c],EBX
MOV dword ptr [EBP + -0x48],EDX
MOV ECX,dword ptr [EBP + -0x44]
LEA EAX,[EDI + EAX*0x4]
MOV EDX,dword ptr [ECX]
PUSH EAX
PUSH EDI
PUSH 0x800
PUSH ECX
CALL dword ptr [EDX + 0x14]
SUB EAX,EDI
ADD ESP,0x10
SAR EAX,0x2
MOV dword ptr [EBP + -0x44],EAX
JNZ 0x0023ec50
MOV EAX,dword ptr [EBP + 0x18]
MOV ESI,dword ptr [EBP + -0x40]
MOV dword ptr [EAX + 0x8],0x0
MOVZX EAX,byte ptr [EBP + -0x39]
MOV byte ptr [EBP + -0x38],AL
MOV EAX,dword ptr [EBP + 0x8]
MOV EBX,dword ptr [EBP + -0x38]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],EBX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EDX,dword ptr [ESI + 0x3c]
MOV ECX,dword ptr [ESI + 0x2c]
TEST EAX,EAX
MOV EBX,dword ptr [ESI + 0x30]
MOV dword ptr [EBP + -0x1c],EDX
LEA EDX,[EDI + 0x4]
MOV dword ptr [EBP + -0x5c],ECX
CMOVNZ EDI,EDX
MOV dword ptr [EBP + -0x48],EBX
JMP 0x0023ebe7
MOV EDX,dword ptr [EBP + -0x34]
MOV EBX,dword ptr [EBP + -0x44]
SUB ESP,0x8
LEA EAX,[EDX + 0x8f60]
MOV dword ptr [EBP + -0x50],EAX
ADD EAX,0xc
MOV dword ptr [EBP + -0x24],EAX
LEA EAX,[EBX + EBX*0x1]
MOV EBX,EDX
PUSH EAX
LEA EAX,[EBP + -0x24]
PUSH EAX
MOV dword ptr [EBP + -0x4c],EAX
CALL 0x0026adc0
MOV EBX,dword ptr [EBP + -0x44]
MOV EAX,dword ptr [ESI + 0x34]
ADD ESP,0x10
MOV EDX,EBX
SUB EDX,EAX
MOV dword ptr [EBP + -0x54],EDX
TEST EDX,EDX
JLE 0x0023ed49
TEST EAX,EAX
MOV EAX,EDX
MOV EDX,dword ptr [ESI + 0xc]
CMOVS EAX,EBX
MOV dword ptr [EBP + -0x54],EAX
TEST EDX,EDX
JZ 0x0023f078
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 + -0x4c]
CALL 0x0026a4d0
MOV EAX,dword ptr [EBP + -0x54]
ADD ESP,0x20
LEA ECX,[EDI + EAX*0x4]
MOV EAX,dword ptr [EBP + -0x24]
MOV dword ptr [EBP + -0x58],ECX
MOV ECX,dword ptr [ESI + 0xc]
MOV dword ptr [EBP + -0x60],ECX
MOV ECX,dword ptr [ESI + 0x8]
MOV dword ptr [EBP + -0x64],ECX
MOV ECX,dword ptr [ESI + 0x18]
MOV dword ptr [EBP + -0x68],ECX
MOV EAX,dword ptr [EAX + -0x4]
TEST EAX,EAX
JNS 0x0023f100
SUB ESP,0x8
PUSH dword ptr [EBP + -0x58]
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDI
PUSH dword ptr [EBP + -0x60]
PUSH dword ptr [EBP + -0x64]
PUSH dword ptr [EBP + -0x68]
PUSH dword ptr [EBP + -0x24]
CALL 0x0023e270
MOV EDX,dword ptr [EBP + -0x24]
MOV dword ptr [EBP + -0x58],EAX
ADD ESP,0x20
MOV EAX,dword ptr [EDX + -0x4]
TEST EAX,EAX
JNS 0x0023f0e0
MOV EAX,dword ptr [EBP + -0x58]
SUB EAX,EDX
MOV EDX,dword ptr [EDX + -0xc]
SAR EAX,0x2
MOV ECX,EDX
SUB ECX,EAX
CMP EAX,EDX
JA 0x0023f12d
PUSH 0x0
MOV EBX,dword ptr [EBP + -0x34]
PUSH ECX
PUSH EAX
PUSH dword ptr [EBP + -0x4c]
CALL 0x00269ee0
MOV EAX,dword ptr [ESI + 0x34]
ADD ESP,0x10
TEST EAX,EAX
JG 0x0023ef60
MOV EAX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + -0x24]
MOV EAX,dword ptr [EAX + 0xc]
MOV EDI,EAX
AND EDI,0xb0
MOV dword ptr [EBP + -0x60],EDI
MOV EDI,dword ptr [EBP + -0x48]
ADD EDI,dword ptr [EDX + -0xc]
MOV ECX,EDI
TEST AH,0x2
JNZ 0x0023ef20
MOV EAX,dword ptr [EBP + -0x50]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x34]
MOV EDI,ECX
ADD EAX,0xc
MOV dword ptr [EBP + -0x20],EAX
LEA EAX,[ECX + ECX*0x1]
PUSH EAX
LEA EAX,[EBP + -0x20]
PUSH EAX
MOV dword ptr [EBP + -0x58],EAX
CALL 0x0026adc0
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0x10
CMP dword ptr [EBP + -0x60],0x10
MOV EBX,EDI
SETZ DL
MOV ECX,dword ptr [EAX + 0x8]
CMP ECX,EDI
MOV dword ptr [EBP + -0x54],ECX
LEA EDI,[EBP + -0x1c]
SETA AL
SUB ECX,EBX
AND EDX,EAX
LEA EAX,[EBP + -0x18]
MOV dword ptr [EBP + -0x68],ECX
MOV byte ptr [EBP + -0x64],DL
MOV dword ptr [EBP + -0x44],EAX
CMP byte ptr [EDI],0x4
JA 0x0023ee64
MOV EBX,dword ptr [EBP + -0x34]
MOVZX EAX,byte ptr [EDI]
MOV EDX,dword ptr [EBX + EAX*0x4 + 0xfff17778]
ADD EDX,EBX
JMP EDX
ADD EDI,0x1
CMP EDI,dword ptr [EBP + -0x44]
JNZ 0x0023edc4
MOV EAX,dword ptr [EBP + -0x48]
CMP EAX,0x1
JA 0x0023ef30
MOV EDX,dword ptr [EBP + -0x20]
MOV EAX,dword ptr [EDX + -0xc]
CMP dword ptr [EBP + -0x54],EAX
JA 0x0023eef0
MOV dword ptr [EBP + -0x54],EAX
CMP byte ptr [EBP + -0x39],0x0
JNZ 0x0023eead
MOV ESI,dword ptr [EBP + -0x40]
MOV EDI,dword ptr [EBP + -0x54]
SUB ESP,0x4
MOV EAX,dword ptr [ESI]
PUSH EDI
PUSH EDX
PUSH ESI
CALL dword ptr [EAX + 0x30]
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x20]
CMP EAX,EDI
SETNZ byte ptr [EBP + -0x39]
XOR EAX,EAX
MOV ESI,dword ptr [EBP + -0x40]
MOV AL,byte ptr [EBP + -0x39]
MOV dword ptr [EBP + -0x30],ESI
MOV dword ptr [EBP + -0x2c],EAX
MOV byte ptr [EBP + -0x38],AL
LEA EAX,[EDX + -0xc]
CMP EAX,dword ptr [EBP + -0x50]
JNZ 0x0023f120
MOV EAX,dword ptr [EBP + -0x24]
SUB EAX,0xc
CMP EAX,dword ptr [EBP + -0x50]
JZ 0x0023ec07
LEA EDX,[EBP + -0x25]
CALL 0x002395a0
JMP 0x0023ec07
MOV ECX,dword ptr [EBP + -0x54]
SUB ECX,EAX
CMP dword ptr [EBP + -0x60],0x20
JZ 0x0023f090
SUB ESP,0xc
PUSH dword ptr [EBP + 0x1c]
MOV EBX,dword ptr [EBP + -0x34]
PUSH ECX
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EBP + -0x58]
CALL 0x0026a4d0
ADD ESP,0x20
MOV EDX,dword ptr [EBP + -0x20]
JMP 0x0023ee8a
MOV EAX,dword ptr [ESI + 0x20]
ADD EDI,EAX
MOV ECX,EDI
JMP 0x0023ed76
SUB ESP,0x4
SUB EAX,0x1
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
MOV EAX,dword ptr [EBP + -0x5c]
ADD EAX,0x4
PUSH EAX
PUSH dword ptr [EBP + -0x58]
CALL 0x0026b0d0
MOV EDX,dword ptr [EBP + -0x20]
ADD ESP,0x10
MOV EAX,dword ptr [EDX + -0xc]
CMP dword ptr [EBP + -0x54],EAX
JA 0x0023eef0
JMP 0x0023ee87
SUB ESP,0x8
PUSH dword ptr [ESI + 0x14]
MOV EBX,dword ptr [EBP + -0x34]
PUSH dword ptr [EBP + -0x4c]
CALL 0x0026b400
MOV EAX,dword ptr [EBP + -0x54]
ADD ESP,0x10
TEST EAX,EAX
JS 0x0023f0b0
SUB ESP,0x4
LEA EAX,[EDI + EAX*0x4]
PUSH dword ptr [ESI + 0x34]
MOV EBX,dword ptr [EBP + -0x34]
PUSH EAX
PUSH dword ptr [EBP + -0x4c]
CALL 0x0026b0d0
ADD ESP,0x10
JMP 0x0023ed51
SUB ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH 0x70
CALL 0x001e5200
MOV EDX,dword ptr [EBP + -0x34]
POP ECX
MOV ESI,EAX
POP EBX
MOV dword ptr [EAX + 0x4],0x0
LEA EAX,[EDX + 0xffffe7b0]
MOV dword ptr [ESI + 0x8],0x0
MOV EBX,EDX
MOV dword ptr [ESI + 0xc],0x0
ADD EAX,0x8
MOV byte ptr [ESI + 0x10],0x0
MOV dword ptr [ESI],EAX
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 dword ptr [ESI + 0x38],0x0
MOV dword ptr [ESI + 0x3c],0x0
MOV byte ptr [ESI + 0x6c],0x0
PUSH dword ptr [EBP + -0x48]
PUSH ESI
CALL 0x0023d400
MOV EAX,dword ptr [EBP + 0x18]
ADD ESP,0xc
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDI
PUSH ESI
PUSH dword ptr [EAX + 0x6c]
CALL 0x001e9c50
MOV EAX,dword ptr [EBP + -0x4c]
ADD ESP,0x10
MOV ESI,dword ptr [EAX]
JMP 0x0023ebc6
SUB ESP,0x4
PUSH dword ptr [EBP + -0x54]
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDI
PUSH dword ptr [EBP + -0x4c]
CALL 0x0026a7c0
JMP 0x0023ed43
SUB ESP,0x4
PUSH dword ptr [EBP + 0x1c]
MOV EBX,dword ptr [EBP + -0x34]
PUSH ECX
PUSH dword ptr [EBP + -0x58]
CALL 0x0026b2a0
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x20]
JMP 0x0023ee8a
MOV EAX,dword ptr [EBP + -0x54]
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x34]
PUSH dword ptr [ESI + 0x44]
NEG EAX
PUSH EAX
PUSH dword ptr [EBP + -0x4c]
CALL 0x0026b2a0
ADD ESP,0xc
PUSH dword ptr [EBP + -0x44]
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDI
PUSH dword ptr [EBP + -0x4c]
CALL 0x0026b0d0
JMP 0x0023ef94
SUB ESP,0xc
PUSH dword ptr [EBP + -0x4c]
MOV EBX,dword ptr [EBP + -0x34]
CALL 0x0026a110
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x24]
JMP 0x0023ed1d
SUB ESP,0xc
PUSH dword ptr [EBP + -0x4c]
MOV EBX,dword ptr [EBP + -0x34]
CALL 0x0026a110
ADD ESP,0x10
JMP 0x0023ecee
LEA EDX,[EBP + -0x25]
CALL 0x002395a0
JMP 0x0023eeca
MOV EBX,dword ptr [EBP + -0x34]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff0b59e]
PUSH EAX
LEA EAX,[EBX + 0xffefbec4]
PUSH EAX
CALL 0x0022c840
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" comment (function_definition "void FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" primitive_type (function_declarator "FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *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 "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char local_3d;" primitive_type 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 [3];" type_identifier (array_declarator "local_1c [3]" identifier [ number_literal ]) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_3d = (char)param_4;" (assignment_expression "local_3d = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);" (assignment_expression "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c)" identifier = (cast_expression "(int *)FUN_0023c1d0(param_5 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c1d0(param_5 + 0x6c)" identifier (argument_list "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_001e9740(PTR_DAT_0038ed94);" (assignment_expression "iVar6 = FUN_001e9740(PTR_DAT_0038ed94)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038ed94)" identifier (argument_list "(PTR_DAT_0038ed94)" ( identifier )))) ;) (expression_statement "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);" (assignment_expression "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (if_statement "if (iVar9 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" { comment (expression_statement "puVar12 = (undefined4 *)FUN_001e5200(0x70);" (assignment_expression "puVar12 = (undefined4 *)FUN_001e5200(0x70)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0x70)" identifier (argument_list "(0x70)" ( 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[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 4)" * (cast_expression "(undefined1 *)(puVar12 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 4)" ( (binary_expression "puVar12 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar12 = &PTR_FUN_0038d7b8;" (assignment_expression "*puVar12 = &PTR_FUN_0038d7b8" (pointer_expression "*puVar12" * identifier) = (pointer_expression "&PTR_FUN_0038d7b8" & identifier)) ;) (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 "puVar12[0xe] = 0;" (assignment_expression "puVar12[0xe] = 0" (subscript_expression "puVar12[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xf] = 0;" (assignment_expression "puVar12[0xf] = 0" (subscript_expression "puVar12[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 0x1b)" * (cast_expression "(undefined1 *)(puVar12 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x1b)" ( (binary_expression "puVar12 + 0x1b" identifier + number_literal) )))) = number_literal) ;) comment (expression_statement "FUN_0023d400(puVar12,param_5 + 0x6c);" (call_expression "FUN_0023d400(puVar12,param_5 + 0x6c)" identifier (argument_list "(puVar12,param_5 + 0x6c)" ( identifier , (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);" (call_expression "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" identifier (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" ( (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 "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) })) (expression_statement "param_7 = (int *)*param_7;" (assignment_expression "param_7 = (int *)*param_7" identifier = (cast_expression "(int *)*param_7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "piVar10 = param_7;" (assignment_expression "piVar10 = param_7" identifier = identifier) ;) (if_statement "if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" if (parenthesized_expression "(*param_7 == *(int *)(iVar9 + 0x40))" ( (binary_expression "*param_7 == *(int *)(iVar9 + 0x40)" (pointer_expression "*param_7" * identifier) == (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x3c);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x3c)" * (cast_expression "(undefined4 *)(iVar9 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x3c)" ( (binary_expression "iVar9 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x2c);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x2c)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x2c)" * (cast_expression "(undefined4 **)(iVar9 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar9 + 0x30);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar9 + 0x30)" * (cast_expression "(uint *)(iVar9 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x30)" ( (binary_expression "iVar9 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }" if (parenthesized_expression "(param_7[-3] != 0)" ( (binary_expression "param_7[-3] != 0" (subscript_expression "param_7[-3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      piVar10 = param_7 + 1;\n    }" { (expression_statement "piVar10 = param_7 + 1;" (assignment_expression "piVar10 = param_7 + 1" identifier = (binary_expression "param_7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x38);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x38)" * (cast_expression "(undefined4 *)(iVar9 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x24);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x24)" * (cast_expression "(undefined4 **)(iVar9 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x24)" ( (binary_expression "iVar9 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar9 + 0x28);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar9 + 0x28)" * (cast_expression "(uint *)(iVar9 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x28)" ( (binary_expression "iVar9 + 0x28" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);" (assignment_expression "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" identifier = (call_expression "(**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" (parenthesized_expression "(**(code **)(*piVar5 + 0x14))" ( (pointer_expression "**(code **)(*piVar5 + 0x14)" * (pointer_expression "*(code **)(*piVar5 + 0x14)" * (cast_expression "(code **)(*piVar5 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 0x14)" ( (binary_expression "*piVar5 + 0x14" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,0x800,piVar10,piVar10 + param_7[-3])" ( identifier , number_literal , identifier , (binary_expression "piVar10 + param_7[-3]" identifier + (subscript_expression "param_7[-3]" identifier [ number_literal ])) )))) ;) (expression_statement "iVar6 = iVar6 - (int)piVar10 >> 2;" (assignment_expression "iVar6 = iVar6 - (int)piVar10 >> 2" identifier = (binary_expression "iVar6 - (int)piVar10 >> 2" (binary_expression "iVar6 - (int)piVar10" identifier - (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    local_28 = &DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" { (expression_statement "local_28 = &DAT_00397f6c;" (assignment_expression "local_28 = &DAT_00397f6c" identifier = (pointer_expression "&DAT_00397f6c" & identifier)) ;) comment (expression_statement "FUN_0026adc0(&local_28,iVar6 * 2);" (call_expression "FUN_0026adc0(&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 *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" identifier = (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_58 = iVar6 - iVar7;" (assignment_expression "local_58 = iVar6 - iVar7" identifier = (binary_expression "iVar6 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" if (parenthesized_expression "(0 < (int)local_58)" ( (binary_expression "0 < (int)local_58" number_literal < (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" { (if_statement "if (iVar7 < 0) {\n        local_58 = iVar6;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        local_58 = iVar6;\n      }" { (expression_statement "local_58 = iVar6;" (assignment_expression "local_58 = iVar6" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar9 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" if (parenthesized_expression "(*(int *)(iVar9 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar9 + 0xc) == 0" (pointer_expression "*(int *)(iVar9 + 0xc)" * (cast_expression "(int *)(iVar9 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }" { comment (expression_statement "FUN_0026a7c0(&local_28,piVar10,local_58);" (call_expression "FUN_0026a7c0(&local_28,piVar10,local_58)" identifier (argument_list "(&local_28,piVar10,local_58)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" else (compound_statement "{\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" { (expression_statement "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);" (call_expression "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0)" identifier (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 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_58 * 2" identifier * number_literal) , number_literal ))) ;) (expression_statement "uVar1 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" * (cast_expression "(undefined4 *)(iVar9 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar9 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 8)" * (cast_expression "(undefined4 *)(iVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar9 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar9 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x18)" * (cast_expression "(undefined4 *)(iVar9 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x18)" ( (binary_expression "iVar9 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" if (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" ( (binary_expression "-1 < *(int *)(local_28 + -4)" number_literal < (pointer_expression "*(int *)(local_28 + -4)" * (cast_expression "(int *)(local_28 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -4)" ( (binary_expression "local_28 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" { (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) })) (expression_statement "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);" (assignment_expression "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" identifier = (call_expression "FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" identifier (argument_list "(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "piVar10 + local_58" identifier + identifier) )))) ;) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" if (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" ( (binary_expression "-1 < *(int *)(local_28 + -4)" number_literal < (pointer_expression "*(int *)(local_28 + -4)" * (cast_expression "(int *)(local_28 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -4)" ( (binary_expression "local_28 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" { (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & 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) ))))) ;) (expression_statement "uVar8 = iVar7 - (int)local_28 >> 2;" (assignment_expression "uVar8 = iVar7 - (int)local_28 >> 2" identifier = (binary_expression "iVar7 - (int)local_28 >> 2" (binary_expression "iVar7 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar11 < uVar8) {\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" if (parenthesized_expression "(uVar11 < uVar8)" ( (binary_expression "uVar11 < uVar8" identifier < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" { comment (expression_statement "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);" (call_expression "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,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_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);" (call_expression "FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0)" identifier (argument_list "(&local_28,uVar8,uVar11 - uVar8,0)" ( (pointer_expression "&local_28" & identifier) , identifier , (binary_expression "uVar11 - uVar8" identifier - identifier) , number_literal ))) ;) }))) (expression_statement "iVar7 = *(int *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" identifier = (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" { comment (expression_statement "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));" (call_expression "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14))" identifier (argument_list "(&local_28,*(undefined4 *)(iVar9 + 0x14))" ( (pointer_expression "&local_28" & identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" * (cast_expression "(undefined4 *)(iVar9 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" if (parenthesized_expression "((int)local_58 < 0)" ( (binary_expression "(int)local_58 < 0" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }" { comment (expression_statement "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));" (call_expression "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" identifier (argument_list "(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" ( (pointer_expression "&local_28" & identifier) , (unary_expression "-local_58" - identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x44)" * (cast_expression "(undefined4 *)(iVar9 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0026b0d0(&local_28,piVar10,iVar6);" (call_expression "FUN_0026b0d0(&local_28,piVar10,iVar6)" identifier (argument_list "(&local_28,piVar10,iVar6)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" else (compound_statement "{\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" { (expression_statement "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));" (call_expression "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" identifier (argument_list "(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" ( (pointer_expression "&local_28" & identifier) , (binary_expression "piVar10 + local_58" identifier + identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x34)" * (cast_expression "(undefined4 *)(iVar9 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) )))) ))) ;) }))) })) (expression_statement "uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar8 = *(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 "uVar11 = local_4c + *(int *)(local_28 + -0xc);" (assignment_expression "uVar11 = local_4c + *(int *)(local_28 + -0xc)" identifier = (binary_expression "local_4c + *(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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }" { (expression_statement "uVar11 = uVar11 + *(int *)(iVar9 + 0x20);" (assignment_expression "uVar11 = uVar11 + *(int *)(iVar9 + 0x20)" identifier = (binary_expression "uVar11 + *(int *)(iVar9 + 0x20)" identifier + (pointer_expression "*(int *)(iVar9 + 0x20)" * (cast_expression "(int *)(iVar9 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00397f6c;" (assignment_expression "local_24 = &DAT_00397f6c" identifier = (pointer_expression "&DAT_00397f6c" & identifier)) ;) comment (expression_statement "FUN_0026adc0(&local_24,uVar11 * 2);" (call_expression "FUN_0026adc0(&local_24,uVar11 * 2)" identifier (argument_list "(&local_24,uVar11 * 2)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar11 * 2" identifier * number_literal) ))) ;) (expression_statement "uVar4 = *(uint *)(param_5 + 8);" (assignment_expression "uVar4 = *(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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    }" { (switch_statement "switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }" { (case_statement "case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;" case number_literal : (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" if (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" ( (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" identifier == number_literal) && (binary_expression "uVar11 < uVar4" identifier < identifier)) )) (compound_statement "{\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" { (labeled_statement "code_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" statement_identifier : (expression_statement "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6)" identifier (argument_list "(&local_24,uVar4 - uVar11,param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar4 - uVar11" identifier - identifier) , identifier ))) ;)) })) (break_statement "break;" break ;)) (case_statement "case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;" case number_literal : (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;" if (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" ( (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" identifier == number_literal) && (binary_expression "uVar11 < uVar4" identifier < identifier)) )) (goto_statement "goto code_r0x0023ee2a;" goto statement_identifier ;)) (expression_statement "FUN_0026b400(&local_24,param_6);" (call_expression "FUN_0026b400(&local_24,param_6)" identifier (argument_list "(&local_24,param_6)" ( (pointer_expression "&local_24" & identifier) , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\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_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }" { (expression_statement "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));" (call_expression "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" identifier (argument_list "(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x1c)" * (cast_expression "(undefined4 *)(iVar9 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" * (cast_expression "(undefined4 *)(iVar9 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;" case number_literal : (if_statement "if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }" if (parenthesized_expression "(local_4c != 0)" ( (binary_expression "local_4c != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_0026b400(&local_24,*local_60);\n        }" { (expression_statement "FUN_0026b400(&local_24,*local_60);" (call_expression "FUN_0026b400(&local_24,*local_60)" identifier (argument_list "(&local_24,*local_60)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*local_60" * identifier) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 4:\n        FUN_0026aee0(&local_24,&local_28);" case number_literal : (expression_statement "FUN_0026aee0(&local_24,&local_28);" (call_expression "FUN_0026aee0(&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_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" if (parenthesized_expression "(local_4c < 2)" ( (binary_expression "local_4c < 2" identifier < number_literal) )) (compound_statement "{\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" else (compound_statement "{\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (expression_statement "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);" (call_expression "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1)" identifier (argument_list "(&local_24,local_60 + 1,local_4c - 1)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "local_60 + 1" identifier + number_literal) , (binary_expression "local_4c - 1" identifier - number_literal) ))) ;) (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" if (parenthesized_expression "(local_58 < uVar4)" ( (binary_expression "local_58 < uVar4" identifier < identifier) )) (compound_statement "{\n      if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" { (if_statement "if (uVar8 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" if (parenthesized_expression "(uVar8 == 0x20)" ( (binary_expression "uVar8 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { comment (expression_statement "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6)" identifier (argument_list "(&local_24,uVar4 - local_58,param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }) (else_clause "else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" else (compound_statement "{\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { (expression_statement "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);" (call_expression "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6)" identifier (argument_list "(&local_24,0,0,uVar4 - local_58,param_6)" ( (pointer_expression "&local_24" & identifier) , number_literal , number_literal , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }))) })) (if_statement "if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" if (parenthesized_expression "(local_3d == '\0')" ( (binary_expression "local_3d == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" { (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" (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_58)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_3d = uVar11 != local_58;" (assignment_expression "local_3d = uVar11 != local_58" identifier = (binary_expression "uVar11 != local_58" 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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" if (parenthesized_expression "(local_24 != &DAT_00397f6c)" ( (binary_expression "local_24 != &DAT_00397f6c" identifier != (pointer_expression "&DAT_00397f6c" & identifier)) )) (compound_statement "{\n      FUN_002395a0();\n    }" { (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" if (parenthesized_expression "(local_28 != &DAT_00397f6c)" ( (binary_expression "local_28 != &DAT_00397f6c" identifier != (pointer_expression "&DAT_00397f6c" & identifier)) )) (compound_statement "{\n      FUN_002395a0();\n    }" { (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" identifier (argument_list "()" ( ))) ;) })) })) (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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (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.cx replaced with injection: get_pc_thunk_cx */\n/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::money_put<wchar_t,\n   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::_M_insert<false>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::ios_base&, wchar_t, std::wstring const&) const */\n\nvoid std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n     _M_insert<false>(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,\n                     int param_5,wchar_t param_6,int *param_7)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  wchar_t wVar3;\n  uint uVar4;\n  ctype *pcVar5;\n  uint uVar6;\n  int iVar7;\n  wchar_t *pwVar8;\n  wchar_t wVar9;\n  __moneypunct_cache<wchar_t,false> *this;\n  int iVar10;\n  wchar_t *pwVar11;\n  uint uVar12;\n  undefined4 *puVar13;\n  wchar_t *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  wchar_t *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  pcVar5 = use_facet<std::ctype<wchar_t>>((locale *)(param_5 + 0x6c));\n  uVar6 = locale::id::_M_id((id *)PTR_id_0038ed94);\n  piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4);\n  iVar10 = *piVar1;\n  if (iVar10 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined4 *)(this + 0xc) = 0;\n    this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;\n    *(undefined ***)this = &PTR____moneypunct_cache_0038d7b8;\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    *(undefined4 *)(this + 0x38) = 0;\n    *(undefined4 *)(this + 0x3c) = 0;\n    this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    __moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);\n    iVar10 = *piVar1;\n  }\n  pwVar8 = (wchar_t *)*param_7;\n  pwVar11 = pwVar8;\n  if (*pwVar8 == *(wchar_t *)(iVar10 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar10 + 0x3c);\n    local_60 = *(wchar_t **)(iVar10 + 0x2c);\n    local_4c = *(uint *)(iVar10 + 0x30);\n    if (pwVar8[-3] != L'\0') {\n      pwVar11 = pwVar8 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar10 + 0x38);\n    local_60 = *(wchar_t **)(iVar10 + 0x24);\n    local_4c = *(uint *)(iVar10 + 0x28);\n  }\n  iVar7 = (**(code **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3]);\n  uVar6 = iVar7 - (int)pwVar11 >> 2;\n  if (uVar6 != 0) {\n    local_28 = (wchar_t *)&DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    std::wstring::reserve((wstring *)&local_28,uVar6 * 2);\n    iVar7 = *(int *)(iVar10 + 0x34);\n    local_58 = uVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = uVar6;\n      }\n      if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }\n      iVar7 = *(int *)(iVar10 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }\n    }\n    uVar12 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar6 = local_4c + local_28[-3];\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    std::wstring::reserve((wstring *)&local_24,uVar6 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar13 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }\n      puVar13 = (undefined4 *)((int)puVar13 + 1);\n    } while (puVar13 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar6 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if ((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n    }\n    if ((allocator *)(local_28 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" comment comment (declaration "void std::money_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n     _M_insert<false>(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,\n                     int param_5,wchar_t param_6,int *param_7)\n\n{\n  int *piVar1;" primitive_type (ERROR "std::money_put<" identifier : : identifier <) identifier , (ERROR "std::ostreambuf_iterator<" identifier : : identifier <) identifier , (ERROR "std::char_traits<wchar_t>>>::\n     _M_insert<false>(undefined4" identifier : : identifier < identifier >> > : : identifier < false > ( identifier) (pointer_declarator "*param_1" * identifier) , identifier (ERROR "param_2" identifier) , (ERROR "int" identifier) (pointer_declarator "*param_3" * identifier) , identifier (ERROR "param_4" identifier) , (ERROR "int" identifier) identifier , identifier (ERROR "param_6" identifier) , (ERROR "int *param_7)\n\n{\n  int" identifier (pointer_declarator "*param_7" * identifier) ) { primitive_type) (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "wchar_t wVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "ctype *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "wchar_t *pwVar8;" type_identifier (pointer_declarator "*pwVar8" * identifier) ;) (declaration "wchar_t wVar9;" type_identifier identifier ;) (expression_statement "__moneypunct_cache<wchar_t,false> *this;" (update_expression "__moneypunct_cache<wchar_t,false> *this" (binary_expression "__moneypunct_cache<wchar_t,false> *this" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) (ERROR ",false" , false) > (pointer_expression "*this" * identifier)) --) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "wchar_t *pwVar11;" type_identifier (pointer_declarator "*pwVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "wchar_t *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char local_3d;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "wchar_t *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 [3];" type_identifier (array_declarator "local_1c [3]" identifier [ number_literal ]) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_3d = (char)param_4;" (assignment_expression "local_3d = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "pcVar5 = use_facet<std::ctype<wchar_t>>((locale *)(param_5 + 0x6c));" (update_expression "pcVar5 = use_facet<std::ctype<wchar_t>>((locale *)(param_5 + 0x6c))" (binary_expression "pcVar5 = use_facet<std::ctype<wchar_t>>((locale *)(param_5 + 0x6c))" (assignment_expression "pcVar5 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "wchar_t>>((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 "uVar6 = locale::" (assignment_expression "uVar6 = locale" identifier = identifier) : :) (labeled_statement "id::_M_id((id *)PTR_id_0038ed94);" statement_identifier : (ERROR ":" :) (expression_statement "_M_id((id *)PTR_id_0038ed94);" (call_expression "_M_id((id *)PTR_id_0038ed94)" identifier (argument_list "((id *)PTR_id_0038ed94)" ( (cast_expression "(id *)PTR_id_0038ed94" ( (type_descriptor "id *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4);" (assignment_expression "piVar1 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + uVar6 * 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 "uVar6 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar10 = *piVar1;" (assignment_expression "iVar10 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar10 == 0) {\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined4 *)(this + 0xc) = 0;\n    this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;\n    *(undefined ***)this = &PTR____moneypunct_cache_0038d7b8;\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    *(undefined4 *)(this + 0x38) = 0;\n    *(undefined4 *)(this + 0x3c) = 0;\n    this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    __moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);\n    iVar10 = *piVar1;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */\n    this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);\n    *(undefined4 *)(this + 4) = 0;\n    *(undefined4 *)(this + 8) = 0;\n    *(undefined4 *)(this + 0xc) = 0;\n    this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;\n    *(undefined ***)this = &PTR____moneypunct_cache_0038d7b8;\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    *(undefined4 *)(this + 0x38) = 0;\n    *(undefined4 *)(this + 0x3c) = 0;\n    this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;\n                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */\n    __moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c));\n    locale::_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);\n    iVar10 = *piVar1;\n  }" { comment (expression_statement "this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70);" (assignment_expression "this = (__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" identifier = (parenthesized_expression "(__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" ( (comma_expression "__moneypunct_cache<wchar_t,false> *)operator_new(0x70)" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false> *)operator_new(0x70)" false > (pointer_expression "*)operator_new(0x70)" * (ERROR ")" )) (call_expression "operator_new(0x70)" identifier (argument_list "(0x70)" ( 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 "*(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 "this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0;" (assignment_expression "this[0x10] = (__moneypunct_cache<wchar_t,false>)0x0" (subscript_expression "this[0x10]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,false>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,false>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) (expression_statement "*(undefined ***)this = &PTR____moneypunct_cache_0038d7b8;" (assignment_expression "*(undefined ***)this = &PTR____moneypunct_cache_0038d7b8" (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_0038d7b8" & identifier)) ;) (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 "*(undefined4 *)(this + 0x38) = 0;" (assignment_expression "*(undefined4 *)(this + 0x38) = 0" (pointer_expression "*(undefined4 *)(this + 0x38)" * (cast_expression "(undefined4 *)(this + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x3c) = 0" (pointer_expression "*(undefined4 *)(this + 0x3c)" * (cast_expression "(undefined4 *)(this + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x3c)" ( (binary_expression "this + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0;" (assignment_expression "this[0x6c] = (__moneypunct_cache<wchar_t,false>)0x0" (subscript_expression "this[0x6c]" identifier [ number_literal ]) = (parenthesized_expression "(__moneypunct_cache<wchar_t,false>)0x0" ( (comma_expression "__moneypunct_cache<wchar_t,false>)0x0" (binary_expression "__moneypunct_cache<wchar_t" identifier < identifier) , (binary_expression "false>)0x0" false > (ERROR ")" )) number_literal)) ))) ;) comment (expression_statement "__moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c));" (comma_expression "__moneypunct_cache<wchar_t,false>::_M_cache(this,(locale *)(param_5 + 0x6c))" (binary_expression "__moneypunct_cache<wchar_t" 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,uVar6);" statement_identifier : (ERROR ":" :) (labeled_statement "_Impl::_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);" statement_identifier : (ERROR ":" :) (expression_statement "_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6);" (call_expression "_M_install_cache(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6)" identifier (argument_list "(*(_Impl **)(param_5 + 0x6c),(facet *)this,uVar6)" ( (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 "iVar10 = *piVar1;" (assignment_expression "iVar10 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) })) (expression_statement "pwVar8 = (wchar_t *)*param_7;" (assignment_expression "pwVar8 = (wchar_t *)*param_7" identifier = (cast_expression "(wchar_t *)*param_7" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "pwVar11 = pwVar8;" (assignment_expression "pwVar11 = pwVar8" identifier = identifier) ;) (if_statement "if (*pwVar8 == *(wchar_t *)(iVar10 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar10 + 0x3c);\n    local_60 = *(wchar_t **)(iVar10 + 0x2c);\n    local_4c = *(uint *)(iVar10 + 0x30);\n    if (pwVar8[-3] != L'\0') {\n      pwVar11 = pwVar8 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar10 + 0x38);\n    local_60 = *(wchar_t **)(iVar10 + 0x24);\n    local_4c = *(uint *)(iVar10 + 0x28);\n  }" if (parenthesized_expression "(*pwVar8 == *(wchar_t *)(iVar10 + 0x40))" ( (binary_expression "*pwVar8 == *(wchar_t *)(iVar10 + 0x40)" (pointer_expression "*pwVar8" * identifier) == (pointer_expression "*(wchar_t *)(iVar10 + 0x40)" * (cast_expression "(wchar_t *)(iVar10 + 0x40)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x40)" ( (binary_expression "iVar10 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar10 + 0x3c);\n    local_60 = *(wchar_t **)(iVar10 + 0x2c);\n    local_4c = *(uint *)(iVar10 + 0x30);\n    if (pwVar8[-3] != L'\0') {\n      pwVar11 = pwVar8 + 1;\n    }\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar10 + 0x3c);" (assignment_expression "local_20 = *(undefined4 *)(iVar10 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 0x3c)" * (cast_expression "(undefined4 *)(iVar10 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x3c)" ( (binary_expression "iVar10 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(wchar_t **)(iVar10 + 0x2c);" (assignment_expression "local_60 = *(wchar_t **)(iVar10 + 0x2c)" identifier = (pointer_expression "*(wchar_t **)(iVar10 + 0x2c)" * (cast_expression "(wchar_t **)(iVar10 + 0x2c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x2c)" ( (binary_expression "iVar10 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar10 + 0x30);" (assignment_expression "local_4c = *(uint *)(iVar10 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar10 + 0x30)" * (cast_expression "(uint *)(iVar10 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x30)" ( (binary_expression "iVar10 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (pwVar8[-3] != L'\0') {\n      pwVar11 = pwVar8 + 1;\n    }" if (parenthesized_expression "(pwVar8[-3] != L'\0')" ( (binary_expression "pwVar8[-3] != L'\0'" (subscript_expression "pwVar8[-3]" identifier [ number_literal ]) != (char_literal "L'\0'" L' escape_sequence ')) )) (compound_statement "{\n      pwVar11 = pwVar8 + 1;\n    }" { (expression_statement "pwVar11 = pwVar8 + 1;" (assignment_expression "pwVar11 = pwVar8 + 1" identifier = (binary_expression "pwVar8 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar10 + 0x38);\n    local_60 = *(wchar_t **)(iVar10 + 0x24);\n    local_4c = *(uint *)(iVar10 + 0x28);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar10 + 0x38);\n    local_60 = *(wchar_t **)(iVar10 + 0x24);\n    local_4c = *(uint *)(iVar10 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar10 + 0x38);" (assignment_expression "local_20 = *(undefined4 *)(iVar10 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 0x38)" * (cast_expression "(undefined4 *)(iVar10 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(wchar_t **)(iVar10 + 0x24);" (assignment_expression "local_60 = *(wchar_t **)(iVar10 + 0x24)" identifier = (pointer_expression "*(wchar_t **)(iVar10 + 0x24)" * (cast_expression "(wchar_t **)(iVar10 + 0x24)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x24)" ( (binary_expression "iVar10 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar10 + 0x28);" (assignment_expression "local_4c = *(uint *)(iVar10 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar10 + 0x28)" * (cast_expression "(uint *)(iVar10 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x28)" ( (binary_expression "iVar10 + 0x28" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar7 = (**(code **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3]);" (assignment_expression "iVar7 = (**(code **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3])" identifier = (call_expression "(**(code **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3])" (parenthesized_expression "(**(code **)(*(int *)pcVar5 + 0x14))" ( (pointer_expression "**(code **)(*(int *)pcVar5 + 0x14)" * (pointer_expression "*(code **)(*(int *)pcVar5 + 0x14)" * (cast_expression "(code **)(*(int *)pcVar5 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar5 + 0x14)" ( (binary_expression "*(int *)pcVar5 + 0x14" (pointer_expression "*(int *)pcVar5" * (cast_expression "(int *)pcVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar5,0x800,pwVar11,pwVar11 + pwVar8[-3])" ( identifier , number_literal , identifier , (binary_expression "pwVar11 + pwVar8[-3]" identifier + (subscript_expression "pwVar8[-3]" identifier [ number_literal ])) )))) ;) (expression_statement "uVar6 = iVar7 - (int)pwVar11 >> 2;" (assignment_expression "uVar6 = iVar7 - (int)pwVar11 >> 2" identifier = (binary_expression "iVar7 - (int)pwVar11 >> 2" (binary_expression "iVar7 - (int)pwVar11" identifier - (cast_expression "(int)pwVar11" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar6 != 0) {\n    local_28 = (wchar_t *)&DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    std::wstring::reserve((wstring *)&local_28,uVar6 * 2);\n    iVar7 = *(int *)(iVar10 + 0x34);\n    local_58 = uVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = uVar6;\n      }\n      if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }\n      iVar7 = *(int *)(iVar10 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }\n    }\n    uVar12 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar6 = local_4c + local_28[-3];\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    std::wstring::reserve((wstring *)&local_24,uVar6 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar13 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }\n      puVar13 = (undefined4 *)((int)puVar13 + 1);\n    } while (puVar13 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar6 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if ((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n    }\n    if ((allocator *)(local_28 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));\n    }\n  }" if (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    local_28 = (wchar_t *)&DAT_00397f6c;\n                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */\n    std::wstring::reserve((wstring *)&local_28,uVar6 * 2);\n    iVar7 = *(int *)(iVar10 + 0x34);\n    local_58 = uVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = uVar6;\n      }\n      if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }\n      iVar7 = *(int *)(iVar10 + 0x34);\n    }\n    if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }\n    }\n    uVar12 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar6 = local_4c + local_28[-3];\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */\n    std::wstring::reserve((wstring *)&local_24,uVar6 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar13 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }\n      puVar13 = (undefined4 *)((int)puVar13 + 1);\n    } while (puVar13 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar6 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if ((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n    }\n    if ((allocator *)(local_28 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));\n    }\n  }" { (expression_statement "local_28 = (wchar_t *)&DAT_00397f6c;" (assignment_expression "local_28 = (wchar_t *)&DAT_00397f6c" identifier = (cast_expression "(wchar_t *)&DAT_00397f6c" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00397f6c" & identifier))) ;) comment (labeled_statement "std::wstring::reserve((wstring *)&local_28,uVar6 * 2);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::reserve((wstring *)&local_28,uVar6 * 2);" statement_identifier : (ERROR ":" :) (expression_statement "reserve((wstring *)&local_28,uVar6 * 2);" (call_expression "reserve((wstring *)&local_28,uVar6 * 2)" identifier (argument_list "((wstring *)&local_28,uVar6 * 2)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (binary_expression "uVar6 * 2" identifier * number_literal) ))) ;))) (expression_statement "iVar7 = *(int *)(iVar10 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar10 + 0x34)" identifier = (pointer_expression "*(int *)(iVar10 + 0x34)" * (cast_expression "(int *)(iVar10 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x34)" ( (binary_expression "iVar10 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_58 = uVar6 - iVar7;" (assignment_expression "local_58 = uVar6 - iVar7" identifier = (binary_expression "uVar6 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = uVar6;\n      }\n      if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }\n      iVar7 = *(int *)(iVar10 + 0x34);\n    }" if (parenthesized_expression "(0 < (int)local_58)" ( (binary_expression "0 < (int)local_58" number_literal < (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (iVar7 < 0) {\n        local_58 = uVar6;\n      }\n      if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }\n      iVar7 = *(int *)(iVar10 + 0x34);\n    }" { (if_statement "if (iVar7 < 0) {\n        local_58 = uVar6;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        local_58 = uVar6;\n      }" { (expression_statement "local_58 = uVar6;" (assignment_expression "local_58 = uVar6" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar10 + 0xc) == 0) {\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }" if (parenthesized_expression "(*(int *)(iVar10 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar10 + 0xc) == 0" (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */\n        std::wstring::assign((wstring *)&local_28,pwVar11,local_58);\n      }" { comment (labeled_statement "std::wstring::assign((wstring *)&local_28,pwVar11,local_58);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::assign((wstring *)&local_28,pwVar11,local_58);" statement_identifier : (ERROR ":" :) (expression_statement "assign((wstring *)&local_28,pwVar11,local_58);" (call_expression "assign((wstring *)&local_28,pwVar11,local_58)" identifier (argument_list "((wstring *)&local_28,pwVar11,local_58)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , identifier , identifier ))) ;))) }) (else_clause "else {\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }" else (compound_statement "{\n        std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');\n        uVar12 = *(uint *)(iVar10 + 0xc);\n        pcVar2 = *(char **)(iVar10 + 8);\n        wVar3 = *(wchar_t *)(iVar10 + 0x18);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);\n        if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }\n        wVar3 = local_28[-3];\n        wVar9 = (int)pwVar8 - (int)local_28 >> 2;\n        if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }\n        std::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);\n      }" { (labeled_statement "std::wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0');" (call_expression "_M_replace_aux((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0')" identifier (argument_list "((wstring *)&local_28,0,local_28[-3],local_58 * 2,L'\0')" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , number_literal , (subscript_expression "local_28[-3]" identifier [ number_literal ]) , (binary_expression "local_58 * 2" identifier * number_literal) , (char_literal "L'\0'" L' escape_sequence ') ))) ;))) (expression_statement "uVar12 = *(uint *)(iVar10 + 0xc);" (assignment_expression "uVar12 = *(uint *)(iVar10 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar10 + 0xc)" * (cast_expression "(uint *)(iVar10 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pcVar2 = *(char **)(iVar10 + 8);" (assignment_expression "pcVar2 = *(char **)(iVar10 + 8)" identifier = (pointer_expression "*(char **)(iVar10 + 8)" * (cast_expression "(char **)(iVar10 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) ;) (expression_statement "wVar3 = *(wchar_t *)(iVar10 + 0x18);" (assignment_expression "wVar3 = *(wchar_t *)(iVar10 + 0x18)" identifier = (pointer_expression "*(wchar_t *)(iVar10 + 0x18)" * (cast_expression "(wchar_t *)(iVar10 + 0x18)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }" if (parenthesized_expression "(L'\xffffffff' < local_28[-1])" ( (binary_expression "L'\xffffffff' < local_28[-1]" (char_literal "L'\xffffffff'" L' escape_sequence character character character character ') < (subscript_expression "local_28[-1]" identifier [ number_literal ])) )) (compound_statement "{\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }" { (labeled_statement "std::wstring::_M_leak_hard((wstring *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_leak_hard((wstring *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak_hard((wstring *)&local_28);" (call_expression "_M_leak_hard((wstring *)&local_28)" identifier (argument_list "((wstring *)&local_28)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;))) })) (expression_statement "pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58);" (assignment_expression "pwVar8 = __add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58)" identifier = (binary_expression "__add_grouping<wchar_t>(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58)" (binary_expression "__add_grouping<wchar_t" identifier < identifier) > (parenthesized_expression "(local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58)" ( (comma_expression "local_28,wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58" identifier , (comma_expression "wVar3,pcVar2,uVar12,pwVar11,pwVar11 + local_58" identifier , (comma_expression "pcVar2,uVar12,pwVar11,pwVar11 + local_58" identifier , (comma_expression "uVar12,pwVar11,pwVar11 + local_58" identifier , (comma_expression "pwVar11,pwVar11 + local_58" identifier , (binary_expression "pwVar11 + local_58" identifier + identifier)))))) )))) ;) (if_statement "if (L'\xffffffff' < local_28[-1]) {\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }" if (parenthesized_expression "(L'\xffffffff' < local_28[-1])" ( (binary_expression "L'\xffffffff' < local_28[-1]" (char_literal "L'\xffffffff'" L' escape_sequence character character character character ') < (subscript_expression "local_28[-1]" identifier [ number_literal ])) )) (compound_statement "{\n          std::wstring::_M_leak_hard((wstring *)&local_28);\n        }" { (labeled_statement "std::wstring::_M_leak_hard((wstring *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_leak_hard((wstring *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "_M_leak_hard((wstring *)&local_28);" (call_expression "_M_leak_hard((wstring *)&local_28)" identifier (argument_list "((wstring *)&local_28)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;))) })) (expression_statement "wVar3 = local_28[-3];" (assignment_expression "wVar3 = local_28[-3]" identifier = (subscript_expression "local_28[-3]" identifier [ number_literal ])) ;) (expression_statement "wVar9 = (int)pwVar8 - (int)local_28 >> 2;" (assignment_expression "wVar9 = (int)pwVar8 - (int)local_28 >> 2" identifier = (binary_expression "(int)pwVar8 - (int)local_28 >> 2" (binary_expression "(int)pwVar8 - (int)local_28" (cast_expression "(int)pwVar8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if ((uint)wVar3 < (uint)wVar9) {\n                    /* WARNING: Subroutine does not return */\n          __throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);\n        }" if (parenthesized_expression "((uint)wVar3 < (uint)wVar9)" ( (binary_expression "(uint)wVar3 < (uint)wVar9" (cast_expression "(uint)wVar3" ( (type_descriptor "uint" type_identifier) ) identifier) < (cast_expression "(uint)wVar9" ( (type_descriptor "uint" type_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)","basic_string::erase",\n                     wVar9,wVar3);\n        }" { comment (expression_statement "__throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3);" (call_expression "__throw_out_of_range_fmt\n                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",\n                     wVar9,wVar3)" ( (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::wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);" statement_identifier : (ERROR ":" :) (expression_statement "_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0);" (call_expression "_M_mutate((wstring *)&local_28,wVar9,wVar3 - wVar9,0)" identifier (argument_list "((wstring *)&local_28,wVar9,wVar3 - wVar9,0)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , identifier , (binary_expression "wVar3 - wVar9" identifier - identifier) , number_literal ))) ;))) }))) (expression_statement "iVar7 = *(int *)(iVar10 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar10 + 0x34)" identifier = (pointer_expression "*(int *)(iVar10 + 0x34)" * (cast_expression "(int *)(iVar10 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x34)" ( (binary_expression "iVar10 + 0x34" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }\n    }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */\n      std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));\n      if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }\n    }" { comment (labeled_statement "std::wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));" statement_identifier : (ERROR ":" :) (expression_statement "push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14));" (call_expression "push_back((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14))" identifier (argument_list "((wstring *)&local_28,*(wchar_t *)(iVar10 + 0x14))" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (pointer_expression "*(wchar_t *)(iVar10 + 0x14)" * (cast_expression "(wchar_t *)(iVar10 + 0x14)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) )))) ))) ;))) (if_statement "if ((int)local_58 < 0) {\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }\n      else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }" if (parenthesized_expression "((int)local_58 < 0)" ( (binary_expression "(int)local_58 < 0" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */\n        std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));\n        std::wstring::append((wstring *)&local_28,pwVar11,uVar6);\n      }" { comment (labeled_statement "std::wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44));" (call_expression "append((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44))" identifier (argument_list "((wstring *)&local_28,-local_58,*(wchar_t *)(iVar10 + 0x44))" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (unary_expression "-local_58" - identifier) , (pointer_expression "*(wchar_t *)(iVar10 + 0x44)" * (cast_expression "(wchar_t *)(iVar10 + 0x44)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x44)" ( (binary_expression "iVar10 + 0x44" identifier + number_literal) )))) ))) ;))) (labeled_statement "std::wstring::append((wstring *)&local_28,pwVar11,uVar6);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_28,pwVar11,uVar6);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_28,pwVar11,uVar6);" (call_expression "append((wstring *)&local_28,pwVar11,uVar6)" identifier (argument_list "((wstring *)&local_28,pwVar11,uVar6)" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , identifier , identifier ))) ;))) }) (else_clause "else {\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }" else (compound_statement "{\n        std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));\n      }" { (labeled_statement "std::wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34));" (call_expression "append((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34))" identifier (argument_list "((wstring *)&local_28,pwVar11 + local_58,*(uint *)(iVar10 + 0x34))" ( (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) , (binary_expression "pwVar11 + local_58" identifier + identifier) , (pointer_expression "*(uint *)(iVar10 + 0x34)" * (cast_expression "(uint *)(iVar10 + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x34)" ( (binary_expression "iVar10 + 0x34" identifier + number_literal) )))) ))) ;))) }))) })) (expression_statement "uVar12 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar12 = *(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 "uVar6 = local_4c + local_28[-3];" (assignment_expression "uVar6 = local_4c + local_28[-3]" identifier = (binary_expression "local_4c + local_28[-3]" identifier + (subscript_expression "local_28[-3]" identifier [ number_literal ]))) ;) (if_statement "if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);\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      uVar6 = uVar6 + *(int *)(iVar10 + 0x20);\n    }" { (expression_statement "uVar6 = uVar6 + *(int *)(iVar10 + 0x20);" (assignment_expression "uVar6 = uVar6 + *(int *)(iVar10 + 0x20)" identifier = (binary_expression "uVar6 + *(int *)(iVar10 + 0x20)" identifier + (pointer_expression "*(int *)(iVar10 + 0x20)" * (cast_expression "(int *)(iVar10 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x20)" ( (binary_expression "iVar10 + 0x20" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00397f6c;" (assignment_expression "local_24 = &DAT_00397f6c" identifier = (pointer_expression "&DAT_00397f6c" & identifier)) ;) comment (labeled_statement "std::wstring::reserve((wstring *)&local_24,uVar6 * 2);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::reserve((wstring *)&local_24,uVar6 * 2);" statement_identifier : (ERROR ":" :) (expression_statement "reserve((wstring *)&local_24,uVar6 * 2);" (call_expression "reserve((wstring *)&local_24,uVar6 * 2)" identifier (argument_list "((wstring *)&local_24,uVar6 * 2)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar6 * 2" identifier * number_literal) ))) ;))) (expression_statement "uVar4 = *(uint *)(param_5 + 8);" (assignment_expression "uVar4 = *(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 "puVar13 = &local_20;" (assignment_expression "puVar13 = &local_20" identifier = (pointer_expression "&local_20" & identifier)) ;) (do_statement "do {\n      switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }\n      puVar13 = (undefined4 *)((int)puVar13 + 1);\n    } while (puVar13 != local_1c);" do (compound_statement "{\n      switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }\n      puVar13 = (undefined4 *)((int)puVar13 + 1);\n    }" { (switch_statement "switch(*(undefined1 *)puVar13) {\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }" switch (parenthesized_expression "(*(undefined1 *)puVar13)" ( (pointer_expression "*(undefined1 *)puVar13" * (cast_expression "(undefined1 *)puVar13" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;\n      case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;\n      case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);\n      }" { (case_statement "case 0:\n        if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }\n        break;" case number_literal : (if_statement "if (uVar12 == 0x10 && uVar6 < uVar4) {\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }" if (parenthesized_expression "(uVar12 == 0x10 && uVar6 < uVar4)" ( (binary_expression "uVar12 == 0x10 && uVar6 < uVar4" (binary_expression "uVar12 == 0x10" identifier == number_literal) && (binary_expression "uVar6 < uVar4" identifier < identifier)) )) (compound_statement "{\nLAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);\n        }" { (labeled_statement "LAB_0023ee2a:\n          std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);" statement_identifier : (labeled_statement "std::wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_24,uVar4 - uVar6,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_24,uVar4 - uVar6,param_6);" (call_expression "append((wstring *)&local_24,uVar4 - uVar6,param_6)" identifier (argument_list "((wstring *)&local_24,uVar4 - uVar6,param_6)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar4 - uVar6" identifier - identifier) , identifier ))) ;)))) })) (break_statement "break;" break ;)) (case_statement "case 1:\n        if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;\n                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */\n        std::wstring::push_back((wstring *)&local_24,param_6);\n        break;" case number_literal : (if_statement "if (uVar12 == 0x10 && uVar6 < uVar4) goto LAB_0023ee2a;" if (parenthesized_expression "(uVar12 == 0x10 && uVar6 < uVar4)" ( (binary_expression "uVar12 == 0x10 && uVar6 < uVar4" (binary_expression "uVar12 == 0x10" identifier == number_literal) && (binary_expression "uVar6 < uVar4" identifier < identifier)) )) (goto_statement "goto LAB_0023ee2a;" goto statement_identifier ;)) comment (labeled_statement "std::wstring::push_back((wstring *)&local_24,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::push_back((wstring *)&local_24,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "push_back((wstring *)&local_24,param_6);" (call_expression "push_back((wstring *)&local_24,param_6)" identifier (argument_list "((wstring *)&local_24,param_6)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" 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::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }\n        break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\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::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));\n        }" { (labeled_statement "std::wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));" statement_identifier : (ERROR ":" :) (expression_statement "append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20));" (call_expression "append\n                    ((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20))" identifier (argument_list "((wstring *)&local_24,*(wchar_t **)(iVar10 + 0x1c),*(uint *)(iVar10 + 0x20))" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (pointer_expression "*(wchar_t **)(iVar10 + 0x1c)" * (cast_expression "(wchar_t **)(iVar10 + 0x1c)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x1c)" ( (binary_expression "iVar10 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(uint *)(iVar10 + 0x20)" * (cast_expression "(uint *)(iVar10 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x20)" ( (binary_expression "iVar10 + 0x20" identifier + number_literal) )))) ))) ;))) })) (break_statement "break;" break ;)) (case_statement "case 3:\n        if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }\n        break;" case number_literal : (if_statement "if (local_4c != 0) {\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }" if (parenthesized_expression "(local_4c != 0)" ( (binary_expression "local_4c != 0" identifier != number_literal) )) (compound_statement "{\n          std::wstring::push_back((wstring *)&local_24,*local_60);\n        }" { (labeled_statement "std::wstring::push_back((wstring *)&local_24,*local_60);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::push_back((wstring *)&local_24,*local_60);" statement_identifier : (ERROR ":" :) (expression_statement "push_back((wstring *)&local_24,*local_60);" (call_expression "push_back((wstring *)&local_24,*local_60)" identifier (argument_list "((wstring *)&local_24,*local_60)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (pointer_expression "*local_60" * identifier) ))) ;))) })) (break_statement "break;" break ;)) (case_statement "case 4:\n        std::wstring::append((wstring *)&local_24,(wstring *)&local_28);" case number_literal : (labeled_statement "std::wstring::append((wstring *)&local_24,(wstring *)&local_28);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_24,(wstring *)&local_28);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_24,(wstring *)&local_28);" (call_expression "append((wstring *)&local_24,(wstring *)&local_28)" identifier (argument_list "((wstring *)&local_24,(wstring *)&local_28)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (cast_expression "(wstring *)&local_28" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_28" & identifier)) ))) ;)))) })) (expression_statement "puVar13 = (undefined4 *)((int)puVar13 + 1);" (assignment_expression "puVar13 = (undefined4 *)((int)puVar13 + 1)" identifier = (cast_expression "(undefined4 *)((int)puVar13 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar13 + 1)" ( (binary_expression "(int)puVar13 + 1" (cast_expression "(int)puVar13" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(puVar13 != local_1c)" ( (binary_expression "puVar13 != local_1c" identifier != identifier) )) ;) (if_statement "if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" if (parenthesized_expression "(local_4c < 2)" ( (binary_expression "local_4c < 2" identifier < number_literal) )) (compound_statement "{\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" else (compound_statement "{\n      std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (labeled_statement "std::wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_24,local_60 + 1,local_4c - 1);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_24,local_60 + 1,local_4c - 1);" (call_expression "append((wstring *)&local_24,local_60 + 1,local_4c - 1)" identifier (argument_list "((wstring *)&local_24,local_60 + 1,local_4c - 1)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "local_60 + 1" identifier + number_literal) , (binary_expression "local_4c - 1" identifier - number_literal) ))) ;))) (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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_58 < uVar4) {\n      if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" if (parenthesized_expression "(local_58 < uVar4)" ( (binary_expression "local_58 < uVar4" identifier < identifier) )) (compound_statement "{\n      if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" { (if_statement "if (uVar12 == 0x20) {\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" if (parenthesized_expression "(uVar12 == 0x20)" ( (binary_expression "uVar12 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */\n        std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { comment (labeled_statement "std::wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::append((wstring *)&local_24,uVar4 - local_58,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "append((wstring *)&local_24,uVar4 - local_58,param_6);" (call_expression "append((wstring *)&local_24,uVar4 - local_58,param_6)" identifier (argument_list "((wstring *)&local_24,uVar4 - local_58,param_6)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;))) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }) (else_clause "else {\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" else (compound_statement "{\n        std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { (labeled_statement "std::wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);" statement_identifier : (ERROR ":" :) (expression_statement "_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6);" (call_expression "_M_replace_aux((wstring *)&local_24,0,0,uVar4 - local_58,param_6)" identifier (argument_list "((wstring *)&local_24,0,0,uVar4 - local_58,param_6)" ( (cast_expression "(wstring *)&local_24" ( (type_descriptor "wstring *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , number_literal , number_literal , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;))) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }))) })) (if_statement "if (local_3d == '\0') {\n      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar6 != local_58;\n    }" if (parenthesized_expression "(local_3d == '\0')" ( (binary_expression "local_3d == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar6 != local_58;\n    }" { (expression_statement "uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);" (assignment_expression "uVar6 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" (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_58)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_3d = uVar6 != local_58;" (assignment_expression "local_3d = uVar6 != local_58" identifier = (binary_expression "uVar6 != local_58" 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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if ((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n    }" if (parenthesized_expression "((allocator *)(local_24 + -0xc) != (allocator *)&std::wstring::_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 "::wstring::_Rep::_S_empty_rep_storage" : : identifier : : identifier : : identifier) )) (compound_statement "{\n      std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));\n    }" { (labeled_statement "std::wstring::_Rep::_M_dispose((allocator *)(local_24 + -0xc));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_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 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage) {\n      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));\n    }" if (parenthesized_expression "((allocator *)(local_28 + -3) != (allocator *)&std::wstring::_Rep::_S_empty_rep_storage)" ( (binary_expression "(allocator *)(local_28 + -3) != (allocator *)&std" (cast_expression "(allocator *)(local_28 + -3)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -3)" ( (binary_expression "local_28 + -3" identifier + number_literal) ))) != (cast_expression "(allocator *)&std" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&std" & identifier))) (ERROR "::wstring::_Rep::_S_empty_rep_storage" : : identifier : : identifier : : identifier) )) (compound_statement "{\n      std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));\n    }" { (labeled_statement "std::wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));" statement_identifier : (ERROR ":" :) (labeled_statement "wstring::_Rep::_M_dispose((allocator *)(local_28 + -3));" statement_identifier : (ERROR ":" :) (labeled_statement "_Rep::_M_dispose((allocator *)(local_28 + -3));" statement_identifier : (ERROR ":" :) (expression_statement "_M_dispose((allocator *)(local_28 + -3));" (call_expression "_M_dispose((allocator *)(local_28 + -3))" identifier (argument_list "((allocator *)(local_28 + -3))" ( (cast_expression "(allocator *)(local_28 + -3)" ( (type_descriptor "allocator *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -3)" ( (binary_expression "local_28 + -3" identifier + number_literal) ))) ))) ;)))) })) })) (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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (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_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}\n\n" (function_definition "void FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" primitive_type (function_declarator "FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *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 "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "uint local_58;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char local_3d;" primitive_type 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 [3];" type_identifier (array_declarator "local_1c [3]" identifier [ number_literal ]) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_3d = (char)param_4;" (assignment_expression "local_3d = (char)param_4" identifier = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);" (assignment_expression "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c)" identifier = (cast_expression "(int *)FUN_0023c1d0(param_5 + 0x6c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c1d0(param_5 + 0x6c)" identifier (argument_list "(param_5 + 0x6c)" ( (binary_expression "param_5 + 0x6c" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = FUN_001e9740(PTR_DAT_0038ed94);" (assignment_expression "iVar6 = FUN_001e9740(PTR_DAT_0038ed94)" identifier = (call_expression "FUN_001e9740(PTR_DAT_0038ed94)" identifier (argument_list "(PTR_DAT_0038ed94)" ( identifier )))) ;) (expression_statement "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);" (assignment_expression "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" identifier = (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" ( (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 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 "iVar6 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) (if_statement "if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" { (expression_statement "puVar12 = (undefined4 *)FUN_001e5200(0x70);" (assignment_expression "puVar12 = (undefined4 *)FUN_001e5200(0x70)" identifier = (cast_expression "(undefined4 *)FUN_001e5200(0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001e5200(0x70)" identifier (argument_list "(0x70)" ( 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[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 4)" * (cast_expression "(undefined1 *)(puVar12 + 4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 4)" ( (binary_expression "puVar12 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar12 = &PTR_FUN_0038d7b8;" (assignment_expression "*puVar12 = &PTR_FUN_0038d7b8" (pointer_expression "*puVar12" * identifier) = (pointer_expression "&PTR_FUN_0038d7b8" & identifier)) ;) (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 "puVar12[0xe] = 0;" (assignment_expression "puVar12[0xe] = 0" (subscript_expression "puVar12[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar12[0xf] = 0;" (assignment_expression "puVar12[0xf] = 0" (subscript_expression "puVar12[0xf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(puVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 0x1b)" * (cast_expression "(undefined1 *)(puVar12 + 0x1b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x1b)" ( (binary_expression "puVar12 + 0x1b" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0023d400(puVar12,param_5 + 0x6c);" (call_expression "FUN_0023d400(puVar12,param_5 + 0x6c)" identifier (argument_list "(puVar12,param_5 + 0x6c)" ( identifier , (binary_expression "param_5 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);" (call_expression "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" identifier (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" ( (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 "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" identifier = (pointer_expression "*piVar10" * identifier)) ;) })) (expression_statement "param_7 = (int *)*param_7;" (assignment_expression "param_7 = (int *)*param_7" identifier = (cast_expression "(int *)*param_7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_7" * identifier))) ;) (expression_statement "piVar10 = param_7;" (assignment_expression "piVar10 = param_7" identifier = identifier) ;) (if_statement "if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" if (parenthesized_expression "(*param_7 == *(int *)(iVar9 + 0x40))" ( (binary_expression "*param_7 == *(int *)(iVar9 + 0x40)" (pointer_expression "*param_7" * identifier) == (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x3c);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x3c)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x3c)" * (cast_expression "(undefined4 *)(iVar9 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x3c)" ( (binary_expression "iVar9 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x2c);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x2c)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x2c)" * (cast_expression "(undefined4 **)(iVar9 + 0x2c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar9 + 0x30);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x30)" identifier = (pointer_expression "*(uint *)(iVar9 + 0x30)" * (cast_expression "(uint *)(iVar9 + 0x30)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x30)" ( (binary_expression "iVar9 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }" if (parenthesized_expression "(param_7[-3] != 0)" ( (binary_expression "param_7[-3] != 0" (subscript_expression "param_7[-3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      piVar10 = param_7 + 1;\n    }" { (expression_statement "piVar10 = param_7 + 1;" (assignment_expression "piVar10 = param_7 + 1" identifier = (binary_expression "param_7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" else (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" { (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x38);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x38)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x38)" * (cast_expression "(undefined4 *)(iVar9 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x24);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x24)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0x24)" * (cast_expression "(undefined4 **)(iVar9 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0x24)" ( (binary_expression "iVar9 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "local_4c = *(uint *)(iVar9 + 0x28);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x28)" identifier = (pointer_expression "*(uint *)(iVar9 + 0x28)" * (cast_expression "(uint *)(iVar9 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x28)" ( (binary_expression "iVar9 + 0x28" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);" (assignment_expression "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" identifier = (call_expression "(**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" (parenthesized_expression "(**(code **)(*piVar5 + 0x14))" ( (pointer_expression "**(code **)(*piVar5 + 0x14)" * (pointer_expression "*(code **)(*piVar5 + 0x14)" * (cast_expression "(code **)(*piVar5 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar5 + 0x14)" ( (binary_expression "*piVar5 + 0x14" (pointer_expression "*piVar5" * identifier) + number_literal) ))))) )) (argument_list "(piVar5,0x800,piVar10,piVar10 + param_7[-3])" ( identifier , number_literal , identifier , (binary_expression "piVar10 + param_7[-3]" identifier + (subscript_expression "param_7[-3]" identifier [ number_literal ])) )))) ;) (expression_statement "iVar6 = iVar6 - (int)piVar10 >> 2;" (assignment_expression "iVar6 = iVar6 - (int)piVar10 >> 2" identifier = (binary_expression "iVar6 - (int)piVar10 >> 2" (binary_expression "iVar6 - (int)piVar10" identifier - (cast_expression "(int)piVar10" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" { (expression_statement "local_28 = &DAT_00397f6c;" (assignment_expression "local_28 = &DAT_00397f6c" identifier = (pointer_expression "&DAT_00397f6c" & identifier)) ;) (expression_statement "FUN_0026adc0(&local_28,iVar6 * 2);" (call_expression "FUN_0026adc0(&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 *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" identifier = (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "local_58 = iVar6 - iVar7;" (assignment_expression "local_58 = iVar6 - iVar7" identifier = (binary_expression "iVar6 - iVar7" identifier - identifier)) ;) (if_statement "if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" if (parenthesized_expression "(0 < (int)local_58)" ( (binary_expression "0 < (int)local_58" number_literal < (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" { (if_statement "if (iVar7 < 0) {\n        local_58 = iVar6;\n      }" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (compound_statement "{\n        local_58 = iVar6;\n      }" { (expression_statement "local_58 = iVar6;" (assignment_expression "local_58 = iVar6" identifier = identifier) ;) })) (if_statement "if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" if (parenthesized_expression "(*(int *)(iVar9 + 0xc) == 0)" ( (binary_expression "*(int *)(iVar9 + 0xc) == 0" (pointer_expression "*(int *)(iVar9 + 0xc)" * (cast_expression "(int *)(iVar9 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }" { (expression_statement "FUN_0026a7c0(&local_28,piVar10,local_58);" (call_expression "FUN_0026a7c0(&local_28,piVar10,local_58)" identifier (argument_list "(&local_28,piVar10,local_58)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" else (compound_statement "{\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" { (expression_statement "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);" (call_expression "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0)" identifier (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 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_58 * 2" identifier * number_literal) , number_literal ))) ;) (expression_statement "uVar1 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" * (cast_expression "(undefined4 *)(iVar9 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar9 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 8)" * (cast_expression "(undefined4 *)(iVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar9 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar9 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x18)" * (cast_expression "(undefined4 *)(iVar9 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x18)" ( (binary_expression "iVar9 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" if (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" ( (binary_expression "-1 < *(int *)(local_28 + -4)" number_literal < (pointer_expression "*(int *)(local_28 + -4)" * (cast_expression "(int *)(local_28 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -4)" ( (binary_expression "local_28 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" { (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & identifier) ))) ;) })) (expression_statement "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);" (assignment_expression "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" identifier = (call_expression "FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" identifier (argument_list "(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" ( identifier , identifier , identifier , identifier , identifier , (binary_expression "piVar10 + local_58" identifier + identifier) )))) ;) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" if (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" ( (binary_expression "-1 < *(int *)(local_28 + -4)" number_literal < (pointer_expression "*(int *)(local_28 + -4)" * (cast_expression "(int *)(local_28 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + -4)" ( (binary_expression "local_28 + -4" identifier + number_literal) ))))) )) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" { (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" identifier (argument_list "(&local_28)" ( (pointer_expression "&local_28" & 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) ))))) ;) (expression_statement "uVar8 = iVar7 - (int)local_28 >> 2;" (assignment_expression "uVar8 = iVar7 - (int)local_28 >> 2" identifier = (binary_expression "iVar7 - (int)local_28 >> 2" (binary_expression "iVar7 - (int)local_28" identifier - (cast_expression "(int)local_28" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" if (parenthesized_expression "(uVar11 < uVar8)" ( (binary_expression "uVar11 < uVar8" identifier < identifier) )) (compound_statement "{\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" { (expression_statement "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);" (call_expression "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11)" identifier (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,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_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);" (call_expression "FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0)" identifier (argument_list "(&local_28,uVar8,uVar11 - uVar8,0)" ( (pointer_expression "&local_28" & identifier) , identifier , (binary_expression "uVar11 - uVar8" identifier - identifier) , number_literal ))) ;) }))) (expression_statement "iVar7 = *(int *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" identifier = (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) ))))) ;) })) (if_statement "if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" { (expression_statement "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));" (call_expression "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14))" identifier (argument_list "(&local_28,*(undefined4 *)(iVar9 + 0x14))" ( (pointer_expression "&local_28" & identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" * (cast_expression "(undefined4 *)(iVar9 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) ))) ;) (if_statement "if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" if (parenthesized_expression "((int)local_58 < 0)" ( (binary_expression "(int)local_58 < 0" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }" { (expression_statement "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));" (call_expression "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" identifier (argument_list "(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" ( (pointer_expression "&local_28" & identifier) , (unary_expression "-local_58" - identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x44)" * (cast_expression "(undefined4 *)(iVar9 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0026b0d0(&local_28,piVar10,iVar6);" (call_expression "FUN_0026b0d0(&local_28,piVar10,iVar6)" identifier (argument_list "(&local_28,piVar10,iVar6)" ( (pointer_expression "&local_28" & identifier) , identifier , identifier ))) ;) }) (else_clause "else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" else (compound_statement "{\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" { (expression_statement "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));" (call_expression "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" identifier (argument_list "(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" ( (pointer_expression "&local_28" & identifier) , (binary_expression "piVar10 + local_58" identifier + identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x34)" * (cast_expression "(undefined4 *)(iVar9 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) )))) ))) ;) }))) })) (expression_statement "uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar8 = *(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 "uVar11 = local_4c + *(int *)(local_28 + -0xc);" (assignment_expression "uVar11 = local_4c + *(int *)(local_28 + -0xc)" identifier = (binary_expression "local_4c + *(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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }" { (expression_statement "uVar11 = uVar11 + *(int *)(iVar9 + 0x20);" (assignment_expression "uVar11 = uVar11 + *(int *)(iVar9 + 0x20)" identifier = (binary_expression "uVar11 + *(int *)(iVar9 + 0x20)" identifier + (pointer_expression "*(int *)(iVar9 + 0x20)" * (cast_expression "(int *)(iVar9 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))))) ;) })) (expression_statement "local_24 = &DAT_00397f6c;" (assignment_expression "local_24 = &DAT_00397f6c" identifier = (pointer_expression "&DAT_00397f6c" & identifier)) ;) (expression_statement "FUN_0026adc0(&local_24,uVar11 * 2);" (call_expression "FUN_0026adc0(&local_24,uVar11 * 2)" identifier (argument_list "(&local_24,uVar11 * 2)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar11 * 2" identifier * number_literal) ))) ;) (expression_statement "uVar4 = *(uint *)(param_5 + 8);" (assignment_expression "uVar4 = *(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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    }" { (switch_statement "switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }" { (case_statement "case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;" case number_literal : (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" if (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" ( (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" identifier == number_literal) && (binary_expression "uVar11 < uVar4" identifier < identifier)) )) (compound_statement "{\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" { (labeled_statement "code_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" statement_identifier : (expression_statement "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6)" identifier (argument_list "(&local_24,uVar4 - uVar11,param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar4 - uVar11" identifier - identifier) , identifier ))) ;)) })) (break_statement "break;" break ;)) (case_statement "case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;" case number_literal : (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;" if (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" ( (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" identifier == number_literal) && (binary_expression "uVar11 < uVar4" identifier < identifier)) )) (goto_statement "goto code_r0x0023ee2a;" goto statement_identifier ;)) (expression_statement "FUN_0026b400(&local_24,param_6);" (call_expression "FUN_0026b400(&local_24,param_6)" identifier (argument_list "(&local_24,param_6)" ( (pointer_expression "&local_24" & identifier) , identifier ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;" case number_literal : (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\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_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }" { (expression_statement "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));" (call_expression "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" identifier (argument_list "(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*(undefined4 *)(iVar9 + 0x1c)" * (cast_expression "(undefined4 *)(iVar9 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x1c)" ( (binary_expression "iVar9 + 0x1c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" * (cast_expression "(undefined4 *)(iVar9 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;" case number_literal : (if_statement "if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }" if (parenthesized_expression "(local_4c != 0)" ( (binary_expression "local_4c != 0" identifier != number_literal) )) (compound_statement "{\n          FUN_0026b400(&local_24,*local_60);\n        }" { (expression_statement "FUN_0026b400(&local_24,*local_60);" (call_expression "FUN_0026b400(&local_24,*local_60)" identifier (argument_list "(&local_24,*local_60)" ( (pointer_expression "&local_24" & identifier) , (pointer_expression "*local_60" * identifier) ))) ;) })) (break_statement "break;" break ;)) (case_statement "case 4:\n        FUN_0026aee0(&local_24,&local_28);" case number_literal : (expression_statement "FUN_0026aee0(&local_24,&local_28);" (call_expression "FUN_0026aee0(&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_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" if (parenthesized_expression "(local_4c < 2)" ( (binary_expression "local_4c < 2" identifier < number_literal) )) (compound_statement "{\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" else (compound_statement "{\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" { (expression_statement "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);" (call_expression "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1)" identifier (argument_list "(&local_24,local_60 + 1,local_4c - 1)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "local_60 + 1" identifier + number_literal) , (binary_expression "local_4c - 1" identifier - number_literal) ))) ;) (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(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_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" if (parenthesized_expression "(local_58 < uVar4)" ( (binary_expression "local_58 < uVar4" identifier < identifier) )) (compound_statement "{\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" { (if_statement "if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" if (parenthesized_expression "(uVar8 == 0x20)" ( (binary_expression "uVar8 == 0x20" identifier == number_literal) )) (compound_statement "{\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { (expression_statement "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6)" identifier (argument_list "(&local_24,uVar4 - local_58,param_6)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }) (else_clause "else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" else (compound_statement "{\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" { (expression_statement "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);" (call_expression "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6)" identifier (argument_list "(&local_24,0,0,uVar4 - local_58,param_6)" ( (pointer_expression "&local_24" & identifier) , number_literal , number_literal , (binary_expression "uVar4 - local_58" identifier - identifier) , identifier ))) ;) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" identifier = identifier) ;) }))) })) (if_statement "if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" if (parenthesized_expression "(local_3d == '\0')" ( (binary_expression "local_3d == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" { (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" identifier = (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" (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_58)" ( identifier , identifier , identifier )))) ;) (expression_statement "local_3d = uVar11 != local_58;" (assignment_expression "local_3d = uVar11 != local_58" identifier = (binary_expression "uVar11 != local_58" 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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (field_expression "local_3c._1_3_" identifier . field_identifier) , identifier )))) ;) (if_statement "if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" if (parenthesized_expression "(local_24 != &DAT_00397f6c)" ( (binary_expression "local_24 != &DAT_00397f6c" identifier != (pointer_expression "&DAT_00397f6c" & identifier)) )) (compound_statement "{\n      FUN_002395a0();\n    }" { (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" if (parenthesized_expression "(local_28 != &DAT_00397f6c)" ( (binary_expression "local_28 != &DAT_00397f6c" identifier != (pointer_expression "&DAT_00397f6c" & identifier)) )) (compound_statement "{\n      FUN_002395a0();\n    }" { (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" identifier (argument_list "()" ( ))) ;) })) })) (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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" identifier = (call_expression "CONCAT31(local_3c._1_3_,local_3d)" identifier (argument_list "(local_3c._1_3_,local_3d)" ( (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 (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 * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (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 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 = IDENT) ;) (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) ))))) ;) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT , (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) })) (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 (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) 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) , (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) , (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) , 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) , 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) , (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) , 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) , 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 ( ))) ;) })) })) (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_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0023eb60(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *param_7)" (identifier "FUN_0023eb60") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5\n                 ,undefined4 param_6,int *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 "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "int *param_7" (primitive_type "int") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int *piVar5;\n  int iVar6;\n  int iVar7;\n  uint uVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  undefined4 *puVar12;\n  undefined4 *local_60;\n  uint local_58;\n  uint local_4c;\n  char local_3d;\n  undefined4 local_3c;\n  undefined *local_28;\n  undefined *local_24;\n  undefined4 local_20;\n  undefined4 local_1c [3];\n  \n  local_3c = param_4;\n  local_3d = (char)param_4;\n  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);\n  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);\n  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);\n  iVar9 = *piVar10;\n  if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }\n  param_7 = (int *)*param_7;\n  piVar10 = param_7;\n  if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }\n  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);\n  iVar6 = iVar6 - (int)piVar10 >> 2;\n  if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }\n  *(undefined4 *)(param_5 + 8) = 0;\n  local_3c = CONCAT31(local_3c._1_3_,local_3d);\n  *param_1 = param_3;\n  param_1[1] = local_3c;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 *local_60;" (type_identifier "undefined4") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "uint local_58;" (type_identifier "uint") (identifier "local_58") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "char local_3d;" (primitive_type "char") (identifier "local_3d") (; ";")) (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 [3];" (type_identifier "undefined4") (array_declarator "local_1c [3]" (identifier "local_1c") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" (identifier "local_3c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_3d = (char)param_4;" (assignment_expression "local_3d = (char)param_4" (identifier "local_3d") (= "=") (cast_expression "(char)param_4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_4"))) (; ";")) (expression_statement "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);" (assignment_expression "piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c)" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_0023c1d0(param_5 + 0x6c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0023c1d0(param_5 + 0x6c)" (identifier "FUN_0023c1d0") (argument_list "(param_5 + 0x6c)" (( "(") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")"))))) (; ";")) (expression_statement "iVar6 = FUN_001e9740(PTR_DAT_0038ed94);" (assignment_expression "iVar6 = FUN_001e9740(PTR_DAT_0038ed94)" (identifier "iVar6") (= "=") (call_expression "FUN_001e9740(PTR_DAT_0038ed94)" (identifier "FUN_001e9740") (argument_list "(PTR_DAT_0038ed94)" (( "(") (identifier "PTR_DAT_0038ed94") () ")")))) (; ";")) (expression_statement "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);" (assignment_expression "piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" (identifier "piVar10") (= "=") (cast_expression "(int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4)" (( "(") (binary_expression "*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 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 "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" (identifier "iVar9") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (if_statement "if (iVar9 == 0) {\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    puVar12 = (undefined4 *)FUN_001e5200(0x70);\n    puVar12[1] = 0;\n    puVar12[2] = 0;\n    puVar12[3] = 0;\n    *(undefined1 *)(puVar12 + 4) = 0;\n    *puVar12 = &PTR_FUN_0038d7b8;\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    puVar12[0xe] = 0;\n    puVar12[0xf] = 0;\n    *(undefined1 *)(puVar12 + 0x1b) = 0;\n                    \n    FUN_0023d400(puVar12,param_5 + 0x6c);\n    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);\n    iVar9 = *piVar10;\n  }" ({ "{") (expression_statement "puVar12 = (undefined4 *)FUN_001e5200(0x70);" (assignment_expression "puVar12 = (undefined4 *)FUN_001e5200(0x70)" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)FUN_001e5200(0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001e5200(0x70)" (identifier "FUN_001e5200") (argument_list "(0x70)" (( "(") (number_literal "0x70") () ")"))))) (; ";")) (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[3] = 0;" (assignment_expression "puVar12[3] = 0" (subscript_expression "puVar12[3]" (identifier "puVar12") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar12 + 4) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 4) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 4)" (* "*") (cast_expression "(undefined1 *)(puVar12 + 4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 4)" (( "(") (binary_expression "puVar12 + 4" (identifier "puVar12") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar12 = &PTR_FUN_0038d7b8;" (assignment_expression "*puVar12 = &PTR_FUN_0038d7b8" (pointer_expression "*puVar12" (* "*") (identifier "puVar12")) (= "=") (pointer_expression "&PTR_FUN_0038d7b8" (& "&") (identifier "PTR_FUN_0038d7b8"))) (; ";")) (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 "puVar12[0xe] = 0;" (assignment_expression "puVar12[0xe] = 0" (subscript_expression "puVar12[0xe]" (identifier "puVar12") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12[0xf] = 0;" (assignment_expression "puVar12[0xf] = 0" (subscript_expression "puVar12[0xf]" (identifier "puVar12") ([ "[") (number_literal "0xf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(puVar12 + 0x1b) = 0;" (assignment_expression "*(undefined1 *)(puVar12 + 0x1b) = 0" (pointer_expression "*(undefined1 *)(puVar12 + 0x1b)" (* "*") (cast_expression "(undefined1 *)(puVar12 + 0x1b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x1b)" (( "(") (binary_expression "puVar12 + 0x1b" (identifier "puVar12") (+ "+") (number_literal "0x1b")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0023d400(puVar12,param_5 + 0x6c);" (call_expression "FUN_0023d400(puVar12,param_5 + 0x6c)" (identifier "FUN_0023d400") (argument_list "(puVar12,param_5 + 0x6c)" (( "(") (identifier "puVar12") (, ",") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c")) () ")"))) (; ";")) (expression_statement "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);" (call_expression "FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" (identifier "FUN_001e9c50") (argument_list "(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6)" (( "(") (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 "iVar6") () ")"))) (; ";")) (expression_statement "iVar9 = *piVar10;" (assignment_expression "iVar9 = *piVar10" (identifier "iVar9") (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (} "}"))) (expression_statement "param_7 = (int *)*param_7;" (assignment_expression "param_7 = (int *)*param_7" (identifier "param_7") (= "=") (cast_expression "(int *)*param_7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_7" (* "*") (identifier "param_7")))) (; ";")) (expression_statement "piVar10 = param_7;" (assignment_expression "piVar10 = param_7" (identifier "piVar10") (= "=") (identifier "param_7")) (; ";")) (if_statement "if (*param_7 == *(int *)(iVar9 + 0x40)) {\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }\n  else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" (if "if") (parenthesized_expression "(*param_7 == *(int *)(iVar9 + 0x40))" (( "(") (binary_expression "*param_7 == *(int *)(iVar9 + 0x40)" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (== "==") (pointer_expression "*(int *)(iVar9 + 0x40)" (* "*") (cast_expression "(int *)(iVar9 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x40)" (( "(") (binary_expression "iVar9 + 0x40" (identifier "iVar9") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x3c);\n    local_60 = *(undefined4 **)(iVar9 + 0x2c);\n    local_4c = *(uint *)(iVar9 + 0x30);\n    if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }\n  }" ({ "{") (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x3c);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x3c)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x3c)" (( "(") (binary_expression "iVar9 + 0x3c" (identifier "iVar9") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x2c);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x2c)" (identifier "local_60") (= "=") (pointer_expression "*(undefined4 **)(iVar9 + 0x2c)" (* "*") (cast_expression "(undefined4 **)(iVar9 + 0x2c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 0x2c)" (( "(") (binary_expression "iVar9 + 0x2c" (identifier "iVar9") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (expression_statement "local_4c = *(uint *)(iVar9 + 0x30);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x30)" (identifier "local_4c") (= "=") (pointer_expression "*(uint *)(iVar9 + 0x30)" (* "*") (cast_expression "(uint *)(iVar9 + 0x30)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x30)" (( "(") (binary_expression "iVar9 + 0x30" (identifier "iVar9") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (param_7[-3] != 0) {\n      piVar10 = param_7 + 1;\n    }" (if "if") (parenthesized_expression "(param_7[-3] != 0)" (( "(") (binary_expression "param_7[-3] != 0" (subscript_expression "param_7[-3]" (identifier "param_7") ([ "[") (number_literal "-3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      piVar10 = param_7 + 1;\n    }" ({ "{") (expression_statement "piVar10 = param_7 + 1;" (assignment_expression "piVar10 = param_7 + 1" (identifier "piVar10") (= "=") (binary_expression "param_7 + 1" (identifier "param_7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" (else "else") (compound_statement "{\n    local_20 = *(undefined4 *)(iVar9 + 0x38);\n    local_60 = *(undefined4 **)(iVar9 + 0x24);\n    local_4c = *(uint *)(iVar9 + 0x28);\n  }" ({ "{") (expression_statement "local_20 = *(undefined4 *)(iVar9 + 0x38);" (assignment_expression "local_20 = *(undefined4 *)(iVar9 + 0x38)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0x38)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x38)" (( "(") (binary_expression "iVar9 + 0x38" (identifier "iVar9") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "local_60 = *(undefined4 **)(iVar9 + 0x24);" (assignment_expression "local_60 = *(undefined4 **)(iVar9 + 0x24)" (identifier "local_60") (= "=") (pointer_expression "*(undefined4 **)(iVar9 + 0x24)" (* "*") (cast_expression "(undefined4 **)(iVar9 + 0x24)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 0x24)" (( "(") (binary_expression "iVar9 + 0x24" (identifier "iVar9") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "local_4c = *(uint *)(iVar9 + 0x28);" (assignment_expression "local_4c = *(uint *)(iVar9 + 0x28)" (identifier "local_4c") (= "=") (pointer_expression "*(uint *)(iVar9 + 0x28)" (* "*") (cast_expression "(uint *)(iVar9 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x28)" (( "(") (binary_expression "iVar9 + 0x28" (identifier "iVar9") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);" (assignment_expression "iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" (identifier "iVar6") (= "=") (call_expression "(**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3])" (parenthesized_expression "(**(code **)(*piVar5 + 0x14))" (( "(") (pointer_expression "**(code **)(*piVar5 + 0x14)" (* "*") (pointer_expression "*(code **)(*piVar5 + 0x14)" (* "*") (cast_expression "(code **)(*piVar5 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar5 + 0x14)" (( "(") (binary_expression "*piVar5 + 0x14" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(piVar5,0x800,piVar10,piVar10 + param_7[-3])" (( "(") (identifier "piVar5") (, ",") (number_literal "0x800") (, ",") (identifier "piVar10") (, ",") (binary_expression "piVar10 + param_7[-3]" (identifier "piVar10") (+ "+") (subscript_expression "param_7[-3]" (identifier "param_7") ([ "[") (number_literal "-3") (] "]"))) () ")")))) (; ";")) (expression_statement "iVar6 = iVar6 - (int)piVar10 >> 2;" (assignment_expression "iVar6 = iVar6 - (int)piVar10 >> 2" (identifier "iVar6") (= "=") (binary_expression "iVar6 - (int)piVar10 >> 2" (binary_expression "iVar6 - (int)piVar10" (identifier "iVar6") (- "-") (cast_expression "(int)piVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar10"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (iVar6 != 0) {\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_28 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_28,iVar6 * 2);\n    iVar7 = *(int *)(iVar9 + 0x34);\n    local_58 = iVar6 - iVar7;\n    if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }\n    if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }\n    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;\n    uVar11 = local_4c + *(int *)(local_28 + -0xc);\n    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {\n      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }\n    local_24 = &DAT_00397f6c;\n                    \n    FUN_0026adc0(&local_24,uVar11 * 2);\n    uVar4 = *(uint *)(param_5 + 8);\n    puVar12 = &local_20;\n    do {\n      switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    } while (puVar12 != local_1c);\n    if (local_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    if (local_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }\n    if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }\n    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);\n    local_3c = CONCAT31(local_3c._1_3_,local_3d);\n    if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n    if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }\n  }" ({ "{") (expression_statement "local_28 = &DAT_00397f6c;" (assignment_expression "local_28 = &DAT_00397f6c" (identifier "local_28") (= "=") (pointer_expression "&DAT_00397f6c" (& "&") (identifier "DAT_00397f6c"))) (; ";")) (expression_statement "FUN_0026adc0(&local_28,iVar6 * 2);" (call_expression "FUN_0026adc0(&local_28,iVar6 * 2)" (identifier "FUN_0026adc0") (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 *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar9 + 0x34)" (* "*") (cast_expression "(int *)(iVar9 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x34)" (( "(") (binary_expression "iVar9 + 0x34" (identifier "iVar9") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "local_58 = iVar6 - iVar7;" (assignment_expression "local_58 = iVar6 - iVar7" (identifier "local_58") (= "=") (binary_expression "iVar6 - iVar7" (identifier "iVar6") (- "-") (identifier "iVar7"))) (; ";")) (if_statement "if (0 < (int)local_58) {\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" (if "if") (parenthesized_expression "(0 < (int)local_58)" (( "(") (binary_expression "0 < (int)local_58" (number_literal "0") (< "<") (cast_expression "(int)local_58" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_58"))) () ")")) (compound_statement "{\n      if (iVar7 < 0) {\n        local_58 = iVar6;\n      }\n      if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }\n      iVar7 = *(int *)(iVar9 + 0x34);\n    }" ({ "{") (if_statement "if (iVar7 < 0) {\n        local_58 = iVar6;\n      }" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        local_58 = iVar6;\n      }" ({ "{") (expression_statement "local_58 = iVar6;" (assignment_expression "local_58 = iVar6" (identifier "local_58") (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar9 + 0xc) == 0) {\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }\n      else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0xc) == 0" (pointer_expression "*(int *)(iVar9 + 0xc)" (* "*") (cast_expression "(int *)(iVar9 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0xc)" (( "(") (binary_expression "iVar9 + 0xc" (identifier "iVar9") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0026a7c0(&local_28,piVar10,local_58);\n      }" ({ "{") (expression_statement "FUN_0026a7c0(&local_28,piVar10,local_58);" (call_expression "FUN_0026a7c0(&local_28,piVar10,local_58)" (identifier "FUN_0026a7c0") (argument_list "(&local_28,piVar10,local_58)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "piVar10") (, ",") (identifier "local_58") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" (else "else") (compound_statement "{\n        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);\n        uVar1 = *(undefined4 *)(iVar9 + 0xc);\n        uVar2 = *(undefined4 *)(iVar9 + 8);\n        uVar3 = *(undefined4 *)(iVar9 + 0x18);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);\n        if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }\n        uVar11 = *(uint *)(local_28 + -0xc);\n        uVar8 = iVar7 - (int)local_28 >> 2;\n        if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }\n        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);\n      }" ({ "{") (expression_statement "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);" (call_expression "FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0)" (identifier "FUN_0026a4d0") (argument_list "(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 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_58 * 2" (identifier "local_58") (* "*") (number_literal "2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar1 = *(undefined4 *)(iVar9 + 0xc)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0xc)" (( "(") (binary_expression "iVar9 + 0xc" (identifier "iVar9") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar2 = *(undefined4 *)(iVar9 + 8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 8)" (( "(") (binary_expression "iVar9 + 8" (identifier "iVar9") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar9 + 0x18);" (assignment_expression "uVar3 = *(undefined4 *)(iVar9 + 0x18)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x18)" (( "(") (binary_expression "iVar9 + 0x18" (identifier "iVar9") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" (if "if") (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" (( "(") (binary_expression "-1 < *(int *)(local_28 + -4)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(local_28 + -4)" (* "*") (cast_expression "(int *)(local_28 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + -4)" (( "(") (binary_expression "local_28 + -4" (identifier "local_28") (+ "+") (number_literal "-4")) () ")"))))) () ")")) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" ({ "{") (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" (identifier "FUN_0026a110") (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);" (assignment_expression "iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" (identifier "iVar7") (= "=") (call_expression "FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" (identifier "FUN_0023e270") (argument_list "(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58)" (( "(") (identifier "local_28") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") (, ",") (identifier "piVar10") (, ",") (binary_expression "piVar10 + local_58" (identifier "piVar10") (+ "+") (identifier "local_58")) () ")")))) (; ";")) (if_statement "if (-1 < *(int *)(local_28 + -4)) {\n          FUN_0026a110(&local_28);\n        }" (if "if") (parenthesized_expression "(-1 < *(int *)(local_28 + -4))" (( "(") (binary_expression "-1 < *(int *)(local_28 + -4)" (number_literal "-1") (< "<") (pointer_expression "*(int *)(local_28 + -4)" (* "*") (cast_expression "(int *)(local_28 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + -4)" (( "(") (binary_expression "local_28 + -4" (identifier "local_28") (+ "+") (number_literal "-4")) () ")"))))) () ")")) (compound_statement "{\n          FUN_0026a110(&local_28);\n        }" ({ "{") (expression_statement "FUN_0026a110(&local_28);" (call_expression "FUN_0026a110(&local_28)" (identifier "FUN_0026a110") (argument_list "(&local_28)" (( "(") (pointer_expression "&local_28" (& "&") (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")) () ")"))))) (; ";")) (expression_statement "uVar8 = iVar7 - (int)local_28 >> 2;" (assignment_expression "uVar8 = iVar7 - (int)local_28 >> 2" (identifier "uVar8") (= "=") (binary_expression "iVar7 - (int)local_28 >> 2" (binary_expression "iVar7 - (int)local_28" (identifier "iVar7") (- "-") (cast_expression "(int)local_28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_28"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (uVar11 < uVar8) {\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" (if "if") (parenthesized_expression "(uVar11 < uVar8)" (( "(") (binary_expression "uVar11 < uVar8" (identifier "uVar11") (< "<") (identifier "uVar8")) () ")")) (compound_statement "{\n                    \n          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);\n        }" ({ "{") (expression_statement "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11);" (call_expression "FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,uVar11)" (identifier "FUN_0022c840") (argument_list "("%s: __pos (which is %zu) > this->size() (which is %zu)",\n                       "basic_string::erase",uVar8,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 "uVar8") (, ",") (identifier "uVar11") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);" (call_expression "FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0)" (identifier "FUN_00269ee0") (argument_list "(&local_28,uVar8,uVar11 - uVar8,0)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "uVar8") (, ",") (binary_expression "uVar11 - uVar8" (identifier "uVar11") (- "-") (identifier "uVar8")) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar7 = *(int *)(iVar9 + 0x34);" (assignment_expression "iVar7 = *(int *)(iVar9 + 0x34)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(iVar9 + 0x34)" (* "*") (cast_expression "(int *)(iVar9 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x34)" (( "(") (binary_expression "iVar9 + 0x34" (identifier "iVar9") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (0 < iVar7) {\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n                    \n      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));\n      if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }\n    }" ({ "{") (expression_statement "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));" (call_expression "FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14))" (identifier "FUN_0026b400") (argument_list "(&local_28,*(undefined4 *)(iVar9 + 0x14))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "*(undefined4 *)(iVar9 + 0x14)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")")))) () ")"))) (; ";")) (if_statement "if ((int)local_58 < 0) {\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }\n      else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" (if "if") (parenthesized_expression "((int)local_58 < 0)" (( "(") (binary_expression "(int)local_58 < 0" (cast_expression "(int)local_58" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_58")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));\n        FUN_0026b0d0(&local_28,piVar10,iVar6);\n      }" ({ "{") (expression_statement "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));" (call_expression "FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" (identifier "FUN_0026b2a0") (argument_list "(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (unary_expression "-local_58" (- "-") (identifier "local_58")) (, ",") (pointer_expression "*(undefined4 *)(iVar9 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x44)" (( "(") (binary_expression "iVar9 + 0x44" (identifier "iVar9") (+ "+") (number_literal "0x44")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0026b0d0(&local_28,piVar10,iVar6);" (call_expression "FUN_0026b0d0(&local_28,piVar10,iVar6)" (identifier "FUN_0026b0d0") (argument_list "(&local_28,piVar10,iVar6)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "piVar10") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" (else "else") (compound_statement "{\n        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));\n      }" ({ "{") (expression_statement "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));" (call_expression "FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" (identifier "FUN_0026b0d0") (argument_list "(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34))" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (binary_expression "piVar10 + local_58" (identifier "piVar10") (+ "+") (identifier "local_58")) (, ",") (pointer_expression "*(undefined4 *)(iVar9 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x34)" (( "(") (binary_expression "iVar9 + 0x34" (identifier "iVar9") (+ "+") (number_literal "0x34")) () ")")))) () ")"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;" (assignment_expression "uVar8 = *(uint *)(param_5 + 0xc) & 0xb0" (identifier "uVar8") (= "=") (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 "uVar11 = local_4c + *(int *)(local_28 + -0xc);" (assignment_expression "uVar11 = local_4c + *(int *)(local_28 + -0xc)" (identifier "uVar11") (= "=") (binary_expression "local_4c + *(int *)(local_28 + -0xc)" (identifier "local_4c") (+ "+") (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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\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      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);\n    }" ({ "{") (expression_statement "uVar11 = uVar11 + *(int *)(iVar9 + 0x20);" (assignment_expression "uVar11 = uVar11 + *(int *)(iVar9 + 0x20)" (identifier "uVar11") (= "=") (binary_expression "uVar11 + *(int *)(iVar9 + 0x20)" (identifier "uVar11") (+ "+") (pointer_expression "*(int *)(iVar9 + 0x20)" (* "*") (cast_expression "(int *)(iVar9 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x20)" (( "(") (binary_expression "iVar9 + 0x20" (identifier "iVar9") (+ "+") (number_literal "0x20")) () ")")))))) (; ";")) (} "}"))) (expression_statement "local_24 = &DAT_00397f6c;" (assignment_expression "local_24 = &DAT_00397f6c" (identifier "local_24") (= "=") (pointer_expression "&DAT_00397f6c" (& "&") (identifier "DAT_00397f6c"))) (; ";")) (expression_statement "FUN_0026adc0(&local_24,uVar11 * 2);" (call_expression "FUN_0026adc0(&local_24,uVar11 * 2)" (identifier "FUN_0026adc0") (argument_list "(&local_24,uVar11 * 2)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2")) () ")"))) (; ";")) (expression_statement "uVar4 = *(uint *)(param_5 + 8);" (assignment_expression "uVar4 = *(uint *)(param_5 + 8)" (identifier "uVar4") (= "=") (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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }\n      puVar12 = (undefined4 *)((int)puVar12 + 1);\n    }" ({ "{") (switch_statement "switch(*(undefined1 *)puVar12) {\n      case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&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 (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;\n      case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;\n      case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;\n      case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;\n      case 4:\n        FUN_0026aee0(&local_24,&local_28);\n      }" ({ "{") (case_statement "case 0:\n        if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }\n        break;" (case "case") (number_literal "0") (: ":") (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) {\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" (if "if") (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" (( "(") (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" (identifier "uVar8") (== "==") (number_literal "0x10")) (&& "&&") (binary_expression "uVar11 < uVar4" (identifier "uVar11") (< "<") (identifier "uVar4"))) () ")")) (compound_statement "{\ncode_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);\n        }" ({ "{") (labeled_statement "code_r0x0023ee2a:\n          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" (statement_identifier "code_r0x0023ee2a") (: ":") (expression_statement "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6)" (identifier "FUN_0026b2a0") (argument_list "(&local_24,uVar4 - uVar11,param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar4 - uVar11" (identifier "uVar4") (- "-") (identifier "uVar11")) (, ",") (identifier "param_6") () ")"))) (; ";"))) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;\n        FUN_0026b400(&local_24,param_6);\n        break;" (case "case") (number_literal "1") (: ":") (if_statement "if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;" (if "if") (parenthesized_expression "(uVar8 == 0x10 && uVar11 < uVar4)" (( "(") (binary_expression "uVar8 == 0x10 && uVar11 < uVar4" (binary_expression "uVar8 == 0x10" (identifier "uVar8") (== "==") (number_literal "0x10")) (&& "&&") (binary_expression "uVar11 < uVar4" (identifier "uVar11") (< "<") (identifier "uVar4"))) () ")")) (goto_statement "goto code_r0x0023ee2a;" (goto "goto") (statement_identifier "code_r0x0023ee2a") (; ";"))) (expression_statement "FUN_0026b400(&local_24,param_6);" (call_expression "FUN_0026b400(&local_24,param_6)" (identifier "FUN_0026b400") (argument_list "(&local_24,param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "param_6") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }\n        break;" (case "case") (number_literal "2") (: ":") (if_statement "if ((*(byte *)(param_5 + 0xd) & 2) != 0) {\n          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\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_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));\n        }" ({ "{") (expression_statement "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));" (call_expression "FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" (identifier "FUN_0026b0d0") (argument_list "(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20))" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "*(undefined4 *)(iVar9 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x1c)" (( "(") (binary_expression "iVar9 + 0x1c" (identifier "iVar9") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x20)" (( "(") (binary_expression "iVar9 + 0x20" (identifier "iVar9") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n        if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }\n        break;" (case "case") (number_literal "3") (: ":") (if_statement "if (local_4c != 0) {\n          FUN_0026b400(&local_24,*local_60);\n        }" (if "if") (parenthesized_expression "(local_4c != 0)" (( "(") (binary_expression "local_4c != 0" (identifier "local_4c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_0026b400(&local_24,*local_60);\n        }" ({ "{") (expression_statement "FUN_0026b400(&local_24,*local_60);" (call_expression "FUN_0026b400(&local_24,*local_60)" (identifier "FUN_0026b400") (argument_list "(&local_24,*local_60)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (pointer_expression "*local_60" (* "*") (identifier "local_60")) () ")"))) (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:\n        FUN_0026aee0(&local_24,&local_28);" (case "case") (number_literal "4") (: ":") (expression_statement "FUN_0026aee0(&local_24,&local_28);" (call_expression "FUN_0026aee0(&local_24,&local_28)" (identifier "FUN_0026aee0") (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_4c < 2) {\n      local_58 = *(uint *)(local_24 + -0xc);\n    }\n    else {\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" (if "if") (parenthesized_expression "(local_4c < 2)" (( "(") (binary_expression "local_4c < 2" (identifier "local_4c") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" ({ "{") (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(uint *)(local_24 + -0xc)" (identifier "local_58") (= "=") (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_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" (else "else") (compound_statement "{\n      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);\n      local_58 = *(uint *)(local_24 + -0xc);\n    }" ({ "{") (expression_statement "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);" (call_expression "FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1)" (identifier "FUN_0026b0d0") (argument_list "(&local_24,local_60 + 1,local_4c - 1)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "local_60 + 1" (identifier "local_60") (+ "+") (number_literal "1")) (, ",") (binary_expression "local_4c - 1" (identifier "local_4c") (- "-") (number_literal "1")) () ")"))) (; ";")) (expression_statement "local_58 = *(uint *)(local_24 + -0xc);" (assignment_expression "local_58 = *(uint *)(local_24 + -0xc)" (identifier "local_58") (= "=") (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_58 < uVar4) {\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" (if "if") (parenthesized_expression "(local_58 < uVar4)" (( "(") (binary_expression "local_58 < uVar4" (identifier "local_58") (< "<") (identifier "uVar4")) () ")")) (compound_statement "{\n      if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n    }" ({ "{") (if_statement "if (uVar8 == 0x20) {\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }\n      else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" (if "if") (parenthesized_expression "(uVar8 == 0x20)" (( "(") (binary_expression "uVar8 == 0x20" (identifier "uVar8") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n                    \n        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" ({ "{") (expression_statement "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);" (call_expression "FUN_0026b2a0(&local_24,uVar4 - local_58,param_6)" (identifier "FUN_0026b2a0") (argument_list "(&local_24,uVar4 - local_58,param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "uVar4 - local_58" (identifier "uVar4") (- "-") (identifier "local_58")) (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" (identifier "local_58") (= "=") (identifier "uVar4")) (; ";")) (} "}")) (else_clause "else {\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" (else "else") (compound_statement "{\n        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);\n        local_58 = uVar4;\n      }" ({ "{") (expression_statement "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);" (call_expression "FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6)" (identifier "FUN_0026a4d0") (argument_list "(&local_24,0,0,uVar4 - local_58,param_6)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (binary_expression "uVar4 - local_58" (identifier "uVar4") (- "-") (identifier "local_58")) (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "local_58 = uVar4;" (assignment_expression "local_58 = uVar4" (identifier "local_58") (= "=") (identifier "uVar4")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_3d == '\0') {\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" (if "if") (parenthesized_expression "(local_3d == '\0')" (( "(") (binary_expression "local_3d == '\0'" (identifier "local_3d") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);\n      local_3d = uVar11 != local_58;\n    }" ({ "{") (expression_statement "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);" (assignment_expression "uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" (identifier "uVar11") (= "=") (call_expression "(**(code **)(*param_3 + 0x30))(param_3,local_24,local_58)" (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_58)" (( "(") (identifier "param_3") (, ",") (identifier "local_24") (, ",") (identifier "local_58") () ")")))) (; ";")) (expression_statement "local_3d = uVar11 != local_58;" (assignment_expression "local_3d = uVar11 != local_58" (identifier "local_3d") (= "=") (binary_expression "uVar11 != local_58" (identifier "uVar11") (!= "!=") (identifier "local_58"))) (; ";")) (} "}"))) (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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" (identifier "local_3c") (= "=") (call_expression "CONCAT31(local_3c._1_3_,local_3d)" (identifier "CONCAT31") (argument_list "(local_3c._1_3_,local_3d)" (( "(") (field_expression "local_3c._1_3_" (identifier "local_3c") (. ".") (field_identifier "_1_3_")) (, ",") (identifier "local_3d") () ")")))) (; ";")) (if_statement "if (local_24 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" (if "if") (parenthesized_expression "(local_24 != &DAT_00397f6c)" (( "(") (binary_expression "local_24 != &DAT_00397f6c" (identifier "local_24") (!= "!=") (pointer_expression "&DAT_00397f6c" (& "&") (identifier "DAT_00397f6c"))) () ")")) (compound_statement "{\n      FUN_002395a0();\n    }" ({ "{") (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" (identifier "FUN_002395a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_28 != &DAT_00397f6c) {\n      FUN_002395a0();\n    }" (if "if") (parenthesized_expression "(local_28 != &DAT_00397f6c)" (( "(") (binary_expression "local_28 != &DAT_00397f6c" (identifier "local_28") (!= "!=") (pointer_expression "&DAT_00397f6c" (& "&") (identifier "DAT_00397f6c"))) () ")")) (compound_statement "{\n      FUN_002395a0();\n    }" ({ "{") (expression_statement "FUN_002395a0();" (call_expression "FUN_002395a0()" (identifier "FUN_002395a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (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_3d);" (assignment_expression "local_3c = CONCAT31(local_3c._1_3_,local_3d)" (identifier "local_3c") (= "=") (call_expression "CONCAT31(local_3c._1_3_,local_3d)" (identifier "CONCAT31") (argument_list "(local_3c._1_3_,local_3d)" (( "(") (field_expression "local_3c._1_3_" (identifier "local_3c") (. ".") (field_identifier "_1_3_")) (, ",") (identifier "local_3d") () ")")))) (; ";")) (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.cx replaced with injection: get_pc_thunk_cx */
/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::money_put<wchar_t,
   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_insert<false>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::ios_base&, wchar_t, std::wstring const&) const */

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

{
  int *piVar1;
  char *pcVar2;
  type_1 var_23;
  type_2 var_29;
  type_3 *pcVar5;
  type_2 var_6;
  int var_14;
  type_1 *var_12;
  type_1 var_24;
  var_1<type_1,false> *var_9;
  int var_7;
  type_1 *var_13;
  type_2 var_28;
  type_4 *var_30;
  type_1 *var_33;
  type_2 var_18;
  type_2 var_27;
  char var_34;
  type_4 local_3c;
  type_1 *var_37;
  type_5 *var_32;
  type_4 local_20;
  type_4 var_31 [3];
  
  local_3c = param_4;
  var_34 = (char)param_4;
  pcVar5 = var_2<var_3::type_3<type_1>>((type_6 *)(var_4 + 0x6c));
  var_6 = type_6::id::var_5((type_7 *)PTR_id_0038ed94);
  piVar1 = (int *)(*(int *)(*(int *)(var_4 + 0x6c) + 0xc) + var_6 * 4);
  var_7 = *piVar1;
  if (var_7 == 0) {
                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */
    var_9 = (var_1<type_1,false> *)var_8(0x70);
    *(type_4 *)(var_9 + 4) = 0;
    *(type_4 *)(var_9 + 8) = 0;
    *(type_4 *)(var_9 + 0xc) = 0;
    var_9[0x10] = (var_1<type_1,false>)0x0;
    *(type_5 ***)var_9 = &PTR____moneypunct_cache_0038d7b8;
    *(type_4 *)(var_9 + 0x14) = 0;
    *(type_4 *)(var_9 + 0x18) = 0;
    *(type_4 *)(var_9 + 0x1c) = 0;
    *(type_4 *)(var_9 + 0x20) = 0;
    *(type_4 *)(var_9 + 0x24) = 0;
    *(type_4 *)(var_9 + 0x28) = 0;
    *(type_4 *)(var_9 + 0x2c) = 0;
    *(type_4 *)(var_9 + 0x30) = 0;
    *(type_4 *)(var_9 + 0x34) = 0;
    *(type_4 *)(var_9 + 0x38) = 0;
    *(type_4 *)(var_9 + 0x3c) = 0;
    var_9[0x6c] = (var_1<type_1,false>)0x0;
                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */
    var_1<type_1,false>::var_10(var_9,(type_6 *)(var_4 + 0x6c));
    locale::_Impl::var_11(*(type_8 **)(var_4 + 0x6c),(type_9 *)var_9,var_6);
    var_7 = *piVar1;
  }
  var_12 = (type_1 *)*param_7;
  var_13 = var_12;
  if (*var_12 == *(type_1 *)(var_7 + 0x40)) {
    local_20 = *(type_4 *)(var_7 + 0x3c);
    var_33 = *(type_1 **)(var_7 + 0x2c);
    var_27 = *(type_2 *)(var_7 + 0x30);
    if (var_12[-3] != L'\0') {
      var_13 = var_12 + 1;
    }
  }
  else {
    local_20 = *(type_4 *)(var_7 + 0x38);
    var_33 = *(type_1 **)(var_7 + 0x24);
    var_27 = *(type_2 *)(var_7 + 0x28);
  }
  var_14 = (**(type_10 **)(*(int *)pcVar5 + 0x14))(pcVar5,0x800,var_13,var_13 + var_12[-3]);
  var_6 = var_14 - (int)var_13 >> 2;
  if (var_6 != 0) {
    var_37 = (type_1 *)&DAT_00397f6c;
                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */
    std::wstring::var_15((type_11 *)&var_37,var_6 * 2);
    var_14 = *(int *)(var_7 + 0x34);
    var_18 = var_6 - var_14;
    if (0 < (int)var_18) {
      if (var_14 < 0) {
        var_18 = var_6;
      }
      if (*(int *)(var_7 + 0xc) == 0) {
                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */
        std::wstring::var_16((type_11 *)&var_37,var_13,var_18);
      }
      else {
        std::wstring::var_17((type_11 *)&var_37,0,var_37[-3],var_18 * 2,L'\0');
        var_28 = *(type_2 *)(var_7 + 0xc);
        pcVar2 = *(char **)(var_7 + 8);
        var_23 = *(type_1 *)(var_7 + 0x18);
        if (L'\xffffffff' < var_37[-1]) {
          std::wstring::var_19((type_11 *)&var_37);
        }
        var_12 = var_20<type_1>(var_37,var_23,pcVar2,var_28,var_13,var_13 + var_18);
        if (L'\xffffffff' < var_37[-1]) {
          std::wstring::var_19((type_11 *)&var_37);
        }
        var_23 = var_37[-3];
        var_24 = (int)var_12 - (int)var_37 >> 2;
        if ((type_2)var_23 < (type_2)var_24) {
                    /* WARNING: Subroutine does not return */
          var_21
                    ("%s: __pos (which is %zu) > this->size() (which is %zu)","basic_string::erase",
                     var_24,var_23);
        }
        std::wstring::var_22((type_11 *)&var_37,var_24,var_23 - var_24,0);
      }
      var_14 = *(int *)(var_7 + 0x34);
    }
    if (0 < var_14) {
                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */
      std::wstring::var_25((type_11 *)&var_37,*(type_1 *)(var_7 + 0x14));
      if ((int)var_18 < 0) {
                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */
        std::wstring::var_26((type_11 *)&var_37,-var_18,*(type_1 *)(var_7 + 0x44));
        std::wstring::var_26((type_11 *)&var_37,var_13,var_6);
      }
      else {
        std::wstring::var_26((type_11 *)&var_37,var_13 + var_18,*(type_2 *)(var_7 + 0x34));
      }
    }
    var_28 = *(type_2 *)(var_4 + 0xc) & 0xb0;
    var_6 = var_27 + var_37[-3];
    if ((*(type_2 *)(var_4 + 0xc) & 0x200) != 0) {
      var_6 = var_6 + *(int *)(var_7 + 0x20);
    }
    var_32 = &DAT_00397f6c;
                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */
    std::wstring::var_15((type_11 *)&var_32,var_6 * 2);
    var_29 = *(type_2 *)(var_4 + 8);
    var_30 = &local_20;
    do {
      switch(*(type_12 *)var_30) {
      case 0:
        if (var_28 == 0x10 && var_6 < var_29) {
LAB_0023ee2a:
          std::wstring::var_26((type_11 *)&var_32,var_29 - var_6,param_6);
        }
        break;
      case 1:
        if (var_28 == 0x10 && var_6 < var_29) goto LAB_0023ee2a;
                    /* try { // try from 0023efac to 0023efb0 has its CatchHandler @ 0023f145 */
        std::wstring::var_25((type_11 *)&var_32,param_6);
        break;
      case 2:
        if ((*(type_13 *)(var_4 + 0xd) & 2) != 0) {
          std::wstring::var_26
                    ((type_11 *)&var_32,*(type_1 **)(var_7 + 0x1c),*(type_2 *)(var_7 + 0x20));
        }
        break;
      case 3:
        if (var_27 != 0) {
          std::wstring::var_25((type_11 *)&var_32,*var_33);
        }
        break;
      case 4:
        std::wstring::var_26((type_11 *)&var_32,(type_11 *)&var_37);
      }
      var_30 = (type_4 *)((int)var_30 + 1);
    } while (var_30 != var_31);
    if (var_27 < 2) {
      var_18 = *(type_2 *)(var_32 + -0xc);
    }
    else {
      std::wstring::var_26((type_11 *)&var_32,var_33 + 1,var_27 - 1);
      var_18 = *(type_2 *)(var_32 + -0xc);
    }
    if (var_18 < var_29) {
      if (var_28 == 0x20) {
                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */
        std::wstring::var_26((type_11 *)&var_32,var_29 - var_18,param_6);
        var_18 = var_29;
      }
      else {
        std::wstring::var_17((type_11 *)&var_32,0,0,var_29 - var_18,param_6);
        var_18 = var_29;
      }
    }
    if (var_34 == '\0') {
      var_6 = (**(type_10 **)(*param_3 + 0x30))(param_3,var_32,var_18);
      var_34 = var_6 != var_18;
    }
    local_3c._1_3_ = (undefined3)((type_2)param_4 >> 8);
    local_3c = var_35(local_3c._1_3_,var_34);
    if ((type_14 *)(var_32 + -0xc) != (type_14 *)&var_3::type_11::_Rep::_S_empty_rep_storage) {
      std::wstring::_Rep::var_36((type_14 *)(var_32 + -0xc));
    }
    if ((type_14 *)(var_37 + -3) != (type_14 *)&var_3::type_11::_Rep::_S_empty_rep_storage) {
      std::wstring::_Rep::var_36((type_14 *)(var_37 + -3));
    }
  }
  *(type_4 *)(var_4 + 8) = 0;
  local_3c = var_35(local_3c._1_3_,var_34);
  *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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (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))) (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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: (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: (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: (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: (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 (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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))))))) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (type_identifier) 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: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (identifier) (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (type_identifier) 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: (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))))))) consequence: (compound_statement (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) (identifier) (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) 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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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)) (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: (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)) (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 (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)) (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)) (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)) (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)) (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)) (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))))))) (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.cx replaced with injection: get_pc_thunk_cx */

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

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  uint uVar4;
  int *piVar5;
  int iVar6;
  int iVar7;
  uint uVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  undefined4 *puVar12;
  undefined4 *local_60;
  uint local_58;
  uint local_4c;
  char local_3d;
  undefined4 local_3c;
  undefined *local_28;
  undefined *local_24;
  undefined4 local_20;
  undefined4 local_1c [3];
  
  local_3c = param_4;
  local_3d = (char)param_4;
  piVar5 = (int *)FUN_0023c1d0(param_5 + 0x6c);
  iVar6 = FUN_001e9740(PTR_DAT_0038ed94);
  piVar10 = (int *)(*(int *)(*(int *)(param_5 + 0x6c) + 0xc) + iVar6 * 4);
  iVar9 = *piVar10;
  if (iVar9 == 0) {
                    /* try { // try from 0023efc8 to 0023efcc has its CatchHandler @ 0023f181 */
    puVar12 = (undefined4 *)FUN_001e5200(0x70);
    puVar12[1] = 0;
    puVar12[2] = 0;
    puVar12[3] = 0;
    *(undefined1 *)(puVar12 + 4) = 0;
    *puVar12 = &PTR_FUN_0038d7b8;
    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;
    puVar12[0xe] = 0;
    puVar12[0xf] = 0;
    *(undefined1 *)(puVar12 + 0x1b) = 0;
                    /* try { // try from 0023f04f to 0023f053 has its CatchHandler @ 0023f17f */
    FUN_0023d400(puVar12,param_5 + 0x6c);
    FUN_001e9c50(*(undefined4 *)(param_5 + 0x6c),puVar12,iVar6);
    iVar9 = *piVar10;
  }
  param_7 = (int *)*param_7;
  piVar10 = param_7;
  if (*param_7 == *(int *)(iVar9 + 0x40)) {
    local_20 = *(undefined4 *)(iVar9 + 0x3c);
    local_60 = *(undefined4 **)(iVar9 + 0x2c);
    local_4c = *(uint *)(iVar9 + 0x30);
    if (param_7[-3] != 0) {
      piVar10 = param_7 + 1;
    }
  }
  else {
    local_20 = *(undefined4 *)(iVar9 + 0x38);
    local_60 = *(undefined4 **)(iVar9 + 0x24);
    local_4c = *(uint *)(iVar9 + 0x28);
  }
  iVar6 = (**(code **)(*piVar5 + 0x14))(piVar5,0x800,piVar10,piVar10 + param_7[-3]);
  iVar6 = iVar6 - (int)piVar10 >> 2;
  if (iVar6 != 0) {
    local_28 = &DAT_00397f6c;
                    /* try { // try from 0023ec75 to 0023ed42 has its CatchHandler @ 0023f149 */
    FUN_0026adc0(&local_28,iVar6 * 2);
    iVar7 = *(int *)(iVar9 + 0x34);
    local_58 = iVar6 - iVar7;
    if (0 < (int)local_58) {
      if (iVar7 < 0) {
        local_58 = iVar6;
      }
      if (*(int *)(iVar9 + 0xc) == 0) {
                    /* try { // try from 0023f085 to 0023f089 has its CatchHandler @ 0023f149 */
        FUN_0026a7c0(&local_28,piVar10,local_58);
      }
      else {
        FUN_0026a4d0(&local_28,0,*(undefined4 *)(local_28 + -0xc),local_58 * 2,0);
        uVar1 = *(undefined4 *)(iVar9 + 0xc);
        uVar2 = *(undefined4 *)(iVar9 + 8);
        uVar3 = *(undefined4 *)(iVar9 + 0x18);
        if (-1 < *(int *)(local_28 + -4)) {
          FUN_0026a110(&local_28);
        }
        iVar7 = FUN_0023e270(local_28,uVar3,uVar2,uVar1,piVar10,piVar10 + local_58);
        if (-1 < *(int *)(local_28 + -4)) {
          FUN_0026a110(&local_28);
        }
        uVar11 = *(uint *)(local_28 + -0xc);
        uVar8 = iVar7 - (int)local_28 >> 2;
        if (uVar11 < uVar8) {
                    /* WARNING: Subroutine does not return */
          FUN_0022c840("%s: __pos (which is %zu) > this->size() (which is %zu)",
                       "basic_string::erase",uVar8,uVar11);
        }
        FUN_00269ee0(&local_28,uVar8,uVar11 - uVar8,0);
      }
      iVar7 = *(int *)(iVar9 + 0x34);
    }
    if (0 < iVar7) {
                    /* try { // try from 0023ef6c to 0023ef93 has its CatchHandler @ 0023f149 */
      FUN_0026b400(&local_28,*(undefined4 *)(iVar9 + 0x14));
      if ((int)local_58 < 0) {
                    /* try { // try from 0023f0c2 to 0023f144 has its CatchHandler @ 0023f149 */
        FUN_0026b2a0(&local_28,-local_58,*(undefined4 *)(iVar9 + 0x44));
        FUN_0026b0d0(&local_28,piVar10,iVar6);
      }
      else {
        FUN_0026b0d0(&local_28,piVar10 + local_58,*(undefined4 *)(iVar9 + 0x34));
      }
    }
    uVar8 = *(uint *)(param_5 + 0xc) & 0xb0;
    uVar11 = local_4c + *(int *)(local_28 + -0xc);
    if ((*(uint *)(param_5 + 0xc) & 0x200) != 0) {
      uVar11 = uVar11 + *(int *)(iVar9 + 0x20);
    }
    local_24 = &DAT_00397f6c;
                    /* try { // try from 0023ed92 to 0023ef48 has its CatchHandler @ 0023f145 */
    FUN_0026adc0(&local_24,uVar11 * 2);
    uVar4 = *(uint *)(param_5 + 8);
    puVar12 = &local_20;
    do {
      switch(*(undefined1 *)puVar12) {
      case 0:
        if (uVar8 == 0x10 && uVar11 < uVar4) {
code_r0x0023ee2a:
          FUN_0026b2a0(&local_24,uVar4 - uVar11,param_6);
        }
        break;
      case 1:
        if (uVar8 == 0x10 && uVar11 < uVar4) goto code_r0x0023ee2a;
        FUN_0026b400(&local_24,param_6);
        break;
      case 2:
        if ((*(byte *)(param_5 + 0xd) & 2) != 0) {
          FUN_0026b0d0(&local_24,*(undefined4 *)(iVar9 + 0x1c),*(undefined4 *)(iVar9 + 0x20));
        }
        break;
      case 3:
        if (local_4c != 0) {
          FUN_0026b400(&local_24,*local_60);
        }
        break;
      case 4:
        FUN_0026aee0(&local_24,&local_28);
      }
      puVar12 = (undefined4 *)((int)puVar12 + 1);
    } while (puVar12 != local_1c);
    if (local_4c < 2) {
      local_58 = *(uint *)(local_24 + -0xc);
    }
    else {
      FUN_0026b0d0(&local_24,local_60 + 1,local_4c - 1);
      local_58 = *(uint *)(local_24 + -0xc);
    }
    if (local_58 < uVar4) {
      if (uVar8 == 0x20) {
                    /* try { // try from 0023f09d to 0023f0a1 has its CatchHandler @ 0023f145 */
        FUN_0026b2a0(&local_24,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
      else {
        FUN_0026a4d0(&local_24,0,0,uVar4 - local_58,param_6);
        local_58 = uVar4;
      }
    }
    if (local_3d == '\0') {
      uVar11 = (**(code **)(*param_3 + 0x30))(param_3,local_24,local_58);
      local_3d = uVar11 != local_58;
    }
    local_3c._1_3_ = (undefined3)((uint)param_4 >> 8);
    local_3c = CONCAT31(local_3c._1_3_,local_3d);
    if (local_24 != &DAT_00397f6c) {
      FUN_002395a0();
    }
    if (local_28 != &DAT_00397f6c) {
      FUN_002395a0();
    }
  }
  *(undefined4 *)(param_5 + 8) = 0;
  local_3c = CONCAT31(local_3c._1_3_,local_3d);
  *param_1 = param_3;
  param_1[1] = local_3c;
  return;
}

