
/* 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>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,
   char, long) const */

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

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  bool bVar7;
  char cVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  uint *apuStackY_90 [2];
  int aiStackY_88 [2];
  uint auStackY_80 [5];
  undefined1 auStackY_6c [12];
  undefined4 uStackY_60;
  uint local_4c;
  undefined4 local_48;
  int local_44;
  int local_40;
  undefined4 local_3c;
  int local_38;
  uint local_34;
  undefined **local_30;
  __use_cache<std::__numpunct_cache<char>> local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1ff9eb;
  local_30 = &_GLOBAL_OFFSET_TABLE_;
  local_3c = param_4;
  local_48 = param_6;
  uStackY_60 = 0x1ffa16;
  local_44 = __use_cache<std::__numpunct_cache<char>>::operator()
                       (&local_21,(locale *)(param_5 + 0x6c));
  aiStackY_88[1] = local_44 + 0x26;
  auStackY_80[0] = *(uint *)(param_5 + 0xc);
  local_4c = auStackY_80[0] & 0x4a;
  bVar7 = local_4c != 8 && local_4c != 0x40;
  aiStackY_88[0] = param_7;
  if (param_7 < 1) {
    aiStackY_88[0] = -param_7;
    if (local_4c == 8 || local_4c == 0x40) {
      aiStackY_88[0] = param_7;
    }
  }
  auStackY_80[1] = (uint)bVar7;
  apuStackY_90[1] = &local_4c;
  local_40 = CONCAT31(local_40._1_3_,bVar7);
  apuStackY_90[0] = (uint *)0x1ffa74;
  local_38 = aiStackY_88[1];
  local_34 = auStackY_80[0];
  local_20[0] = __int_to_char<char,unsigned_long>();
  iVar3 = local_44;
  puVar9 = auStackY_6c;
  puVar10 = auStackY_6c;
  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);
  if (*(char *)(local_44 + 0x10) == '\0') {
    if ((char)local_40 != '\0') goto LAB_001ffa9a;
LAB_001ffbbf:
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {
      if (local_4c == 0x40) {
        iVar5 = local_20[0] + 1;
        puVar4 = puVar6 + -1;
        local_20[0] = iVar5;
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
      else {
        iVar5 = local_20[0] + 2;
        puVar4 = puVar6 + -2;
        local_20[0] = iVar5;
        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
    }
LAB_001ffaae:
    iVar3 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  else {
    local_44 = CONCAT31(local_44._1_3_,(char)local_40);
    local_40 = iVar3;
    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStackY_6c + iVar5;
    puVar9 = auStackY_6c + iVar5;
    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;
    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;
    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);
    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;
    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;
    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);
    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);
    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;
    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;
    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)
                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),
                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),
                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),
                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)
                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));
    iVar3 = local_40;
    if ((char)local_44 == '\0') goto LAB_001ffbbf;
LAB_001ffa9a:
    puVar10 = puVar9;
    if (param_7 < 0) {
      iVar5 = local_20[0] + 1;
      local_20[0] = iVar5;
      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);
      puVar4 = puVar6 + -1;
      goto LAB_001ffaae;
    }
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;
    iVar5 = local_20[0] + 1;
    puVar4 = puVar6 + -1;
    local_20[0] = iVar5;
    *puVar4 = *(undefined1 *)(iVar3 + 0x27);
    iVar3 = *(int *)(param_5 + 8);
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar2 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;
  iVar5 = (int)(char)local_48;
  *(undefined1 **)(puVar9 + iVar2 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar2 + -0x14) = param_5;
  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;
  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;
  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;
  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)
          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),
         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),
         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8));
  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  iVar5 = local_20[0];
  puVar9 = puVar9 + iVar2;
LAB_001ffab8:
  *(undefined4 *)(param_5 + 8) = 0;
  cVar8 = (char)local_3c;
  if (cVar8 == '\0') {
    iVar3 = *param_3;
    *(int *)(puVar9 + -8) = iVar5;
    *(undefined1 **)(puVar9 + -0xc) = puVar4;
    *(int **)(puVar9 + -0x10) = param_3;
    pcVar1 = *(code **)(iVar3 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;
    iVar3 = (*pcVar1)();
    if (iVar3 != iVar5) {
      cVar8 = '\x01';
    }
  }
  *param_1 = param_3;
  *(char *)(param_1 + 1) = cVar8;
  return param_1;
}



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

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

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  bool bVar7;
  char cVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  uint *apuStack_90 [2];
  int aiStack_88 [7];
  undefined1 auStack_6c [12];
  undefined4 uStack_60;
  undefined1 *puStack_5c;
  int iStack_58;
  uint local_4c;
  undefined4 local_48;
  int local_44;
  int local_40;
  undefined4 local_3c;
  int local_38;
  uint local_34;
  undefined **local_30;
  undefined1 local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1ff9eb;
  local_30 = &__DT_PLTGOT;
  local_3c = param_4;
  local_48 = param_6;
  iStack_58 = param_5 + 0x6c;
  puStack_5c = &local_21;
  uStack_60 = 0x1ffa16;
  local_44 = FUN_001ff8d0();
  aiStack_88[1] = local_44 + 0x26;
  aiStack_88[2] = *(uint *)(param_5 + 0xc);
  local_4c = aiStack_88[2] & 0x4a;
  bVar7 = local_4c != 8 && local_4c != 0x40;
  aiStack_88[0] = param_7;
  if (param_7 < 1) {
    aiStack_88[0] = -param_7;
    if (local_4c == 8 || local_4c == 0x40) {
      aiStack_88[0] = param_7;
    }
  }
  aiStack_88[3] = (int)bVar7;
  apuStack_90[1] = &local_4c;
  local_40 = CONCAT31(local_40._1_3_,bVar7);
  apuStack_90[0] = (uint *)0x1ffa74;
  local_38 = aiStack_88[1];
  local_34 = aiStack_88[2];
  local_20[0] = FUN_001ff4b0();
  iVar3 = local_44;
  puVar9 = auStack_6c;
  puVar10 = auStack_6c;
  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);
  if (*(char *)(local_44 + 0x10) == '\0') {
    if ((char)local_40 != '\0') goto LAB_001ffa9a;
LAB_001ffbbf:
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {
      if (local_4c == 0x40) {
        iVar5 = local_20[0] + 1;
        puVar4 = puVar6 + -1;
        local_20[0] = iVar5;
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
      else {
        iVar5 = local_20[0] + 2;
        puVar4 = puVar6 + -2;
        local_20[0] = iVar5;
        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
    }
LAB_001ffaae:
    iVar3 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  else {
    local_44 = CONCAT31(local_44._1_3_,(char)local_40);
    local_40 = iVar3;
    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStack_6c + iVar5;
    puVar9 = auStack_6c + iVar5;
    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;
    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;
    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);
    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;
    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;
    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);
    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);
    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;
    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;
    FUN_001fe1c0();
    iVar3 = local_40;
    if ((char)local_44 == '\0') goto LAB_001ffbbf;
LAB_001ffa9a:
    puVar10 = puVar9;
    if (param_7 < 0) {
      iVar5 = local_20[0] + 1;
      local_20[0] = iVar5;
      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);
      puVar4 = puVar6 + -1;
      goto LAB_001ffaae;
    }
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;
    iVar5 = local_20[0] + 1;
    puVar4 = puVar6 + -1;
    local_20[0] = iVar5;
    *puVar4 = *(undefined1 *)(iVar3 + 0x27);
    iVar3 = *(int *)(param_5 + 8);
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar2 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;
  iVar5 = (int)(char)local_48;
  *(undefined1 **)(puVar9 + iVar2 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar2 + -0x14) = param_5;
  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;
  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;
  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;
  FUN_001ff470();
  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  iVar5 = local_20[0];
  puVar9 = puVar9 + iVar2;
