
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,
   std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long
   long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long long)
   const */

undefined4 *
std::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert_int<long_long>
          (undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6
          ,int param_7,uint param_8)

{
  uint uVar1;
  code *pcVar2;
  int iVar3;
  int iVar4;
  undefined1 *puVar5;
  undefined1 *puVar6;
  uint uVar7;
  int iVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  bool bVar11;
  bool bVar12;
  undefined1 *apuStackY_c0 [2];
  int aiStackY_b8 [2];
  int aiStackY_b0 [5];
  undefined1 auStackY_9c [14];
  undefined1 auStackY_8e [30];
  undefined4 uStackY_70;
  __use_cache<std::__numpunct_cache<char>> local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x199beb;
  uStackY_70 = 0x199c25;
  iVar4 = __use_cache<std::__numpunct_cache<char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))
  ;
  aiStackY_b0[0] = iVar4 + 0x26;
  uVar1 = *(uint *)(param_5 + 0xc);
  uVar7 = uVar1 & 0x4a;
  bVar11 = uVar7 != 0x40;
  bVar12 = uVar7 != 8;
  aiStackY_b8[0] = param_7;
  aiStackY_b8[1] = param_8;
  if (((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12)) {
    aiStackY_b8[0] = -param_7;
    aiStackY_b8[1] = -(param_8 + (param_7 != 0));
  }
  aiStackY_b0[2] = (int)(bVar11 && bVar12);
  apuStackY_c0[1] = &stack0xffffff98;
  apuStackY_c0[0] = (undefined1 *)0x199c95;
  aiStackY_b0[1] = uVar1;
  local_20[0] = __int_to_char<char,unsigned_long_long>();
  puVar9 = auStackY_9c;
  puVar10 = auStackY_9c;
  puVar6 = &stack0xffffff98 + -local_20[0];
  if (*(char *)(iVar4 + 0x10) == '\0') {
    if (bVar11 && bVar12) goto LAB_00199cb6;
LAB_00199dcc:
    puVar5 = puVar6;
    iVar8 = local_20[0];
    if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {
      if (uVar7 == 0x40) {
        iVar8 = local_20[0] + 1;
        puVar5 = puVar6 + -1;
        local_20[0] = iVar8;
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
      else {
        iVar8 = local_20[0] + 2;
        puVar5 = puVar6 + -2;
        local_20[0] = iVar8;
        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
    }
LAB_00199cca:
    iVar4 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar4 <= iVar8) goto LAB_00199cd4;
  }
  else {
    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStackY_9c + iVar8;
    puVar9 = auStackY_9c + iVar8;
    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;
    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;
    puVar6 = auStackY_8e + iVar8;
    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;
    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;
    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);
    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);
    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);
    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;
    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;
    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)
                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),
                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),
                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),
                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)
                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));
    if (!bVar11 || !bVar12) goto LAB_00199dcc;
LAB_00199cb6:
    puVar10 = puVar9;
    if ((int)param_8 < 0) {
      iVar8 = local_20[0] + 1;
      local_20[0] = iVar8;
      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);
      puVar5 = puVar6 + -1;
      goto LAB_00199cca;
    }
    puVar5 = puVar6;
    iVar8 = local_20[0];
    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;
    iVar8 = local_20[0] + 1;
    puVar5 = puVar6 + -1;
    local_20[0] = iVar8;
    *puVar5 = *(undefined1 *)(iVar4 + 0x27);
    iVar4 = *(int *)(param_5 + 8);
    if (iVar4 <= iVar8) goto LAB_00199cd4;
  }
  iVar3 = -(iVar4 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar3 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar3 + -0xc) = puVar5;
  *(undefined1 **)(puVar9 + iVar3 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar3 + -0x14) = param_5;
  *(int *)(puVar9 + iVar3 + -0x18) = iVar4;
  *(int *)(puVar9 + iVar3 + -0x1c) = (int)param_6;
  *(undefined4 *)(puVar9 + iVar3 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar3 + -0x24) = 0x199d63;
  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)
          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),
         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),
         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8));
  puVar5 = (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);
  iVar8 = local_20[0];
  puVar9 = puVar9 + iVar3;
LAB_00199cd4:
  *(undefined4 *)(param_5 + 8) = 0;
  if (param_4 == '\0') {
    iVar4 = *param_3;
    *(int *)(puVar9 + -8) = iVar8;
    *(undefined1 **)(puVar9 + -0xc) = puVar5;
    *(int **)(puVar9 + -0x10) = param_3;
    pcVar2 = *(code **)(iVar4 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;
    iVar4 = (*pcVar2)();
    if (iVar4 != iVar8) {
      param_4 = '\x01';
    }
  }
  *param_1 = param_3;
  *(char *)(param_1 + 1) = param_4;
  return param_1;
}



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

undefined4 *
FUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,
            undefined4 param_6,int param_7,uint param_8)

{
  code *pcVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  undefined1 *puVar5;
  int iVar6;
  undefined1 *puVar7;
  char cVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  int *apiStack_c0 [2];
  int aiStack_b8 [7];
  undefined1 auStack_9c [14];
  undefined1 auStack_8e [30];
  undefined4 uStack_70;
  undefined1 *puStack_6c;
  int local_68 [5];
  uint local_54;
  undefined4 local_50;
  undefined4 local_4c;
  int local_48;
  uint local_44;
  undefined **local_40;
  int *local_3c;
  char local_35;
  int local_34;
  uint local_30;
  undefined1 local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x199beb;
  local_40 = &__DT_PLTGOT;
  local_3c = param_3;
  local_30 = param_8;
  local_4c = param_4;
  local_50 = param_6;
  local_34 = param_7;
  local_68[0] = param_5 + 0x6c;
  puStack_6c = &local_21;
  uStack_70 = 0x199c25;
  iVar4 = FUN_001992c0();
  aiStack_b8[2] = iVar4 + 0x26;
  aiStack_b8[3] = *(uint *)(param_5 + 0xc);
  local_54 = aiStack_b8[3] & 0x4a;
  local_35 = local_54 != 0x40 && local_54 != 8;
  aiStack_b8[0] = local_34;
  aiStack_b8[1] = local_30;
  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&
     (local_54 != 0x40 && local_54 != 8)) {
    aiStack_b8[0] = -local_34;
    aiStack_b8[1] = -(local_30 + (local_34 != 0));
  }
  aiStack_b8[4] = (int)(byte)local_35;
  apiStack_c0[1] = local_68;
  apiStack_c0[0] = (int *)0x199c95;
  local_48 = aiStack_b8[2];
  local_44 = aiStack_b8[3];
  local_20[0] = FUN_00198f50();
  puVar9 = auStack_9c;
  puVar10 = auStack_9c;
  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);
  if (*(char *)(iVar4 + 0x10) == '\0') {
    if (local_35 != '\0') goto LAB_00199cb6;
LAB_00199dcc:
    puVar5 = puVar7;
    iVar6 = local_20[0];
    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {
      if (local_54 == 0x40) {
        iVar6 = local_20[0] + 1;
        puVar5 = puVar7 + -1;
        local_20[0] = iVar6;
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
      else {
        iVar6 = local_20[0] + 2;
        puVar5 = puVar7 + -2;
        local_20[0] = iVar6;
        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
    }
LAB_00199cca:
    iVar4 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar4 <= iVar6) goto LAB_00199cd4;
  }
  else {
    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStack_9c + iVar6;
    puVar9 = auStack_9c + iVar6;
    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;
    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;
    puVar7 = auStack_8e + iVar6;
    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;
    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;
    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);
    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);
    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);
    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;
    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;
    FUN_00197bb0();
    if (local_35 == '\0') goto LAB_00199dcc;
LAB_00199cb6:
    puVar10 = puVar9;
    if ((int)local_30 < 0) {
      iVar6 = local_20[0] + 1;
      local_20[0] = iVar6;
      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);
      puVar5 = puVar7 + -1;
      goto LAB_00199cca;
    }
    puVar5 = puVar7;
    iVar6 = local_20[0];
    if ((local_44 & 0x800) == 0) goto LAB_00199cca;
    iVar6 = local_20[0] + 1;
    puVar5 = puVar7 + -1;
    local_20[0] = iVar6;
    *puVar5 = *(undefined1 *)(iVar4 + 0x27);
    iVar4 = *(int *)(param_5 + 8);
    if (iVar4 <= iVar6) goto LAB_00199cd4;
  }
  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar2 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;
  iVar6 = (int)(char)local_50;
  *(undefined1 **)(puVar9 + iVar2 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar2 + -0x14) = param_5;
  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;
  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;
  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;
  FUN_00198e60();
  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  iVar6 = local_20[0];
  puVar9 = puVar9 + iVar2;
LAB_00199cd4:
  piVar3 = local_3c;
  *(undefined4 *)(param_5 + 8) = 0;
  cVar8 = (char)local_4c;
  if (cVar8 == '\0') {
    iVar4 = *local_3c;
    *(int *)(puVar9 + -8) = iVar6;
    *(undefined1 **)(puVar9 + -0xc) = puVar5;
    *(int **)(puVar9 + -0x10) = piVar3;
    pcVar1 = *(code **)(iVar4 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;
    iVar4 = (*pcVar1)();
    if (iVar4 != iVar6) {
      cVar8 = '\x01';
    }
  }
  *param_1 = local_3c;
  *(char *)(param_1 + 1) = cVar8;
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x168415
SUB ESP,0x54
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EBP + 0x24]
MOV dword ptr [EBP + -0x38],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [EBP + -0x2c],EDX
MOV dword ptr [EBP + -0x48],EAX
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + -0x3c],EBX
MOV dword ptr [EBP + -0x4c],EAX
MOV EAX,dword ptr [EBP + 0x20]
MOV dword ptr [EBP + -0x30],EAX
LEA EAX,[EDI + 0x6c]
PUSH EAX
LEA EAX,[EBP + -0x1d]
PUSH EAX
CALL 0x001992c0
SUB ESP,0x30
MOV ECX,dword ptr [EBP + -0x30]
LEA ESI,[EAX + 0x26]
MOV EDI,EAX
MOV dword ptr [EBP + -0x44],ESI
MOV ESI,dword ptr [EBP + 0x18]
MOV EBX,dword ptr [ESI + 0xc]
LEA ESI,[ESP + 0xf]
AND ESI,0xfffffff0
MOV dword ptr [EBP + -0x40],EBX
AND EBX,0x4a
CMP EBX,0x40
MOV dword ptr [EBP + -0x50],EBX
SETNZ DL
CMP EBX,0x8
MOV EBX,dword ptr [EBP + -0x2c]
SETNZ AL
AND EDX,EAX
MOV EAX,ECX
ADD ECX,-0x1
MOV byte ptr [EBP + -0x31],DL
MOV EDX,EBX
ADC EBX,-0x1
OR EBX,dword ptr [EBP + -0x2c]
JNS 0x00199c79
CMP byte ptr [EBP + -0x31],0x0
JZ 0x00199c79
NEG EAX
ADC EDX,0x0
NEG EDX
MOVZX ECX,byte ptr [EBP + -0x31]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x3c]
PUSH ECX
PUSH dword ptr [EBP + -0x40]
PUSH dword ptr [EBP + -0x44]
PUSH EDX
PUSH EAX
LEA EAX,[ESI + 0x28]
PUSH EAX
CALL 0x00198f50
ADD ESP,0x20
SUB ESI,EAX
CMP byte ptr [EDI + 0x10],0x0
MOV EBX,EAX
MOV dword ptr [EBP + -0x1c],EAX
LEA EAX,[ESI + 0x28]
JNZ 0x00199d88
CMP byte ptr [EBP + -0x31],0x0
JZ 0x00199dcc
MOV EDX,dword ptr [EBP + -0x2c]
TEST EDX,EDX
JS 0x00199d70
TEST dword ptr [EBP + -0x40],0x800
JNZ 0x00199d20
MOV EDI,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EDI + 0x8]
CMP EDX,EBX
JG 0x00199d39
MOV EDI,dword ptr [EBP + 0x18]
MOV dword ptr [EDI + 0x8],0x0
MOV EDI,dword ptr [EBP + -0x48]
MOV EDX,EDI
MOV ESI,EDI
TEST DL,DL
JNZ 0x00199d04
MOV EDI,dword ptr [EBP + -0x38]
SUB ESP,0x4
MOV EDX,dword ptr [EDI]
PUSH EBX
PUSH EAX
PUSH EDI
CALL dword ptr [EDX + 0x30]
ADD ESP,0x10
CMP EAX,EBX
MOV EAX,0x1
CMOVNZ ESI,EAX
MOV EAX,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [EBP + -0x38]
MOV ECX,EAX
MOV dword ptr [EAX],EDX
MOV EAX,ESI
MOV byte ptr [ECX + 0x4],AL
LEA ESP,[EBP + -0xc]
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOVZX EDX,byte ptr [EDI + 0x27]
MOV EDI,dword ptr [EBP + 0x18]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [EDI + 0x8]
CMP EDX,EBX
JLE 0x00199cd4
LEA ECX,[EDX + 0x1b]
MOV EBX,dword ptr [EBP + -0x3c]
AND ECX,0xfffffff0
SUB ESP,ECX
LEA ECX,[EBP + -0x1c]
LEA ESI,[ESP + 0xf]
SUB ESP,0x4
PUSH ECX
AND ESI,0xfffffff0
PUSH EAX
MOVSX EAX,byte ptr [EBP + -0x4c]
PUSH ESI
PUSH EDI
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + 0xc]
CALL 0x00198e60
MOV EBX,dword ptr [EBP + -0x1c]
ADD ESP,0x20
MOV EAX,ESI
JMP 0x00199cd4
MOVZX EDX,byte ptr [EDI + 0x26]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
JMP 0x00199cca
LEA EDX,[EBX + EBX*0x1 + 0x1d]
MOV EBX,dword ptr [EBP + -0x3c]
AND EDX,0xfffffff0
SUB ESP,EDX
LEA EDX,[EBP + -0x1c]
LEA ESI,[ESP + 0xf]
PUSH EDX
AND ESI,0xfffffff0
PUSH EAX
ADD ESI,0x2
PUSH ESI
PUSH dword ptr [EBP + 0x18]
MOVSX EAX,byte ptr [EDI + 0x25]
PUSH EAX
PUSH dword ptr [EDI + 0xc]
PUSH dword ptr [EDI + 0x8]
PUSH dword ptr [EBP + 0xc]
CALL 0x00197bb0
ADD ESP,0x20
CMP byte ptr [EBP + -0x31],0x0
MOV EBX,dword ptr [EBP + -0x1c]
MOV EAX,ESI
JNZ 0x00199cb6
TEST dword ptr [EBP + -0x40],0x200
JZ 0x00199cca
MOV EDX,dword ptr [EBP + -0x30]
MOV ECX,dword ptr [EBP + -0x2c]
MOV ESI,EDX
OR ESI,ECX
JZ 0x00199cca
CMP dword ptr [EBP + -0x50],0x40
JZ 0x00199e14
MOV EDX,dword ptr [EBP + -0x40]
ADD EBX,0x2
SUB EAX,0x2
SHR EDX,0xe
AND EDX,0x1
MOVZX EDX,byte ptr [EDI + EDX*0x1 + 0x28]
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX + 0x1],DL
MOVZX EDX,byte ptr [EDI + 0x2a]
MOV byte ptr [EAX],DL
JMP 0x00199cca
MOVZX EDX,byte ptr [EDI + 0x2a]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
JMP 0x00199cca
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" * (function_declarator "FUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" 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,uint param_8)" ( (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 identifier) , (parameter_declaration "uint param_8" type_identifier identifier) )))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int *apiStack_c0 [2];" primitive_type (pointer_declarator "*apiStack_c0 [2]" * (array_declarator "apiStack_c0 [2]" identifier [ number_literal ])) ;) (declaration "int aiStack_b8 [7];" primitive_type (array_declarator "aiStack_b8 [7]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [14];" type_identifier (array_declarator "auStack_9c [14]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_8e [30];" type_identifier (array_declarator "auStack_8e [30]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_70;" type_identifier identifier ;) (declaration "undefined1 *puStack_6c;" type_identifier (pointer_declarator "*puStack_6c" * identifier) ;) (declaration "int local_68 [5];" primitive_type (array_declarator "local_68 [5]" identifier [ number_literal ]) ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char local_35;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x199beb;" (assignment_expression "uStack_14 = 0x199beb" identifier = number_literal) ;) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" identifier = identifier) ;) (expression_statement "local_30 = param_8;" (assignment_expression "local_30 = param_8" identifier = identifier) ;) (expression_statement "local_4c = param_4;" (assignment_expression "local_4c = param_4" identifier = identifier) ;) (expression_statement "local_50 = param_6;" (assignment_expression "local_50 = param_6" identifier = identifier) ;) (expression_statement "local_34 = param_7;" (assignment_expression "local_34 = param_7" identifier = identifier) ;) (expression_statement "local_68[0] = param_5 + 0x6c;" (assignment_expression "local_68[0] = param_5 + 0x6c" (subscript_expression "local_68[0]" identifier [ number_literal ]) = (binary_expression "param_5 + 0x6c" identifier + number_literal)) ;) (expression_statement "puStack_6c = &local_21;" (assignment_expression "puStack_6c = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "uStack_70 = 0x199c25;" (assignment_expression "uStack_70 = 0x199c25" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_001992c0();" (assignment_expression "iVar4 = FUN_001992c0()" identifier = (call_expression "FUN_001992c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "aiStack_b8[2] = iVar4 + 0x26;" (assignment_expression "aiStack_b8[2] = iVar4 + 0x26" (subscript_expression "aiStack_b8[2]" identifier [ number_literal ]) = (binary_expression "iVar4 + 0x26" identifier + number_literal)) ;) (expression_statement "aiStack_b8[3] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_b8[3] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_b8[3]" identifier [ number_literal ]) = (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) ))))) ;) (expression_statement "local_54 = aiStack_b8[3] & 0x4a;" (assignment_expression "local_54 = aiStack_b8[3] & 0x4a" identifier = (binary_expression "aiStack_b8[3] & 0x4a" (subscript_expression "aiStack_b8[3]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "local_35 = local_54 != 0x40 && local_54 != 8;" (assignment_expression "local_35 = local_54 != 0x40 && local_54 != 8" identifier = (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" identifier != number_literal) && (binary_expression "local_54 != 8" identifier != number_literal))) ;) (expression_statement "aiStack_b8[0] = local_34;" (assignment_expression "aiStack_b8[0] = local_34" (subscript_expression "aiStack_b8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_b8[1] = local_30;" (assignment_expression "aiStack_b8[1] = local_30" (subscript_expression "aiStack_b8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" if (parenthesized_expression "(((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8))" ( (binary_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)" (parenthesized_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0)" ( (binary_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0" (cast_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_30 - 1) + (uint)(local_34 != 0) | local_30)" ( (binary_expression "(local_30 - 1) + (uint)(local_34 != 0) | local_30" (binary_expression "(local_30 - 1) + (uint)(local_34 != 0)" (parenthesized_expression "(local_30 - 1)" ( (binary_expression "local_30 - 1" identifier - number_literal) )) + (call_expression "(uint)(local_34 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )))) | identifier) ))) < number_literal) )) && (parenthesized_expression "(local_54 != 0x40 && local_54 != 8)" ( (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" identifier != number_literal) && (binary_expression "local_54 != 8" identifier != number_literal)) ))) )) (compound_statement "{\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" { (expression_statement "aiStack_b8[0] = -local_34;" (assignment_expression "aiStack_b8[0] = -local_34" (subscript_expression "aiStack_b8[0]" identifier [ number_literal ]) = (unary_expression "-local_34" - identifier)) ;) (expression_statement "aiStack_b8[1] = -(local_30 + (local_34 != 0));" (assignment_expression "aiStack_b8[1] = -(local_30 + (local_34 != 0))" (subscript_expression "aiStack_b8[1]" identifier [ number_literal ]) = (unary_expression "-(local_30 + (local_34 != 0))" - (parenthesized_expression "(local_30 + (local_34 != 0))" ( (binary_expression "local_30 + (local_34 != 0)" identifier + (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) ))) )))) ;) })) (expression_statement "aiStack_b8[4] = (int)(byte)local_35;" (assignment_expression "aiStack_b8[4] = (int)(byte)local_35" (subscript_expression "aiStack_b8[4]" identifier [ number_literal ]) = (cast_expression "(int)(byte)local_35" ( (type_descriptor "int" primitive_type) ) (cast_expression "(byte)local_35" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "apiStack_c0[1] = local_68;" (assignment_expression "apiStack_c0[1] = local_68" (subscript_expression "apiStack_c0[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_c0[0] = (int *)0x199c95;" (assignment_expression "apiStack_c0[0] = (int *)0x199c95" (subscript_expression "apiStack_c0[0]" identifier [ number_literal ]) = (cast_expression "(int *)0x199c95" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = aiStack_b8[2];" (assignment_expression "local_48 = aiStack_b8[2]" identifier = (subscript_expression "aiStack_b8[2]" identifier [ number_literal ])) ;) (expression_statement "local_44 = aiStack_b8[3];" (assignment_expression "local_44 = aiStack_b8[3]" identifier = (subscript_expression "aiStack_b8[3]" identifier [ number_literal ])) ;) (expression_statement "local_20[0] = FUN_00198f50();" (assignment_expression "local_20[0] = FUN_00198f50()" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "FUN_00198f50()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar9 = auStack_9c;" (assignment_expression "puVar9 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar10 = auStack_9c;" (assignment_expression "puVar10 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)((int)local_68 - local_20[0]);" (assignment_expression "puVar7 = (undefined1 *)((int)local_68 - local_20[0])" identifier = (cast_expression "(undefined1 *)((int)local_68 - local_20[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_68 - local_20[0])" ( (binary_expression "(int)local_68 - local_20[0]" (cast_expression "(int)local_68" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "local_20[0]" identifier [ number_literal ])) )))) ;) (if_statement "if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" if (parenthesized_expression "(*(char *)(iVar4 + 0x10) == '\0')" ( (binary_expression "*(char *)(iVar4 + 0x10) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x10)" * (cast_expression "(char *)(iVar4 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" { (if_statement "if (local_35 != '\0') goto LAB_00199cb6;" if (parenthesized_expression "(local_35 != '\0')" ( (binary_expression "local_35 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00199cb6;" goto statement_identifier ;)) (labeled_statement "LAB_00199dcc:\n    puVar5 = puVar7;" statement_identifier : (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;)) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0))" ( (binary_expression "((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)" (parenthesized_expression "((local_44 & 0x200) != 0)" ( (binary_expression "(local_44 & 0x200) != 0" (parenthesized_expression "(local_44 & 0x200)" ( (binary_expression "local_44 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(local_34 != 0 || local_30 != 0)" ( (binary_expression "local_34 != 0 || local_30 != 0" (binary_expression "local_34 != 0" identifier != number_literal) || (binary_expression "local_30 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" { (if_statement "if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" if (parenthesized_expression "(local_54 == 0x40)" ( (binary_expression "local_54 == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" else (compound_statement "{\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar6 = local_20[0] + 2;" (assignment_expression "iVar6 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -2;" (assignment_expression "puVar5 = puVar7 + -2" identifier = (binary_expression "puVar7 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (subscript_expression "puVar7[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" * (cast_expression "(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28 + (local_44 >> 0xe & 1))" ( (binary_expression "iVar4 + 0x28 + (local_44 >> 0xe & 1)" (binary_expression "iVar4 + 0x28" identifier + number_literal) + (parenthesized_expression "(local_44 >> 0xe & 1)" ( (binary_expression "local_44 >> 0xe & 1" (binary_expression "local_44 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;)) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar6)" ( (binary_expression "iVar4 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" else (compound_statement "{\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" { (expression_statement "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0)" identifier = (unary_expression "-(local_20[0] * 2 + 0x1dU & 0xfffffff0)" - (parenthesized_expression "(local_20[0] * 2 + 0x1dU & 0xfffffff0)" ( (binary_expression "local_20[0] * 2 + 0x1dU & 0xfffffff0" (binary_expression "local_20[0] * 2 + 0x1dU" (binary_expression "local_20[0] * 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_9c + iVar6;" (assignment_expression "puVar10 = auStack_9c + iVar6" identifier = (binary_expression "auStack_9c + iVar6" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_9c + iVar6;" (assignment_expression "puVar9 = auStack_9c + iVar6" identifier = (binary_expression "auStack_9c + iVar6" identifier + identifier)) ;) (expression_statement "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18)" * (cast_expression "(int **)((int)aiStack_b8 + iVar6 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x18)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x18" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" * (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x14)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x14" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar7 = auStack_8e + iVar6;" (assignment_expression "puVar7 = auStack_8e + iVar6" identifier = (binary_expression "auStack_8e + iVar6" identifier + identifier)) ;) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" * (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x10)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x10" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc)" * (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0xc)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0xc" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25)" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 8)" * (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 8)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 8" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (cast_expression "(int)*(char *)(iVar4 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar4 + 0x25)" * (cast_expression "(char *)(iVar4 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x25)" ( (binary_expression "iVar4 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 4)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 4" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6)" * (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6)" ( (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" * (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apiStack_c0 + iVar6 + 4)" ( (binary_expression "(int)apiStack_c0 + iVar6 + 4" (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6)" * (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apiStack_c0 + iVar6)" ( (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00197bb0();" (call_expression "FUN_00197bb0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_35 == '\0') goto LAB_00199dcc;" if (parenthesized_expression "(local_35 == '\0')" ( (binary_expression "local_35 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00199dcc;" goto statement_identifier ;)) (labeled_statement "LAB_00199cb6:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" if (parenthesized_expression "((int)local_30 < 0)" ( (binary_expression "(int)local_30 < 0" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" { (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26)" (subscript_expression "puVar7[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x26)" * (cast_expression "(undefined1 *)(iVar4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x26)" ( (binary_expression "iVar4 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;) })) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_44 & 0x800) == 0) goto LAB_00199cca;" if (parenthesized_expression "((local_44 & 0x800) == 0)" ( (binary_expression "(local_44 & 0x800) == 0" (parenthesized_expression "(local_44 & 0x800)" ( (binary_expression "local_44 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;)) (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x27);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x27)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x27)" * (cast_expression "(undefined1 *)(iVar4 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x27)" ( (binary_expression "iVar4 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar6)" ( (binary_expression "iVar4 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar4 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar4 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar4 + 0x1bU & 0xfffffff0" (binary_expression "iVar4 + 0x1bU" identifier + number_literal) & number_literal) )))) ;) (expression_statement "*(int **)(puVar9 + iVar2 + -8) = local_20;" (assignment_expression "*(int **)(puVar9 + iVar2 + -8) = local_20" (pointer_expression "*(int **)(puVar9 + iVar2 + -8)" * (cast_expression "(int **)(puVar9 + iVar2 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -8)" ( (binary_expression "puVar9 + iVar2 + -8" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0xc)" ( (binary_expression "puVar9 + iVar2 + -0xc" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = (int)(char)local_50;" (assignment_expression "iVar6 = (int)(char)local_50" identifier = (cast_expression "(int)(char)local_50" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_50" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10)" * (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0x10)" ( (binary_expression "puVar9 + iVar2 + -0x10" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar2 + 0xf)" ( (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x14) = param_5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x14) = param_5" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x14)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x14)" ( (binary_expression "puVar9 + iVar2 + -0x14" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x18) = iVar4;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar4" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x18)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x18)" ( (binary_expression "puVar9 + iVar2 + -0x18" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x1c)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x1c)" ( (binary_expression "puVar9 + iVar2 + -0x1c" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20)" * (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x20)" ( (binary_expression "puVar9 + iVar2 + -0x20" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24)" * (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x24)" ( (binary_expression "puVar9 + iVar2 + -0x24" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00198e60();" (call_expression "FUN_00198e60()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" identifier = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar2 + 0xf)" ( (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar9 + iVar2;" (assignment_expression "puVar9 = puVar9 + iVar2" identifier = (binary_expression "puVar9 + iVar2" identifier + identifier)) ;) (labeled_statement "LAB_00199cd4:\n  piVar3 = local_3c;" statement_identifier : (expression_statement "piVar3 = local_3c;" (assignment_expression "piVar3 = local_3c" identifier = identifier) ;)) (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "cVar8 = (char)local_4c;" (assignment_expression "cVar8 = (char)local_4c" identifier = (cast_expression "(char)local_4c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" { (expression_statement "iVar4 = *local_3c;" (assignment_expression "iVar4 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar6;" (assignment_expression "*(int *)(puVar9 + -8) = iVar6" (pointer_expression "*(int *)(puVar9 + -8)" * (cast_expression "(int *)(puVar9 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0xc)" ( (binary_expression "puVar9 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar9 + -0x10) = piVar3;" (assignment_expression "*(int **)(puVar9 + -0x10) = piVar3" (pointer_expression "*(int **)(puVar9 + -0x10)" * (cast_expression "(int **)(puVar9 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0x10)" ( (binary_expression "puVar9 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = *(code **)(iVar4 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar4 + 0x30)" identifier = (pointer_expression "*(code **)(iVar4 + 0x30)" * (cast_expression "(code **)(iVar4 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" * (cast_expression "(undefined4 *)(puVar9 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x14)" ( (binary_expression "puVar9 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = (*pcVar1)();" (assignment_expression "iVar4 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }" if (parenthesized_expression "(iVar4 != iVar6)" ( (binary_expression "iVar4 != iVar6" identifier != identifier) )) (compound_statement "{\n      cVar8 = '\x01';\n    }" { (expression_statement "cVar8 = '\x01';" (assignment_expression "cVar8 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "*param_1 = local_3c;" (assignment_expression "*param_1 = local_3c" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(char *)(param_1 + 1) = cVar8;" (assignment_expression "*(char *)(param_1 + 1) = cVar8" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,\n   std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long\n   long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long long)\n   const */\n\nundefined4 *\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert_int<long_long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8)\n\n{\n  uint uVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 *apuStackY_c0 [2];\n  int aiStackY_b8 [2];\n  int aiStackY_b0 [5];\n  undefined1 auStackY_9c [14];\n  undefined1 auStackY_8e [30];\n  undefined4 uStackY_70;\n  __use_cache<std::__numpunct_cache<char>> local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  uStackY_70 = 0x199c25;\n  iVar4 = __use_cache<std::__numpunct_cache<char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))\n  ;\n  aiStackY_b0[0] = iVar4 + 0x26;\n  uVar1 = *(uint *)(param_5 + 0xc);\n  uVar7 = uVar1 & 0x4a;\n  bVar11 = uVar7 != 0x40;\n  bVar12 = uVar7 != 8;\n  aiStackY_b8[0] = param_7;\n  aiStackY_b8[1] = param_8;\n  if (((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12)) {\n    aiStackY_b8[0] = -param_7;\n    aiStackY_b8[1] = -(param_8 + (param_7 != 0));\n  }\n  aiStackY_b0[2] = (int)(bVar11 && bVar12);\n  apuStackY_c0[1] = &stack0xffffff98;\n  apuStackY_c0[0] = (undefined1 *)0x199c95;\n  aiStackY_b0[1] = uVar1;\n  local_20[0] = __int_to_char<char,unsigned_long_long>();\n  puVar9 = auStackY_9c;\n  puVar10 = auStackY_9c;\n  puVar6 = &stack0xffffff98 + -local_20[0];\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (bVar11 && bVar12) goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }\n  else {\n    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_9c + iVar8;\n    puVar9 = auStackY_9c + iVar8;\n    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;\n    puVar6 = auStackY_8e + iVar8;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;\n    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;\n    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));\n    if (!bVar11 || !bVar12) goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;\n    iVar8 = local_20[0] + 1;\n    puVar5 = puVar6 + -1;\n    local_20[0] = iVar8;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }\n  iVar3 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar3 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar3 + -0xc) = puVar5;\n  *(undefined1 **)(puVar9 + iVar3 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar3 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar3 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar3 + -0x1c) = (int)param_6;\n  *(undefined4 *)(puVar9 + iVar3 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar3 + -0x24) = 0x199d63;\n  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),\n         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),\n         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8));\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);\n  iVar8 = local_20[0];\n  puVar9 = puVar9 + iVar3;\nLAB_00199cd4:\n  *(undefined4 *)(param_5 + 8) = 0;\n  if (param_4 == '\0') {\n    iVar4 = *param_3;\n    *(int *)(puVar9 + -8) = iVar8;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar2 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar2)();\n    if (iVar4 != iVar8) {\n      param_4 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = param_4;\n  return param_1;\n}\n\n" comment comment (ERROR "undefined4 *\nstd::num_put<char," (binary_expression "undefined4 *\nstd::num_put<char" (binary_expression "undefined4 *\nstd" identifier * identifier) (ERROR "::num_put" : : identifier) < identifier) ,) (labeled_statement "std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert_int<long_long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8)" statement_identifier (ERROR "::ostreambuf_iterator<char,std:" : : (comma_expression "ostreambuf_iterator<char,std" (binary_expression "ostreambuf_iterator<char" identifier < identifier) , identifier) :) : (expression_statement "char_traits<char>>>::_M_insert_int<long_long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8)" (binary_expression "char_traits<char>>>::_M_insert_int<long_long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8)" (binary_expression "char_traits<char>>>::_M_insert_int<long_long" (binary_expression "char_traits<char>>>::_M_insert_int" identifier < (binary_expression "char>>>::_M_insert_int" identifier >> (ERROR ">::" > : :) identifier)) < identifier) > (parenthesized_expression "(undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8)" ( (comma_expression "undefined4 *param_1,undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8" (binary_expression "undefined4 *param_1" identifier * identifier) , (comma_expression "undefined4 param_2,int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8" identifier (ERROR "param_2" identifier) , (comma_expression "int *param_3,char param_4,int param_5,char param_6\n          ,int param_7,uint param_8" (binary_expression "int *param_3" identifier * identifier) , (ERROR "char" identifier) (comma_expression "param_4,int param_5,char param_6\n          ,int param_7,uint param_8" identifier , (ERROR "int" identifier) (comma_expression "param_5,char param_6\n          ,int param_7,uint param_8" identifier , (ERROR "char" identifier) (comma_expression "param_6\n          ,int param_7,uint param_8" identifier , (ERROR "int" identifier) (comma_expression "param_7,uint param_8" identifier , (ERROR "uint" identifier) identifier))))))) ))) ;)) (compound_statement "{\n  uint uVar1;\n  code *pcVar2;\n  int iVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  undefined1 *puVar6;\n  uint uVar7;\n  int iVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  bool bVar11;\n  bool bVar12;\n  undefined1 *apuStackY_c0 [2];\n  int aiStackY_b8 [2];\n  int aiStackY_b0 [5];\n  undefined1 auStackY_9c [14];\n  undefined1 auStackY_8e [30];\n  undefined4 uStackY_70;\n  __use_cache<std::__numpunct_cache<char>> local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  uStackY_70 = 0x199c25;\n  iVar4 = __use_cache<std::__numpunct_cache<char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))\n  ;\n  aiStackY_b0[0] = iVar4 + 0x26;\n  uVar1 = *(uint *)(param_5 + 0xc);\n  uVar7 = uVar1 & 0x4a;\n  bVar11 = uVar7 != 0x40;\n  bVar12 = uVar7 != 8;\n  aiStackY_b8[0] = param_7;\n  aiStackY_b8[1] = param_8;\n  if (((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12)) {\n    aiStackY_b8[0] = -param_7;\n    aiStackY_b8[1] = -(param_8 + (param_7 != 0));\n  }\n  aiStackY_b0[2] = (int)(bVar11 && bVar12);\n  apuStackY_c0[1] = &stack0xffffff98;\n  apuStackY_c0[0] = (undefined1 *)0x199c95;\n  aiStackY_b0[1] = uVar1;\n  local_20[0] = __int_to_char<char,unsigned_long_long>();\n  puVar9 = auStackY_9c;\n  puVar10 = auStackY_9c;\n  puVar6 = &stack0xffffff98 + -local_20[0];\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (bVar11 && bVar12) goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }\n  else {\n    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_9c + iVar8;\n    puVar9 = auStackY_9c + iVar8;\n    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;\n    puVar6 = auStackY_8e + iVar8;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;\n    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;\n    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));\n    if (!bVar11 || !bVar12) goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;\n    iVar8 = local_20[0] + 1;\n    puVar5 = puVar6 + -1;\n    local_20[0] = iVar8;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }\n  iVar3 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar3 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar3 + -0xc) = puVar5;\n  *(undefined1 **)(puVar9 + iVar3 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar3 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar3 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar3 + -0x1c) = (int)param_6;\n  *(undefined4 *)(puVar9 + iVar3 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar3 + -0x24) = 0x199d63;\n  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),\n         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),\n         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8));\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);\n  iVar8 = local_20[0];\n  puVar9 = puVar9 + iVar3;\nLAB_00199cd4:\n  *(undefined4 *)(param_5 + 8) = 0;\n  if (param_4 == '\0') {\n    iVar4 = *param_3;\n    *(int *)(puVar9 + -8) = iVar8;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar2 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar2)();\n    if (iVar4 != iVar8) {\n      param_4 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = param_4;\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "undefined1 *apuStackY_c0 [2];" type_identifier (pointer_declarator "*apuStackY_c0 [2]" * (array_declarator "apuStackY_c0 [2]" identifier [ number_literal ])) ;) (declaration "int aiStackY_b8 [2];" primitive_type (array_declarator "aiStackY_b8 [2]" identifier [ number_literal ]) ;) (declaration "int aiStackY_b0 [5];" primitive_type (array_declarator "aiStackY_b0 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStackY_9c [14];" type_identifier (array_declarator "auStackY_9c [14]" identifier [ number_literal ]) ;) (declaration "undefined1 auStackY_8e [30];" type_identifier (array_declarator "auStackY_8e [30]" identifier [ number_literal ]) ;) (declaration "undefined4 uStackY_70;" type_identifier identifier ;) (ERROR "__use_cache<std::" (binary_expression "__use_cache<std" identifier < identifier) : :) (expression_statement "__numpunct_cache<char>> local_21;" (binary_expression "__numpunct_cache<char>> local_21" identifier < (binary_expression "char>> local_21" identifier >> identifier)) ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x199beb;" (assignment_expression "uStack_14 = 0x199beb" identifier = number_literal) ;) (expression_statement "uStackY_70 = 0x199c25;" (assignment_expression "uStackY_70 = 0x199c25" identifier = number_literal) ;) (expression_statement "iVar4 = __use_cache<std::__numpunct_cache<char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))\n  ;" (binary_expression "iVar4 = __use_cache<std::__numpunct_cache<char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))" (assignment_expression "iVar4 = __use_cache<std" identifier = (binary_expression "__use_cache<std" identifier < identifier)) (ERROR "::__numpunct_cache" : : identifier) < (binary_expression "char>>::operator()(&local_21,(locale *)(param_5 + 0x6c))" identifier >> (ERROR "::" : :) (call_expression "operator()(&local_21,(locale *)(param_5 + 0x6c))" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "(&local_21,(locale *)(param_5 + 0x6c))" ( (pointer_expression "&local_21" & 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) ))) ))))) ;) (expression_statement "aiStackY_b0[0] = iVar4 + 0x26;" (assignment_expression "aiStackY_b0[0] = iVar4 + 0x26" (subscript_expression "aiStackY_b0[0]" identifier [ number_literal ]) = (binary_expression "iVar4 + 0x26" identifier + number_literal)) ;) (expression_statement "uVar1 = *(uint *)(param_5 + 0xc);" (assignment_expression "uVar1 = *(uint *)(param_5 + 0xc)" identifier = (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) ))))) ;) (expression_statement "uVar7 = uVar1 & 0x4a;" (assignment_expression "uVar7 = uVar1 & 0x4a" identifier = (binary_expression "uVar1 & 0x4a" identifier & number_literal)) ;) (expression_statement "bVar11 = uVar7 != 0x40;" (assignment_expression "bVar11 = uVar7 != 0x40" identifier = (binary_expression "uVar7 != 0x40" identifier != number_literal)) ;) (expression_statement "bVar12 = uVar7 != 8;" (assignment_expression "bVar12 = uVar7 != 8" identifier = (binary_expression "uVar7 != 8" identifier != number_literal)) ;) (expression_statement "aiStackY_b8[0] = param_7;" (assignment_expression "aiStackY_b8[0] = param_7" (subscript_expression "aiStackY_b8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStackY_b8[1] = param_8;" (assignment_expression "aiStackY_b8[1] = param_8" (subscript_expression "aiStackY_b8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12)) {\n    aiStackY_b8[0] = -param_7;\n    aiStackY_b8[1] = -(param_8 + (param_7 != 0));\n  }" if (parenthesized_expression "(((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12))" ( (binary_expression "((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0) && (bVar11 && bVar12)" (parenthesized_expression "((int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0)" ( (binary_expression "(int)((param_8 - 1) + (uint)(param_7 != 0) | param_8) < 0" (cast_expression "(int)((param_8 - 1) + (uint)(param_7 != 0) | param_8)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((param_8 - 1) + (uint)(param_7 != 0) | param_8)" ( (binary_expression "(param_8 - 1) + (uint)(param_7 != 0) | param_8" (binary_expression "(param_8 - 1) + (uint)(param_7 != 0)" (parenthesized_expression "(param_8 - 1)" ( (binary_expression "param_8 - 1" identifier - number_literal) )) + (call_expression "(uint)(param_7 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) )))) | identifier) ))) < number_literal) )) && (parenthesized_expression "(bVar11 && bVar12)" ( (binary_expression "bVar11 && bVar12" identifier && identifier) ))) )) (compound_statement "{\n    aiStackY_b8[0] = -param_7;\n    aiStackY_b8[1] = -(param_8 + (param_7 != 0));\n  }" { (expression_statement "aiStackY_b8[0] = -param_7;" (assignment_expression "aiStackY_b8[0] = -param_7" (subscript_expression "aiStackY_b8[0]" identifier [ number_literal ]) = (unary_expression "-param_7" - identifier)) ;) (expression_statement "aiStackY_b8[1] = -(param_8 + (param_7 != 0));" (assignment_expression "aiStackY_b8[1] = -(param_8 + (param_7 != 0))" (subscript_expression "aiStackY_b8[1]" identifier [ number_literal ]) = (unary_expression "-(param_8 + (param_7 != 0))" - (parenthesized_expression "(param_8 + (param_7 != 0))" ( (binary_expression "param_8 + (param_7 != 0)" identifier + (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) ))) )))) ;) })) (expression_statement "aiStackY_b0[2] = (int)(bVar11 && bVar12);" (assignment_expression "aiStackY_b0[2] = (int)(bVar11 && bVar12)" (subscript_expression "aiStackY_b0[2]" identifier [ number_literal ]) = (cast_expression "(int)(bVar11 && bVar12)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(bVar11 && bVar12)" ( (binary_expression "bVar11 && bVar12" identifier && identifier) )))) ;) (expression_statement "apuStackY_c0[1] = &stack0xffffff98;" (assignment_expression "apuStackY_c0[1] = &stack0xffffff98" (subscript_expression "apuStackY_c0[1]" identifier [ number_literal ]) = (pointer_expression "&stack0xffffff98" & identifier)) ;) (expression_statement "apuStackY_c0[0] = (undefined1 *)0x199c95;" (assignment_expression "apuStackY_c0[0] = (undefined1 *)0x199c95" (subscript_expression "apuStackY_c0[0]" identifier [ number_literal ]) = (cast_expression "(undefined1 *)0x199c95" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "aiStackY_b0[1] = uVar1;" (assignment_expression "aiStackY_b0[1] = uVar1" (subscript_expression "aiStackY_b0[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "local_20[0] = __int_to_char<char,unsigned_long_long>();" (comma_expression "local_20[0] = __int_to_char<char,unsigned_long_long>()" (assignment_expression "local_20[0] = __int_to_char<char" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (binary_expression "__int_to_char<char" identifier < identifier)) , (binary_expression "unsigned_long_long>()" identifier > (parenthesized_expression "()" ( identifier )))) ;) (expression_statement "puVar9 = auStackY_9c;" (assignment_expression "puVar9 = auStackY_9c" identifier = identifier) ;) (expression_statement "puVar10 = auStackY_9c;" (assignment_expression "puVar10 = auStackY_9c" identifier = identifier) ;) (expression_statement "puVar6 = &stack0xffffff98 + -local_20[0];" (assignment_expression "puVar6 = &stack0xffffff98 + -local_20[0]" identifier = (binary_expression "&stack0xffffff98 + -local_20[0]" (pointer_expression "&stack0xffffff98" & identifier) + (unary_expression "-local_20[0]" - (subscript_expression "local_20[0]" identifier [ number_literal ])))) ;) (if_statement "if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (bVar11 && bVar12) goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }\n  else {\n    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_9c + iVar8;\n    puVar9 = auStackY_9c + iVar8;\n    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;\n    puVar6 = auStackY_8e + iVar8;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;\n    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;\n    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));\n    if (!bVar11 || !bVar12) goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;\n    iVar8 = local_20[0] + 1;\n    puVar5 = puVar6 + -1;\n    local_20[0] = iVar8;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }" if (parenthesized_expression "(*(char *)(iVar4 + 0x10) == '\0')" ( (binary_expression "*(char *)(iVar4 + 0x10) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x10)" * (cast_expression "(char *)(iVar4 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (bVar11 && bVar12) goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }" { (if_statement "if (bVar11 && bVar12) goto LAB_00199cb6;" if (parenthesized_expression "(bVar11 && bVar12)" ( (binary_expression "bVar11 && bVar12" identifier && identifier) )) (goto_statement "goto LAB_00199cb6;" goto statement_identifier ;)) (labeled_statement "LAB_00199dcc:\n    puVar5 = puVar6;" statement_identifier : (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;)) (expression_statement "iVar8 = local_20[0];" (assignment_expression "iVar8 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)) {\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0))" ( (binary_expression "((uVar1 & 0x200) != 0) && (param_7 != 0 || param_8 != 0)" (parenthesized_expression "((uVar1 & 0x200) != 0)" ( (binary_expression "(uVar1 & 0x200) != 0" (parenthesized_expression "(uVar1 & 0x200)" ( (binary_expression "uVar1 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_7 != 0 || param_8 != 0)" ( (binary_expression "param_7 != 0 || param_8 != 0" (binary_expression "param_7 != 0" identifier != number_literal) || (binary_expression "param_8 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" { (if_statement "if (uVar7 == 0x40) {\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" if (parenthesized_expression "(uVar7 == 0x40)" ( (binary_expression "uVar7 == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar8 = local_20[0] + 1;\n        puVar5 = puVar6 + -1;\n        local_20[0] = iVar8;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar8 = local_20[0] + 1;" (assignment_expression "iVar8 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar6 + -1;" (assignment_expression "puVar5 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar8;" (assignment_expression "local_20[0] = iVar8" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" else (compound_statement "{\n        iVar8 = local_20[0] + 2;\n        puVar5 = puVar6 + -2;\n        local_20[0] = iVar8;\n        puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar8 = local_20[0] + 2;" (assignment_expression "iVar8 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar6 + -2;" (assignment_expression "puVar5 = puVar6 + -2" identifier = (binary_expression "puVar6 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar8;" (assignment_expression "local_20[0] = iVar8" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1));" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1))" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1))" * (cast_expression "(undefined1 *)(iVar4 + 0x28 + (uVar1 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28 + (uVar1 >> 0xe & 1))" ( (binary_expression "iVar4 + 0x28 + (uVar1 >> 0xe & 1)" (binary_expression "iVar4 + 0x28" identifier + number_literal) + (parenthesized_expression "(uVar1 >> 0xe & 1)" ( (binary_expression "uVar1 >> 0xe & 1" (binary_expression "uVar1 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;)) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar8) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar8)" ( (binary_expression "iVar4 <= iVar8" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_9c + iVar8;\n    puVar9 = auStackY_9c + iVar8;\n    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;\n    puVar6 = auStackY_8e + iVar8;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;\n    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;\n    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));\n    if (!bVar11 || !bVar12) goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;\n    iVar8 = local_20[0] + 1;\n    puVar5 = puVar6 + -1;\n    local_20[0] = iVar8;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }" else (compound_statement "{\n    iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_9c + iVar8;\n    puVar9 = auStackY_9c + iVar8;\n    *(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;\n    puVar6 = auStackY_8e + iVar8;\n    *(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;\n    *(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;\n    *(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));\n    if (!bVar11 || !bVar12) goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar6;\n    iVar8 = local_20[0];\n    if ((uVar1 & 0x800) == 0) goto LAB_00199cca;\n    iVar8 = local_20[0] + 1;\n    puVar5 = puVar6 + -1;\n    local_20[0] = iVar8;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar8) goto LAB_00199cd4;\n  }" { (expression_statement "iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar8 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0)" identifier = (unary_expression "-(local_20[0] * 2 + 0x1dU & 0xfffffff0)" - (parenthesized_expression "(local_20[0] * 2 + 0x1dU & 0xfffffff0)" ( (binary_expression "local_20[0] * 2 + 0x1dU & 0xfffffff0" (binary_expression "local_20[0] * 2 + 0x1dU" (binary_expression "local_20[0] * 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStackY_9c + iVar8;" (assignment_expression "puVar10 = auStackY_9c + iVar8" identifier = (binary_expression "auStackY_9c + iVar8" identifier + identifier)) ;) (expression_statement "puVar9 = auStackY_9c + iVar8;" (assignment_expression "puVar9 = auStackY_9c + iVar8" identifier = (binary_expression "auStackY_9c + iVar8" identifier + identifier)) ;) (expression_statement "*(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20;" (assignment_expression "*(int **)((int)aiStackY_b0 + iVar8 + 0x10) = local_20" (pointer_expression "*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" * (cast_expression "(int **)((int)aiStackY_b0 + iVar8 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 0x10)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 0x10" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc)" * (cast_expression "(undefined1 **)((int)aiStackY_b0 + iVar8 + 0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 0xc)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 0xc" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = auStackY_8e + iVar8;" (assignment_expression "puVar6 = auStackY_8e + iVar8" identifier = (binary_expression "auStackY_8e + iVar8" identifier + identifier)) ;) (expression_statement "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 8) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStackY_b0 + iVar8 + 8)" * (cast_expression "(undefined1 **)((int)aiStackY_b0 + iVar8 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 8)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 8" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5;" (assignment_expression "*(int *)((int)aiStackY_b0 + iVar8 + 4) = param_5" (pointer_expression "*(int *)((int)aiStackY_b0 + iVar8 + 4)" * (cast_expression "(int *)((int)aiStackY_b0 + iVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 4)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 4" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25);" (assignment_expression "*(int *)((int)aiStackY_b0 + iVar8) = (int)*(char *)(iVar4 + 0x25)" (pointer_expression "*(int *)((int)aiStackY_b0 + iVar8)" * (cast_expression "(int *)((int)aiStackY_b0 + iVar8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8)" ( (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(int)*(char *)(iVar4 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar4 + 0x25)" * (cast_expression "(char *)(iVar4 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x25)" ( (binary_expression "iVar4 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStackY_b8 + iVar8 + 4) = *(undefined4 *)(iVar4 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStackY_b8 + iVar8 + 4)" * (cast_expression "(undefined4 *)((int)aiStackY_b8 + iVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b8 + iVar8 + 4)" ( (binary_expression "(int)aiStackY_b8 + iVar8 + 4" (binary_expression "(int)aiStackY_b8 + iVar8" (cast_expression "(int)aiStackY_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8);" (assignment_expression "*(undefined4 *)((int)aiStackY_b8 + iVar8) = *(undefined4 *)(iVar4 + 8)" (pointer_expression "*(undefined4 *)((int)aiStackY_b8 + iVar8)" * (cast_expression "(undefined4 *)((int)aiStackY_b8 + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b8 + iVar8)" ( (binary_expression "(int)aiStackY_b8 + iVar8" (cast_expression "(int)aiStackY_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apuStackY_c0 + iVar8 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apuStackY_c0 + iVar8 + 4)" * (cast_expression "(undefined4 *)((int)apuStackY_c0 + iVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStackY_c0 + iVar8 + 4)" ( (binary_expression "(int)apuStackY_c0 + iVar8 + 4" (binary_expression "(int)apuStackY_c0 + iVar8" (cast_expression "(int)apuStackY_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba;" (assignment_expression "*(undefined4 *)((int)apuStackY_c0 + iVar8) = 0x199dba" (pointer_expression "*(undefined4 *)((int)apuStackY_c0 + iVar8)" * (cast_expression "(undefined4 *)((int)apuStackY_c0 + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStackY_c0 + iVar8)" ( (binary_expression "(int)apuStackY_c0 + iVar8" (cast_expression "(int)apuStackY_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "_M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10));" (call_expression "_M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10))" identifier (argument_list "(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10))" ( (pointer_expression "*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10))" * (parenthesized_expression "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10))" ( (ERROR "num_put<char,std::ostreambuf_iterator<char,std::" (comma_expression "num_put<char,std" (binary_expression "num_put<char" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<char,std" (binary_expression "ostreambuf_iterator<char" identifier < identifier) , identifier) : :) (comma_expression "char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4),*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (binary_expression "char_traits<char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4)" identifier < (binary_expression "char>>> **)\n                  ((int)apuStackY_c0 + iVar8 + 4)" identifier >> (ERROR ">" >) (pointer_expression "**)\n                  ((int)apuStackY_c0 + iVar8 + 4)" * (pointer_expression "*)\n                  ((int)apuStackY_c0 + iVar8 + 4)" * (ERROR ")" )) (parenthesized_expression "((int)apuStackY_c0 + iVar8 + 4)" ( (binary_expression "(int)apuStackY_c0 + iVar8 + 4" (binary_expression "(int)apuStackY_c0 + iVar8" (cast_expression "(int)apuStackY_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) , (comma_expression "*(char **)((int)aiStackY_b8 + iVar8),\n                 *(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(char **)((int)aiStackY_b8 + iVar8)" * (cast_expression "(char **)((int)aiStackY_b8 + iVar8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b8 + iVar8)" ( (binary_expression "(int)aiStackY_b8 + iVar8" (cast_expression "(int)aiStackY_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , (comma_expression "*(uint *)((int)aiStackY_b8 + iVar8 + 4),*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(uint *)((int)aiStackY_b8 + iVar8 + 4)" * (cast_expression "(uint *)((int)aiStackY_b8 + iVar8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b8 + iVar8 + 4)" ( (binary_expression "(int)aiStackY_b8 + iVar8 + 4" (binary_expression "(int)aiStackY_b8 + iVar8" (cast_expression "(int)aiStackY_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char *)((int)aiStackY_b0 + iVar8),\n                 *(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(char *)((int)aiStackY_b0 + iVar8)" * (cast_expression "(char *)((int)aiStackY_b0 + iVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8)" ( (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , (comma_expression "*(ios_base **)((int)aiStackY_b0 + iVar8 + 4),\n                 *(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(ios_base **)((int)aiStackY_b0 + iVar8 + 4)" * (cast_expression "(ios_base **)((int)aiStackY_b0 + iVar8 + 4)" ( (type_descriptor "ios_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 4)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 4" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char **)((int)aiStackY_b0 + iVar8 + 8),*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(char **)((int)aiStackY_b0 + iVar8 + 8)" * (cast_expression "(char **)((int)aiStackY_b0 + iVar8 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 8)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 8" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char **)((int)aiStackY_b0 + iVar8 + 0xc)\n                 ,*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" (pointer_expression "*(char **)((int)aiStackY_b0 + iVar8 + 0xc)" * (cast_expression "(char **)((int)aiStackY_b0 + iVar8 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 0xc)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 0xc" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(int **)((int)aiStackY_b0 + iVar8 + 0x10)" * (cast_expression "(int **)((int)aiStackY_b0 + iVar8 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_b0 + iVar8 + 0x10)" ( (binary_expression "(int)aiStackY_b0 + iVar8 + 0x10" (binary_expression "(int)aiStackY_b0 + iVar8" (cast_expression "(int)aiStackY_b0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))))))))) ))) ))) ;) (if_statement "if (!bVar11 || !bVar12) goto LAB_00199dcc;" if (parenthesized_expression "(!bVar11 || !bVar12)" ( (binary_expression "!bVar11 || !bVar12" (unary_expression "!bVar11" ! identifier) || (unary_expression "!bVar12" ! identifier)) )) (goto_statement "goto LAB_00199dcc;" goto statement_identifier ;)) (labeled_statement "LAB_00199cb6:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if ((int)param_8 < 0) {\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }" if (parenthesized_expression "((int)param_8 < 0)" ( (binary_expression "(int)param_8 < 0" (cast_expression "(int)param_8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar8 = local_20[0] + 1;\n      local_20[0] = iVar8;\n      puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar6 + -1;\n      goto LAB_00199cca;\n    }" { (expression_statement "iVar8 = local_20[0] + 1;" (assignment_expression "iVar8 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "local_20[0] = iVar8;" (assignment_expression "local_20[0] = iVar8" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar4 + 0x26);" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar4 + 0x26)" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x26)" * (cast_expression "(undefined1 *)(iVar4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x26)" ( (binary_expression "iVar4 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = puVar6 + -1;" (assignment_expression "puVar5 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;) })) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) (expression_statement "iVar8 = local_20[0];" (assignment_expression "iVar8 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((uVar1 & 0x800) == 0) goto LAB_00199cca;" if (parenthesized_expression "((uVar1 & 0x800) == 0)" ( (binary_expression "(uVar1 & 0x800) == 0" (parenthesized_expression "(uVar1 & 0x800)" ( (binary_expression "uVar1 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;)) (expression_statement "iVar8 = local_20[0] + 1;" (assignment_expression "iVar8 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar6 + -1;" (assignment_expression "puVar5 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar8;" (assignment_expression "local_20[0] = iVar8" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x27);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x27)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x27)" * (cast_expression "(undefined1 *)(iVar4 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x27)" ( (binary_expression "iVar4 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 <= iVar8) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar8)" ( (binary_expression "iVar4 <= iVar8" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = -(iVar4 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar3 = -(iVar4 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar4 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar4 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar4 + 0x1bU & 0xfffffff0" (binary_expression "iVar4 + 0x1bU" identifier + number_literal) & number_literal) )))) ;) (expression_statement "*(int **)(puVar9 + iVar3 + -8) = local_20;" (assignment_expression "*(int **)(puVar9 + iVar3 + -8) = local_20" (pointer_expression "*(int **)(puVar9 + iVar3 + -8)" * (cast_expression "(int **)(puVar9 + iVar3 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -8)" ( (binary_expression "puVar9 + iVar3 + -8" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar3 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + iVar3 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + iVar3 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + iVar3 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -0xc)" ( (binary_expression "puVar9 + iVar3 + -0xc" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar3 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);" (assignment_expression "*(undefined1 **)(puVar9 + iVar3 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" (pointer_expression "*(undefined1 **)(puVar9 + iVar3 + -0x10)" * (cast_expression "(undefined1 **)(puVar9 + iVar3 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -0x10)" ( (binary_expression "puVar9 + iVar3 + -0x10" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar3 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar3 + 0xf)" ( (binary_expression "puVar9 + iVar3 + 0xf" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "*(int *)(puVar9 + iVar3 + -0x14) = param_5;" (assignment_expression "*(int *)(puVar9 + iVar3 + -0x14) = param_5" (pointer_expression "*(int *)(puVar9 + iVar3 + -0x14)" * (cast_expression "(int *)(puVar9 + iVar3 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x14)" ( (binary_expression "puVar9 + iVar3 + -0x14" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar3 + -0x18) = iVar4;" (assignment_expression "*(int *)(puVar9 + iVar3 + -0x18) = iVar4" (pointer_expression "*(int *)(puVar9 + iVar3 + -0x18)" * (cast_expression "(int *)(puVar9 + iVar3 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x18)" ( (binary_expression "puVar9 + iVar3 + -0x18" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar3 + -0x1c) = (int)param_6;" (assignment_expression "*(int *)(puVar9 + iVar3 + -0x1c) = (int)param_6" (pointer_expression "*(int *)(puVar9 + iVar3 + -0x1c)" * (cast_expression "(int *)(puVar9 + iVar3 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x1c)" ( (binary_expression "puVar9 + iVar3 + -0x1c" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = (cast_expression "(int)param_6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar3 + -0x20) = param_2;" (assignment_expression "*(undefined4 *)(puVar9 + iVar3 + -0x20) = param_2" (pointer_expression "*(undefined4 *)(puVar9 + iVar3 + -0x20)" * (cast_expression "(undefined4 *)(puVar9 + iVar3 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x20)" ( (binary_expression "puVar9 + iVar3 + -0x20" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar3 + -0x24) = 0x199d63;" (assignment_expression "*(undefined4 *)(puVar9 + iVar3 + -0x24) = 0x199d63" (pointer_expression "*(undefined4 *)(puVar9 + iVar3 + -0x24)" * (cast_expression "(undefined4 *)(puVar9 + iVar3 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x24)" ( (binary_expression "puVar9 + iVar3 + -0x24" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "_M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),\n         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),\n         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8));" (call_expression "_M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),\n         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),\n         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8))" identifier (argument_list "(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20),puVar9[iVar3 + -0x1c],*(int *)(puVar9 + iVar3 + -0x18),\n         *(ios_base **)(puVar9 + iVar3 + -0x14),*(char **)(puVar9 + iVar3 + -0x10),\n         *(char **)(puVar9 + iVar3 + -0xc),*(int **)(puVar9 + iVar3 + -8))" ( (pointer_expression "*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20)" * (call_expression "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar3 + -0x20)" (parenthesized_expression "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)" ( (ERROR "num_put<char,std::ostreambuf_iterator<char,std::" (comma_expression "num_put<char,std" (binary_expression "num_put<char" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<char,std" (binary_expression "ostreambuf_iterator<char" identifier < identifier) , identifier) : :) (binary_expression "char_traits<char>>> **" identifier < (binary_expression "char>>> **" identifier >> (ERROR ">" >) (pointer_expression "**" * (pointer_expression "*" * identifier)))) )) (argument_list "(puVar9 + iVar3 + -0x20)" ( (binary_expression "puVar9 + iVar3 + -0x20" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) , (subscript_expression "puVar9[iVar3 + -0x1c]" identifier [ (binary_expression "iVar3 + -0x1c" identifier + number_literal) ]) , (pointer_expression "*(int *)(puVar9 + iVar3 + -0x18)" * (cast_expression "(int *)(puVar9 + iVar3 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar3 + -0x18)" ( (binary_expression "puVar9 + iVar3 + -0x18" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) , (pointer_expression "*(ios_base **)(puVar9 + iVar3 + -0x14)" * (cast_expression "(ios_base **)(puVar9 + iVar3 + -0x14)" ( (type_descriptor "ios_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -0x14)" ( (binary_expression "puVar9 + iVar3 + -0x14" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) , (pointer_expression "*(char **)(puVar9 + iVar3 + -0x10)" * (cast_expression "(char **)(puVar9 + iVar3 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -0x10)" ( (binary_expression "puVar9 + iVar3 + -0x10" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) , (pointer_expression "*(char **)(puVar9 + iVar3 + -0xc)" * (cast_expression "(char **)(puVar9 + iVar3 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -0xc)" ( (binary_expression "puVar9 + iVar3 + -0xc" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) , (pointer_expression "*(int **)(puVar9 + iVar3 + -8)" * (cast_expression "(int **)(puVar9 + iVar3 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar3 + -8)" ( (binary_expression "puVar9 + iVar3 + -8" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) )))) ))) ;) (expression_statement "puVar5 = (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0);" (assignment_expression "puVar5 = (undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" identifier = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar3 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar3 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar3 + 0xf)" ( (binary_expression "puVar9 + iVar3 + 0xf" (binary_expression "puVar9 + iVar3" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "iVar8 = local_20[0];" (assignment_expression "iVar8 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar9 + iVar3;" (assignment_expression "puVar9 = puVar9 + iVar3" identifier = (binary_expression "puVar9 + iVar3" identifier + identifier)) ;) (labeled_statement "LAB_00199cd4:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (if_statement "if (param_4 == '\0') {\n    iVar4 = *param_3;\n    *(int *)(puVar9 + -8) = iVar8;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar2 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar2)();\n    if (iVar4 != iVar8) {\n      param_4 = '\x01';\n    }\n  }" if (parenthesized_expression "(param_4 == '\0')" ( (binary_expression "param_4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *param_3;\n    *(int *)(puVar9 + -8) = iVar8;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar2 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar2)();\n    if (iVar4 != iVar8) {\n      param_4 = '\x01';\n    }\n  }" { (expression_statement "iVar4 = *param_3;" (assignment_expression "iVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar8;" (assignment_expression "*(int *)(puVar9 + -8) = iVar8" (pointer_expression "*(int *)(puVar9 + -8)" * (cast_expression "(int *)(puVar9 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0xc)" ( (binary_expression "puVar9 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar9 + -0x10) = param_3;" (assignment_expression "*(int **)(puVar9 + -0x10) = param_3" (pointer_expression "*(int **)(puVar9 + -0x10)" * (cast_expression "(int **)(puVar9 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0x10)" ( (binary_expression "puVar9 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar4 + 0x30);" (assignment_expression "pcVar2 = *(code **)(iVar4 + 0x30)" identifier = (pointer_expression "*(code **)(iVar4 + 0x30)" * (cast_expression "(code **)(iVar4 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" * (cast_expression "(undefined4 *)(puVar9 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x14)" ( (binary_expression "puVar9 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = (*pcVar2)();" (assignment_expression "iVar4 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != iVar8) {\n      param_4 = '\x01';\n    }" if (parenthesized_expression "(iVar4 != iVar8)" ( (binary_expression "iVar4 != iVar8" identifier != identifier) )) (compound_statement "{\n      param_4 = '\x01';\n    }" { (expression_statement "param_4 = '\x01';" (assignment_expression "param_4 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "*param_1 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(char *)(param_1 + 1) = param_4;" (assignment_expression "*(char *)(param_1 + 1) = param_4" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) }))
(translation_unit "undefined4 *\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" * (function_declarator "FUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" 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,uint param_8)" ( (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 identifier) , (parameter_declaration "uint param_8" type_identifier identifier) )))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int *apiStack_c0 [2];" primitive_type (pointer_declarator "*apiStack_c0 [2]" * (array_declarator "apiStack_c0 [2]" identifier [ number_literal ])) ;) (declaration "int aiStack_b8 [7];" primitive_type (array_declarator "aiStack_b8 [7]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [14];" type_identifier (array_declarator "auStack_9c [14]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_8e [30];" type_identifier (array_declarator "auStack_8e [30]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_70;" type_identifier identifier ;) (declaration "undefined1 *puStack_6c;" type_identifier (pointer_declarator "*puStack_6c" * identifier) ;) (declaration "int local_68 [5];" primitive_type (array_declarator "local_68 [5]" identifier [ number_literal ]) ;) (declaration "uint local_54;" type_identifier identifier ;) (declaration "undefined4 local_50;" type_identifier identifier ;) (declaration "undefined4 local_4c;" type_identifier identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "uint local_44;" type_identifier identifier ;) (declaration "undefined **local_40;" type_identifier (pointer_declarator "**local_40" * (pointer_declarator "*local_40" * identifier)) ;) (declaration "int *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char local_35;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "int local_20 [3];" primitive_type (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x199beb;" (assignment_expression "uStack_14 = 0x199beb" identifier = number_literal) ;) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" identifier = identifier) ;) (expression_statement "local_30 = param_8;" (assignment_expression "local_30 = param_8" identifier = identifier) ;) (expression_statement "local_4c = param_4;" (assignment_expression "local_4c = param_4" identifier = identifier) ;) (expression_statement "local_50 = param_6;" (assignment_expression "local_50 = param_6" identifier = identifier) ;) (expression_statement "local_34 = param_7;" (assignment_expression "local_34 = param_7" identifier = identifier) ;) (expression_statement "local_68[0] = param_5 + 0x6c;" (assignment_expression "local_68[0] = param_5 + 0x6c" (subscript_expression "local_68[0]" identifier [ number_literal ]) = (binary_expression "param_5 + 0x6c" identifier + number_literal)) ;) (expression_statement "puStack_6c = &local_21;" (assignment_expression "puStack_6c = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "uStack_70 = 0x199c25;" (assignment_expression "uStack_70 = 0x199c25" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_001992c0();" (assignment_expression "iVar4 = FUN_001992c0()" identifier = (call_expression "FUN_001992c0()" identifier (argument_list "()" ( )))) ;) (expression_statement "aiStack_b8[2] = iVar4 + 0x26;" (assignment_expression "aiStack_b8[2] = iVar4 + 0x26" (subscript_expression "aiStack_b8[2]" identifier [ number_literal ]) = (binary_expression "iVar4 + 0x26" identifier + number_literal)) ;) (expression_statement "aiStack_b8[3] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_b8[3] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_b8[3]" identifier [ number_literal ]) = (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) ))))) ;) (expression_statement "local_54 = aiStack_b8[3] & 0x4a;" (assignment_expression "local_54 = aiStack_b8[3] & 0x4a" identifier = (binary_expression "aiStack_b8[3] & 0x4a" (subscript_expression "aiStack_b8[3]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "local_35 = local_54 != 0x40 && local_54 != 8;" (assignment_expression "local_35 = local_54 != 0x40 && local_54 != 8" identifier = (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" identifier != number_literal) && (binary_expression "local_54 != 8" identifier != number_literal))) ;) (expression_statement "aiStack_b8[0] = local_34;" (assignment_expression "aiStack_b8[0] = local_34" (subscript_expression "aiStack_b8[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "aiStack_b8[1] = local_30;" (assignment_expression "aiStack_b8[1] = local_30" (subscript_expression "aiStack_b8[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" if (parenthesized_expression "(((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8))" ( (binary_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)" (parenthesized_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0)" ( (binary_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0" (cast_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_30 - 1) + (uint)(local_34 != 0) | local_30)" ( (binary_expression "(local_30 - 1) + (uint)(local_34 != 0) | local_30" (binary_expression "(local_30 - 1) + (uint)(local_34 != 0)" (parenthesized_expression "(local_30 - 1)" ( (binary_expression "local_30 - 1" identifier - number_literal) )) + (call_expression "(uint)(local_34 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )))) | identifier) ))) < number_literal) )) && (parenthesized_expression "(local_54 != 0x40 && local_54 != 8)" ( (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" identifier != number_literal) && (binary_expression "local_54 != 8" identifier != number_literal)) ))) )) (compound_statement "{\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" { (expression_statement "aiStack_b8[0] = -local_34;" (assignment_expression "aiStack_b8[0] = -local_34" (subscript_expression "aiStack_b8[0]" identifier [ number_literal ]) = (unary_expression "-local_34" - identifier)) ;) (expression_statement "aiStack_b8[1] = -(local_30 + (local_34 != 0));" (assignment_expression "aiStack_b8[1] = -(local_30 + (local_34 != 0))" (subscript_expression "aiStack_b8[1]" identifier [ number_literal ]) = (unary_expression "-(local_30 + (local_34 != 0))" - (parenthesized_expression "(local_30 + (local_34 != 0))" ( (binary_expression "local_30 + (local_34 != 0)" identifier + (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) ))) )))) ;) })) (expression_statement "aiStack_b8[4] = (int)(byte)local_35;" (assignment_expression "aiStack_b8[4] = (int)(byte)local_35" (subscript_expression "aiStack_b8[4]" identifier [ number_literal ]) = (cast_expression "(int)(byte)local_35" ( (type_descriptor "int" primitive_type) ) (cast_expression "(byte)local_35" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "apiStack_c0[1] = local_68;" (assignment_expression "apiStack_c0[1] = local_68" (subscript_expression "apiStack_c0[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "apiStack_c0[0] = (int *)0x199c95;" (assignment_expression "apiStack_c0[0] = (int *)0x199c95" (subscript_expression "apiStack_c0[0]" identifier [ number_literal ]) = (cast_expression "(int *)0x199c95" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = aiStack_b8[2];" (assignment_expression "local_48 = aiStack_b8[2]" identifier = (subscript_expression "aiStack_b8[2]" identifier [ number_literal ])) ;) (expression_statement "local_44 = aiStack_b8[3];" (assignment_expression "local_44 = aiStack_b8[3]" identifier = (subscript_expression "aiStack_b8[3]" identifier [ number_literal ])) ;) (expression_statement "local_20[0] = FUN_00198f50();" (assignment_expression "local_20[0] = FUN_00198f50()" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "FUN_00198f50()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar9 = auStack_9c;" (assignment_expression "puVar9 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar10 = auStack_9c;" (assignment_expression "puVar10 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar7 = (undefined1 *)((int)local_68 - local_20[0]);" (assignment_expression "puVar7 = (undefined1 *)((int)local_68 - local_20[0])" identifier = (cast_expression "(undefined1 *)((int)local_68 - local_20[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_68 - local_20[0])" ( (binary_expression "(int)local_68 - local_20[0]" (cast_expression "(int)local_68" ( (type_descriptor "int" primitive_type) ) identifier) - (subscript_expression "local_20[0]" identifier [ number_literal ])) )))) ;) (if_statement "if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" if (parenthesized_expression "(*(char *)(iVar4 + 0x10) == '\0')" ( (binary_expression "*(char *)(iVar4 + 0x10) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x10)" * (cast_expression "(char *)(iVar4 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" { (if_statement "if (local_35 != '\0') goto LAB_00199cb6;" if (parenthesized_expression "(local_35 != '\0')" ( (binary_expression "local_35 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00199cb6;" goto statement_identifier ;)) (labeled_statement "LAB_00199dcc:\n    puVar5 = puVar7;" statement_identifier : (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;)) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0))" ( (binary_expression "((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)" (parenthesized_expression "((local_44 & 0x200) != 0)" ( (binary_expression "(local_44 & 0x200) != 0" (parenthesized_expression "(local_44 & 0x200)" ( (binary_expression "local_44 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(local_34 != 0 || local_30 != 0)" ( (binary_expression "local_34 != 0 || local_30 != 0" (binary_expression "local_34 != 0" identifier != number_literal) || (binary_expression "local_30 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" { (if_statement "if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" if (parenthesized_expression "(local_54 == 0x40)" ( (binary_expression "local_54 == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" else (compound_statement "{\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" { (expression_statement "iVar6 = local_20[0] + 2;" (assignment_expression "iVar6 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -2;" (assignment_expression "puVar5 = puVar7 + -2" identifier = (binary_expression "puVar7 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (subscript_expression "puVar7[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" * (cast_expression "(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28 + (local_44 >> 0xe & 1))" ( (binary_expression "iVar4 + 0x28 + (local_44 >> 0xe & 1)" (binary_expression "iVar4 + 0x28" identifier + number_literal) + (parenthesized_expression "(local_44 >> 0xe & 1)" ( (binary_expression "local_44 >> 0xe & 1" (binary_expression "local_44 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" * (cast_expression "(undefined1 *)(iVar4 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x2a)" ( (binary_expression "iVar4 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;)) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar6)" ( (binary_expression "iVar4 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" else (compound_statement "{\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" { (expression_statement "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0)" identifier = (unary_expression "-(local_20[0] * 2 + 0x1dU & 0xfffffff0)" - (parenthesized_expression "(local_20[0] * 2 + 0x1dU & 0xfffffff0)" ( (binary_expression "local_20[0] * 2 + 0x1dU & 0xfffffff0" (binary_expression "local_20[0] * 2 + 0x1dU" (binary_expression "local_20[0] * 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_9c + iVar6;" (assignment_expression "puVar10 = auStack_9c + iVar6" identifier = (binary_expression "auStack_9c + iVar6" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_9c + iVar6;" (assignment_expression "puVar9 = auStack_9c + iVar6" identifier = (binary_expression "auStack_9c + iVar6" identifier + identifier)) ;) (expression_statement "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18)" * (cast_expression "(int **)((int)aiStack_b8 + iVar6 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x18)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x18" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" * (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x14)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x14" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar7 = auStack_8e + iVar6;" (assignment_expression "puVar7 = auStack_8e + iVar6" identifier = (binary_expression "auStack_8e + iVar6" identifier + identifier)) ;) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" * (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x10)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0x10" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc)" * (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0xc)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 0xc" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25)" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 8)" * (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 8)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 8" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (cast_expression "(int)*(char *)(iVar4 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar4 + 0x25)" * (cast_expression "(char *)(iVar4 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x25)" ( (binary_expression "iVar4 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6 + 4)" ( (binary_expression "(int)aiStack_b8 + iVar6 + 4" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" * (cast_expression "(undefined4 *)(iVar4 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0xc)" ( (binary_expression "iVar4 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6)" * (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_b8 + iVar6)" ( (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" * (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apiStack_c0 + iVar6 + 4)" ( (binary_expression "(int)apiStack_c0 + iVar6 + 4" (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6)" * (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apiStack_c0 + iVar6)" ( (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00197bb0();" (call_expression "FUN_00197bb0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_35 == '\0') goto LAB_00199dcc;" if (parenthesized_expression "(local_35 == '\0')" ( (binary_expression "local_35 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00199dcc;" goto statement_identifier ;)) (labeled_statement "LAB_00199cb6:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" if (parenthesized_expression "((int)local_30 < 0)" ( (binary_expression "(int)local_30 < 0" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" { (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26)" (subscript_expression "puVar7[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar4 + 0x26)" * (cast_expression "(undefined1 *)(iVar4 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x26)" ( (binary_expression "iVar4 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;) })) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" identifier = identifier) ;) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_44 & 0x800) == 0) goto LAB_00199cca;" if (parenthesized_expression "((local_44 & 0x800) == 0)" ( (binary_expression "(local_44 & 0x800) == 0" (parenthesized_expression "(local_44 & 0x800)" ( (binary_expression "local_44 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00199cca;" goto statement_identifier ;)) (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" identifier = (binary_expression "puVar7 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x27);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x27)" (pointer_expression "*puVar5" * identifier) = (pointer_expression "*(undefined1 *)(iVar4 + 0x27)" * (cast_expression "(undefined1 *)(iVar4 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x27)" ( (binary_expression "iVar4 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" identifier = (pointer_expression "*(int *)(param_5 + 8)" * (cast_expression "(int *)(param_5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" if (parenthesized_expression "(iVar4 <= iVar6)" ( (binary_expression "iVar4 <= iVar6" identifier <= identifier) )) (goto_statement "goto LAB_00199cd4;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar4 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar4 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar4 + 0x1bU & 0xfffffff0" (binary_expression "iVar4 + 0x1bU" identifier + number_literal) & number_literal) )))) ;) (expression_statement "*(int **)(puVar9 + iVar2 + -8) = local_20;" (assignment_expression "*(int **)(puVar9 + iVar2 + -8) = local_20" (pointer_expression "*(int **)(puVar9 + iVar2 + -8)" * (cast_expression "(int **)(puVar9 + iVar2 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -8)" ( (binary_expression "puVar9 + iVar2 + -8" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0xc)" ( (binary_expression "puVar9 + iVar2 + -0xc" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = (int)(char)local_50;" (assignment_expression "iVar6 = (int)(char)local_50" identifier = (cast_expression "(int)(char)local_50" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_50" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10)" * (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0x10)" ( (binary_expression "puVar9 + iVar2 + -0x10" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar2 + 0xf)" ( (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x14) = param_5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x14) = param_5" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x14)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x14)" ( (binary_expression "puVar9 + iVar2 + -0x14" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x18) = iVar4;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar4" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x18)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x18)" ( (binary_expression "puVar9 + iVar2 + -0x18" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x1c)" * (cast_expression "(int *)(puVar9 + iVar2 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x1c)" ( (binary_expression "puVar9 + iVar2 + -0x1c" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20)" * (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x20)" ( (binary_expression "puVar9 + iVar2 + -0x20" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24)" * (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + iVar2 + -0x24)" ( (binary_expression "puVar9 + iVar2 + -0x24" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00198e60();" (call_expression "FUN_00198e60()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" identifier = (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" ( (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar9 + iVar2 + 0xf)" ( (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (expression_statement "puVar9 = puVar9 + iVar2;" (assignment_expression "puVar9 = puVar9 + iVar2" identifier = (binary_expression "puVar9 + iVar2" identifier + identifier)) ;) (labeled_statement "LAB_00199cd4:\n  piVar3 = local_3c;" statement_identifier : (expression_statement "piVar3 = local_3c;" (assignment_expression "piVar3 = local_3c" identifier = identifier) ;)) (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "cVar8 = (char)local_4c;" (assignment_expression "cVar8 = (char)local_4c" identifier = (cast_expression "(char)local_4c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" { (expression_statement "iVar4 = *local_3c;" (assignment_expression "iVar4 = *local_3c" identifier = (pointer_expression "*local_3c" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar6;" (assignment_expression "*(int *)(puVar9 + -8) = iVar6" (pointer_expression "*(int *)(puVar9 + -8)" * (cast_expression "(int *)(puVar9 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(puVar9 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + -0xc)" * (cast_expression "(undefined1 **)(puVar9 + -0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0xc)" ( (binary_expression "puVar9 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar9 + -0x10) = piVar3;" (assignment_expression "*(int **)(puVar9 + -0x10) = piVar3" (pointer_expression "*(int **)(puVar9 + -0x10)" * (cast_expression "(int **)(puVar9 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + -0x10)" ( (binary_expression "puVar9 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar1 = *(code **)(iVar4 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar4 + 0x30)" identifier = (pointer_expression "*(code **)(iVar4 + 0x30)" * (cast_expression "(code **)(iVar4 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" * (cast_expression "(undefined4 *)(puVar9 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -0x14)" ( (binary_expression "puVar9 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar4 = (*pcVar1)();" (assignment_expression "iVar4 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }" if (parenthesized_expression "(iVar4 != iVar6)" ( (binary_expression "iVar4 != iVar6" identifier != identifier) )) (compound_statement "{\n      cVar8 = '\x01';\n    }" { (expression_statement "cVar8 = '\x01';" (assignment_expression "cVar8 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "*param_1 = local_3c;" (assignment_expression "*param_1 = local_3c" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(char *)(param_1 + 1) = cVar8;" (assignment_expression "*(char *)(param_1 + 1) = cVar8" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) | IDENT) ))) < LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (unary_expression - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (unary_expression - (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (binary_expression IDENT != LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) ))) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) })) (labeled_statement statement_identifier : (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) * LIT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_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 IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))) & LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 *\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" (* "*") (function_declarator "FUN_00199be0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" (identifier "FUN_00199be0") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7,uint param_8)" (( "(") (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") (identifier "param_7")) (, ",") (parameter_declaration "uint param_8" (type_identifier "uint") (identifier "param_8")) () ")")))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  int *apiStack_c0 [2];\n  int aiStack_b8 [7];\n  undefined1 auStack_9c [14];\n  undefined1 auStack_8e [30];\n  undefined4 uStack_70;\n  undefined1 *puStack_6c;\n  int local_68 [5];\n  uint local_54;\n  undefined4 local_50;\n  undefined4 local_4c;\n  int local_48;\n  uint local_44;\n  undefined **local_40;\n  int *local_3c;\n  char local_35;\n  int local_34;\n  uint local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x199beb;\n  local_40 = &__DT_PLTGOT;\n  local_3c = param_3;\n  local_30 = param_8;\n  local_4c = param_4;\n  local_50 = param_6;\n  local_34 = param_7;\n  local_68[0] = param_5 + 0x6c;\n  puStack_6c = &local_21;\n  uStack_70 = 0x199c25;\n  iVar4 = FUN_001992c0();\n  aiStack_b8[2] = iVar4 + 0x26;\n  aiStack_b8[3] = *(uint *)(param_5 + 0xc);\n  local_54 = aiStack_b8[3] & 0x4a;\n  local_35 = local_54 != 0x40 && local_54 != 8;\n  aiStack_b8[0] = local_34;\n  aiStack_b8[1] = local_30;\n  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }\n  aiStack_b8[4] = (int)(byte)local_35;\n  apiStack_c0[1] = local_68;\n  apiStack_c0[0] = (int *)0x199c95;\n  local_48 = aiStack_b8[2];\n  local_44 = aiStack_b8[3];\n  local_20[0] = FUN_00198f50();\n  puVar9 = auStack_9c;\n  puVar10 = auStack_9c;\n  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);\n  if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;\n  iVar6 = (int)(char)local_50;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;\n  FUN_00198e60();\n  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar6 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_00199cd4:\n  piVar3 = local_3c;\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_4c;\n  if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = local_3c;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "char cVar8;" (primitive_type "char") (identifier "cVar8") (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined1 *puVar10;" (type_identifier "undefined1") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int *apiStack_c0 [2];" (primitive_type "int") (pointer_declarator "*apiStack_c0 [2]" (* "*") (array_declarator "apiStack_c0 [2]" (identifier "apiStack_c0") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "int aiStack_b8 [7];" (primitive_type "int") (array_declarator "aiStack_b8 [7]" (identifier "aiStack_b8") ([ "[") (number_literal "7") (] "]")) (; ";")) (declaration "undefined1 auStack_9c [14];" (type_identifier "undefined1") (array_declarator "auStack_9c [14]" (identifier "auStack_9c") ([ "[") (number_literal "14") (] "]")) (; ";")) (declaration "undefined1 auStack_8e [30];" (type_identifier "undefined1") (array_declarator "auStack_8e [30]" (identifier "auStack_8e") ([ "[") (number_literal "30") (] "]")) (; ";")) (declaration "undefined4 uStack_70;" (type_identifier "undefined4") (identifier "uStack_70") (; ";")) (declaration "undefined1 *puStack_6c;" (type_identifier "undefined1") (pointer_declarator "*puStack_6c" (* "*") (identifier "puStack_6c")) (; ";")) (declaration "int local_68 [5];" (primitive_type "int") (array_declarator "local_68 [5]" (identifier "local_68") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "uint local_54;" (type_identifier "uint") (identifier "local_54") (; ";")) (declaration "undefined4 local_50;" (type_identifier "undefined4") (identifier "local_50") (; ";")) (declaration "undefined4 local_4c;" (type_identifier "undefined4") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "uint local_44;" (type_identifier "uint") (identifier "local_44") (; ";")) (declaration "undefined **local_40;" (type_identifier "undefined") (pointer_declarator "**local_40" (* "*") (pointer_declarator "*local_40" (* "*") (identifier "local_40"))) (; ";")) (declaration "int *local_3c;" (primitive_type "int") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "char local_35;" (primitive_type "char") (identifier "local_35") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "undefined1 local_21;" (type_identifier "undefined1") (identifier "local_21") (; ";")) (declaration "int local_20 [3];" (primitive_type "int") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x199beb;" (assignment_expression "uStack_14 = 0x199beb" (identifier "uStack_14") (= "=") (number_literal "0x199beb")) (; ";")) (expression_statement "local_40 = &__DT_PLTGOT;" (assignment_expression "local_40 = &__DT_PLTGOT" (identifier "local_40") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "local_3c = param_3;" (assignment_expression "local_3c = param_3" (identifier "local_3c") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30 = param_8;" (assignment_expression "local_30 = param_8" (identifier "local_30") (= "=") (identifier "param_8")) (; ";")) (expression_statement "local_4c = param_4;" (assignment_expression "local_4c = param_4" (identifier "local_4c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_50 = param_6;" (assignment_expression "local_50 = param_6" (identifier "local_50") (= "=") (identifier "param_6")) (; ";")) (expression_statement "local_34 = param_7;" (assignment_expression "local_34 = param_7" (identifier "local_34") (= "=") (identifier "param_7")) (; ";")) (expression_statement "local_68[0] = param_5 + 0x6c;" (assignment_expression "local_68[0] = param_5 + 0x6c" (subscript_expression "local_68[0]" (identifier "local_68") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c"))) (; ";")) (expression_statement "puStack_6c = &local_21;" (assignment_expression "puStack_6c = &local_21" (identifier "puStack_6c") (= "=") (pointer_expression "&local_21" (& "&") (identifier "local_21"))) (; ";")) (expression_statement "uStack_70 = 0x199c25;" (assignment_expression "uStack_70 = 0x199c25" (identifier "uStack_70") (= "=") (number_literal "0x199c25")) (; ";")) (expression_statement "iVar4 = FUN_001992c0();" (assignment_expression "iVar4 = FUN_001992c0()" (identifier "iVar4") (= "=") (call_expression "FUN_001992c0()" (identifier "FUN_001992c0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "aiStack_b8[2] = iVar4 + 0x26;" (assignment_expression "aiStack_b8[2] = iVar4 + 0x26" (subscript_expression "aiStack_b8[2]" (identifier "aiStack_b8") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "iVar4 + 0x26" (identifier "iVar4") (+ "+") (number_literal "0x26"))) (; ";")) (expression_statement "aiStack_b8[3] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_b8[3] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_b8[3]" (identifier "aiStack_b8") ([ "[") (number_literal "3") (] "]")) (= "=") (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")) () ")"))))) (; ";")) (expression_statement "local_54 = aiStack_b8[3] & 0x4a;" (assignment_expression "local_54 = aiStack_b8[3] & 0x4a" (identifier "local_54") (= "=") (binary_expression "aiStack_b8[3] & 0x4a" (subscript_expression "aiStack_b8[3]" (identifier "aiStack_b8") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0x4a"))) (; ";")) (expression_statement "local_35 = local_54 != 0x40 && local_54 != 8;" (assignment_expression "local_35 = local_54 != 0x40 && local_54 != 8" (identifier "local_35") (= "=") (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" (identifier "local_54") (!= "!=") (number_literal "0x40")) (&& "&&") (binary_expression "local_54 != 8" (identifier "local_54") (!= "!=") (number_literal "8")))) (; ";")) (expression_statement "aiStack_b8[0] = local_34;" (assignment_expression "aiStack_b8[0] = local_34" (subscript_expression "aiStack_b8[0]" (identifier "aiStack_b8") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "aiStack_b8[1] = local_30;" (assignment_expression "aiStack_b8[1] = local_30" (subscript_expression "aiStack_b8[1]" (identifier "aiStack_b8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (if_statement "if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)) {\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" (if "if") (parenthesized_expression "(((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8))" (( "(") (binary_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&\n     (local_54 != 0x40 && local_54 != 8)" (parenthesized_expression "((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0)" (( "(") (binary_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0" (cast_expression "(int)((local_30 - 1) + (uint)(local_34 != 0) | local_30)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((local_30 - 1) + (uint)(local_34 != 0) | local_30)" (( "(") (binary_expression "(local_30 - 1) + (uint)(local_34 != 0) | local_30" (binary_expression "(local_30 - 1) + (uint)(local_34 != 0)" (parenthesized_expression "(local_30 - 1)" (( "(") (binary_expression "local_30 - 1" (identifier "local_30") (- "-") (number_literal "1")) () ")")) (+ "+") (call_expression "(uint)(local_34 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")")))) (| "|") (identifier "local_30")) () ")"))) (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_54 != 0x40 && local_54 != 8)" (( "(") (binary_expression "local_54 != 0x40 && local_54 != 8" (binary_expression "local_54 != 0x40" (identifier "local_54") (!= "!=") (number_literal "0x40")) (&& "&&") (binary_expression "local_54 != 8" (identifier "local_54") (!= "!=") (number_literal "8"))) () ")"))) () ")")) (compound_statement "{\n    aiStack_b8[0] = -local_34;\n    aiStack_b8[1] = -(local_30 + (local_34 != 0));\n  }" ({ "{") (expression_statement "aiStack_b8[0] = -local_34;" (assignment_expression "aiStack_b8[0] = -local_34" (subscript_expression "aiStack_b8[0]" (identifier "aiStack_b8") ([ "[") (number_literal "0") (] "]")) (= "=") (unary_expression "-local_34" (- "-") (identifier "local_34"))) (; ";")) (expression_statement "aiStack_b8[1] = -(local_30 + (local_34 != 0));" (assignment_expression "aiStack_b8[1] = -(local_30 + (local_34 != 0))" (subscript_expression "aiStack_b8[1]" (identifier "aiStack_b8") ([ "[") (number_literal "1") (] "]")) (= "=") (unary_expression "-(local_30 + (local_34 != 0))" (- "-") (parenthesized_expression "(local_30 + (local_34 != 0))" (( "(") (binary_expression "local_30 + (local_34 != 0)" (identifier "local_30") (+ "+") (parenthesized_expression "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")"))) () ")")))) (; ";")) (} "}"))) (expression_statement "aiStack_b8[4] = (int)(byte)local_35;" (assignment_expression "aiStack_b8[4] = (int)(byte)local_35" (subscript_expression "aiStack_b8[4]" (identifier "aiStack_b8") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)(byte)local_35" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(byte)local_35" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_35")))) (; ";")) (expression_statement "apiStack_c0[1] = local_68;" (assignment_expression "apiStack_c0[1] = local_68" (subscript_expression "apiStack_c0[1]" (identifier "apiStack_c0") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_68")) (; ";")) (expression_statement "apiStack_c0[0] = (int *)0x199c95;" (assignment_expression "apiStack_c0[0] = (int *)0x199c95" (subscript_expression "apiStack_c0[0]" (identifier "apiStack_c0") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(int *)0x199c95" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x199c95"))) (; ";")) (expression_statement "local_48 = aiStack_b8[2];" (assignment_expression "local_48 = aiStack_b8[2]" (identifier "local_48") (= "=") (subscript_expression "aiStack_b8[2]" (identifier "aiStack_b8") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_44 = aiStack_b8[3];" (assignment_expression "local_44 = aiStack_b8[3]" (identifier "local_44") (= "=") (subscript_expression "aiStack_b8[3]" (identifier "aiStack_b8") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "local_20[0] = FUN_00198f50();" (assignment_expression "local_20[0] = FUN_00198f50()" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "FUN_00198f50()" (identifier "FUN_00198f50") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar9 = auStack_9c;" (assignment_expression "puVar9 = auStack_9c" (identifier "puVar9") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "puVar10 = auStack_9c;" (assignment_expression "puVar10 = auStack_9c" (identifier "puVar10") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "puVar7 = (undefined1 *)((int)local_68 - local_20[0]);" (assignment_expression "puVar7 = (undefined1 *)((int)local_68 - local_20[0])" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)((int)local_68 - local_20[0])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_68 - local_20[0])" (( "(") (binary_expression "(int)local_68 - local_20[0]" (cast_expression "(int)local_68" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_68")) (- "-") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) () ")")))) (; ";")) (if_statement "if (*(char *)(iVar4 + 0x10) == '\0') {\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }\n  else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar4 + 0x10) == '\0')" (( "(") (binary_expression "*(char *)(iVar4 + 0x10) == '\0'" (pointer_expression "*(char *)(iVar4 + 0x10)" (* "*") (cast_expression "(char *)(iVar4 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (local_35 != '\0') goto LAB_00199cb6;\nLAB_00199dcc:\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }\nLAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" ({ "{") (if_statement "if (local_35 != '\0') goto LAB_00199cb6;" (if "if") (parenthesized_expression "(local_35 != '\0')" (( "(") (binary_expression "local_35 != '\0'" (identifier "local_35") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00199cb6;" (goto "goto") (statement_identifier "LAB_00199cb6") (; ";"))) (labeled_statement "LAB_00199dcc:\n    puVar5 = puVar7;" (statement_identifier "LAB_00199dcc") (: ":") (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" (identifier "puVar5") (= "=") (identifier "puVar7")) (; ";"))) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" (identifier "iVar6") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" (if "if") (parenthesized_expression "(((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0))" (( "(") (binary_expression "((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)" (parenthesized_expression "((local_44 & 0x200) != 0)" (( "(") (binary_expression "(local_44 & 0x200) != 0" (parenthesized_expression "(local_44 & 0x200)" (( "(") (binary_expression "local_44 & 0x200" (identifier "local_44") (& "&") (number_literal "0x200")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_34 != 0 || local_30 != 0)" (( "(") (binary_expression "local_34 != 0 || local_30 != 0" (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) (|| "||") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n    }" ({ "{") (if_statement "if (local_54 == 0x40) {\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }\n      else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" (if "if") (parenthesized_expression "(local_54 == 0x40)" (( "(") (binary_expression "local_54 == 0x40" (identifier "local_54") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n        iVar6 = local_20[0] + 1;\n        puVar5 = puVar7 + -1;\n        local_20[0] = iVar6;\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" ({ "{") (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" (identifier "iVar6") (= "=") (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" (identifier "puVar5") (= "=") (binary_expression "puVar7 + -1" (identifier "puVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x2a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2a)" (( "(") (binary_expression "iVar4 + 0x2a" (identifier "iVar4") (+ "+") (number_literal "0x2a")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" (else "else") (compound_statement "{\n        iVar6 = local_20[0] + 2;\n        puVar5 = puVar7 + -2;\n        local_20[0] = iVar6;\n        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));\n        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);\n      }" ({ "{") (expression_statement "iVar6 = local_20[0] + 2;" (assignment_expression "iVar6 = local_20[0] + 2" (identifier "iVar6") (= "=") (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar5 = puVar7 + -2;" (assignment_expression "puVar5 = puVar7 + -2" (identifier "puVar5") (= "=") (binary_expression "puVar7 + -2" (identifier "puVar7") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (subscript_expression "puVar7[-1]" (identifier "puVar7") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28 + (local_44 >> 0xe & 1))" (( "(") (binary_expression "iVar4 + 0x28 + (local_44 >> 0xe & 1)" (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) (+ "+") (parenthesized_expression "(local_44 >> 0xe & 1)" (( "(") (binary_expression "local_44 >> 0xe & 1" (binary_expression "local_44 >> 0xe" (identifier "local_44") (>> ">>") (number_literal "0xe")) (& "&") (number_literal "1")) () ")"))) () ")"))))) (; ";")) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x2a);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x2a)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*(undefined1 *)(iVar4 + 0x2a)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x2a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x2a)" (( "(") (binary_expression "iVar4 + 0x2a" (identifier "iVar4") (+ "+") (number_literal "0x2a")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00199cca:\n    iVar4 = *(int *)(param_5 + 8);" (statement_identifier "LAB_00199cca") (: ":") (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_5 + 8)" (* "*") (cast_expression "(int *)(param_5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 8)" (( "(") (binary_expression "param_5 + 8" (identifier "param_5") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" (identifier "puVar9") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" (if "if") (parenthesized_expression "(iVar4 <= iVar6)" (( "(") (binary_expression "iVar4 <= iVar6" (identifier "iVar4") (<= "<=") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_00199cd4;" (goto "goto") (statement_identifier "LAB_00199cd4") (; ";"))) (} "}")) (else_clause "else {\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" (else "else") (compound_statement "{\n    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_9c + iVar6;\n    puVar9 = auStack_9c + iVar6;\n    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;\n    puVar7 = auStack_8e + iVar6;\n    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;\n    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;\n    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);\n    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);\n    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);\n    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;\n    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;\n    FUN_00197bb0();\n    if (local_35 == '\0') goto LAB_00199dcc;\nLAB_00199cb6:\n    puVar10 = puVar9;\n    if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }\n    puVar5 = puVar7;\n    iVar6 = local_20[0];\n    if ((local_44 & 0x800) == 0) goto LAB_00199cca;\n    iVar6 = local_20[0] + 1;\n    puVar5 = puVar7 + -1;\n    local_20[0] = iVar6;\n    *puVar5 = *(undefined1 *)(iVar4 + 0x27);\n    iVar4 = *(int *)(param_5 + 8);\n    if (iVar4 <= iVar6) goto LAB_00199cd4;\n  }" ({ "{") (expression_statement "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0)" (identifier "iVar6") (= "=") (unary_expression "-(local_20[0] * 2 + 0x1dU & 0xfffffff0)" (- "-") (parenthesized_expression "(local_20[0] * 2 + 0x1dU & 0xfffffff0)" (( "(") (binary_expression "local_20[0] * 2 + 0x1dU & 0xfffffff0" (binary_expression "local_20[0] * 2 + 0x1dU" (binary_expression "local_20[0] * 2" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (* "*") (number_literal "2")) (+ "+") (number_literal "0x1dU")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar10 = auStack_9c + iVar6;" (assignment_expression "puVar10 = auStack_9c + iVar6" (identifier "puVar10") (= "=") (binary_expression "auStack_9c + iVar6" (identifier "auStack_9c") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "puVar9 = auStack_9c + iVar6;" (assignment_expression "puVar9 = auStack_9c + iVar6" (identifier "puVar9") (= "=") (binary_expression "auStack_9c + iVar6" (identifier "auStack_9c") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_b8 + iVar6 + 0x18)" (* "*") (cast_expression "(int **)((int)aiStack_b8 + iVar6 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x18)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 0x18" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" (* "*") (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x14)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 0x14" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "puVar7 = auStack_8e + iVar6;" (assignment_expression "puVar7 = auStack_8e + iVar6" (identifier "puVar7") (= "=") (binary_expression "auStack_8e + iVar6" (identifier "auStack_8e") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;" (assignment_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7" (pointer_expression "*(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" (* "*") (cast_expression "(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0x10)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 0x10" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 0xc)" (* "*") (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 0xc)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 0xc" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);" (assignment_expression "*(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25)" (pointer_expression "*(int *)((int)aiStack_b8 + iVar6 + 8)" (* "*") (cast_expression "(int *)((int)aiStack_b8 + iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 8)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 8" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "8")) () ")")))) (= "=") (cast_expression "(int)*(char *)(iVar4 + 0x25)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(iVar4 + 0x25)" (* "*") (cast_expression "(char *)(iVar4 + 0x25)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x25)" (( "(") (binary_expression "iVar4 + 0x25" (identifier "iVar4") (+ "+") (number_literal "0x25")) () ")")))))) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6 + 4)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6 + 4" (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0xc)" (( "(") (binary_expression "iVar4 + 0xc" (identifier "iVar4") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_b8 + iVar6)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_b8 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_b8 + iVar6)" (( "(") (binary_expression "(int)aiStack_b8 + iVar6" (cast_expression "(int)aiStack_b8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_b8")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)apiStack_c0 + iVar6 + 4)" (( "(") (binary_expression "(int)apiStack_c0 + iVar6 + 4" (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "apiStack_c0")) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;" (assignment_expression "*(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba" (pointer_expression "*(undefined4 *)((int)apiStack_c0 + iVar6)" (* "*") (cast_expression "(undefined4 *)((int)apiStack_c0 + iVar6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)apiStack_c0 + iVar6)" (( "(") (binary_expression "(int)apiStack_c0 + iVar6" (cast_expression "(int)apiStack_c0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "apiStack_c0")) (+ "+") (identifier "iVar6")) () ")")))) (= "=") (number_literal "0x199dba")) (; ";")) (expression_statement "FUN_00197bb0();" (call_expression "FUN_00197bb0()" (identifier "FUN_00197bb0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_35 == '\0') goto LAB_00199dcc;" (if "if") (parenthesized_expression "(local_35 == '\0')" (( "(") (binary_expression "local_35 == '\0'" (identifier "local_35") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00199dcc;" (goto "goto") (statement_identifier "LAB_00199dcc") (; ";"))) (labeled_statement "LAB_00199cb6:\n    puVar10 = puVar9;" (statement_identifier "LAB_00199cb6") (: ":") (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";"))) (if_statement "if ((int)local_30 < 0) {\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" (if "if") (parenthesized_expression "((int)local_30 < 0)" (( "(") (binary_expression "(int)local_30 < 0" (cast_expression "(int)local_30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_30")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = local_20[0] + 1;\n      local_20[0] = iVar6;\n      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);\n      puVar5 = puVar7 + -1;\n      goto LAB_00199cca;\n    }" ({ "{") (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" (identifier "iVar6") (= "=") (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);" (assignment_expression "puVar7[-1] = *(undefined1 *)(iVar4 + 0x26)" (subscript_expression "puVar7[-1]" (identifier "puVar7") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined1 *)(iVar4 + 0x26)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x26)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x26)" (( "(") (binary_expression "iVar4 + 0x26" (identifier "iVar4") (+ "+") (number_literal "0x26")) () ")"))))) (; ";")) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" (identifier "puVar5") (= "=") (binary_expression "puVar7 + -1" (identifier "puVar7") (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto LAB_00199cca;" (goto "goto") (statement_identifier "LAB_00199cca") (; ";")) (} "}"))) (expression_statement "puVar5 = puVar7;" (assignment_expression "puVar5 = puVar7" (identifier "puVar5") (= "=") (identifier "puVar7")) (; ";")) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" (identifier "iVar6") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if ((local_44 & 0x800) == 0) goto LAB_00199cca;" (if "if") (parenthesized_expression "((local_44 & 0x800) == 0)" (( "(") (binary_expression "(local_44 & 0x800) == 0" (parenthesized_expression "(local_44 & 0x800)" (( "(") (binary_expression "local_44 & 0x800" (identifier "local_44") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00199cca;" (goto "goto") (statement_identifier "LAB_00199cca") (; ";"))) (expression_statement "iVar6 = local_20[0] + 1;" (assignment_expression "iVar6 = local_20[0] + 1" (identifier "iVar6") (= "=") (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar7 + -1;" (assignment_expression "puVar5 = puVar7 + -1" (identifier "puVar5") (= "=") (binary_expression "puVar7 + -1" (identifier "puVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_20[0] = iVar6;" (assignment_expression "local_20[0] = iVar6" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*puVar5 = *(undefined1 *)(iVar4 + 0x27);" (assignment_expression "*puVar5 = *(undefined1 *)(iVar4 + 0x27)" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (pointer_expression "*(undefined1 *)(iVar4 + 0x27)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x27)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x27)" (( "(") (binary_expression "iVar4 + 0x27" (identifier "iVar4") (+ "+") (number_literal "0x27")) () ")"))))) (; ";")) (expression_statement "iVar4 = *(int *)(param_5 + 8);" (assignment_expression "iVar4 = *(int *)(param_5 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_5 + 8)" (* "*") (cast_expression "(int *)(param_5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_5 + 8)" (( "(") (binary_expression "param_5 + 8" (identifier "param_5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar4 <= iVar6) goto LAB_00199cd4;" (if "if") (parenthesized_expression "(iVar4 <= iVar6)" (( "(") (binary_expression "iVar4 <= iVar6" (identifier "iVar4") (<= "<=") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_00199cd4;" (goto "goto") (statement_identifier "LAB_00199cd4") (; ";"))) (} "}")))) (expression_statement "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar4 + 0x1bU & 0xfffffff0)" (identifier "iVar2") (= "=") (unary_expression "-(iVar4 + 0x1bU & 0xfffffff0)" (- "-") (parenthesized_expression "(iVar4 + 0x1bU & 0xfffffff0)" (( "(") (binary_expression "iVar4 + 0x1bU & 0xfffffff0" (binary_expression "iVar4 + 0x1bU" (identifier "iVar4") (+ "+") (number_literal "0x1bU")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "*(int **)(puVar9 + iVar2 + -8) = local_20;" (assignment_expression "*(int **)(puVar9 + iVar2 + -8) = local_20" (pointer_expression "*(int **)(puVar9 + iVar2 + -8)" (* "*") (cast_expression "(int **)(puVar9 + iVar2 + -8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -8)" (( "(") (binary_expression "puVar9 + iVar2 + -8" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc)" (* "*") (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0xc)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0xc)" (( "(") (binary_expression "puVar9 + iVar2 + -0xc" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "iVar6 = (int)(char)local_50;" (assignment_expression "iVar6 = (int)(char)local_50" (identifier "iVar6") (= "=") (cast_expression "(int)(char)local_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)local_50" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_50")))) (; ";")) (expression_statement "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (pointer_expression "*(undefined1 **)(puVar9 + iVar2 + -0x10)" (* "*") (cast_expression "(undefined1 **)(puVar9 + iVar2 + -0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x10)" (( "(") (binary_expression "puVar9 + iVar2 + -0x10" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (( "(") (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar9 + iVar2 + 0xf)" (( "(") (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xf")) () ")"))) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "*(int *)(puVar9 + iVar2 + -0x14) = param_5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x14) = param_5" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x14)" (* "*") (cast_expression "(int *)(puVar9 + iVar2 + -0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x14)" (( "(") (binary_expression "puVar9 + iVar2 + -0x14" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(int *)(puVar9 + iVar2 + -0x18) = iVar4;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar4" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x18)" (* "*") (cast_expression "(int *)(puVar9 + iVar2 + -0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x18)" (( "(") (binary_expression "puVar9 + iVar2 + -0x18" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar6" (pointer_expression "*(int *)(puVar9 + iVar2 + -0x1c)" (* "*") (cast_expression "(int *)(puVar9 + iVar2 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x1c)" (( "(") (binary_expression "puVar9 + iVar2 + -0x1c" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x20)" (( "(") (binary_expression "puVar9 + iVar2 + -0x20" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63" (pointer_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar9 + iVar2 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + iVar2 + -0x24)" (( "(") (binary_expression "puVar9 + iVar2 + -0x24" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x199d63")) (; ";")) (expression_statement "FUN_00198e60();" (call_expression "FUN_00198e60()" (identifier "FUN_00198e60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (identifier "puVar5") (= "=") (cast_expression "(undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (( "(") (binary_expression "(uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0" (call_expression "(uint)(puVar9 + iVar2 + 0xf)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar9 + iVar2 + 0xf)" (( "(") (binary_expression "puVar9 + iVar2 + 0xf" (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "0xf")) () ")"))) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "iVar6 = local_20[0];" (assignment_expression "iVar6 = local_20[0]" (identifier "iVar6") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "puVar9 = puVar9 + iVar2;" (assignment_expression "puVar9 = puVar9 + iVar2" (identifier "puVar9") (= "=") (binary_expression "puVar9 + iVar2" (identifier "puVar9") (+ "+") (identifier "iVar2"))) (; ";")) (labeled_statement "LAB_00199cd4:\n  piVar3 = local_3c;" (statement_identifier "LAB_00199cd4") (: ":") (expression_statement "piVar3 = local_3c;" (assignment_expression "piVar3 = local_3c" (identifier "piVar3") (= "=") (identifier "local_3c")) (; ";"))) (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 "cVar8 = (char)local_4c;" (assignment_expression "cVar8 = (char)local_4c" (identifier "cVar8") (= "=") (cast_expression "(char)local_4c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_4c"))) (; ";")) (if_statement "if (cVar8 == '\0') {\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" (if "if") (parenthesized_expression "(cVar8 == '\0')" (( "(") (binary_expression "cVar8 == '\0'" (identifier "cVar8") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar4 = *local_3c;\n    *(int *)(puVar9 + -8) = iVar6;\n    *(undefined1 **)(puVar9 + -0xc) = puVar5;\n    *(int **)(puVar9 + -0x10) = piVar3;\n    pcVar1 = *(code **)(iVar4 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;\n    iVar4 = (*pcVar1)();\n    if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }\n  }" ({ "{") (expression_statement "iVar4 = *local_3c;" (assignment_expression "iVar4 = *local_3c" (identifier "iVar4") (= "=") (pointer_expression "*local_3c" (* "*") (identifier "local_3c"))) (; ";")) (expression_statement "*(int *)(puVar9 + -8) = iVar6;" (assignment_expression "*(int *)(puVar9 + -8) = iVar6" (pointer_expression "*(int *)(puVar9 + -8)" (* "*") (cast_expression "(int *)(puVar9 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -8)" (( "(") (binary_expression "puVar9 + -8" (identifier "puVar9") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined1 **)(puVar9 + -0xc) = puVar5;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar5" (pointer_expression "*(undefined1 **)(puVar9 + -0xc)" (* "*") (cast_expression "(undefined1 **)(puVar9 + -0xc)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + -0xc)" (( "(") (binary_expression "puVar9 + -0xc" (identifier "puVar9") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "puVar5")) (; ";")) (expression_statement "*(int **)(puVar9 + -0x10) = piVar3;" (assignment_expression "*(int **)(puVar9 + -0x10) = piVar3" (pointer_expression "*(int **)(puVar9 + -0x10)" (* "*") (cast_expression "(int **)(puVar9 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + -0x10)" (( "(") (binary_expression "puVar9 + -0x10" (identifier "puVar9") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "pcVar1 = *(code **)(iVar4 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar4 + 0x30)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(iVar4 + 0x30)" (* "*") (cast_expression "(code **)(iVar4 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x199cf7" (pointer_expression "*(undefined4 *)(puVar9 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar9 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -0x14)" (( "(") (binary_expression "puVar9 + -0x14" (identifier "puVar9") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x199cf7")) (; ";")) (expression_statement "iVar4 = (*pcVar1)();" (assignment_expression "iVar4 = (*pcVar1)()" (identifier "iVar4") (= "=") (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 != iVar6) {\n      cVar8 = '\x01';\n    }" (if "if") (parenthesized_expression "(iVar4 != iVar6)" (( "(") (binary_expression "iVar4 != iVar6" (identifier "iVar4") (!= "!=") (identifier "iVar6")) () ")")) (compound_statement "{\n      cVar8 = '\x01';\n    }" ({ "{") (expression_statement "cVar8 = '\x01';" (assignment_expression "cVar8 = '\x01'" (identifier "cVar8") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*param_1 = local_3c;" (assignment_expression "*param_1 = local_3c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "*(char *)(param_1 + 1) = cVar8;" (assignment_expression "*(char *)(param_1 + 1) = cVar8" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "cVar8")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char,
   std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_int<long
   long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, long long)
   const */

var_5 *
var_12::num_put<var_2,std::ostreambuf_iterator<var_2,var_12::var_1<var_2>>>::var_3<var_4>
          (var_5 *var_6,var_5 param_2,var_7 *var_8,var_2 var_32,var_7 var_14,var_2 param_6
          ,var_7 var_19,type_1 var_18)

{
  type_1 var_16;
  type_2 *pcVar2;
  int var_30;
  int var_15;
  type_3 *puVar5;
  type_3 *var_24;
  type_1 var_17;
  int var_25;
  type_3 *var_29;
  type_3 *puVar10;
  bool var_20;
  bool var_21;
  type_3 *apuStackY_c0 [2];
  int aiStackY_b8 [2];
  int aiStackY_b0 [5];
  type_3 var_26 [14];
  type_3 var_27 [30];
  var_5 uStackY_70;
  var_11<var_12::var_9<var_2>> var_10;
  int local_20 [3];
  var_5 uStack_14;
  
  uStack_14 = 0x199beb;
  uStackY_70 = 0x199c25;
  var_15 = var_11<var_12::var_9<var_2>>::var_13()(&var_10,(type_4 *)(var_14 + 0x6c))
  ;
  aiStackY_b0[0] = var_15 + 0x26;
  var_16 = *(type_1 *)(var_14 + 0xc);
  var_17 = var_16 & 0x4a;
  var_20 = var_17 != 0x40;
  var_21 = var_17 != 8;
  aiStackY_b8[0] = var_19;
  aiStackY_b8[1] = var_18;
  if (((int)((var_18 - 1) + (type_1)(var_19 != 0) | var_18) < 0) && (var_20 && var_21)) {
    aiStackY_b8[0] = -var_19;
    aiStackY_b8[1] = -(var_18 + (var_19 != 0));
  }
  aiStackY_b0[2] = (int)(var_20 && var_21);
  apuStackY_c0[1] = &stack0xffffff98;
  apuStackY_c0[0] = (type_3 *)0x199c95;
  aiStackY_b0[1] = var_16;
  local_20[0] = var_22<var_2,var_23>();
  var_29 = var_26;
  puVar10 = var_26;
  var_24 = &stack0xffffff98 + -local_20[0];
  if (*(char *)(var_15 + 0x10) == '\0') {
    if (var_20 && var_21) goto LAB_00199cb6;
LAB_00199dcc:
    puVar5 = var_24;
    var_25 = local_20[0];
    if (((var_16 & 0x200) != 0) && (var_19 != 0 || var_18 != 0)) {
      if (var_17 == 0x40) {
        var_25 = local_20[0] + 1;
        puVar5 = var_24 + -1;
        local_20[0] = var_25;
        *puVar5 = *(type_3 *)(var_15 + 0x2a);
      }
      else {
        var_25 = local_20[0] + 2;
        puVar5 = var_24 + -2;
        local_20[0] = var_25;
        var_24[-1] = *(type_3 *)(var_15 + 0x28 + (var_16 >> 0xe & 1));
        *puVar5 = *(type_3 *)(var_15 + 0x2a);
      }
    }
LAB_00199cca:
    var_15 = *(int *)(var_14 + 8);
    var_29 = puVar10;
    if (var_15 <= var_25) goto LAB_00199cd4;
  }
  else {
    var_25 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = var_26 + var_25;
    var_29 = var_26 + var_25;
    *(int **)((int)aiStackY_b0 + var_25 + 0x10) = local_20;
    *(type_3 **)((int)aiStackY_b0 + var_25 + 0xc) = var_24;
    var_24 = var_27 + var_25;
    *(type_3 **)((int)aiStackY_b0 + var_25 + 8) = var_24;
    *(int *)((int)aiStackY_b0 + var_25 + 4) = var_14;
    *(int *)((int)aiStackY_b0 + var_25) = (int)*(char *)(var_15 + 0x25);
    *(var_5 *)((int)aiStackY_b8 + var_25 + 4) = *(var_5 *)(var_15 + 0xc);
    *(var_5 *)((int)aiStackY_b8 + var_25) = *(var_5 *)(var_15 + 8);
    *(var_5 *)((int)apuStackY_c0 + var_25 + 4) = param_2;
    *(var_5 *)((int)apuStackY_c0 + var_25) = 0x199dba;
    var_28(*(num_put<var_2,var_12::ostreambuf_iterator<var_2,var_12::var_1<var_2>>> **)
                  ((int)apuStackY_c0 + var_25 + 4),*(char **)((int)aiStackY_b8 + var_25),
                 *(type_1 *)((int)aiStackY_b8 + var_25 + 4),*(char *)((int)aiStackY_b0 + var_25),
                 *(type_5 **)((int)aiStackY_b0 + var_25 + 4),
                 *(char **)((int)aiStackY_b0 + var_25 + 8),*(char **)((int)aiStackY_b0 + var_25 + 0xc)
                 ,*(int **)((int)aiStackY_b0 + var_25 + 0x10));
    if (!var_20 || !var_21) goto LAB_00199dcc;
LAB_00199cb6:
    puVar10 = var_29;
    if ((int)var_18 < 0) {
      var_25 = local_20[0] + 1;
      local_20[0] = var_25;
      var_24[-1] = *(type_3 *)(var_15 + 0x26);
      puVar5 = var_24 + -1;
      goto LAB_00199cca;
    }
    puVar5 = var_24;
    var_25 = local_20[0];
    if ((var_16 & 0x800) == 0) goto LAB_00199cca;
    var_25 = local_20[0] + 1;
    puVar5 = var_24 + -1;
    local_20[0] = var_25;
    *puVar5 = *(type_3 *)(var_15 + 0x27);
    var_15 = *(int *)(var_14 + 8);
    if (var_15 <= var_25) goto LAB_00199cd4;
  }
  var_30 = -(var_15 + 0x1bU & 0xfffffff0);
  *(int **)(var_29 + var_30 + -8) = local_20;
  *(type_3 **)(var_29 + var_30 + -0xc) = puVar5;
  *(type_3 **)(var_29 + var_30 + -0x10) =
       (type_3 *)((type_1)(var_29 + var_30 + 0xf) & 0xfffffff0);
  *(int *)(var_29 + var_30 + -0x14) = var_14;
  *(int *)(var_29 + var_30 + -0x18) = var_15;
  *(int *)(var_29 + var_30 + -0x1c) = (int)param_6;
  *(var_5 *)(var_29 + var_30 + -0x20) = param_2;
  *(var_5 *)(var_29 + var_30 + -0x24) = 0x199d63;
  var_31(*(num_put<var_2,var_12::ostreambuf_iterator<var_2,var_12::var_1<var_2>>> **)
          (var_29 + var_30 + -0x20),var_29[var_30 + -0x1c],*(int *)(var_29 + var_30 + -0x18),
         *(type_5 **)(var_29 + var_30 + -0x14),*(char **)(var_29 + var_30 + -0x10),
         *(char **)(var_29 + var_30 + -0xc),*(int **)(var_29 + var_30 + -8));
  puVar5 = (type_3 *)((type_1)(var_29 + var_30 + 0xf) & 0xfffffff0);
  var_25 = local_20[0];
  var_29 = var_29 + var_30;
LAB_00199cd4:
  *(var_5 *)(var_14 + 8) = 0;
  if (var_32 == '\0') {
    var_15 = *var_8;
    *(int *)(var_29 + -8) = var_25;
    *(type_3 **)(var_29 + -0xc) = puVar5;
    *(int **)(var_29 + -0x10) = var_8;
    pcVar2 = *(type_2 **)(var_15 + 0x30);
    *(var_5 *)(var_29 + -0x14) = 0x199cf7;
    var_15 = (*pcVar2)();
    if (var_15 != var_25) {
      var_32 = '\x01';
    }
  }
  *var_6 = var_8;
  *(char *)(var_6 + 1) = var_32;
  return var_6;
}


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

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

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

{
  code *pcVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  undefined1 *puVar5;
  int iVar6;
  undefined1 *puVar7;
  char cVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  int *apiStack_c0 [2];
  int aiStack_b8 [7];
  undefined1 auStack_9c [14];
  undefined1 auStack_8e [30];
  undefined4 uStack_70;
  undefined1 *puStack_6c;
  int local_68 [5];
  uint local_54;
  undefined4 local_50;
  undefined4 local_4c;
  int local_48;
  uint local_44;
  undefined **local_40;
  int *local_3c;
  char local_35;
  int local_34;
  uint local_30;
  undefined1 local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x199beb;
  local_40 = &__DT_PLTGOT;
  local_3c = param_3;
  local_30 = param_8;
  local_4c = param_4;
  local_50 = param_6;
  local_34 = param_7;
  local_68[0] = param_5 + 0x6c;
  puStack_6c = &local_21;
  uStack_70 = 0x199c25;
  iVar4 = FUN_001992c0();
  aiStack_b8[2] = iVar4 + 0x26;
  aiStack_b8[3] = *(uint *)(param_5 + 0xc);
  local_54 = aiStack_b8[3] & 0x4a;
  local_35 = local_54 != 0x40 && local_54 != 8;
  aiStack_b8[0] = local_34;
  aiStack_b8[1] = local_30;
  if (((int)((local_30 - 1) + (uint)(local_34 != 0) | local_30) < 0) &&
     (local_54 != 0x40 && local_54 != 8)) {
    aiStack_b8[0] = -local_34;
    aiStack_b8[1] = -(local_30 + (local_34 != 0));
  }
  aiStack_b8[4] = (int)(byte)local_35;
  apiStack_c0[1] = local_68;
  apiStack_c0[0] = (int *)0x199c95;
  local_48 = aiStack_b8[2];
  local_44 = aiStack_b8[3];
  local_20[0] = FUN_00198f50();
  puVar9 = auStack_9c;
  puVar10 = auStack_9c;
  puVar7 = (undefined1 *)((int)local_68 - local_20[0]);
  if (*(char *)(iVar4 + 0x10) == '\0') {
    if (local_35 != '\0') goto LAB_00199cb6;
LAB_00199dcc:
    puVar5 = puVar7;
    iVar6 = local_20[0];
    if (((local_44 & 0x200) != 0) && (local_34 != 0 || local_30 != 0)) {
      if (local_54 == 0x40) {
        iVar6 = local_20[0] + 1;
        puVar5 = puVar7 + -1;
        local_20[0] = iVar6;
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
      else {
        iVar6 = local_20[0] + 2;
        puVar5 = puVar7 + -2;
        local_20[0] = iVar6;
        puVar7[-1] = *(undefined1 *)(iVar4 + 0x28 + (local_44 >> 0xe & 1));
        *puVar5 = *(undefined1 *)(iVar4 + 0x2a);
      }
    }
LAB_00199cca:
    iVar4 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar4 <= iVar6) goto LAB_00199cd4;
  }
  else {
    iVar6 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStack_9c + iVar6;
    puVar9 = auStack_9c + iVar6;
    *(int **)((int)aiStack_b8 + iVar6 + 0x18) = local_20;
    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x14) = puVar7;
    puVar7 = auStack_8e + iVar6;
    *(undefined1 **)((int)aiStack_b8 + iVar6 + 0x10) = puVar7;
    *(int *)((int)aiStack_b8 + iVar6 + 0xc) = param_5;
    *(int *)((int)aiStack_b8 + iVar6 + 8) = (int)*(char *)(iVar4 + 0x25);
    *(undefined4 *)((int)aiStack_b8 + iVar6 + 4) = *(undefined4 *)(iVar4 + 0xc);
    *(undefined4 *)((int)aiStack_b8 + iVar6) = *(undefined4 *)(iVar4 + 8);
    *(undefined4 *)((int)apiStack_c0 + iVar6 + 4) = param_2;
    *(undefined4 *)((int)apiStack_c0 + iVar6) = 0x199dba;
    FUN_00197bb0();
    if (local_35 == '\0') goto LAB_00199dcc;
LAB_00199cb6:
    puVar10 = puVar9;
    if ((int)local_30 < 0) {
      iVar6 = local_20[0] + 1;
      local_20[0] = iVar6;
      puVar7[-1] = *(undefined1 *)(iVar4 + 0x26);
      puVar5 = puVar7 + -1;
      goto LAB_00199cca;
    }
    puVar5 = puVar7;
    iVar6 = local_20[0];
    if ((local_44 & 0x800) == 0) goto LAB_00199cca;
    iVar6 = local_20[0] + 1;
    puVar5 = puVar7 + -1;
    local_20[0] = iVar6;
    *puVar5 = *(undefined1 *)(iVar4 + 0x27);
    iVar4 = *(int *)(param_5 + 8);
    if (iVar4 <= iVar6) goto LAB_00199cd4;
  }
  iVar2 = -(iVar4 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar2 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar5;
  iVar6 = (int)(char)local_50;
  *(undefined1 **)(puVar9 + iVar2 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar2 + -0x14) = param_5;
  *(int *)(puVar9 + iVar2 + -0x18) = iVar4;
  *(int *)(puVar9 + iVar2 + -0x1c) = iVar6;
  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x199d63;
  FUN_00198e60();
  puVar5 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  iVar6 = local_20[0];
  puVar9 = puVar9 + iVar2;
LAB_00199cd4:
  piVar3 = local_3c;
  *(undefined4 *)(param_5 + 8) = 0;
  cVar8 = (char)local_4c;
  if (cVar8 == '\0') {
    iVar4 = *local_3c;
    *(int *)(puVar9 + -8) = iVar6;
    *(undefined1 **)(puVar9 + -0xc) = puVar5;
    *(int **)(puVar9 + -0x10) = piVar3;
    pcVar1 = *(code **)(iVar4 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x199cf7;
    iVar4 = (*pcVar1)();
    if (iVar4 != iVar6) {
      cVar8 = '\x01';
    }
  }
  *param_1 = local_3c;
  *(char *)(param_1 + 1) = cVar8;
  return param_1;
}