LAB_001ffab8:
  *(undefined4 *)(param_5 + 8) = 0;
  cVar8 = (char)local_3c;
  if (cVar8 == '\0') {
    iVar3 = *param_3;
    *(int *)(puVar9 + -8) = iVar5;
    *(undefined1 **)(puVar9 + -0xc) = puVar4;
    *(int **)(puVar9 + -0x10) = param_3;
    pcVar1 = *(code **)(iVar3 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;
    iVar3 = (*pcVar1)();
    if (iVar3 != iVar5) {
      cVar8 = '\x01';
    }
  }
  *param_1 = param_3;
  *(char *)(param_1 + 1) = cVar8;
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x18f615
SUB ESP,0x44
MOV EAX,dword ptr [EBP + 0x14]
MOV EDI,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x38],EAX
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + -0x44],EAX
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [EBP + -0x2c],EBX
ADD EAX,0x6c
PUSH EAX
LEA EAX,[EBP + -0x1d]
PUSH EAX
CALL 0x001ff8d0
SUB ESP,0x10
MOV EDX,EAX
ADD EAX,0x26
LEA ESI,[ESP + 0xf]
MOV dword ptr [EBP + -0x34],EAX
MOV EAX,dword ptr [EBP + 0x18]
AND ESI,0xfffffff0
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [EBP + -0x30],EAX
AND EAX,0x4a
CMP EAX,0x40
MOV dword ptr [EBP + -0x48],EAX
SETNZ BL
CMP EAX,0x8
MOV EAX,dword ptr [EBP + 0x20]
SETNZ CL
AND ECX,EBX
TEST EAX,EAX
JG 0x001ffa54
NEG EAX
TEST CL,CL
CMOVZ EAX,dword ptr [EBP + 0x20]
SUB ESP,0xc
MOVZX EBX,CL
MOV dword ptr [EBP + -0x40],EDX
PUSH EBX
MOV EBX,dword ptr [EBP + -0x2c]
PUSH dword ptr [EBP + -0x30]
PUSH dword ptr [EBP + -0x34]
PUSH EAX
LEA EAX,[ESI + 0x14]
PUSH EAX
MOV byte ptr [EBP + -0x3c],CL
CALL 0x001ff4b0
MOV EDX,dword ptr [EBP + -0x40]
ADD ESP,0x20
MOVZX ECX,byte ptr [EBP + -0x3c]
SUB ESI,EAX
MOV EBX,EAX
MOV dword ptr [EBP + -0x1c],EAX
CMP byte ptr [EDX + 0x10],0x0
LEA EAX,[ESI + 0x14]
JNZ 0x001ffb70
TEST CL,CL
JZ 0x001ffbbf
MOV ESI,dword ptr [EBP + 0x20]
TEST ESI,ESI
JS 0x001ffb58
TEST dword ptr [EBP + -0x30],0x800
JNZ 0x001ffb00
MOV EDX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EDX + 0x8]
CMP EDX,EBX
JG 0x001ffb19
MOV ECX,dword ptr [EBP + 0x18]
MOV dword ptr [ECX + 0x8],0x0
MOV ECX,dword ptr [EBP + -0x38]
MOV ESI,ECX
TEST CL,CL
JNZ 0x001ffae3
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 dword ptr [EAX],EDI
MOV EDI,EAX
MOV EAX,ESI
MOV byte ptr [EDI + 0x4],AL
LEA ESP,[EBP + -0xc]
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOVZX EDX,byte ptr [EDX + 0x27]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
MOV EDX,dword ptr [EBP + 0x18]
MOV EDX,dword ptr [EDX + 0x8]
CMP EDX,EBX
JLE 0x001ffab8
LEA ECX,[EDX + 0x1b]
MOV EBX,dword ptr [EBP + -0x2c]
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 + -0x44]
PUSH ESI
PUSH dword ptr [EBP + 0x18]
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + 0xc]
CALL 0x001ff470
MOV EBX,dword ptr [EBP + -0x1c]
ADD ESP,0x20
MOV EAX,ESI
JMP 0x001ffab8
MOVZX EDX,byte ptr [EDX + 0x26]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
JMP 0x001ffaae
LEA EBX,[EBX + EBX*0x1 + 0x1d]
MOV byte ptr [EBP + -0x40],CL
AND EBX,0xfffffff0
MOV dword ptr [EBP + -0x3c],EDX
SUB ESP,EBX
LEA EBX,[EBP + -0x1c]
LEA ESI,[ESP + 0xf]
PUSH EBX
MOV EBX,dword ptr [EBP + -0x2c]
AND ESI,0xfffffff0
PUSH EAX
ADD ESI,0x2
PUSH ESI
PUSH dword ptr [EBP + 0x18]
MOVSX EAX,byte ptr [EDX + 0x25]
PUSH EAX
PUSH dword ptr [EDX + 0xc]
PUSH dword ptr [EDX + 0x8]
PUSH dword ptr [EBP + 0xc]
CALL 0x001fe1c0
MOVZX ECX,byte ptr [EBP + -0x40]
MOV EBX,dword ptr [EBP + -0x1c]
ADD ESP,0x20
MOV EAX,ESI
MOV EDX,dword ptr [EBP + -0x3c]
TEST CL,CL
JNZ 0x001ffa9a
TEST dword ptr [EBP + -0x30],0x200
JZ 0x001ffaae
MOV ECX,dword ptr [EBP + 0x20]
TEST ECX,ECX
JZ 0x001ffaae
CMP dword ptr [EBP + -0x48],0x40
JZ 0x001ffc05
MOV ECX,dword ptr [EBP + -0x30]
MOV ESI,dword ptr [EBP + -0x34]
ADD EBX,0x2
SUB EAX,0x2
SHR ECX,0xe
AND ECX,0x1
MOVZX ECX,byte ptr [ESI + ECX*0x1 + 0x2]
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX + 0x1],CL
MOVZX EDX,byte ptr [EDX + 0x2a]
MOV byte ptr [EAX],DL
JMP 0x001ffaae
MOVZX EDX,byte ptr [EDX + 0x2a]
ADD EBX,0x1
SUB EAX,0x1
MOV dword ptr [EBP + -0x1c],EBX
MOV byte ptr [EAX],DL
JMP 0x001ffaae
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 *\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}\n\n" comment (function_definition "undefined4 *\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" * (function_declarator "FUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) )))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\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 iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type 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 "uint *apuStack_90 [2];" type_identifier (pointer_declarator "*apuStack_90 [2]" * (array_declarator "apuStack_90 [2]" identifier [ number_literal ])) ;) (declaration "int aiStack_88 [7];" primitive_type (array_declarator "aiStack_88 [7]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_6c [12];" type_identifier (array_declarator "auStack_6c [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_60;" type_identifier identifier ;) (declaration "undefined1 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "int iStack_58;" primitive_type identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * 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 = 0x1ff9eb;" (assignment_expression "uStack_14 = 0x1ff9eb" identifier = number_literal) ;) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_48 = param_6;" (assignment_expression "local_48 = param_6" identifier = identifier) ;) (expression_statement "iStack_58 = param_5 + 0x6c;" (assignment_expression "iStack_58 = param_5 + 0x6c" identifier = (binary_expression "param_5 + 0x6c" identifier + number_literal)) ;) (expression_statement "puStack_5c = &local_21;" (assignment_expression "puStack_5c = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "uStack_60 = 0x1ffa16;" (assignment_expression "uStack_60 = 0x1ffa16" identifier = number_literal) ;) (expression_statement "local_44 = FUN_001ff8d0();" (assignment_expression "local_44 = FUN_001ff8d0()" identifier = (call_expression "FUN_001ff8d0()" identifier (argument_list "()" ( )))) ;) (expression_statement "aiStack_88[1] = local_44 + 0x26;" (assignment_expression "aiStack_88[1] = local_44 + 0x26" (subscript_expression "aiStack_88[1]" identifier [ number_literal ]) = (binary_expression "local_44 + 0x26" identifier + number_literal)) ;) (expression_statement "aiStack_88[2] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_88[2] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_88[2]" 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_4c = aiStack_88[2] & 0x4a;" (assignment_expression "local_4c = aiStack_88[2] & 0x4a" identifier = (binary_expression "aiStack_88[2] & 0x4a" (subscript_expression "aiStack_88[2]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "bVar7 = local_4c != 8 && local_4c != 0x40;" (assignment_expression "bVar7 = local_4c != 8 && local_4c != 0x40" identifier = (binary_expression "local_4c != 8 && local_4c != 0x40" (binary_expression "local_4c != 8" identifier != number_literal) && (binary_expression "local_4c != 0x40" identifier != number_literal))) ;) (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" if (parenthesized_expression "(param_7 < 1)" ( (binary_expression "param_7 < 1" identifier < number_literal) )) (compound_statement "{\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" { (expression_statement "aiStack_88[0] = -param_7;" (assignment_expression "aiStack_88[0] = -param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = (unary_expression "-param_7" - identifier)) ;) (if_statement "if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }" if (parenthesized_expression "(local_4c == 8 || local_4c == 0x40)" ( (binary_expression "local_4c == 8 || local_4c == 0x40" (binary_expression "local_4c == 8" identifier == number_literal) || (binary_expression "local_4c == 0x40" identifier == number_literal)) )) (compound_statement "{\n      aiStack_88[0] = param_7;\n    }" { (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = identifier) ;) })) })) (expression_statement "aiStack_88[3] = (int)bVar7;" (assignment_expression "aiStack_88[3] = (int)bVar7" (subscript_expression "aiStack_88[3]" identifier [ number_literal ]) = (cast_expression "(int)bVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "apuStack_90[1] = &local_4c;" (assignment_expression "apuStack_90[1] = &local_4c" (subscript_expression "apuStack_90[1]" identifier [ number_literal ]) = (pointer_expression "&local_4c" & identifier)) ;) (expression_statement "local_40 = CONCAT31(local_40._1_3_,bVar7);" (assignment_expression "local_40 = CONCAT31(local_40._1_3_,bVar7)" identifier = (call_expression "CONCAT31(local_40._1_3_,bVar7)" identifier (argument_list "(local_40._1_3_,bVar7)" ( (field_expression "local_40._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "apuStack_90[0] = (uint *)0x1ffa74;" (assignment_expression "apuStack_90[0] = (uint *)0x1ffa74" (subscript_expression "apuStack_90[0]" identifier [ number_literal ]) = (cast_expression "(uint *)0x1ffa74" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = aiStack_88[1];" (assignment_expression "local_38 = aiStack_88[1]" identifier = (subscript_expression "aiStack_88[1]" identifier [ number_literal ])) ;) (expression_statement "local_34 = aiStack_88[2];" (assignment_expression "local_34 = aiStack_88[2]" identifier = (subscript_expression "aiStack_88[2]" identifier [ number_literal ])) ;) (expression_statement "local_20[0] = FUN_001ff4b0();" (assignment_expression "local_20[0] = FUN_001ff4b0()" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "FUN_001ff4b0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = local_44;" (assignment_expression "iVar3 = local_44" identifier = identifier) ;) (expression_statement "puVar9 = auStack_6c;" (assignment_expression "puVar9 = auStack_6c" identifier = identifier) ;) (expression_statement "puVar10 = auStack_6c;" (assignment_expression "puVar10 = auStack_6c" identifier = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);" (assignment_expression "puVar6 = (undefined1 *)((int)&local_4c - local_20[0])" identifier = (cast_expression "(undefined1 *)((int)&local_4c - local_20[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_4c - local_20[0])" ( (binary_expression "(int)&local_4c - local_20[0]" (cast_expression "(int)&local_4c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_4c" & identifier)) - (subscript_expression "local_20[0]" identifier [ number_literal ])) )))) ;) (if_statement "if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" if (parenthesized_expression "(*(char *)(local_44 + 0x10) == '\0')" ( (binary_expression "*(char *)(local_44 + 0x10) == '\0'" (pointer_expression "*(char *)(local_44 + 0x10)" * (cast_expression "(char *)(local_44 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + 0x10)" ( (binary_expression "local_44 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (if_statement "if ((char)local_40 != '\0') goto LAB_001ffa9a;" if (parenthesized_expression "((char)local_40 != '\0')" ( (binary_expression "(char)local_40 != '\0'" (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffa9a;" goto statement_identifier ;)) (labeled_statement "LAB_001ffbbf:\n    puVar4 = puVar6;" statement_identifier : (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;)) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((local_34 & 0x200) != 0) && (param_7 != 0))" ( (binary_expression "((local_34 & 0x200) != 0) && (param_7 != 0)" (parenthesized_expression "((local_34 & 0x200) != 0)" ( (binary_expression "(local_34 & 0x200) != 0" (parenthesized_expression "(local_34 & 0x200)" ( (binary_expression "local_34 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" { (if_statement "if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" if (parenthesized_expression "(local_4c == 0x40)" ( (binary_expression "local_4c == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" else (compound_statement "{\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 2;" (assignment_expression "iVar5 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -2;" (assignment_expression "puVar4 = puVar6 + -2" identifier = (binary_expression "puVar6 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));" (assignment_expression "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" * (cast_expression "(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + 2 + (local_34 >> 0xe & 1))" ( (binary_expression "local_38 + 2 + (local_34 >> 0xe & 1)" (binary_expression "local_38 + 2" identifier + number_literal) + (parenthesized_expression "(local_34 >> 0xe & 1)" ( (binary_expression "local_34 >> 0xe & 1" (binary_expression "local_34 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }) (else_clause "else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" else (compound_statement "{\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (expression_statement "local_44 = CONCAT31(local_44._1_3_,(char)local_40);" (assignment_expression "local_44 = CONCAT31(local_44._1_3_,(char)local_40)" identifier = (call_expression "CONCAT31(local_44._1_3_,(char)local_40)" identifier (argument_list "(local_44._1_3_,(char)local_40)" ( (field_expression "local_44._1_3_" identifier . field_identifier) , (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "local_40 = iVar3;" (assignment_expression "local_40 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar5 = -(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_6c + iVar5;" (assignment_expression "puVar10 = auStack_6c + iVar5" identifier = (binary_expression "auStack_6c + iVar5" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_6c + iVar5;" (assignment_expression "puVar9 = auStack_6c + iVar5" identifier = (binary_expression "auStack_6c + iVar5" identifier + identifier)) ;) (expression_statement "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18)" * (cast_expression "(int **)((int)aiStack_88 + iVar5 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x18)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x18" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" * (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x14)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x14" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);" (assignment_expression "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2)" identifier = (cast_expression "(undefined1 *)((int)&uStack_60 + iVar5 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStack_60 + iVar5 + 2)" ( (binary_expression "(int)&uStack_60 + iVar5 + 2" (binary_expression "(int)&uStack_60 + iVar5" (cast_expression "(int)&uStack_60" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStack_60" & identifier)) + identifier) + number_literal) )))) ;) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" * (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x10)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x10" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc)" * (cast_expression "(int *)((int)aiStack_88 + iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0xc)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0xc" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25)" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 8)" * (cast_expression "(int *)((int)aiStack_88 + iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 8)" ( (binary_expression "(int)aiStack_88 + iVar5 + 8" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (cast_expression "(int)*(char *)(iVar3 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar3 + 0x25)" * (cast_expression "(char *)(iVar3 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x25)" ( (binary_expression "iVar3 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 4)" ( (binary_expression "(int)aiStack_88 + iVar5 + 4" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5)" * (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5)" ( (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStack_90 + iVar5 + 4)" ( (binary_expression "(int)apuStack_90 + iVar5 + 4" (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5)" * (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStack_90 + iVar5)" ( (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_001fe1c0();" (call_expression "FUN_001fe1c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = local_40;" (assignment_expression "iVar3 = local_40" identifier = identifier) ;) (if_statement "if ((char)local_44 == '\0') goto LAB_001ffbbf;" if (parenthesized_expression "((char)local_44 == '\0')" ( (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffbbf;" goto statement_identifier ;)) (labeled_statement "LAB_001ffa9a:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" if (parenthesized_expression "(param_7 < 0)" ( (binary_expression "param_7 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = 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] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26)" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar3 + 0x26)" * (cast_expression "(undefined1 *)(iVar3 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x26)" ( (binary_expression "iVar3 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;) })) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_34 & 0x800) == 0) goto LAB_001ffaae;" if (parenthesized_expression "((local_34 & 0x800) == 0)" ( (binary_expression "(local_34 & 0x800) == 0" (parenthesized_expression "(local_34 & 0x800)" ( (binary_expression "local_34 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;)) (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x27);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x27)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x27)" * (cast_expression "(undefined1 *)(iVar3 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x27)" ( (binary_expression "iVar3 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar3 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar3 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar3 + 0x1bU & 0xfffffff0" (binary_expression "iVar3 + 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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4" (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 "iVar5 = (int)(char)local_48;" (assignment_expression "iVar5 = (int)(char)local_48" identifier = (cast_expression "(int)(char)local_48" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_48" ( (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) = iVar3;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar3" (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) = iVar5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar5" (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) = 0x1ffb45;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45" (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_001ff470();" (call_expression "FUN_001ff470()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar4 = (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 "iVar5 = local_20[0];" (assignment_expression "iVar5 = 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_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "cVar8 = (char)local_3c;" (assignment_expression "cVar8 = (char)local_3c" identifier = (cast_expression "(char)local_3c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" { (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar5;" (assignment_expression "*(int *)(puVar9 + -8) = iVar5" (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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar4" (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 "pcVar1 = *(code **)(iVar3 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar3 + 0x30)" identifier = (pointer_expression "*(code **)(iVar3 + 0x30)" * (cast_expression "(code **)(iVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6" (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 "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }" if (parenthesized_expression "(iVar3 != iVar5)" ( (binary_expression "iVar3 != iVar5" 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 = param_3;" (assignment_expression "*param_1 = param_3" (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> >\n   >::_M_insert_int<long>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,\n   char, long) const */\n\nundefined4 *\nstd::num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::_M_insert_int<long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStackY_90 [2];\n  int aiStackY_88 [2];\n  uint auStackY_80 [5];\n  undefined1 auStackY_6c [12];\n  undefined4 uStackY_60;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  __use_cache<std::__numpunct_cache<char>> local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = param_4;\n  local_48 = param_6;\n  uStackY_60 = 0x1ffa16;\n  local_44 = __use_cache<std::__numpunct_cache<char>>::operator()\n                       (&local_21,(locale *)(param_5 + 0x6c));\n  aiStackY_88[1] = local_44 + 0x26;\n  auStackY_80[0] = *(uint *)(param_5 + 0xc);\n  local_4c = auStackY_80[0] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStackY_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStackY_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStackY_88[0] = param_7;\n    }\n  }\n  auStackY_80[1] = (uint)bVar7;\n  apuStackY_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStackY_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStackY_88[1];\n  local_34 = auStackY_80[0];\n  local_20[0] = __int_to_char<char,unsigned_long>();\n  iVar3 = local_44;\n  puVar9 = auStackY_6c;\n  puVar10 = auStackY_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_6c + iVar5;\n    puVar9 = auStackY_6c + iVar5;\n    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;\n    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;\n    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),\n         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),\n         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8));\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\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>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7)" 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>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7)" (binary_expression "char_traits<char>>>::_M_insert_int<long>\n          (undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7)" (binary_expression "char_traits<char>>>::_M_insert_int<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,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7)" ( (comma_expression "undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7" (binary_expression "undefined4 *param_1" identifier * identifier) , (comma_expression "undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7" identifier (ERROR "param_2" identifier) , (comma_expression "int *param_3,undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7" (binary_expression "int *param_3" identifier * identifier) , (comma_expression "undefined4 param_4,int param_5,\n          undefined4 param_6,int param_7" identifier (ERROR "param_4" identifier) , (ERROR "int" identifier) (comma_expression "param_5,\n          undefined4 param_6,int param_7" identifier , (comma_expression "undefined4 param_6,int param_7" identifier (ERROR "param_6" identifier) , (ERROR "int" identifier) identifier)))))) ))) ;)) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStackY_90 [2];\n  int aiStackY_88 [2];\n  uint auStackY_80 [5];\n  undefined1 auStackY_6c [12];\n  undefined4 uStackY_60;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  __use_cache<std::__numpunct_cache<char>> local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &_GLOBAL_OFFSET_TABLE_;\n  local_3c = param_4;\n  local_48 = param_6;\n  uStackY_60 = 0x1ffa16;\n  local_44 = __use_cache<std::__numpunct_cache<char>>::operator()\n                       (&local_21,(locale *)(param_5 + 0x6c));\n  aiStackY_88[1] = local_44 + 0x26;\n  auStackY_80[0] = *(uint *)(param_5 + 0xc);\n  local_4c = auStackY_80[0] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStackY_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStackY_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStackY_88[0] = param_7;\n    }\n  }\n  auStackY_80[1] = (uint)bVar7;\n  apuStackY_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStackY_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStackY_88[1];\n  local_34 = auStackY_80[0];\n  local_20[0] = __int_to_char<char,unsigned_long>();\n  iVar3 = local_44;\n  puVar9 = auStackY_6c;\n  puVar10 = auStackY_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_6c + iVar5;\n    puVar9 = auStackY_6c + iVar5;\n    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;\n    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;\n    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  _M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),\n         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),\n         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8));\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\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 iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type 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 "uint *apuStackY_90 [2];" type_identifier (pointer_declarator "*apuStackY_90 [2]" * (array_declarator "apuStackY_90 [2]" identifier [ number_literal ])) ;) (declaration "int aiStackY_88 [2];" primitive_type (array_declarator "aiStackY_88 [2]" identifier [ number_literal ]) ;) (declaration "uint auStackY_80 [5];" type_identifier (array_declarator "auStackY_80 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStackY_6c [12];" type_identifier (array_declarator "auStackY_6c [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStackY_60;" type_identifier identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * 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 = 0x1ff9eb;" (assignment_expression "uStack_14 = 0x1ff9eb" identifier = number_literal) ;) (expression_statement "local_30 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "local_30 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_48 = param_6;" (assignment_expression "local_48 = param_6" identifier = identifier) ;) (expression_statement "uStackY_60 = 0x1ffa16;" (assignment_expression "uStackY_60 = 0x1ffa16" identifier = number_literal) ;) (expression_statement "local_44 = __use_cache<std::__numpunct_cache<char>>::operator()\n                       (&local_21,(locale *)(param_5 + 0x6c));" (binary_expression "local_44 = __use_cache<std::__numpunct_cache<char>>::operator()\n                       (&local_21,(locale *)(param_5 + 0x6c))" (assignment_expression "local_44 = __use_cache<std" identifier = (binary_expression "__use_cache<std" identifier < identifier)) (ERROR "::__numpunct_cache" : : identifier) < (binary_expression "char>>::operator()\n                       (&local_21,(locale *)(param_5 + 0x6c))" identifier >> (ERROR "::" : :) (call_expression "operator()\n                       (&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_88[1] = local_44 + 0x26;" (assignment_expression "aiStackY_88[1] = local_44 + 0x26" (subscript_expression "aiStackY_88[1]" identifier [ number_literal ]) = (binary_expression "local_44 + 0x26" identifier + number_literal)) ;) (expression_statement "auStackY_80[0] = *(uint *)(param_5 + 0xc);" (assignment_expression "auStackY_80[0] = *(uint *)(param_5 + 0xc)" (subscript_expression "auStackY_80[0]" 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_4c = auStackY_80[0] & 0x4a;" (assignment_expression "local_4c = auStackY_80[0] & 0x4a" identifier = (binary_expression "auStackY_80[0] & 0x4a" (subscript_expression "auStackY_80[0]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "bVar7 = local_4c != 8 && local_4c != 0x40;" (assignment_expression "bVar7 = local_4c != 8 && local_4c != 0x40" identifier = (binary_expression "local_4c != 8 && local_4c != 0x40" (binary_expression "local_4c != 8" identifier != number_literal) && (binary_expression "local_4c != 0x40" identifier != number_literal))) ;) (expression_statement "aiStackY_88[0] = param_7;" (assignment_expression "aiStackY_88[0] = param_7" (subscript_expression "aiStackY_88[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_7 < 1) {\n    aiStackY_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStackY_88[0] = param_7;\n    }\n  }" if (parenthesized_expression "(param_7 < 1)" ( (binary_expression "param_7 < 1" identifier < number_literal) )) (compound_statement "{\n    aiStackY_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStackY_88[0] = param_7;\n    }\n  }" { (expression_statement "aiStackY_88[0] = -param_7;" (assignment_expression "aiStackY_88[0] = -param_7" (subscript_expression "aiStackY_88[0]" identifier [ number_literal ]) = (unary_expression "-param_7" - identifier)) ;) (if_statement "if (local_4c == 8 || local_4c == 0x40) {\n      aiStackY_88[0] = param_7;\n    }" if (parenthesized_expression "(local_4c == 8 || local_4c == 0x40)" ( (binary_expression "local_4c == 8 || local_4c == 0x40" (binary_expression "local_4c == 8" identifier == number_literal) || (binary_expression "local_4c == 0x40" identifier == number_literal)) )) (compound_statement "{\n      aiStackY_88[0] = param_7;\n    }" { (expression_statement "aiStackY_88[0] = param_7;" (assignment_expression "aiStackY_88[0] = param_7" (subscript_expression "aiStackY_88[0]" identifier [ number_literal ]) = identifier) ;) })) })) (expression_statement "auStackY_80[1] = (uint)bVar7;" (assignment_expression "auStackY_80[1] = (uint)bVar7" (subscript_expression "auStackY_80[1]" identifier [ number_literal ]) = (cast_expression "(uint)bVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "apuStackY_90[1] = &local_4c;" (assignment_expression "apuStackY_90[1] = &local_4c" (subscript_expression "apuStackY_90[1]" identifier [ number_literal ]) = (pointer_expression "&local_4c" & identifier)) ;) (expression_statement "local_40 = CONCAT31(local_40._1_3_,bVar7);" (assignment_expression "local_40 = CONCAT31(local_40._1_3_,bVar7)" identifier = (call_expression "CONCAT31(local_40._1_3_,bVar7)" identifier (argument_list "(local_40._1_3_,bVar7)" ( (field_expression "local_40._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "apuStackY_90[0] = (uint *)0x1ffa74;" (assignment_expression "apuStackY_90[0] = (uint *)0x1ffa74" (subscript_expression "apuStackY_90[0]" identifier [ number_literal ]) = (cast_expression "(uint *)0x1ffa74" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = aiStackY_88[1];" (assignment_expression "local_38 = aiStackY_88[1]" identifier = (subscript_expression "aiStackY_88[1]" identifier [ number_literal ])) ;) (expression_statement "local_34 = auStackY_80[0];" (assignment_expression "local_34 = auStackY_80[0]" identifier = (subscript_expression "auStackY_80[0]" identifier [ number_literal ])) ;) (expression_statement "local_20[0] = __int_to_char<char,unsigned_long>();" (comma_expression "local_20[0] = __int_to_char<char,unsigned_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>()" identifier > (parenthesized_expression "()" ( identifier )))) ;) (expression_statement "iVar3 = local_44;" (assignment_expression "iVar3 = local_44" identifier = identifier) ;) (expression_statement "puVar9 = auStackY_6c;" (assignment_expression "puVar9 = auStackY_6c" identifier = identifier) ;) (expression_statement "puVar10 = auStackY_6c;" (assignment_expression "puVar10 = auStackY_6c" identifier = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);" (assignment_expression "puVar6 = (undefined1 *)((int)&local_4c - local_20[0])" identifier = (cast_expression "(undefined1 *)((int)&local_4c - local_20[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_4c - local_20[0])" ( (binary_expression "(int)&local_4c - local_20[0]" (cast_expression "(int)&local_4c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_4c" & identifier)) - (subscript_expression "local_20[0]" identifier [ number_literal ])) )))) ;) (if_statement "if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_6c + iVar5;\n    puVar9 = auStackY_6c + iVar5;\n    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;\n    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;\n    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" if (parenthesized_expression "(*(char *)(local_44 + 0x10) == '\0')" ( (binary_expression "*(char *)(local_44 + 0x10) == '\0'" (pointer_expression "*(char *)(local_44 + 0x10)" * (cast_expression "(char *)(local_44 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + 0x10)" ( (binary_expression "local_44 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (if_statement "if ((char)local_40 != '\0') goto LAB_001ffa9a;" if (parenthesized_expression "((char)local_40 != '\0')" ( (binary_expression "(char)local_40 != '\0'" (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffa9a;" goto statement_identifier ;)) (labeled_statement "LAB_001ffbbf:\n    puVar4 = puVar6;" statement_identifier : (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;)) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((local_34 & 0x200) != 0) && (param_7 != 0))" ( (binary_expression "((local_34 & 0x200) != 0) && (param_7 != 0)" (parenthesized_expression "((local_34 & 0x200) != 0)" ( (binary_expression "(local_34 & 0x200) != 0" (parenthesized_expression "(local_34 & 0x200)" ( (binary_expression "local_34 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" { (if_statement "if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" if (parenthesized_expression "(local_4c == 0x40)" ( (binary_expression "local_4c == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" else (compound_statement "{\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 2;" (assignment_expression "iVar5 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -2;" (assignment_expression "puVar4 = puVar6 + -2" identifier = (binary_expression "puVar6 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));" (assignment_expression "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" * (cast_expression "(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + 2 + (local_34 >> 0xe & 1))" ( (binary_expression "local_38 + 2 + (local_34 >> 0xe & 1)" (binary_expression "local_38 + 2" identifier + number_literal) + (parenthesized_expression "(local_34 >> 0xe & 1)" ( (binary_expression "local_34 >> 0xe & 1" (binary_expression "local_34 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }) (else_clause "else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_6c + iVar5;\n    puVar9 = auStackY_6c + iVar5;\n    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;\n    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;\n    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" else (compound_statement "{\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStackY_6c + iVar5;\n    puVar9 = auStackY_6c + iVar5;\n    *(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);\n    *(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;\n    *(int *)((int)auStackY_80 + iVar5 + 4) = param_5;\n    *(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;\n    _M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (expression_statement "local_44 = CONCAT31(local_44._1_3_,(char)local_40);" (assignment_expression "local_44 = CONCAT31(local_44._1_3_,(char)local_40)" identifier = (call_expression "CONCAT31(local_44._1_3_,(char)local_40)" identifier (argument_list "(local_44._1_3_,(char)local_40)" ( (field_expression "local_44._1_3_" identifier . field_identifier) , (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "local_40 = iVar3;" (assignment_expression "local_40 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar5 = -(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_6c + iVar5;" (assignment_expression "puVar10 = auStackY_6c + iVar5" identifier = (binary_expression "auStackY_6c + iVar5" identifier + identifier)) ;) (expression_statement "puVar9 = auStackY_6c + iVar5;" (assignment_expression "puVar9 = auStackY_6c + iVar5" identifier = (binary_expression "auStackY_6c + iVar5" identifier + identifier)) ;) (expression_statement "*(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20;" (assignment_expression "*(int **)((int)auStackY_80 + iVar5 + 0x10) = local_20" (pointer_expression "*(int **)((int)auStackY_80 + iVar5 + 0x10)" * (cast_expression "(int **)((int)auStackY_80 + iVar5 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 0x10)" ( (binary_expression "(int)auStackY_80 + iVar5 + 0x10" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6;" (assignment_expression "*(undefined1 **)((int)auStackY_80 + iVar5 + 0xc) = puVar6" (pointer_expression "*(undefined1 **)((int)auStackY_80 + iVar5 + 0xc)" * (cast_expression "(undefined1 **)((int)auStackY_80 + iVar5 + 0xc)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 0xc)" ( (binary_expression "(int)auStackY_80 + iVar5 + 0xc" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2);" (assignment_expression "puVar6 = (undefined1 *)((int)&uStackY_60 + iVar5 + 2)" identifier = (cast_expression "(undefined1 *)((int)&uStackY_60 + iVar5 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStackY_60 + iVar5 + 2)" ( (binary_expression "(int)&uStackY_60 + iVar5 + 2" (binary_expression "(int)&uStackY_60 + iVar5" (cast_expression "(int)&uStackY_60" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStackY_60" & identifier)) + identifier) + number_literal) )))) ;) (expression_statement "*(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6;" (assignment_expression "*(undefined1 **)((int)auStackY_80 + iVar5 + 8) = puVar6" (pointer_expression "*(undefined1 **)((int)auStackY_80 + iVar5 + 8)" * (cast_expression "(undefined1 **)((int)auStackY_80 + iVar5 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 8)" ( (binary_expression "(int)auStackY_80 + iVar5 + 8" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)auStackY_80 + iVar5 + 4) = param_5;" (assignment_expression "*(int *)((int)auStackY_80 + iVar5 + 4) = param_5" (pointer_expression "*(int *)((int)auStackY_80 + iVar5 + 4)" * (cast_expression "(int *)((int)auStackY_80 + iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 4)" ( (binary_expression "(int)auStackY_80 + iVar5 + 4" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25);" (assignment_expression "*(int *)((int)auStackY_80 + iVar5) = (int)*(char *)(iVar3 + 0x25)" (pointer_expression "*(int *)((int)auStackY_80 + iVar5)" * (cast_expression "(int *)((int)auStackY_80 + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStackY_80 + iVar5)" ( (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (cast_expression "(int)*(char *)(iVar3 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar3 + 0x25)" * (cast_expression "(char *)(iVar3 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x25)" ( (binary_expression "iVar3 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStackY_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStackY_88 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)aiStackY_88 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_88 + iVar5 + 4)" ( (binary_expression "(int)aiStackY_88 + iVar5 + 4" (binary_expression "(int)aiStackY_88 + iVar5" (cast_expression "(int)aiStackY_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)((int)aiStackY_88 + iVar5) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)((int)aiStackY_88 + iVar5)" * (cast_expression "(undefined4 *)((int)aiStackY_88 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_88 + iVar5)" ( (binary_expression "(int)aiStackY_88 + iVar5" (cast_expression "(int)aiStackY_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apuStackY_90 + iVar5 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apuStackY_90 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)apuStackY_90 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStackY_90 + iVar5 + 4)" ( (binary_expression "(int)apuStackY_90 + iVar5 + 4" (binary_expression "(int)apuStackY_90 + iVar5" (cast_expression "(int)apuStackY_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8;" (assignment_expression "*(undefined4 *)((int)apuStackY_90 + iVar5) = 0x1ffba8" (pointer_expression "*(undefined4 *)((int)apuStackY_90 + iVar5)" * (cast_expression "(undefined4 *)((int)apuStackY_90 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStackY_90 + iVar5)" ( (binary_expression "(int)apuStackY_90 + iVar5" (cast_expression "(int)apuStackY_90" ( (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_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10));" (call_expression "_M_group_int(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10))" identifier (argument_list "(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10))" ( (pointer_expression "*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10))" * (parenthesized_expression "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 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_90 + iVar5 + 4),*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (binary_expression "char_traits<char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4)" identifier < (binary_expression "char>>> **)\n                  ((int)apuStackY_90 + iVar5 + 4)" identifier >> (ERROR ">" >) (pointer_expression "**)\n                  ((int)apuStackY_90 + iVar5 + 4)" * (pointer_expression "*)\n                  ((int)apuStackY_90 + iVar5 + 4)" * (ERROR ")" )) (parenthesized_expression "((int)apuStackY_90 + iVar5 + 4)" ( (binary_expression "(int)apuStackY_90 + iVar5 + 4" (binary_expression "(int)apuStackY_90 + iVar5" (cast_expression "(int)apuStackY_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) , (comma_expression "*(char **)((int)aiStackY_88 + iVar5),\n                 *(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(char **)((int)aiStackY_88 + iVar5)" * (cast_expression "(char **)((int)aiStackY_88 + iVar5)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStackY_88 + iVar5)" ( (binary_expression "(int)aiStackY_88 + iVar5" (cast_expression "(int)aiStackY_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , (comma_expression "*(uint *)((int)aiStackY_88 + iVar5 + 4),*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(uint *)((int)aiStackY_88 + iVar5 + 4)" * (cast_expression "(uint *)((int)aiStackY_88 + iVar5 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStackY_88 + iVar5 + 4)" ( (binary_expression "(int)aiStackY_88 + iVar5 + 4" (binary_expression "(int)aiStackY_88 + iVar5" (cast_expression "(int)aiStackY_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char *)((int)auStackY_80 + iVar5),\n                 *(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(char *)((int)auStackY_80 + iVar5)" * (cast_expression "(char *)((int)auStackY_80 + iVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)auStackY_80 + iVar5)" ( (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , (comma_expression "*(ios_base **)((int)auStackY_80 + iVar5 + 4),\n                 *(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(ios_base **)((int)auStackY_80 + iVar5 + 4)" * (cast_expression "(ios_base **)((int)auStackY_80 + iVar5 + 4)" ( (type_descriptor "ios_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 4)" ( (binary_expression "(int)auStackY_80 + iVar5 + 4" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char **)((int)auStackY_80 + iVar5 + 8),*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(char **)((int)auStackY_80 + iVar5 + 8)" * (cast_expression "(char **)((int)auStackY_80 + iVar5 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 8)" ( (binary_expression "(int)auStackY_80 + iVar5 + 8" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (comma_expression "*(char **)((int)auStackY_80 + iVar5 + 0xc)\n                 ,*(int **)((int)auStackY_80 + iVar5 + 0x10)" (pointer_expression "*(char **)((int)auStackY_80 + iVar5 + 0xc)" * (cast_expression "(char **)((int)auStackY_80 + iVar5 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 0xc)" ( (binary_expression "(int)auStackY_80 + iVar5 + 0xc" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(int **)((int)auStackY_80 + iVar5 + 0x10)" * (cast_expression "(int **)((int)auStackY_80 + iVar5 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)auStackY_80 + iVar5 + 0x10)" ( (binary_expression "(int)auStackY_80 + iVar5 + 0x10" (binary_expression "(int)auStackY_80 + iVar5" (cast_expression "(int)auStackY_80" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))))))))) ))) ))) ;) (expression_statement "iVar3 = local_40;" (assignment_expression "iVar3 = local_40" identifier = identifier) ;) (if_statement "if ((char)local_44 == '\0') goto LAB_001ffbbf;" if (parenthesized_expression "((char)local_44 == '\0')" ( (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffbbf;" goto statement_identifier ;)) (labeled_statement "LAB_001ffa9a:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" if (parenthesized_expression "(param_7 < 0)" ( (binary_expression "param_7 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = 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] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26)" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar3 + 0x26)" * (cast_expression "(undefined1 *)(iVar3 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x26)" ( (binary_expression "iVar3 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;) })) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_34 & 0x800) == 0) goto LAB_001ffaae;" if (parenthesized_expression "((local_34 & 0x800) == 0)" ( (binary_expression "(local_34 & 0x800) == 0" (parenthesized_expression "(local_34 & 0x800)" ( (binary_expression "local_34 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;)) (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x27);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x27)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x27)" * (cast_expression "(undefined1 *)(iVar3 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x27)" ( (binary_expression "iVar3 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar3 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar3 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar3 + 0x1bU & 0xfffffff0" (binary_expression "iVar3 + 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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4" (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 "iVar5 = (int)(char)local_48;" (assignment_expression "iVar5 = (int)(char)local_48" identifier = (cast_expression "(int)(char)local_48" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_48" ( (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) = iVar3;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar3" (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) = iVar5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar5" (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) = 0x1ffb45;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45" (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 "_M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),\n         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),\n         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8));" (call_expression "_M_pad(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),\n         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),\n         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8))" identifier (argument_list "(*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20),puVar9[iVar2 + -0x1c],*(int *)(puVar9 + iVar2 + -0x18),\n         *(ios_base **)(puVar9 + iVar2 + -0x14),*(char **)(puVar9 + iVar2 + -0x10),\n         *(char **)(puVar9 + iVar2 + -0xc),*(int **)(puVar9 + iVar2 + -8))" ( (pointer_expression "*(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -0x20)" * (call_expression "(num_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>> **)\n          (puVar9 + iVar2 + -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 + iVar2 + -0x20)" ( (binary_expression "puVar9 + iVar2 + -0x20" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) , (subscript_expression "puVar9[iVar2 + -0x1c]" identifier [ (binary_expression "iVar2 + -0x1c" identifier + number_literal) ]) , (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) )))) , (pointer_expression "*(ios_base **)(puVar9 + iVar2 + -0x14)" * (cast_expression "(ios_base **)(puVar9 + iVar2 + -0x14)" ( (type_descriptor "ios_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0x14)" ( (binary_expression "puVar9 + iVar2 + -0x14" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(char **)(puVar9 + iVar2 + -0x10)" * (cast_expression "(char **)(puVar9 + iVar2 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0x10)" ( (binary_expression "puVar9 + iVar2 + -0x10" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(char **)(puVar9 + iVar2 + -0xc)" * (cast_expression "(char **)(puVar9 + iVar2 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + iVar2 + -0xc)" ( (binary_expression "puVar9 + iVar2 + -0xc" (binary_expression "puVar9 + iVar2" identifier + identifier) + number_literal) )))) , (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) )))) ))) ;) (expression_statement "puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar4 = (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 "iVar5 = local_20[0];" (assignment_expression "iVar5 = 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_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "cVar8 = (char)local_3c;" (assignment_expression "cVar8 = (char)local_3c" identifier = (cast_expression "(char)local_3c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" { (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar5;" (assignment_expression "*(int *)(puVar9 + -8) = iVar5" (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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar4" (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 "pcVar1 = *(code **)(iVar3 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar3 + 0x30)" identifier = (pointer_expression "*(code **)(iVar3 + 0x30)" * (cast_expression "(code **)(iVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6" (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 "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }" if (parenthesized_expression "(iVar3 != iVar5)" ( (binary_expression "iVar3 != iVar5" 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 = param_3;" (assignment_expression "*param_1 = param_3" (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 "undefined4 *\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}\n\n" (function_definition "undefined4 *\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" type_identifier (pointer_declarator "*\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" * (function_declarator "FUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "int param_7" primitive_type identifier) )))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\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 iVar3;" primitive_type identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type 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 "uint *apuStack_90 [2];" type_identifier (pointer_declarator "*apuStack_90 [2]" * (array_declarator "apuStack_90 [2]" identifier [ number_literal ])) ;) (declaration "int aiStack_88 [7];" primitive_type (array_declarator "aiStack_88 [7]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_6c [12];" type_identifier (array_declarator "auStack_6c [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_60;" type_identifier identifier ;) (declaration "undefined1 *puStack_5c;" type_identifier (pointer_declarator "*puStack_5c" * identifier) ;) (declaration "int iStack_58;" primitive_type identifier ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "undefined4 local_48;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "undefined4 local_3c;" type_identifier identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * 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 = 0x1ff9eb;" (assignment_expression "uStack_14 = 0x1ff9eb" identifier = number_literal) ;) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" identifier = identifier) ;) (expression_statement "local_48 = param_6;" (assignment_expression "local_48 = param_6" identifier = identifier) ;) (expression_statement "iStack_58 = param_5 + 0x6c;" (assignment_expression "iStack_58 = param_5 + 0x6c" identifier = (binary_expression "param_5 + 0x6c" identifier + number_literal)) ;) (expression_statement "puStack_5c = &local_21;" (assignment_expression "puStack_5c = &local_21" identifier = (pointer_expression "&local_21" & identifier)) ;) (expression_statement "uStack_60 = 0x1ffa16;" (assignment_expression "uStack_60 = 0x1ffa16" identifier = number_literal) ;) (expression_statement "local_44 = FUN_001ff8d0();" (assignment_expression "local_44 = FUN_001ff8d0()" identifier = (call_expression "FUN_001ff8d0()" identifier (argument_list "()" ( )))) ;) (expression_statement "aiStack_88[1] = local_44 + 0x26;" (assignment_expression "aiStack_88[1] = local_44 + 0x26" (subscript_expression "aiStack_88[1]" identifier [ number_literal ]) = (binary_expression "local_44 + 0x26" identifier + number_literal)) ;) (expression_statement "aiStack_88[2] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_88[2] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_88[2]" 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_4c = aiStack_88[2] & 0x4a;" (assignment_expression "local_4c = aiStack_88[2] & 0x4a" identifier = (binary_expression "aiStack_88[2] & 0x4a" (subscript_expression "aiStack_88[2]" identifier [ number_literal ]) & number_literal)) ;) (expression_statement "bVar7 = local_4c != 8 && local_4c != 0x40;" (assignment_expression "bVar7 = local_4c != 8 && local_4c != 0x40" identifier = (binary_expression "local_4c != 8 && local_4c != 0x40" (binary_expression "local_4c != 8" identifier != number_literal) && (binary_expression "local_4c != 0x40" identifier != number_literal))) ;) (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" if (parenthesized_expression "(param_7 < 1)" ( (binary_expression "param_7 < 1" identifier < number_literal) )) (compound_statement "{\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" { (expression_statement "aiStack_88[0] = -param_7;" (assignment_expression "aiStack_88[0] = -param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = (unary_expression "-param_7" - identifier)) ;) (if_statement "if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }" if (parenthesized_expression "(local_4c == 8 || local_4c == 0x40)" ( (binary_expression "local_4c == 8 || local_4c == 0x40" (binary_expression "local_4c == 8" identifier == number_literal) || (binary_expression "local_4c == 0x40" identifier == number_literal)) )) (compound_statement "{\n      aiStack_88[0] = param_7;\n    }" { (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" identifier [ number_literal ]) = identifier) ;) })) })) (expression_statement "aiStack_88[3] = (int)bVar7;" (assignment_expression "aiStack_88[3] = (int)bVar7" (subscript_expression "aiStack_88[3]" identifier [ number_literal ]) = (cast_expression "(int)bVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "apuStack_90[1] = &local_4c;" (assignment_expression "apuStack_90[1] = &local_4c" (subscript_expression "apuStack_90[1]" identifier [ number_literal ]) = (pointer_expression "&local_4c" & identifier)) ;) (expression_statement "local_40 = CONCAT31(local_40._1_3_,bVar7);" (assignment_expression "local_40 = CONCAT31(local_40._1_3_,bVar7)" identifier = (call_expression "CONCAT31(local_40._1_3_,bVar7)" identifier (argument_list "(local_40._1_3_,bVar7)" ( (field_expression "local_40._1_3_" identifier . field_identifier) , identifier )))) ;) (expression_statement "apuStack_90[0] = (uint *)0x1ffa74;" (assignment_expression "apuStack_90[0] = (uint *)0x1ffa74" (subscript_expression "apuStack_90[0]" identifier [ number_literal ]) = (cast_expression "(uint *)0x1ffa74" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_38 = aiStack_88[1];" (assignment_expression "local_38 = aiStack_88[1]" identifier = (subscript_expression "aiStack_88[1]" identifier [ number_literal ])) ;) (expression_statement "local_34 = aiStack_88[2];" (assignment_expression "local_34 = aiStack_88[2]" identifier = (subscript_expression "aiStack_88[2]" identifier [ number_literal ])) ;) (expression_statement "local_20[0] = FUN_001ff4b0();" (assignment_expression "local_20[0] = FUN_001ff4b0()" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (call_expression "FUN_001ff4b0()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = local_44;" (assignment_expression "iVar3 = local_44" identifier = identifier) ;) (expression_statement "puVar9 = auStack_6c;" (assignment_expression "puVar9 = auStack_6c" identifier = identifier) ;) (expression_statement "puVar10 = auStack_6c;" (assignment_expression "puVar10 = auStack_6c" identifier = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);" (assignment_expression "puVar6 = (undefined1 *)((int)&local_4c - local_20[0])" identifier = (cast_expression "(undefined1 *)((int)&local_4c - local_20[0])" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_4c - local_20[0])" ( (binary_expression "(int)&local_4c - local_20[0]" (cast_expression "(int)&local_4c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_4c" & identifier)) - (subscript_expression "local_20[0]" identifier [ number_literal ])) )))) ;) (if_statement "if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" if (parenthesized_expression "(*(char *)(local_44 + 0x10) == '\0')" ( (binary_expression "*(char *)(local_44 + 0x10) == '\0'" (pointer_expression "*(char *)(local_44 + 0x10)" * (cast_expression "(char *)(local_44 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_44 + 0x10)" ( (binary_expression "local_44 + 0x10" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (if_statement "if ((char)local_40 != '\0') goto LAB_001ffa9a;" if (parenthesized_expression "((char)local_40 != '\0')" ( (binary_expression "(char)local_40 != '\0'" (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffa9a;" goto statement_identifier ;)) (labeled_statement "LAB_001ffbbf:\n    puVar4 = puVar6;" statement_identifier : (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;)) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" if (parenthesized_expression "(((local_34 & 0x200) != 0) && (param_7 != 0))" ( (binary_expression "((local_34 & 0x200) != 0) && (param_7 != 0)" (parenthesized_expression "((local_34 & 0x200) != 0)" ( (binary_expression "(local_34 & 0x200) != 0" (parenthesized_expression "(local_34 & 0x200)" ( (binary_expression "local_34 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_7 != 0)" ( (binary_expression "param_7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" { (if_statement "if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" if (parenthesized_expression "(local_4c == 0x40)" ( (binary_expression "local_4c == 0x40" identifier == number_literal) )) (compound_statement "{\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" else (compound_statement "{\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" { (expression_statement "iVar5 = local_20[0] + 2;" (assignment_expression "iVar5 = local_20[0] + 2" identifier = (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -2;" (assignment_expression "puVar4 = puVar6 + -2" identifier = (binary_expression "puVar6 + -2" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));" (assignment_expression "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" * (cast_expression "(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_38 + 2 + (local_34 >> 0xe & 1))" ( (binary_expression "local_38 + 2 + (local_34 >> 0xe & 1)" (binary_expression "local_38 + 2" identifier + number_literal) + (parenthesized_expression "(local_34 >> 0xe & 1)" ( (binary_expression "local_34 >> 0xe & 1" (binary_expression "local_34 >> 0xe" identifier >> number_literal) & number_literal) ))) ))))) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" * (cast_expression "(undefined1 *)(iVar3 + 0x2a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2a)" ( (binary_expression "iVar3 + 0x2a" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }) (else_clause "else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" else (compound_statement "{\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" { (expression_statement "local_44 = CONCAT31(local_44._1_3_,(char)local_40);" (assignment_expression "local_44 = CONCAT31(local_44._1_3_,(char)local_40)" identifier = (call_expression "CONCAT31(local_44._1_3_,(char)local_40)" identifier (argument_list "(local_44._1_3_,(char)local_40)" ( (field_expression "local_44._1_3_" identifier . field_identifier) , (cast_expression "(char)local_40" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "local_40 = iVar3;" (assignment_expression "local_40 = iVar3" identifier = identifier) ;) (expression_statement "iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar5 = -(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_6c + iVar5;" (assignment_expression "puVar10 = auStack_6c + iVar5" identifier = (binary_expression "auStack_6c + iVar5" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_6c + iVar5;" (assignment_expression "puVar9 = auStack_6c + iVar5" identifier = (binary_expression "auStack_6c + iVar5" identifier + identifier)) ;) (expression_statement "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18)" * (cast_expression "(int **)((int)aiStack_88 + iVar5 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x18)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x18" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" * (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x14)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x14" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);" (assignment_expression "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2)" identifier = (cast_expression "(undefined1 *)((int)&uStack_60 + iVar5 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&uStack_60 + iVar5 + 2)" ( (binary_expression "(int)&uStack_60 + iVar5 + 2" (binary_expression "(int)&uStack_60 + iVar5" (cast_expression "(int)&uStack_60" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&uStack_60" & identifier)) + identifier) + number_literal) )))) ;) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" * (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x10)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0x10" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc)" * (cast_expression "(int *)((int)aiStack_88 + iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 0xc)" ( (binary_expression "(int)aiStack_88 + iVar5 + 0xc" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25)" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 8)" * (cast_expression "(int *)((int)aiStack_88 + iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 8)" ( (binary_expression "(int)aiStack_88 + iVar5 + 8" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (cast_expression "(int)*(char *)(iVar3 + 0x25)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(iVar3 + 0x25)" * (cast_expression "(char *)(iVar3 + 0x25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x25)" ( (binary_expression "iVar3 + 0x25" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5 + 4)" ( (binary_expression "(int)aiStack_88 + iVar5 + 4" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" * (cast_expression "(undefined4 *)(iVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5)" * (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)aiStack_88 + iVar5)" ( (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4)" * (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStack_90 + iVar5 + 4)" ( (binary_expression "(int)apuStack_90 + iVar5 + 4" (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5)" * (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)apuStack_90 + iVar5)" ( (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_001fe1c0();" (call_expression "FUN_001fe1c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = local_40;" (assignment_expression "iVar3 = local_40" identifier = identifier) ;) (if_statement "if ((char)local_44 == '\0') goto LAB_001ffbbf;" if (parenthesized_expression "((char)local_44 == '\0')" ( (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001ffbbf;" goto statement_identifier ;)) (labeled_statement "LAB_001ffa9a:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" if (parenthesized_expression "(param_7 < 0)" ( (binary_expression "param_7 < 0" identifier < number_literal) )) (compound_statement "{\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" { (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = 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] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26)" (subscript_expression "puVar6[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined1 *)(iVar3 + 0x26)" * (cast_expression "(undefined1 *)(iVar3 + 0x26)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x26)" ( (binary_expression "iVar3 + 0x26" identifier + number_literal) ))))) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;) })) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" identifier = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (if_statement "if ((local_34 & 0x800) == 0) goto LAB_001ffaae;" if (parenthesized_expression "((local_34 & 0x800) == 0)" ( (binary_expression "(local_34 & 0x800) == 0" (parenthesized_expression "(local_34 & 0x800)" ( (binary_expression "local_34 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_001ffaae;" goto statement_identifier ;)) (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" identifier = (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" identifier = (binary_expression "puVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x27);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x27)" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*(undefined1 *)(iVar3 + 0x27)" * (cast_expression "(undefined1 *)(iVar3 + 0x27)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x27)" ( (binary_expression "iVar3 + 0x27" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(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 (iVar3 <= iVar5) goto LAB_001ffab8;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (goto_statement "goto LAB_001ffab8;" goto statement_identifier ;)) }))) (expression_statement "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0)" identifier = (unary_expression "-(iVar3 + 0x1bU & 0xfffffff0)" - (parenthesized_expression "(iVar3 + 0x1bU & 0xfffffff0)" ( (binary_expression "iVar3 + 0x1bU & 0xfffffff0" (binary_expression "iVar3 + 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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4" (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 "iVar5 = (int)(char)local_48;" (assignment_expression "iVar5 = (int)(char)local_48" identifier = (cast_expression "(int)(char)local_48" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)local_48" ( (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) = iVar3;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar3" (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) = iVar5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar5" (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) = 0x1ffb45;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45" (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_001ff470();" (call_expression "FUN_001ff470()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar4 = (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 "iVar5 = local_20[0];" (assignment_expression "iVar5 = 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_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(param_5 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_5 + 8) = 0" (pointer_expression "*(undefined4 *)(param_5 + 8)" * (cast_expression "(undefined4 *)(param_5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_5 + 8)" ( (binary_expression "param_5 + 8" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "cVar8 = (char)local_3c;" (assignment_expression "cVar8 = (char)local_3c" identifier = (cast_expression "(char)local_3c" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" if (parenthesized_expression "(cVar8 == '\0')" ( (binary_expression "cVar8 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" { (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(int *)(puVar9 + -8) = iVar5;" (assignment_expression "*(int *)(puVar9 + -8) = iVar5" (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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar4" (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 "pcVar1 = *(code **)(iVar3 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar3 + 0x30)" identifier = (pointer_expression "*(code **)(iVar3 + 0x30)" * (cast_expression "(code **)(iVar3 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6" (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 "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" identifier = (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }" if (parenthesized_expression "(iVar3 != iVar5)" ( (binary_expression "iVar3 != iVar5" 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 = param_3;" (assignment_expression "*param_1 = param_3" (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) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (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) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (unary_expression - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , 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 = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & 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 (cast_expression ( (type_descriptor TYPE) ) 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 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 = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) ;) (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 ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 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 (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_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)\n\n{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\n  *(char *)(param_1 + 1) = cVar8;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "*\nFUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" (* "*") (function_declarator "FUN_001ff9e0(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" (identifier "FUN_001ff9e0") (parameter_list "(undefined4 *param_1,undefined4 param_2,int *param_3,undefined4 param_4,int param_5,\n            undefined4 param_6,int param_7)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "int param_7" (primitive_type "int") (identifier "param_7")) () ")")))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  int iVar3;\n  undefined1 *puVar4;\n  int iVar5;\n  undefined1 *puVar6;\n  bool bVar7;\n  char cVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  uint *apuStack_90 [2];\n  int aiStack_88 [7];\n  undefined1 auStack_6c [12];\n  undefined4 uStack_60;\n  undefined1 *puStack_5c;\n  int iStack_58;\n  uint local_4c;\n  undefined4 local_48;\n  int local_44;\n  int local_40;\n  undefined4 local_3c;\n  int local_38;\n  uint local_34;\n  undefined **local_30;\n  undefined1 local_21;\n  int local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1ff9eb;\n  local_30 = &__DT_PLTGOT;\n  local_3c = param_4;\n  local_48 = param_6;\n  iStack_58 = param_5 + 0x6c;\n  puStack_5c = &local_21;\n  uStack_60 = 0x1ffa16;\n  local_44 = FUN_001ff8d0();\n  aiStack_88[1] = local_44 + 0x26;\n  aiStack_88[2] = *(uint *)(param_5 + 0xc);\n  local_4c = aiStack_88[2] & 0x4a;\n  bVar7 = local_4c != 8 && local_4c != 0x40;\n  aiStack_88[0] = param_7;\n  if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }\n  aiStack_88[3] = (int)bVar7;\n  apuStack_90[1] = &local_4c;\n  local_40 = CONCAT31(local_40._1_3_,bVar7);\n  apuStack_90[0] = (uint *)0x1ffa74;\n  local_38 = aiStack_88[1];\n  local_34 = aiStack_88[2];\n  local_20[0] = FUN_001ff4b0();\n  iVar3 = local_44;\n  puVar9 = auStack_6c;\n  puVar10 = auStack_6c;\n  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);\n  if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);\n  *(int **)(puVar9 + iVar2 + -8) = local_20;\n  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;\n  iVar5 = (int)(char)local_48;\n  *(undefined1 **)(puVar9 + iVar2 + -0x10) =\n       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  *(int *)(puVar9 + iVar2 + -0x14) = param_5;\n  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;\n  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;\n  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;\n  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;\n  FUN_001ff470();\n  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);\n  iVar5 = local_20[0];\n  puVar9 = puVar9 + iVar2;\nLAB_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;\n  cVar8 = (char)local_3c;\n  if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }\n  *param_1 = param_3;\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 iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (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 "uint *apuStack_90 [2];" (type_identifier "uint") (pointer_declarator "*apuStack_90 [2]" (* "*") (array_declarator "apuStack_90 [2]" (identifier "apuStack_90") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "int aiStack_88 [7];" (primitive_type "int") (array_declarator "aiStack_88 [7]" (identifier "aiStack_88") ([ "[") (number_literal "7") (] "]")) (; ";")) (declaration "undefined1 auStack_6c [12];" (type_identifier "undefined1") (array_declarator "auStack_6c [12]" (identifier "auStack_6c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 uStack_60;" (type_identifier "undefined4") (identifier "uStack_60") (; ";")) (declaration "undefined1 *puStack_5c;" (type_identifier "undefined1") (pointer_declarator "*puStack_5c" (* "*") (identifier "puStack_5c")) (; ";")) (declaration "int iStack_58;" (primitive_type "int") (identifier "iStack_58") (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "undefined4 local_48;" (type_identifier "undefined4") (identifier "local_48") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "undefined4 local_3c;" (type_identifier "undefined4") (identifier "local_3c") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "undefined **local_30;" (type_identifier "undefined") (pointer_declarator "**local_30" (* "*") (pointer_declarator "*local_30" (* "*") (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 = 0x1ff9eb;" (assignment_expression "uStack_14 = 0x1ff9eb" (identifier "uStack_14") (= "=") (number_literal "0x1ff9eb")) (; ";")) (expression_statement "local_30 = &__DT_PLTGOT;" (assignment_expression "local_30 = &__DT_PLTGOT" (identifier "local_30") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "local_3c = param_4;" (assignment_expression "local_3c = param_4" (identifier "local_3c") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_48 = param_6;" (assignment_expression "local_48 = param_6" (identifier "local_48") (= "=") (identifier "param_6")) (; ";")) (expression_statement "iStack_58 = param_5 + 0x6c;" (assignment_expression "iStack_58 = param_5 + 0x6c" (identifier "iStack_58") (= "=") (binary_expression "param_5 + 0x6c" (identifier "param_5") (+ "+") (number_literal "0x6c"))) (; ";")) (expression_statement "puStack_5c = &local_21;" (assignment_expression "puStack_5c = &local_21" (identifier "puStack_5c") (= "=") (pointer_expression "&local_21" (& "&") (identifier "local_21"))) (; ";")) (expression_statement "uStack_60 = 0x1ffa16;" (assignment_expression "uStack_60 = 0x1ffa16" (identifier "uStack_60") (= "=") (number_literal "0x1ffa16")) (; ";")) (expression_statement "local_44 = FUN_001ff8d0();" (assignment_expression "local_44 = FUN_001ff8d0()" (identifier "local_44") (= "=") (call_expression "FUN_001ff8d0()" (identifier "FUN_001ff8d0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "aiStack_88[1] = local_44 + 0x26;" (assignment_expression "aiStack_88[1] = local_44 + 0x26" (subscript_expression "aiStack_88[1]" (identifier "aiStack_88") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "local_44 + 0x26" (identifier "local_44") (+ "+") (number_literal "0x26"))) (; ";")) (expression_statement "aiStack_88[2] = *(uint *)(param_5 + 0xc);" (assignment_expression "aiStack_88[2] = *(uint *)(param_5 + 0xc)" (subscript_expression "aiStack_88[2]" (identifier "aiStack_88") ([ "[") (number_literal "2") (] "]")) (= "=") (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_4c = aiStack_88[2] & 0x4a;" (assignment_expression "local_4c = aiStack_88[2] & 0x4a" (identifier "local_4c") (= "=") (binary_expression "aiStack_88[2] & 0x4a" (subscript_expression "aiStack_88[2]" (identifier "aiStack_88") ([ "[") (number_literal "2") (] "]")) (& "&") (number_literal "0x4a"))) (; ";")) (expression_statement "bVar7 = local_4c != 8 && local_4c != 0x40;" (assignment_expression "bVar7 = local_4c != 8 && local_4c != 0x40" (identifier "bVar7") (= "=") (binary_expression "local_4c != 8 && local_4c != 0x40" (binary_expression "local_4c != 8" (identifier "local_4c") (!= "!=") (number_literal "8")) (&& "&&") (binary_expression "local_4c != 0x40" (identifier "local_4c") (!= "!=") (number_literal "0x40")))) (; ";")) (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" (identifier "aiStack_88") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_7")) (; ";")) (if_statement "if (param_7 < 1) {\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" (if "if") (parenthesized_expression "(param_7 < 1)" (( "(") (binary_expression "param_7 < 1" (identifier "param_7") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    aiStack_88[0] = -param_7;\n    if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }\n  }" ({ "{") (expression_statement "aiStack_88[0] = -param_7;" (assignment_expression "aiStack_88[0] = -param_7" (subscript_expression "aiStack_88[0]" (identifier "aiStack_88") ([ "[") (number_literal "0") (] "]")) (= "=") (unary_expression "-param_7" (- "-") (identifier "param_7"))) (; ";")) (if_statement "if (local_4c == 8 || local_4c == 0x40) {\n      aiStack_88[0] = param_7;\n    }" (if "if") (parenthesized_expression "(local_4c == 8 || local_4c == 0x40)" (( "(") (binary_expression "local_4c == 8 || local_4c == 0x40" (binary_expression "local_4c == 8" (identifier "local_4c") (== "==") (number_literal "8")) (|| "||") (binary_expression "local_4c == 0x40" (identifier "local_4c") (== "==") (number_literal "0x40"))) () ")")) (compound_statement "{\n      aiStack_88[0] = param_7;\n    }" ({ "{") (expression_statement "aiStack_88[0] = param_7;" (assignment_expression "aiStack_88[0] = param_7" (subscript_expression "aiStack_88[0]" (identifier "aiStack_88") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_7")) (; ";")) (} "}"))) (} "}"))) (expression_statement "aiStack_88[3] = (int)bVar7;" (assignment_expression "aiStack_88[3] = (int)bVar7" (subscript_expression "aiStack_88[3]" (identifier "aiStack_88") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)bVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "bVar7"))) (; ";")) (expression_statement "apuStack_90[1] = &local_4c;" (assignment_expression "apuStack_90[1] = &local_4c" (subscript_expression "apuStack_90[1]" (identifier "apuStack_90") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&local_4c" (& "&") (identifier "local_4c"))) (; ";")) (expression_statement "local_40 = CONCAT31(local_40._1_3_,bVar7);" (assignment_expression "local_40 = CONCAT31(local_40._1_3_,bVar7)" (identifier "local_40") (= "=") (call_expression "CONCAT31(local_40._1_3_,bVar7)" (identifier "CONCAT31") (argument_list "(local_40._1_3_,bVar7)" (( "(") (field_expression "local_40._1_3_" (identifier "local_40") (. ".") (field_identifier "_1_3_")) (, ",") (identifier "bVar7") () ")")))) (; ";")) (expression_statement "apuStack_90[0] = (uint *)0x1ffa74;" (assignment_expression "apuStack_90[0] = (uint *)0x1ffa74" (subscript_expression "apuStack_90[0]" (identifier "apuStack_90") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(uint *)0x1ffa74" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1ffa74"))) (; ";")) (expression_statement "local_38 = aiStack_88[1];" (assignment_expression "local_38 = aiStack_88[1]" (identifier "local_38") (= "=") (subscript_expression "aiStack_88[1]" (identifier "aiStack_88") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_34 = aiStack_88[2];" (assignment_expression "local_34 = aiStack_88[2]" (identifier "local_34") (= "=") (subscript_expression "aiStack_88[2]" (identifier "aiStack_88") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_20[0] = FUN_001ff4b0();" (assignment_expression "local_20[0] = FUN_001ff4b0()" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "FUN_001ff4b0()" (identifier "FUN_001ff4b0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = local_44;" (assignment_expression "iVar3 = local_44" (identifier "iVar3") (= "=") (identifier "local_44")) (; ";")) (expression_statement "puVar9 = auStack_6c;" (assignment_expression "puVar9 = auStack_6c" (identifier "puVar9") (= "=") (identifier "auStack_6c")) (; ";")) (expression_statement "puVar10 = auStack_6c;" (assignment_expression "puVar10 = auStack_6c" (identifier "puVar10") (= "=") (identifier "auStack_6c")) (; ";")) (expression_statement "puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);" (assignment_expression "puVar6 = (undefined1 *)((int)&local_4c - local_20[0])" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)((int)&local_4c - local_20[0])" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_4c - local_20[0])" (( "(") (binary_expression "(int)&local_4c - local_20[0]" (cast_expression "(int)&local_4c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_4c" (& "&") (identifier "local_4c"))) (- "-") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) () ")")))) (; ";")) (if_statement "if (*(char *)(local_44 + 0x10) == '\0') {\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }\n  else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" (if "if") (parenthesized_expression "(*(char *)(local_44 + 0x10) == '\0')" (( "(") (binary_expression "*(char *)(local_44 + 0x10) == '\0'" (pointer_expression "*(char *)(local_44 + 0x10)" (* "*") (cast_expression "(char *)(local_44 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_44 + 0x10)" (( "(") (binary_expression "local_44 + 0x10" (identifier "local_44") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if ((char)local_40 != '\0') goto LAB_001ffa9a;\nLAB_001ffbbf:\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }\nLAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);\n    puVar9 = puVar10;\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" ({ "{") (if_statement "if ((char)local_40 != '\0') goto LAB_001ffa9a;" (if "if") (parenthesized_expression "((char)local_40 != '\0')" (( "(") (binary_expression "(char)local_40 != '\0'" (cast_expression "(char)local_40" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_40")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_001ffa9a;" (goto "goto") (statement_identifier "LAB_001ffa9a") (; ";"))) (labeled_statement "LAB_001ffbbf:\n    puVar4 = puVar6;" (statement_identifier "LAB_001ffbbf") (: ":") (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";"))) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" (identifier "iVar5") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (((local_34 & 0x200) != 0) && (param_7 != 0)) {\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" (if "if") (parenthesized_expression "(((local_34 & 0x200) != 0) && (param_7 != 0))" (( "(") (binary_expression "((local_34 & 0x200) != 0) && (param_7 != 0)" (parenthesized_expression "((local_34 & 0x200) != 0)" (( "(") (binary_expression "(local_34 & 0x200) != 0" (parenthesized_expression "(local_34 & 0x200)" (( "(") (binary_expression "local_34 & 0x200" (identifier "local_34") (& "&") (number_literal "0x200")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_7 != 0)" (( "(") (binary_expression "param_7 != 0" (identifier "param_7") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n    }" ({ "{") (if_statement "if (local_4c == 0x40) {\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }\n      else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" (if "if") (parenthesized_expression "(local_4c == 0x40)" (( "(") (binary_expression "local_4c == 0x40" (identifier "local_4c") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n        iVar5 = local_20[0] + 1;\n        puVar4 = puVar6 + -1;\n        local_20[0] = iVar5;\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" ({ "{") (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" (identifier "iVar5") (= "=") (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar6 + -1" (identifier "puVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x2a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2a)" (( "(") (binary_expression "iVar3 + 0x2a" (identifier "iVar3") (+ "+") (number_literal "0x2a")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" (else "else") (compound_statement "{\n        iVar5 = local_20[0] + 2;\n        puVar4 = puVar6 + -2;\n        local_20[0] = iVar5;\n        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));\n        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);\n      }" ({ "{") (expression_statement "iVar5 = local_20[0] + 2;" (assignment_expression "iVar5 = local_20[0] + 2" (identifier "iVar5") (= "=") (binary_expression "local_20[0] + 2" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar4 = puVar6 + -2;" (assignment_expression "puVar4 = puVar6 + -2" (identifier "puVar4") (= "=") (binary_expression "puVar6 + -2" (identifier "puVar6") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));" (assignment_expression "puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (subscript_expression "puVar6[-1]" (identifier "puVar6") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (* "*") (cast_expression "(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_38 + 2 + (local_34 >> 0xe & 1))" (( "(") (binary_expression "local_38 + 2 + (local_34 >> 0xe & 1)" (binary_expression "local_38 + 2" (identifier "local_38") (+ "+") (number_literal "2")) (+ "+") (parenthesized_expression "(local_34 >> 0xe & 1)" (( "(") (binary_expression "local_34 >> 0xe & 1" (binary_expression "local_34 >> 0xe" (identifier "local_34") (>> ">>") (number_literal "0xe")) (& "&") (number_literal "1")) () ")"))) () ")"))))) (; ";")) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x2a);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x2a)" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x2a)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x2a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x2a)" (( "(") (binary_expression "iVar3 + 0x2a" (identifier "iVar3") (+ "+") (number_literal "0x2a")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_001ffaae:\n    iVar3 = *(int *)(param_5 + 8);" (statement_identifier "LAB_001ffaae") (: ":") (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(int *)(param_5 + 8)" (identifier "iVar3") (= "=") (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 (iVar3 <= iVar5) goto LAB_001ffab8;" (if "if") (parenthesized_expression "(iVar3 <= iVar5)" (( "(") (binary_expression "iVar3 <= iVar5" (identifier "iVar3") (<= "<=") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_001ffab8;" (goto "goto") (statement_identifier "LAB_001ffab8") (; ";"))) (} "}")) (else_clause "else {\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" (else "else") (compound_statement "{\n    local_44 = CONCAT31(local_44._1_3_,(char)local_40);\n    local_40 = iVar3;\n    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);\n    puVar10 = auStack_6c + iVar5;\n    puVar9 = auStack_6c + iVar5;\n    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;\n    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);\n    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;\n    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;\n    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);\n    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);\n    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);\n    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;\n    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;\n    FUN_001fe1c0();\n    iVar3 = local_40;\n    if ((char)local_44 == '\0') goto LAB_001ffbbf;\nLAB_001ffa9a:\n    puVar10 = puVar9;\n    if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }\n    puVar4 = puVar6;\n    iVar5 = local_20[0];\n    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;\n    iVar5 = local_20[0] + 1;\n    puVar4 = puVar6 + -1;\n    local_20[0] = iVar5;\n    *puVar4 = *(undefined1 *)(iVar3 + 0x27);\n    iVar3 = *(int *)(param_5 + 8);\n    if (iVar3 <= iVar5) goto LAB_001ffab8;\n  }" ({ "{") (expression_statement "local_44 = CONCAT31(local_44._1_3_,(char)local_40);" (assignment_expression "local_44 = CONCAT31(local_44._1_3_,(char)local_40)" (identifier "local_44") (= "=") (call_expression "CONCAT31(local_44._1_3_,(char)local_40)" (identifier "CONCAT31") (argument_list "(local_44._1_3_,(char)local_40)" (( "(") (field_expression "local_44._1_3_" (identifier "local_44") (. ".") (field_identifier "_1_3_")) (, ",") (cast_expression "(char)local_40" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_40")) () ")")))) (; ";")) (expression_statement "local_40 = iVar3;" (assignment_expression "local_40 = iVar3" (identifier "local_40") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);" (assignment_expression "iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0)" (identifier "iVar5") (= "=") (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_6c + iVar5;" (assignment_expression "puVar10 = auStack_6c + iVar5" (identifier "puVar10") (= "=") (binary_expression "auStack_6c + iVar5" (identifier "auStack_6c") (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "puVar9 = auStack_6c + iVar5;" (assignment_expression "puVar9 = auStack_6c + iVar5" (identifier "puVar9") (= "=") (binary_expression "auStack_6c + iVar5" (identifier "auStack_6c") (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;" (assignment_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20" (pointer_expression "*(int **)((int)aiStack_88 + iVar5 + 0x18)" (* "*") (cast_expression "(int **)((int)aiStack_88 + iVar5 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x18)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 0x18" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" (* "*") (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x14)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x14)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 0x14" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);" (assignment_expression "puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2)" (identifier "puVar6") (= "=") (cast_expression "(undefined1 *)((int)&uStack_60 + iVar5 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&uStack_60 + iVar5 + 2)" (( "(") (binary_expression "(int)&uStack_60 + iVar5 + 2" (binary_expression "(int)&uStack_60 + iVar5" (cast_expression "(int)&uStack_60" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&uStack_60" (& "&") (identifier "uStack_60"))) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;" (assignment_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6" (pointer_expression "*(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" (* "*") (cast_expression "(undefined1 **)((int)aiStack_88 + iVar5 + 0x10)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 0x10)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 0x10" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar6")) (; ";")) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 0xc)" (* "*") (cast_expression "(int *)((int)aiStack_88 + iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 0xc)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 0xc" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_5")) (; ";")) (expression_statement "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);" (assignment_expression "*(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25)" (pointer_expression "*(int *)((int)aiStack_88 + iVar5 + 8)" (* "*") (cast_expression "(int *)((int)aiStack_88 + iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 8)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 8" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "8")) () ")")))) (= "=") (cast_expression "(int)*(char *)(iVar3 + 0x25)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(iVar3 + 0x25)" (* "*") (cast_expression "(char *)(iVar3 + 0x25)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x25)" (( "(") (binary_expression "iVar3 + 0x25" (identifier "iVar3") (+ "+") (number_literal "0x25")) () ")")))))) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5 + 4)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5 + 4)" (( "(") (binary_expression "(int)aiStack_88 + iVar5 + 4" (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);" (assignment_expression "*(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8)" (pointer_expression "*(undefined4 *)((int)aiStack_88 + iVar5)" (* "*") (cast_expression "(undefined4 *)((int)aiStack_88 + iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)aiStack_88 + iVar5)" (( "(") (binary_expression "(int)aiStack_88 + iVar5" (cast_expression "(int)aiStack_88" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "aiStack_88")) (+ "+") (identifier "iVar5")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5 + 4)" (* "*") (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)apuStack_90 + iVar5 + 4)" (( "(") (binary_expression "(int)apuStack_90 + iVar5 + 4" (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "apuStack_90")) (+ "+") (identifier "iVar5")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;" (assignment_expression "*(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8" (pointer_expression "*(undefined4 *)((int)apuStack_90 + iVar5)" (* "*") (cast_expression "(undefined4 *)((int)apuStack_90 + iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)apuStack_90 + iVar5)" (( "(") (binary_expression "(int)apuStack_90 + iVar5" (cast_expression "(int)apuStack_90" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "apuStack_90")) (+ "+") (identifier "iVar5")) () ")")))) (= "=") (number_literal "0x1ffba8")) (; ";")) (expression_statement "FUN_001fe1c0();" (call_expression "FUN_001fe1c0()" (identifier "FUN_001fe1c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = local_40;" (assignment_expression "iVar3 = local_40" (identifier "iVar3") (= "=") (identifier "local_40")) (; ";")) (if_statement "if ((char)local_44 == '\0') goto LAB_001ffbbf;" (if "if") (parenthesized_expression "((char)local_44 == '\0')" (( "(") (binary_expression "(char)local_44 == '\0'" (cast_expression "(char)local_44" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_44")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_001ffbbf;" (goto "goto") (statement_identifier "LAB_001ffbbf") (; ";"))) (labeled_statement "LAB_001ffa9a:\n    puVar10 = puVar9;" (statement_identifier "LAB_001ffa9a") (: ":") (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";"))) (if_statement "if (param_7 < 0) {\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" (if "if") (parenthesized_expression "(param_7 < 0)" (( "(") (binary_expression "param_7 < 0" (identifier "param_7") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      iVar5 = local_20[0] + 1;\n      local_20[0] = iVar5;\n      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);\n      puVar4 = puVar6 + -1;\n      goto LAB_001ffaae;\n    }" ({ "{") (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" (identifier "iVar5") (= "=") (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] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);" (assignment_expression "puVar6[-1] = *(undefined1 *)(iVar3 + 0x26)" (subscript_expression "puVar6[-1]" (identifier "puVar6") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x26)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x26)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x26)" (( "(") (binary_expression "iVar3 + 0x26" (identifier "iVar3") (+ "+") (number_literal "0x26")) () ")"))))) (; ";")) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar6 + -1" (identifier "puVar6") (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto LAB_001ffaae;" (goto "goto") (statement_identifier "LAB_001ffaae") (; ";")) (} "}"))) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (expression_statement "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" (identifier "iVar5") (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if ((local_34 & 0x800) == 0) goto LAB_001ffaae;" (if "if") (parenthesized_expression "((local_34 & 0x800) == 0)" (( "(") (binary_expression "(local_34 & 0x800) == 0" (parenthesized_expression "(local_34 & 0x800)" (( "(") (binary_expression "local_34 & 0x800" (identifier "local_34") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001ffaae;" (goto "goto") (statement_identifier "LAB_001ffaae") (; ";"))) (expression_statement "iVar5 = local_20[0] + 1;" (assignment_expression "iVar5 = local_20[0] + 1" (identifier "iVar5") (= "=") (binary_expression "local_20[0] + 1" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar6 + -1;" (assignment_expression "puVar4 = puVar6 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar6 + -1" (identifier "puVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_20[0] = iVar5;" (assignment_expression "local_20[0] = iVar5" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*puVar4 = *(undefined1 *)(iVar3 + 0x27);" (assignment_expression "*puVar4 = *(undefined1 *)(iVar3 + 0x27)" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x27)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x27)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x27)" (( "(") (binary_expression "iVar3 + 0x27" (identifier "iVar3") (+ "+") (number_literal "0x27")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(param_5 + 8);" (assignment_expression "iVar3 = *(int *)(param_5 + 8)" (identifier "iVar3") (= "=") (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 (iVar3 <= iVar5) goto LAB_001ffab8;" (if "if") (parenthesized_expression "(iVar3 <= iVar5)" (( "(") (binary_expression "iVar3 <= iVar5" (identifier "iVar3") (<= "<=") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_001ffab8;" (goto "goto") (statement_identifier "LAB_001ffab8") (; ";"))) (} "}")))) (expression_statement "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);" (assignment_expression "iVar2 = -(iVar3 + 0x1bU & 0xfffffff0)" (identifier "iVar2") (= "=") (unary_expression "-(iVar3 + 0x1bU & 0xfffffff0)" (- "-") (parenthesized_expression "(iVar3 + 0x1bU & 0xfffffff0)" (( "(") (binary_expression "iVar3 + 0x1bU & 0xfffffff0" (binary_expression "iVar3 + 0x1bU" (identifier "iVar3") (+ "+") (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) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4" (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 "puVar4")) (; ";")) (expression_statement "iVar5 = (int)(char)local_48;" (assignment_expression "iVar5 = (int)(char)local_48" (identifier "iVar5") (= "=") (cast_expression "(int)(char)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)local_48" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_48")))) (; ";")) (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) = iVar3;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x18) = iVar3" (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 "iVar3")) (; ";")) (expression_statement "*(int *)(puVar9 + iVar2 + -0x1c) = iVar5;" (assignment_expression "*(int *)(puVar9 + iVar2 + -0x1c) = iVar5" (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 "iVar5")) (; ";")) (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) = 0x1ffb45;" (assignment_expression "*(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45" (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 "0x1ffb45")) (; ";")) (expression_statement "FUN_001ff470();" (call_expression "FUN_001ff470()" (identifier "FUN_001ff470") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);" (assignment_expression "puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0)" (identifier "puVar4") (= "=") (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 "iVar5 = local_20[0];" (assignment_expression "iVar5 = local_20[0]" (identifier "iVar5") (= "=") (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_001ffab8:\n  *(undefined4 *)(param_5 + 8) = 0;" (statement_identifier "LAB_001ffab8") (: ":") (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_3c;" (assignment_expression "cVar8 = (char)local_3c" (identifier "cVar8") (= "=") (cast_expression "(char)local_3c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_3c"))) (; ";")) (if_statement "if (cVar8 == '\0') {\n    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\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    iVar3 = *param_3;\n    *(int *)(puVar9 + -8) = iVar5;\n    *(undefined1 **)(puVar9 + -0xc) = puVar4;\n    *(int **)(puVar9 + -0x10) = param_3;\n    pcVar1 = *(code **)(iVar3 + 0x30);\n    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;\n    iVar3 = (*pcVar1)();\n    if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }\n  }" ({ "{") (expression_statement "iVar3 = *param_3;" (assignment_expression "iVar3 = *param_3" (identifier "iVar3") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*(int *)(puVar9 + -8) = iVar5;" (assignment_expression "*(int *)(puVar9 + -8) = iVar5" (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 "iVar5")) (; ";")) (expression_statement "*(undefined1 **)(puVar9 + -0xc) = puVar4;" (assignment_expression "*(undefined1 **)(puVar9 + -0xc) = puVar4" (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 "puVar4")) (; ";")) (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 "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + -0x10)" (( "(") (binary_expression "puVar9 + -0x10" (identifier "puVar9") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "pcVar1 = *(code **)(iVar3 + 0x30);" (assignment_expression "pcVar1 = *(code **)(iVar3 + 0x30)" (identifier "pcVar1") (= "=") (pointer_expression "*(code **)(iVar3 + 0x30)" (* "*") (cast_expression "(code **)(iVar3 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;" (assignment_expression "*(undefined4 *)(puVar9 + -0x14) = 0x1ffad6" (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 "0x1ffad6")) (; ";")) (expression_statement "iVar3 = (*pcVar1)();" (assignment_expression "iVar3 = (*pcVar1)()" (identifier "iVar3") (= "=") (call_expression "(*pcVar1)()" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != iVar5) {\n      cVar8 = '\x01';\n    }" (if "if") (parenthesized_expression "(iVar3 != iVar5)" (( "(") (binary_expression "iVar3 != iVar5" (identifier "iVar3") (!= "!=") (identifier "iVar5")) () ")")) (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 = param_3;" (assignment_expression "*param_1 = param_3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_3")) (; ";")) (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>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&,
   char, 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_5 param_4,var_7 var_14,
          var_5 param_6,var_7 var_17)

{
  type_1 *pcVar1;
  int var_29;
  int var_23;
  type_2 *puVar4;
  int var_25;
  type_2 *var_22;
  bool bVar7;
  char var_31;
  type_2 *var_28;
  type_2 *puVar10;
  type_3 *apuStackY_90 [2];
  int aiStackY_88 [2];
  type_3 auStackY_80 [5];
  type_2 var_26 [12];
  var_5 uStackY_60;
  type_3 var_16;
  var_5 local_48;
  int var_15;
  int local_40;
  var_5 local_3c;
  int var_24;
  type_3 var_21;
  type_4 **local_30;
  var_11<var_12::var_9<var_2>> var_10;
  int local_20 [3];
  var_5 uStack_14;
  
  uStack_14 = 0x1ff9eb;
  local_30 = &_GLOBAL_OFFSET_TABLE_;
  local_3c = param_4;
  local_48 = param_6;
  uStackY_60 = 0x1ffa16;
  var_15 = var_11<var_12::var_9<var_2>>::var_13()
                       (&var_10,(type_5 *)(var_14 + 0x6c));
  aiStackY_88[1] = var_15 + 0x26;
  auStackY_80[0] = *(type_3 *)(var_14 + 0xc);
  var_16 = auStackY_80[0] & 0x4a;
  bVar7 = var_16 != 8 && var_16 != 0x40;
  aiStackY_88[0] = var_17;
  if (var_17 < 1) {
    aiStackY_88[0] = -var_17;
    if (var_16 == 8 || var_16 == 0x40) {
      aiStackY_88[0] = var_17;
    }
  }
  auStackY_80[1] = (type_3)bVar7;
  apuStackY_90[1] = &var_16;
  local_40 = var_18(local_40._1_3_,bVar7);
  apuStackY_90[0] = (type_3 *)0x1ffa74;
  var_24 = aiStackY_88[1];
  var_21 = auStackY_80[0];
  local_20[0] = var_19<var_2,var_20>();
  var_23 = var_15;
  var_28 = var_26;
  puVar10 = var_26;
  var_22 = (type_2 *)((int)&var_16 - local_20[0]);
  if (*(char *)(var_15 + 0x10) == '\0') {
    if ((char)local_40 != '\0') goto LAB_001ffa9a;
LAB_001ffbbf:
    puVar4 = var_22;
    var_25 = local_20[0];
    if (((var_21 & 0x200) != 0) && (var_17 != 0)) {
      if (var_16 == 0x40) {
        var_25 = local_20[0] + 1;
        puVar4 = var_22 + -1;
        local_20[0] = var_25;
        *puVar4 = *(type_2 *)(var_23 + 0x2a);
      }
      else {
        var_25 = local_20[0] + 2;
        puVar4 = var_22 + -2;
        local_20[0] = var_25;
        var_22[-1] = *(type_2 *)(var_24 + 2 + (var_21 >> 0xe & 1));
        *puVar4 = *(type_2 *)(var_23 + 0x2a);
      }
    }
LAB_001ffaae:
    var_23 = *(int *)(var_14 + 8);
    var_28 = puVar10;
    if (var_23 <= var_25) goto LAB_001ffab8;
  }
  else {
    var_15 = var_18(var_15._1_3_,(char)local_40);
    local_40 = var_23;
    var_25 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = var_26 + var_25;
    var_28 = var_26 + var_25;
    *(int **)((int)auStackY_80 + var_25 + 0x10) = local_20;
    *(type_2 **)((int)auStackY_80 + var_25 + 0xc) = var_22;
    var_22 = (type_2 *)((int)&uStackY_60 + var_25 + 2);
    *(type_2 **)((int)auStackY_80 + var_25 + 8) = var_22;
    *(int *)((int)auStackY_80 + var_25 + 4) = var_14;
    *(int *)((int)auStackY_80 + var_25) = (int)*(char *)(var_23 + 0x25);
    *(var_5 *)((int)aiStackY_88 + var_25 + 4) = *(var_5 *)(var_23 + 0xc);
    *(var_5 *)((int)aiStackY_88 + var_25) = *(var_5 *)(var_23 + 8);
    *(var_5 *)((int)apuStackY_90 + var_25 + 4) = param_2;
    *(var_5 *)((int)apuStackY_90 + var_25) = 0x1ffba8;
    var_27(*(num_put<var_2,var_12::ostreambuf_iterator<var_2,var_12::var_1<var_2>>> **)
                  ((int)apuStackY_90 + var_25 + 4),*(char **)((int)aiStackY_88 + var_25),
                 *(type_3 *)((int)aiStackY_88 + var_25 + 4),*(char *)((int)auStackY_80 + var_25),
                 *(type_6 **)((int)auStackY_80 + var_25 + 4),
                 *(char **)((int)auStackY_80 + var_25 + 8),*(char **)((int)auStackY_80 + var_25 + 0xc)
                 ,*(int **)((int)auStackY_80 + var_25 + 0x10));
    var_23 = local_40;
    if ((char)var_15 == '\0') goto LAB_001ffbbf;
LAB_001ffa9a:
    puVar10 = var_28;
    if (var_17 < 0) {
      var_25 = local_20[0] + 1;
      local_20[0] = var_25;
      var_22[-1] = *(type_2 *)(var_23 + 0x26);
      puVar4 = var_22 + -1;
      goto LAB_001ffaae;
    }
    puVar4 = var_22;
    var_25 = local_20[0];
    if ((var_21 & 0x800) == 0) goto LAB_001ffaae;
    var_25 = local_20[0] + 1;
    puVar4 = var_22 + -1;
    local_20[0] = var_25;
    *puVar4 = *(type_2 *)(var_23 + 0x27);
    var_23 = *(int *)(var_14 + 8);
    if (var_23 <= var_25) goto LAB_001ffab8;
  }
  var_29 = -(var_23 + 0x1bU & 0xfffffff0);
  *(int **)(var_28 + var_29 + -8) = local_20;
  *(type_2 **)(var_28 + var_29 + -0xc) = puVar4;
  var_25 = (int)(char)local_48;
  *(type_2 **)(var_28 + var_29 + -0x10) =
       (type_2 *)((type_3)(var_28 + var_29 + 0xf) & 0xfffffff0);
  *(int *)(var_28 + var_29 + -0x14) = var_14;
  *(int *)(var_28 + var_29 + -0x18) = var_23;
  *(int *)(var_28 + var_29 + -0x1c) = var_25;
  *(var_5 *)(var_28 + var_29 + -0x20) = param_2;
  *(var_5 *)(var_28 + var_29 + -0x24) = 0x1ffb45;
  var_30(*(num_put<var_2,var_12::ostreambuf_iterator<var_2,var_12::var_1<var_2>>> **)
          (var_28 + var_29 + -0x20),var_28[var_29 + -0x1c],*(int *)(var_28 + var_29 + -0x18),
         *(type_6 **)(var_28 + var_29 + -0x14),*(char **)(var_28 + var_29 + -0x10),
         *(char **)(var_28 + var_29 + -0xc),*(int **)(var_28 + var_29 + -8));
  puVar4 = (type_2 *)((type_3)(var_28 + var_29 + 0xf) & 0xfffffff0);
  var_25 = local_20[0];
  var_28 = var_28 + var_29;
LAB_001ffab8:
  *(var_5 *)(var_14 + 8) = 0;
  var_31 = (char)local_3c;
  if (var_31 == '\0') {
    var_23 = *var_8;
    *(int *)(var_28 + -8) = var_25;
    *(type_2 **)(var_28 + -0xc) = puVar4;
    *(int **)(var_28 + -0x10) = var_8;
    pcVar1 = *(type_1 **)(var_23 + 0x30);
    *(var_5 *)(var_28 + -0x14) = 0x1ffad6;
    var_23 = (*pcVar1)();
    if (var_23 != var_25) {
      var_31 = '\x01';
    }
  }
  *var_6 = var_8;
  *(char *)(var_6 + 1) = var_31;
  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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (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: (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))) (if_statement condition: (parenthesized_expression (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)))) (if_statement condition: (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: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier) 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: (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: (pointer_expression argument: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (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: (pointer_expression argument: (identifier))) right: (identifier)) right: (number_literal)))))) (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))) (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: (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: (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: (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)

{
  code *pcVar1;
  int iVar2;
  int iVar3;
  undefined1 *puVar4;
  int iVar5;
  undefined1 *puVar6;
  bool bVar7;
  char cVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  uint *apuStack_90 [2];
  int aiStack_88 [7];
  undefined1 auStack_6c [12];
  undefined4 uStack_60;
  undefined1 *puStack_5c;
  int iStack_58;
  uint local_4c;
  undefined4 local_48;
  int local_44;
  int local_40;
  undefined4 local_3c;
  int local_38;
  uint local_34;
  undefined **local_30;
  undefined1 local_21;
  int local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x1ff9eb;
  local_30 = &__DT_PLTGOT;
  local_3c = param_4;
  local_48 = param_6;
  iStack_58 = param_5 + 0x6c;
  puStack_5c = &local_21;
  uStack_60 = 0x1ffa16;
  local_44 = FUN_001ff8d0();
  aiStack_88[1] = local_44 + 0x26;
  aiStack_88[2] = *(uint *)(param_5 + 0xc);
  local_4c = aiStack_88[2] & 0x4a;
  bVar7 = local_4c != 8 && local_4c != 0x40;
  aiStack_88[0] = param_7;
  if (param_7 < 1) {
    aiStack_88[0] = -param_7;
    if (local_4c == 8 || local_4c == 0x40) {
      aiStack_88[0] = param_7;
    }
  }
  aiStack_88[3] = (int)bVar7;
  apuStack_90[1] = &local_4c;
  local_40 = CONCAT31(local_40._1_3_,bVar7);
  apuStack_90[0] = (uint *)0x1ffa74;
  local_38 = aiStack_88[1];
  local_34 = aiStack_88[2];
  local_20[0] = FUN_001ff4b0();
  iVar3 = local_44;
  puVar9 = auStack_6c;
  puVar10 = auStack_6c;
  puVar6 = (undefined1 *)((int)&local_4c - local_20[0]);
  if (*(char *)(local_44 + 0x10) == '\0') {
    if ((char)local_40 != '\0') goto LAB_001ffa9a;
LAB_001ffbbf:
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if (((local_34 & 0x200) != 0) && (param_7 != 0)) {
      if (local_4c == 0x40) {
        iVar5 = local_20[0] + 1;
        puVar4 = puVar6 + -1;
        local_20[0] = iVar5;
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
      else {
        iVar5 = local_20[0] + 2;
        puVar4 = puVar6 + -2;
        local_20[0] = iVar5;
        puVar6[-1] = *(undefined1 *)(local_38 + 2 + (local_34 >> 0xe & 1));
        *puVar4 = *(undefined1 *)(iVar3 + 0x2a);
      }
    }
LAB_001ffaae:
    iVar3 = *(int *)(param_5 + 8);
    puVar9 = puVar10;
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  else {
    local_44 = CONCAT31(local_44._1_3_,(char)local_40);
    local_40 = iVar3;
    iVar5 = -(local_20[0] * 2 + 0x1dU & 0xfffffff0);
    puVar10 = auStack_6c + iVar5;
    puVar9 = auStack_6c + iVar5;
    *(int **)((int)aiStack_88 + iVar5 + 0x18) = local_20;
    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x14) = puVar6;
    puVar6 = (undefined1 *)((int)&uStack_60 + iVar5 + 2);
    *(undefined1 **)((int)aiStack_88 + iVar5 + 0x10) = puVar6;
    *(int *)((int)aiStack_88 + iVar5 + 0xc) = param_5;
    *(int *)((int)aiStack_88 + iVar5 + 8) = (int)*(char *)(iVar3 + 0x25);
    *(undefined4 *)((int)aiStack_88 + iVar5 + 4) = *(undefined4 *)(iVar3 + 0xc);
    *(undefined4 *)((int)aiStack_88 + iVar5) = *(undefined4 *)(iVar3 + 8);
    *(undefined4 *)((int)apuStack_90 + iVar5 + 4) = param_2;
    *(undefined4 *)((int)apuStack_90 + iVar5) = 0x1ffba8;
    FUN_001fe1c0();
    iVar3 = local_40;
    if ((char)local_44 == '\0') goto LAB_001ffbbf;
LAB_001ffa9a:
    puVar10 = puVar9;
    if (param_7 < 0) {
      iVar5 = local_20[0] + 1;
      local_20[0] = iVar5;
      puVar6[-1] = *(undefined1 *)(iVar3 + 0x26);
      puVar4 = puVar6 + -1;
      goto LAB_001ffaae;
    }
    puVar4 = puVar6;
    iVar5 = local_20[0];
    if ((local_34 & 0x800) == 0) goto LAB_001ffaae;
    iVar5 = local_20[0] + 1;
    puVar4 = puVar6 + -1;
    local_20[0] = iVar5;
    *puVar4 = *(undefined1 *)(iVar3 + 0x27);
    iVar3 = *(int *)(param_5 + 8);
    if (iVar3 <= iVar5) goto LAB_001ffab8;
  }
  iVar2 = -(iVar3 + 0x1bU & 0xfffffff0);
  *(int **)(puVar9 + iVar2 + -8) = local_20;
  *(undefined1 **)(puVar9 + iVar2 + -0xc) = puVar4;
  iVar5 = (int)(char)local_48;
  *(undefined1 **)(puVar9 + iVar2 + -0x10) =
       (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  *(int *)(puVar9 + iVar2 + -0x14) = param_5;
  *(int *)(puVar9 + iVar2 + -0x18) = iVar3;
  *(int *)(puVar9 + iVar2 + -0x1c) = iVar5;
  *(undefined4 *)(puVar9 + iVar2 + -0x20) = param_2;
  *(undefined4 *)(puVar9 + iVar2 + -0x24) = 0x1ffb45;
  FUN_001ff470();
  puVar4 = (undefined1 *)((uint)(puVar9 + iVar2 + 0xf) & 0xfffffff0);
  iVar5 = local_20[0];
  puVar9 = puVar9 + iVar2;
LAB_001ffab8:
  *(undefined4 *)(param_5 + 8) = 0;
  cVar8 = (char)local_3c;
  if (cVar8 == '\0') {
    iVar3 = *param_3;
    *(int *)(puVar9 + -8) = iVar5;
    *(undefined1 **)(puVar9 + -0xc) = puVar4;
    *(int **)(puVar9 + -0x10) = param_3;
    pcVar1 = *(code **)(iVar3 + 0x30);
    *(undefined4 *)(puVar9 + -0x14) = 0x1ffad6;
    iVar3 = (*pcVar1)();
    if (iVar3 != iVar5) {
      cVar8 = '\x01';
    }
  }
  *param_1 = param_3;
  *(char *)(param_1 + 1) = cVar8;
  return param_1;
}

