
/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::num_put<wchar_t,
   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_insert_int<long>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::ios_base&, wchar_t, long) const */

undefined1  [16]
std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::
_M_insert_int<long>(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>
                    *param_1,long *param_2,char param_3,ios_base *param_4,wchar_t param_5,
                   long param_6)

{
  wchar_t wVar1;
  code *pcVar2;
  char *pcVar3;
  ulong uVar4;
  long lVar5;
  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *pnVar6;
  long lVar7;
  long lVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  wchar_t *pwVar11;
  wchar_t *pwVar12;
  undefined1 *puVar13;
  uint uVar14;
  bool bVar15;
  bool bVar16;
  undefined1 auVar17 [16];
  long alStack_140 [3];
  undefined1 auStack_128 [8];
  undefined1 auStack_120 [8];
  wchar_t awStack_118 [38];
  undefined8 local_80;
  uint local_78;
  wchar_t local_74;
  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *local_70;
  undefined1 *local_68;
  undefined1 *local_60;
  wchar_t *local_58;
  undefined1 *local_50;
  __use_cache<std::__numpunct_cache<wchar_t>> local_3d;
  int local_3c [3];
  
  local_80 = 0x4ee405;
  local_74 = param_5;
  local_70 = param_1;
  local_68 = (undefined1 *)
             __use_cache<std::__numpunct_cache<wchar_t>>::operator()
                       (&local_3d,(locale *)(param_4 + 0xd0));
  uVar14 = *(uint *)(param_4 + 0x18);
  puVar9 = auStack_128;
  puVar10 = auStack_128;
  local_50 = local_68 + 0x50;
  local_60 = auStack_120;
  local_78 = uVar14 & 0x4a;
  bVar15 = local_78 != 0x40;
  bVar16 = local_78 != 8;
  lVar7 = param_6;
  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {
    lVar7 = param_6;
  }
  local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14);
  alStack_140[2] = 0x4ee473;
  local_3c[0] = __int_to_char<wchar_t,unsigned_long>
                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16);
  puVar13 = local_68;
  pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4);
  if (local_68[0x20] == '\0') {
    uVar14 = (uint)local_58;
    if (bVar15 && bVar16) goto LAB_004ee4a3;
LAB_004ee5f8:
    pwVar11 = pwVar12;
    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {
      if (local_78 == 0x40) {
        pwVar11 = pwVar12 + -1;
        local_3c[0] = local_3c[0] + 1;
        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);
      }
      else {
        pwVar11 = pwVar12 + -2;
        local_3c[0] = local_3c[0] + 2;
        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);
        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);
      }
    }
LAB_004ee4b5:
    lVar7 = *(long *)(param_4 + 0x10);
    lVar8 = (long)local_3c[0];
    puVar9 = puVar10;
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  else {
    wVar1 = *(wchar_t *)(local_68 + 0x4c);
    pcVar3 = *(char **)(local_68 + 0x10);
    uVar4 = *(ulong *)(local_68 + 0x18);
    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);
    local_60 = puVar13;
    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);
    puVar10 = auStack_128 + lVar7;
    puVar9 = auStack_128 + lVar7;
    *(int **)(auStack_128 + lVar7 + -8) = local_3c;
    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;
    pnVar6 = local_70;
    local_58 = (wchar_t *)((long)awStack_118 + lVar7);
    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;
    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),
                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));
    pwVar12 = local_58;
    puVar13 = local_60;
    uVar14 = (uint)local_68;
    if (!bVar15 || !bVar16) goto LAB_004ee5f8;
LAB_004ee4a3:
    puVar10 = puVar9;
    if (param_6 < 0) {
      local_3c[0] = local_3c[0] + 1;
      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);
      pwVar11 = pwVar12 + -1;
      goto LAB_004ee4b5;
    }
    pwVar11 = pwVar12;
    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;
    pwVar11 = pwVar12 + -1;
    lVar8 = (long)(local_3c[0] + 1);
    local_3c[0] = local_3c[0] + 1;
    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);
    lVar7 = *(long *)(param_4 + 0x10);
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  pnVar6 = local_70;
  wVar1 = local_74;
  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);
  puVar10 = puVar9 + lVar5 + 0xf;
  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;
  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;
  _M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,
         *(int **)(puVar9 + lVar5 + -0x10));
  lVar8 = (long)local_3c[0];
  puVar9 = puVar9 + lVar5;
  pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0);
LAB_004ee4c2:
  *(undefined8 *)(param_4 + 0x10) = 0;
  if (param_3 == '\0') {
    pcVar2 = *(code **)(*param_2 + 0x60);
    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;
    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);
    if (lVar7 != lVar8) {
      param_3 = '\x01';
    }
  }
  auVar17[8] = param_3;
  auVar17._0_8_ = param_2;
  auVar17._9_7_ = 0;
  return auVar17;
}



undefined1  [16]
FUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,
            long param_6)

{
  undefined4 uVar1;
  code *pcVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  long lVar5;
  undefined8 uVar6;
  long lVar7;
  long lVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  undefined4 *puVar11;
  undefined1 *puVar12;
  uint uVar13;
  undefined4 *puVar14;
  bool bVar15;
  bool bVar16;
  undefined1 auVar17 [16];
  long alStack_140 [3];
  undefined1 auStack_128 [8];
  undefined1 auStack_120 [8];
  undefined4 auStack_118 [38];
  undefined8 local_80;
  uint local_78;
  undefined4 local_74;
  undefined8 local_70;
  undefined1 *local_68;
  undefined1 *local_60;
  undefined4 *local_58;
  undefined1 *local_50;
  undefined1 local_3d;
  int local_3c [3];
  
  local_80 = 0x4ee405;
  local_74 = param_5;
  local_70 = param_1;
  local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);
  uVar13 = *(uint *)(param_4 + 0x18);
  puVar9 = auStack_128;
  puVar10 = auStack_128;
  local_50 = local_68 + 0x50;
  local_60 = auStack_120;
  local_78 = uVar13 & 0x4a;
  bVar15 = local_78 != 0x40;
  bVar16 = local_78 != 8;
  lVar7 = param_6;
  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {
    lVar7 = param_6;
  }
  local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);
  alStack_140[2] = 0x4ee473;
  local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);
  puVar12 = local_68;
  puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);
  if (local_68[0x20] == '\0') {
    uVar13 = (uint)local_58;
    if (bVar15 && bVar16) goto LAB_004ee4a3;
LAB_004ee5f8:
    puVar14 = puVar11;
    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {
      if (local_78 == 0x40) {
        local_3c[0] = local_3c[0] + 1;
        puVar14 = puVar11 + -1;
        *puVar14 = *(undefined4 *)(puVar12 + 0x60);
      }
      else {
        local_3c[0] = local_3c[0] + 2;
        puVar14 = puVar11 + -2;
        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);
        *puVar14 = *(undefined4 *)(puVar12 + 0x60);
      }
    }
LAB_004ee4b5:
    lVar7 = *(long *)(param_4 + 0x10);
    lVar8 = (long)local_3c[0];
    puVar9 = puVar10;
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  else {
    uVar1 = *(undefined4 *)(local_68 + 0x4c);
    uVar3 = *(undefined8 *)(local_68 + 0x10);
    uVar4 = *(undefined8 *)(local_68 + 0x18);
    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);
    local_60 = puVar12;
    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);
    puVar10 = auStack_128 + lVar7;
    puVar9 = auStack_128 + lVar7;
    *(int **)(auStack_128 + lVar7 + -8) = local_3c;
    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;
    uVar6 = local_70;
    local_58 = (undefined4 *)((long)auStack_118 + lVar7);
    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;
    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));
    puVar11 = local_58;
    puVar12 = local_60;
    uVar13 = (uint)local_68;
    if (!bVar15 || !bVar16) goto LAB_004ee5f8;
LAB_004ee4a3:
    puVar10 = puVar9;
    if (param_6 < 0) {
      local_3c[0] = local_3c[0] + 1;
      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);
      puVar14 = puVar11 + -1;
      goto LAB_004ee4b5;
    }
    puVar14 = puVar11;
    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;
    local_3c[0] = local_3c[0] + 1;
    puVar14 = puVar11 + -1;
    lVar8 = (long)local_3c[0];
    *puVar14 = *(undefined4 *)(puVar12 + 0x54);
    lVar7 = *(long *)(param_4 + 0x10);
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  uVar3 = local_70;
  uVar1 = local_74;
  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);
  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;
  puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);
  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;
  FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);
  lVar8 = (long)local_3c[0];
  puVar9 = puVar9 + lVar5;
LAB_004ee4c2:
  *(undefined8 *)(param_4 + 0x10) = 0;
  if (param_3 == '\0') {
    pcVar2 = *(code **)(*param_2 + 0x60);
    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;
    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);
    if (lVar7 != lVar8) {
      param_3 = '\x01';
    }
  }
  auVar17[8] = param_3;
  auVar17._0_8_ = param_2;
  auVar17._9_7_ = 0;
  return auVar17;
}


PUSH RBP
MOV RBP,RSP
PUSH R15
MOV R15,RDX
PUSH R14
MOV R14,RSI
LEA RSI,[RCX + 0xd0]
PUSH R13
MOV R13,R9
PUSH R12
MOV R12,RCX
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x68],RDI
LEA RDI,[RBP + -0x35]
MOV dword ptr [RBP + -0x6c],R8D
CALL 0x004ee2c0
MOV R11D,dword ptr [R12 + 0x18]
SUB RSP,0xb0
MOV RSI,R13
MOV R10,RAX
ADD RAX,0x50
LEA R9,[RSP + 0xf]
MOV qword ptr [RBP + -0x48],RAX
MOV EAX,R11D
AND R9,-0x10
AND EAX,0x4a
CMP EAX,0x40
MOV dword ptr [RBP + -0x70],EAX
SETNZ BL
CMP EAX,0x8
SETNZ AL
AND EBX,EAX
TEST R13,R13
JG 0x004ee44d
NEG RSI
TEST BL,BL
CMOVZ RSI,R13
MOV RDX,qword ptr [RBP + -0x48]
MOV R8D,EBX
MOV ECX,R11D
MOV qword ptr [RBP + -0x60],R10
LEA RDI,[R9 + 0xa0]
AND R8D,0x1
MOV qword ptr [RBP + -0x58],R9
MOV dword ptr [RBP + -0x50],R11D
CALL 0x004edec0
MOV EDX,0x28
MOV R10,qword ptr [RBP + -0x60]
MOV R9,qword ptr [RBP + -0x58]
SUB EDX,EAX
MOV dword ptr [RBP + -0x34],EAX
MOV R11D,dword ptr [RBP + -0x50]
MOVSXD RDX,EDX
CMP byte ptr [R10 + 0x20],0x0
LEA R9,[R9 + RDX*0x4]
JNZ 0x004ee590
TEST BL,BL
JZ 0x004ee5f8
TEST R13,R13
JS 0x004ee570
AND R11D,0x800
JNZ 0x004ee508
MOV RDX,qword ptr [R12 + 0x10]
MOVSXD RBX,EAX
CMP RBX,RDX
JL 0x004ee526
MOV qword ptr [R12 + 0x10],0x0
MOV R12D,R15D
TEST R15B,R15B
JNZ 0x004ee4ee
MOV RAX,qword ptr [R14]
MOV RDX,RBX
MOV RSI,R9
MOV RDI,R14
CALL qword ptr [RAX + 0x60]
CMP RAX,RBX
MOV EAX,0x1
CMOVNZ R12D,EAX
LEA RSP,[RBP + -0x28]
XOR EDX,EDX
MOV RAX,R14
POP RBX
MOV DL,R12B
POP R12
POP R13
POP R14
POP R15
POP RBP
RET
MOV EDX,dword ptr [R10 + 0x54]
ADD EAX,0x1
SUB R9,0x4
MOVSXD RBX,EAX
MOV dword ptr [RBP + -0x34],EAX
MOV dword ptr [R9],EDX
MOV RDX,qword ptr [R12 + 0x10]
CMP RBX,RDX
JGE 0x004ee4c2
LEA RAX,[0x17 + RDX*0x4]
MOV ESI,dword ptr [RBP + -0x6c]
MOV RDI,qword ptr [RBP + -0x68]
MOV RCX,R12
AND RAX,-0x10
SUB RSP,RAX
LEA RAX,[RBP + -0x34]
LEA R13,[RSP + 0xf]
SUB RSP,0x8
PUSH RAX
AND R13,-0x10
MOV R8,R13
CALL 0x004ede90
POP RAX
MOVSXD RBX,dword ptr [RBP + -0x34]
MOV R9,R13
POP RDX
JMP 0x004ee4c2
MOV EDX,dword ptr [R10 + 0x50]
ADD EAX,0x1
SUB R9,0x4
MOV dword ptr [RBP + -0x34],EAX
MOV dword ptr [R9],EDX
JMP 0x004ee4b5
ADD EAX,0x1
MOV ECX,dword ptr [R10 + 0x4c]
MOV RSI,qword ptr [R10 + 0x10]
MOV R8,R12
CDQE
MOV RDX,qword ptr [R10 + 0x18]
MOV dword ptr [RBP + -0x60],R11D
LEA RAX,[0x17 + RAX*0x8]
MOV qword ptr [RBP + -0x58],R10
AND RAX,-0x10
SUB RSP,RAX
LEA RAX,[RSP + 0xf]
AND RAX,-0x10
LEA RDI,[RAX + 0x8]
LEA RAX,[RBP + -0x34]
PUSH RAX
PUSH R9
MOV R9,RDI
MOV qword ptr [RBP + -0x50],RDI
MOV RDI,qword ptr [RBP + -0x68]
CALL 0x004eccf0
POP RCX
MOV EAX,dword ptr [RBP + -0x34]
POP RSI
MOV R9,qword ptr [RBP + -0x50]
MOV R11D,dword ptr [RBP + -0x60]
MOV R10,qword ptr [RBP + -0x58]
TEST BL,BL
JNZ 0x004ee4a3
TEST R11D,0x200
JZ 0x004ee4b5
TEST R13,R13
JZ 0x004ee4b5
CMP dword ptr [RBP + -0x70],0x40
JZ 0x004ee644
SHR R11D,0xe
MOV RCX,qword ptr [RBP + -0x48]
ADD EAX,0x2
SUB R9,0x8
AND R11D,0x1
LEA EDX,[R11 + 0x2]
MOVSXD RDX,EDX
MOV EDX,dword ptr [RCX + RDX*0x4]
MOV dword ptr [RBP + -0x34],EAX
MOV dword ptr [R9 + 0x4],EDX
MOV EDX,dword ptr [R10 + 0x60]
MOV dword ptr [R9],EDX
JMP 0x004ee4b5
MOV EDX,dword ptr [R10 + 0x60]
ADD EAX,0x1
SUB R9,0x4
MOV dword ptr [RBP + -0x34],EAX
MOV dword ptr [R9],EDX
JMP 0x004ee4b5
(translation_unit "undefined1  [16]\nFUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,\n            long param_6)\n\n{\n  undefined4 uVar1;\n  code *pcVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined8 uVar6;\n  long lVar7;\n  long lVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined4 *puVar11;\n  undefined1 *puVar12;\n  uint uVar13;\n  undefined4 *puVar14;\n  bool bVar15;\n  bool bVar16;\n  undefined1 auVar17 [16];\n  long alStack_140 [3];\n  undefined1 auStack_128 [8];\n  undefined1 auStack_120 [8];\n  undefined4 auStack_118 [38];\n  undefined8 local_80;\n  uint local_78;\n  undefined4 local_74;\n  undefined8 local_70;\n  undefined1 *local_68;\n  undefined1 *local_60;\n  undefined4 *local_58;\n  undefined1 *local_50;\n  undefined1 local_3d;\n  int local_3c [3];\n  \n  local_80 = 0x4ee405;\n  local_74 = param_5;\n  local_70 = param_1;\n  local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);\n  uVar13 = *(uint *)(param_4 + 0x18);\n  puVar9 = auStack_128;\n  puVar10 = auStack_128;\n  local_50 = local_68 + 0x50;\n  local_60 = auStack_120;\n  local_78 = uVar13 & 0x4a;\n  bVar15 = local_78 != 0x40;\n  bVar16 = local_78 != 8;\n  lVar7 = param_6;\n  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }\n  local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);\n  alStack_140[2] = 0x4ee473;\n  local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);\n  puVar12 = local_68;\n  puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);\n  if (local_68[0x20] == '\0') {\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  uVar3 = local_70;\n  uVar1 = local_74;\n  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);\n  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;\n  puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);\n  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;\n  FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);\n  lVar8 = (long)local_3c[0];\n  puVar9 = puVar9 + lVar5;\nLAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;\n  if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }\n  auVar17[8] = param_3;\n  auVar17._0_8_ = param_2;\n  auVar17._9_7_ = 0;\n  return auVar17;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,\n            long param_6)\n\n{\n  undefined4 uVar1;" (macro_type_specifier "FUN_004ee3d0(undefined8" identifier ( (type_descriptor "undefined8" type_identifier) )) identifier , (ERROR "long" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "char" identifier) identifier , (ERROR "long" identifier) identifier , identifier (ERROR "param_5" identifier) , (ERROR "long param_6)\n\n{\n  undefined4" identifier identifier ) { identifier) identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "undefined1 auVar17 [16];" type_identifier (array_declarator "auVar17 [16]" identifier [ number_literal ]) ;) (declaration "long alStack_140 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_140 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_128 [8];" type_identifier (array_declarator "auStack_128 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_120 [8];" type_identifier (array_declarator "auStack_120 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 auStack_118 [38];" type_identifier (array_declarator "auStack_118 [38]" identifier [ number_literal ]) ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "uint local_78;" type_identifier identifier ;) (declaration "undefined4 local_74;" type_identifier identifier ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined1 *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "undefined1 *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "undefined4 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined1 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined1 local_3d;" type_identifier identifier ;) (declaration "int local_3c [3];" primitive_type (array_declarator "local_3c [3]" identifier [ number_literal ]) ;) (expression_statement "local_80 = 0x4ee405;" (assignment_expression "local_80 = 0x4ee405" identifier = number_literal) ;) (expression_statement "local_74 = param_5;" (assignment_expression "local_74 = param_5" identifier = identifier) ;) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" identifier = identifier) ;) (expression_statement "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);" (assignment_expression "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" identifier = (cast_expression "(undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004ee2c0(&local_3d,param_4 + 0xd0)" identifier (argument_list "(&local_3d,param_4 + 0xd0)" ( (pointer_expression "&local_3d" & identifier) , (binary_expression "param_4 + 0xd0" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = *(uint *)(param_4 + 0x18);" (assignment_expression "uVar13 = *(uint *)(param_4 + 0x18)" identifier = (pointer_expression "*(uint *)(param_4 + 0x18)" * (cast_expression "(uint *)(param_4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = auStack_128;" (assignment_expression "puVar9 = auStack_128" identifier = identifier) ;) (expression_statement "puVar10 = auStack_128;" (assignment_expression "puVar10 = auStack_128" identifier = identifier) ;) (expression_statement "local_50 = local_68 + 0x50;" (assignment_expression "local_50 = local_68 + 0x50" identifier = (binary_expression "local_68 + 0x50" identifier + number_literal)) ;) (expression_statement "local_60 = auStack_120;" (assignment_expression "local_60 = auStack_120" identifier = identifier) ;) (expression_statement "local_78 = uVar13 & 0x4a;" (assignment_expression "local_78 = uVar13 & 0x4a" identifier = (binary_expression "uVar13 & 0x4a" identifier & number_literal)) ;) (expression_statement "bVar15 = local_78 != 0x40;" (assignment_expression "bVar15 = local_78 != 0x40" identifier = (binary_expression "local_78 != 0x40" identifier != number_literal)) ;) (expression_statement "bVar16 = local_78 != 8;" (assignment_expression "bVar16 = local_78 != 8" identifier = (binary_expression "local_78 != 8" identifier != number_literal)) ;) (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) (if_statement "if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }" if (parenthesized_expression "((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16))" ( (binary_expression "(param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)" (parenthesized_expression "(param_6 < 1)" ( (binary_expression "param_6 < 1" identifier < number_literal) )) && (parenthesized_expression "(lVar7 = -param_6, !bVar15 || !bVar16)" ( (comma_expression "lVar7 = -param_6, !bVar15 || !bVar16" (assignment_expression "lVar7 = -param_6" identifier = (unary_expression "-param_6" - identifier)) , (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier))) ))) )) (compound_statement "{\n    lVar7 = param_6;\n  }" { (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) })) (expression_statement "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);" (assignment_expression "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13)" identifier = (cast_expression "(undefined4 *)CONCAT44(local_58._4_4_,uVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_58._4_4_,uVar13)" identifier (argument_list "(local_58._4_4_,uVar13)" ( (field_expression "local_58._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_140[2] = 0x4ee473;" (assignment_expression "alStack_140[2] = 0x4ee473" (subscript_expression "alStack_140[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);" (assignment_expression "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (call_expression "FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" identifier (argument_list "(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" ( (pointer_expression "&local_80" & identifier) , identifier , identifier , identifier , (binary_expression "bVar15 && bVar16" identifier && identifier) )))) ;) (expression_statement "puVar12 = local_68;" (assignment_expression "puVar12 = local_68" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);" (assignment_expression "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" identifier = (cast_expression "(undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (binary_expression "local_60 + (long)(0x28 - local_3c[0]) * 4" identifier + (binary_expression "(long)(0x28 - local_3c[0]) * 4" (cast_expression "(long)(0x28 - local_3c[0])" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(0x28 - local_3c[0])" ( (binary_expression "0x28 - local_3c[0]" number_literal - (subscript_expression "local_3c[0]" identifier [ number_literal ])) ))) * number_literal)) )))) ;) (if_statement "if (local_68[0x20] == '\0') {\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" if (parenthesized_expression "(local_68[0x20] == '\0')" ( (binary_expression "local_68[0x20] == '\0'" (subscript_expression "local_68[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "uVar13 = (uint)local_58;" (assignment_expression "uVar13 = (uint)local_58" identifier = (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar15 && bVar16) goto LAB_004ee4a3;" if (parenthesized_expression "(bVar15 && bVar16)" ( (binary_expression "bVar15 && bVar16" identifier && identifier) )) (goto_statement "goto LAB_004ee4a3;" goto statement_identifier ;)) (labeled_statement "LAB_004ee5f8:\n    puVar14 = puVar11;" statement_identifier : (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" identifier = identifier) ;)) (if_statement "if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" if (parenthesized_expression "(((uVar13 & 0x200) != 0) && (param_6 != 0))" ( (binary_expression "((uVar13 & 0x200) != 0) && (param_6 != 0)" (parenthesized_expression "((uVar13 & 0x200) != 0)" ( (binary_expression "(uVar13 & 0x200) != 0" (parenthesized_expression "(uVar13 & 0x200)" ( (binary_expression "uVar13 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" { (if_statement "if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" if (parenthesized_expression "(local_78 == 0x40)" ( (binary_expression "local_78 == 0x40" identifier == number_literal) )) (compound_statement "{\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" { (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" * (cast_expression "(undefined4 *)(puVar12 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x60)" ( (binary_expression "puVar12 + 0x60" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" else (compound_statement "{\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" { (expression_statement "local_3c[0] = local_3c[0] + 2;" (assignment_expression "local_3c[0] = local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -2;" (assignment_expression "puVar14 = puVar11 + -2" identifier = (binary_expression "puVar11 + -2" identifier + number_literal)) ;) (expression_statement "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);" (assignment_expression "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (subscript_expression "puVar11[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" * (cast_expression "(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" ( (binary_expression "local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4" identifier + (binary_expression "(long)(int)((uVar13 >> 0xe & 1) + 2) * 4" (cast_expression "(long)(int)((uVar13 >> 0xe & 1) + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)((uVar13 >> 0xe & 1) + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar13 >> 0xe & 1) + 2)" ( (binary_expression "(uVar13 >> 0xe & 1) + 2" (parenthesized_expression "(uVar13 >> 0xe & 1)" ( (binary_expression "uVar13 >> 0xe & 1" (binary_expression "uVar13 >> 0xe" identifier >> number_literal) & number_literal) )) + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" * (cast_expression "(undefined4 *)(puVar12 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x60)" ( (binary_expression "puVar12 + 0x60" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);" statement_identifier : (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" else (compound_statement "{\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(local_68 + 0x4c);" (assignment_expression "uVar1 = *(undefined4 *)(local_68 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(local_68 + 0x4c)" * (cast_expression "(undefined4 *)(local_68 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x4c)" ( (binary_expression "local_68 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined8 *)(local_68 + 0x10);" (assignment_expression "uVar3 = *(undefined8 *)(local_68 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(local_68 + 0x10)" * (cast_expression "(undefined8 *)(local_68 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x10)" ( (binary_expression "local_68 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined8 *)(local_68 + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(local_68 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(local_68 + 0x18)" * (cast_expression "(undefined8 *)(local_68 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x18)" ( (binary_expression "local_68 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);" (assignment_expression "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" identifier = (cast_expression "(undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_68._4_4_,(uint)local_58)" identifier (argument_list "(local_68._4_4_,(uint)local_58)" ( (field_expression "local_68._4_4_" identifier . field_identifier) , (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier) ))))) ;) (expression_statement "local_60 = puVar12;" (assignment_expression "local_60 = puVar12" identifier = identifier) ;) (expression_statement "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0" (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U" (binary_expression "(long)(local_3c[0] + 1) * 8" (cast_expression "(long)(local_3c[0] + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_3c[0] + 1)" ( (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal) ))) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_128 + lVar7;" (assignment_expression "puVar10 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_128 + lVar7;" (assignment_expression "puVar9 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "*(int **)(auStack_128 + lVar7 + -8) = local_3c;" (assignment_expression "*(int **)(auStack_128 + lVar7 + -8) = local_3c" (pointer_expression "*(int **)(auStack_128 + lVar7 + -8)" * (cast_expression "(int **)(auStack_128 + lVar7 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(auStack_128 + lVar7 + -8)" ( (binary_expression "auStack_128 + lVar7 + -8" (binary_expression "auStack_128 + lVar7" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;" (assignment_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11" (pointer_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8)" * (cast_expression "(undefined4 **)((long)alStack_140 + lVar7 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_140 + lVar7 + 8)" ( (binary_expression "(long)alStack_140 + lVar7 + 8" (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = local_70;" (assignment_expression "uVar6 = local_70" identifier = identifier) ;) (expression_statement "local_58 = (undefined4 *)((long)auStack_118 + lVar7);" (assignment_expression "local_58 = (undefined4 *)((long)auStack_118 + lVar7)" identifier = (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)auStack_118 + lVar7)" ( (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;" (assignment_expression "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df" (pointer_expression "*(undefined8 *)((long)alStack_140 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_140 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_140 + lVar7)" ( (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));" (call_expression "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" identifier (argument_list "(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" ( identifier , identifier , identifier , identifier , identifier , (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)auStack_118 + lVar7)" ( (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ))) ;) (expression_statement "puVar11 = local_58;" (assignment_expression "puVar11 = local_58" identifier = identifier) ;) (expression_statement "puVar12 = local_60;" (assignment_expression "puVar12 = local_60" identifier = identifier) ;) (expression_statement "uVar13 = (uint)local_68;" (assignment_expression "uVar13 = (uint)local_68" identifier = (cast_expression "(uint)local_68" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (!bVar15 || !bVar16) goto LAB_004ee5f8;" if (parenthesized_expression "(!bVar15 || !bVar16)" ( (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier)) )) (goto_statement "goto LAB_004ee5f8;" goto statement_identifier ;)) (labeled_statement "LAB_004ee4a3:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" if (parenthesized_expression "(param_6 < 0)" ( (binary_expression "param_6 < 0" identifier < number_literal) )) (compound_statement "{\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" { (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);" (assignment_expression "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50)" (subscript_expression "puVar11[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(puVar12 + 0x50)" * (cast_expression "(undefined4 *)(puVar12 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x50)" ( (binary_expression "puVar12 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;) })) (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" identifier = identifier) ;) (if_statement "if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;" if (parenthesized_expression "((uVar13 & 0x800) == 0)" ( (binary_expression "(uVar13 & 0x800) == 0" (parenthesized_expression "(uVar13 & 0x800)" ( (binary_expression "uVar13 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;)) (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x54);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x54)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x54)" * (cast_expression "(undefined4 *)(puVar12 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x54)" ( (binary_expression "puVar12 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }))) (expression_statement "uVar3 = local_70;" (assignment_expression "uVar3 = local_70" identifier = identifier) ;) (expression_statement "uVar1 = local_74;" (assignment_expression "uVar1 = local_74" identifier = identifier) ;) (expression_statement "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "lVar7 * 4 + 0x17U & 0xfffffffffffffff0" (binary_expression "lVar7 * 4 + 0x17U" (binary_expression "lVar7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "*(int **)(puVar9 + lVar5 + -0x10) = local_3c;" (assignment_expression "*(int **)(puVar9 + lVar5 + -0x10) = local_3c" (pointer_expression "*(int **)(puVar9 + lVar5 + -0x10)" * (cast_expression "(int **)(puVar9 + lVar5 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + lVar5 + -0x10)" ( (binary_expression "puVar9 + lVar5 + -0x10" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);" (assignment_expression "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" identifier = (cast_expression "(undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" ( (binary_expression "(ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0" (call_expression "(ulong)(puVar9 + lVar5 + 0xf)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar9 + lVar5 + 0xf)" ( (binary_expression "puVar9 + lVar5 + 0xf" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;" (assignment_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559" (pointer_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18)" * (cast_expression "(undefined8 *)(puVar9 + lVar5 + -0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + lVar5 + -0x18)" ( (binary_expression "puVar9 + lVar5 + -0x18" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);" (call_expression "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14)" identifier (argument_list "(uVar3,uVar1,lVar7,param_4,puVar14)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar9 + lVar5;" (assignment_expression "puVar9 = puVar9 + lVar5" identifier = (binary_expression "puVar9 + lVar5" identifier + identifier)) ;) (labeled_statement "LAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;" statement_identifier : (expression_statement "*(undefined8 *)(param_4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_4 + 0x10)" * (cast_expression "(undefined8 *)(param_4 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) = number_literal) ;)) (if_statement "if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" { (expression_statement "pcVar2 = *(code **)(*param_2 + 0x60);" (assignment_expression "pcVar2 = *(code **)(*param_2 + 0x60)" identifier = (pointer_expression "*(code **)(*param_2 + 0x60)" * (cast_expression "(code **)(*param_2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x60)" ( (binary_expression "*param_2 + 0x60" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2;" (assignment_expression "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2" (pointer_expression "*(undefined8 *)(puVar9 + -8)" * (cast_expression "(undefined8 *)(puVar9 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar7 = (*pcVar2)(param_2,puVar14,lVar8);" (assignment_expression "lVar7 = (*pcVar2)(param_2,puVar14,lVar8)" identifier = (call_expression "(*pcVar2)(param_2,puVar14,lVar8)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_2,puVar14,lVar8)" ( identifier , identifier , identifier )))) ;) (if_statement "if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }" if (parenthesized_expression "(lVar7 != lVar8)" ( (binary_expression "lVar7 != lVar8" identifier != identifier) )) (compound_statement "{\n      param_3 = '\x01';\n    }" { (expression_statement "param_3 = '\x01';" (assignment_expression "param_3 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "auVar17[8] = param_3;" (assignment_expression "auVar17[8] = param_3" (subscript_expression "auVar17[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar17._0_8_ = param_2;" (assignment_expression "auVar17._0_8_ = param_2" (field_expression "auVar17._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar17._9_7_ = 0;" (assignment_expression "auVar17._9_7_ = 0" (field_expression "auVar17._9_7_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar17;" return identifier ;) (ERROR "}" }))
(translation_unit "/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::num_put<wchar_t,\n   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >\n   >::_M_insert_int<long>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,\n   std::ios_base&, wchar_t, long) const */\n\nundefined1  [16]\nstd::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n_M_insert_int<long>(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                    *param_1,long *param_2,char param_3,ios_base *param_4,wchar_t param_5,\n                   long param_6)\n\n{\n  wchar_t wVar1;\n  code *pcVar2;\n  char *pcVar3;\n  ulong uVar4;\n  long lVar5;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *pnVar6;\n  long lVar7;\n  long lVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  wchar_t *pwVar11;\n  wchar_t *pwVar12;\n  undefined1 *puVar13;\n  uint uVar14;\n  bool bVar15;\n  bool bVar16;\n  undefined1 auVar17 [16];\n  long alStack_140 [3];\n  undefined1 auStack_128 [8];\n  undefined1 auStack_120 [8];\n  wchar_t awStack_118 [38];\n  undefined8 local_80;\n  uint local_78;\n  wchar_t local_74;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *local_70;\n  undefined1 *local_68;\n  undefined1 *local_60;\n  wchar_t *local_58;\n  undefined1 *local_50;\n  __use_cache<std::__numpunct_cache<wchar_t>> local_3d;\n  int local_3c [3];\n  \n  local_80 = 0x4ee405;\n  local_74 = param_5;\n  local_70 = param_1;\n  local_68 = (undefined1 *)\n             __use_cache<std::__numpunct_cache<wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0));\n  uVar14 = *(uint *)(param_4 + 0x18);\n  puVar9 = auStack_128;\n  puVar10 = auStack_128;\n  local_50 = local_68 + 0x50;\n  local_60 = auStack_120;\n  local_78 = uVar14 & 0x4a;\n  bVar15 = local_78 != 0x40;\n  bVar16 = local_78 != 8;\n  lVar7 = param_6;\n  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }\n  local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14);\n  alStack_140[2] = 0x4ee473;\n  local_3c[0] = __int_to_char<wchar_t,unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16);\n  puVar13 = local_68;\n  pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4);\n  if (local_68[0x20] == '\0') {\n    uVar14 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    pwVar11 = pwVar12;\n    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  pnVar6 = local_70;\n  wVar1 = local_74;\n  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);\n  puVar10 = puVar9 + lVar5 + 0xf;\n  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;\n  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;\n  _M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10));\n  lVar8 = (long)local_3c[0];\n  puVar9 = puVar9 + lVar5;\n  pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0);\nLAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;\n  if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }\n  auVar17[8] = param_3;\n  auVar17._0_8_ = param_2;\n  auVar17._9_7_ = 0;\n  return auVar17;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (labeled_statement "std::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n_M_insert_int<long>(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>\n                    *param_1,long *param_2,char param_3,ios_base *param_4,wchar_t param_5,\n                   long param_6)\n\n{\n  wchar_t wVar1;\n  code *pcVar2;\n  char *pcVar3;\n  ulong uVar4;\n  long lVar5;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *pnVar6;\n  long lVar7;\n  long lVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  wchar_t *pwVar11;\n  wchar_t *pwVar12;\n  undefined1 *puVar13;\n  uint uVar14;\n  bool bVar15;\n  bool bVar16;\n  undefined1 auVar17 [16];\n  long alStack_140 [3];\n  undefined1 auStack_128 [8];\n  undefined1 auStack_120 [8];\n  wchar_t awStack_118 [38];\n  undefined8 local_80;\n  uint local_78;\n  wchar_t local_74;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *local_70;\n  undefined1 *local_68;\n  undefined1 *local_60;\n  wchar_t *local_58;\n  undefined1 *local_50;\n  __use_cache<std::__numpunct_cache<wchar_t>> local_3d;\n  int local_3c [3];\n  \n  local_80 = 0x4ee405;\n  local_74 = param_5;\n  local_70 = param_1;\n  local_68 = (undefined1 *)\n             __use_cache<std::__numpunct_cache<wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0));\n  uVar14 = *(uint *)(param_4 + 0x18);\n  puVar9 = auStack_128;\n  puVar10 = auStack_128;\n  local_50 = local_68 + 0x50;\n  local_60 = auStack_120;\n  local_78 = uVar14 & 0x4a;\n  bVar15 = local_78 != 0x40;\n  bVar16 = local_78 != 8;\n  lVar7 = param_6;\n  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }\n  local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14);\n  alStack_140[2] = 0x4ee473;\n  local_3c[0] = __int_to_char<wchar_t,unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16);\n  puVar13 = local_68;\n  pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4);\n  if (local_68[0x20] == '\0') {\n    uVar14 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    pwVar11 = pwVar12;\n    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  pnVar6 = local_70;\n  wVar1 = local_74;\n  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);\n  puVar10 = puVar9 + lVar5 + 0xf;\n  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;\n  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;\n  _M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10));\n  lVar8 = (long)local_3c[0];\n  puVar9 = puVar9 + lVar5;\n  pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0);\nLAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;\n  if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }\n  auVar17[8] = param_3;\n  auVar17._0_8_ = param_2;\n  auVar17._9_7_ = 0;\n  return auVar17;\n}" statement_identifier (ERROR "::num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>>::\n_M_insert_int<long>(num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std:" : : (comma_expression "num_put<wchar_t,std" (binary_expression "num_put<wchar_t" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<wchar_t,std" (binary_expression "ostreambuf_iterator<wchar_t" identifier < identifier) , identifier) : : (binary_expression "char_traits<wchar_t>>>::\n_M_insert_int<long" (binary_expression "char_traits<wchar_t>>>::\n_M_insert_int" identifier < (binary_expression "wchar_t>>>::\n_M_insert_int" identifier >> (ERROR ">::" > : :) identifier)) < identifier) > ( (comma_expression "num_put<wchar_t,std" (binary_expression "num_put<wchar_t" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<wchar_t,std" (binary_expression "ostreambuf_iterator<wchar_t" identifier < identifier) , identifier) :) : (ERROR "char_traits<wchar_t>>>\n                    *param_1,long *param_2,char param_3,ios_base *param_4,wchar_t param_5,\n                   long param_6)" (comma_expression "char_traits<wchar_t>>>\n                    *param_1,long *param_2,char param_3,ios_base *param_4,wchar_t param_5,\n                   long" (binary_expression "char_traits<wchar_t>>>\n                    *param_1" identifier < (binary_expression "wchar_t>>>\n                    *param_1" identifier >> (ERROR ">" >) (pointer_expression "*param_1" * identifier))) , (comma_expression "long *param_2,char param_3,ios_base *param_4,wchar_t param_5,\n                   long" (binary_expression "long *param_2" identifier * identifier) , (ERROR "char" identifier) (comma_expression "param_3,ios_base *param_4,wchar_t param_5,\n                   long" identifier , (comma_expression "ios_base *param_4,wchar_t param_5,\n                   long" (binary_expression "ios_base *param_4" identifier * identifier) , (ERROR "wchar_t" identifier) (comma_expression "param_5,\n                   long" identifier , identifier))))) identifier )) (compound_statement "{\n  wchar_t wVar1;\n  code *pcVar2;\n  char *pcVar3;\n  ulong uVar4;\n  long lVar5;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *pnVar6;\n  long lVar7;\n  long lVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  wchar_t *pwVar11;\n  wchar_t *pwVar12;\n  undefined1 *puVar13;\n  uint uVar14;\n  bool bVar15;\n  bool bVar16;\n  undefined1 auVar17 [16];\n  long alStack_140 [3];\n  undefined1 auStack_128 [8];\n  undefined1 auStack_120 [8];\n  wchar_t awStack_118 [38];\n  undefined8 local_80;\n  uint local_78;\n  wchar_t local_74;\n  num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t>>> *local_70;\n  undefined1 *local_68;\n  undefined1 *local_60;\n  wchar_t *local_58;\n  undefined1 *local_50;\n  __use_cache<std::__numpunct_cache<wchar_t>> local_3d;\n  int local_3c [3];\n  \n  local_80 = 0x4ee405;\n  local_74 = param_5;\n  local_70 = param_1;\n  local_68 = (undefined1 *)\n             __use_cache<std::__numpunct_cache<wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0));\n  uVar14 = *(uint *)(param_4 + 0x18);\n  puVar9 = auStack_128;\n  puVar10 = auStack_128;\n  local_50 = local_68 + 0x50;\n  local_60 = auStack_120;\n  local_78 = uVar14 & 0x4a;\n  bVar15 = local_78 != 0x40;\n  bVar16 = local_78 != 8;\n  lVar7 = param_6;\n  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }\n  local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14);\n  alStack_140[2] = 0x4ee473;\n  local_3c[0] = __int_to_char<wchar_t,unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16);\n  puVar13 = local_68;\n  pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4);\n  if (local_68[0x20] == '\0') {\n    uVar14 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    pwVar11 = pwVar12;\n    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  pnVar6 = local_70;\n  wVar1 = local_74;\n  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);\n  puVar10 = puVar9 + lVar5 + 0xf;\n  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;\n  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;\n  _M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10));\n  lVar8 = (long)local_3c[0];\n  puVar9 = puVar9 + lVar5;\n  pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0);\nLAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;\n  if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }\n  auVar17[8] = param_3;\n  auVar17._0_8_ = param_2;\n  auVar17._9_7_ = 0;\n  return auVar17;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (ERROR "num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::" (comma_expression "num_put<wchar_t,std" (binary_expression "num_put<wchar_t" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<wchar_t,std" (binary_expression "ostreambuf_iterator<wchar_t" identifier < identifier) , identifier) : :) (expression_statement "char_traits<wchar_t>>> *pnVar6;" (binary_expression "char_traits<wchar_t>>> *pnVar6" identifier < (binary_expression "wchar_t>>> *pnVar6" identifier >> (ERROR ">" >) (pointer_expression "*pnVar6" * identifier))) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "wchar_t *pwVar11;" type_identifier (pointer_declarator "*pwVar11" * identifier) ;) (declaration "wchar_t *pwVar12;" type_identifier (pointer_declarator "*pwVar12" * identifier) ;) (declaration "undefined1 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "undefined1 auVar17 [16];" type_identifier (array_declarator "auVar17 [16]" identifier [ number_literal ]) ;) (declaration "long alStack_140 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_140 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_128 [8];" type_identifier (array_declarator "auStack_128 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_120 [8];" type_identifier (array_declarator "auStack_120 [8]" identifier [ number_literal ]) ;) (declaration "wchar_t awStack_118 [38];" type_identifier (array_declarator "awStack_118 [38]" identifier [ number_literal ]) ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "uint local_78;" type_identifier identifier ;) (declaration "wchar_t local_74;" type_identifier identifier ;) (ERROR "num_put<wchar_t,std::ostreambuf_iterator<wchar_t,std::" (comma_expression "num_put<wchar_t,std" (binary_expression "num_put<wchar_t" identifier < identifier) , identifier) : : (comma_expression "ostreambuf_iterator<wchar_t,std" (binary_expression "ostreambuf_iterator<wchar_t" identifier < identifier) , identifier) : :) (expression_statement "char_traits<wchar_t>>> *local_70;" (binary_expression "char_traits<wchar_t>>> *local_70" identifier < (binary_expression "wchar_t>>> *local_70" identifier >> (ERROR ">" >) (pointer_expression "*local_70" * identifier))) ;) (declaration "undefined1 *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "undefined1 *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "wchar_t *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined1 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (ERROR "__use_cache<std::" (binary_expression "__use_cache<std" identifier < identifier) : :) (expression_statement "__numpunct_cache<wchar_t>> local_3d;" (binary_expression "__numpunct_cache<wchar_t>> local_3d" identifier < (binary_expression "wchar_t>> local_3d" identifier >> identifier)) ;) (declaration "int local_3c [3];" primitive_type (array_declarator "local_3c [3]" identifier [ number_literal ]) ;) (expression_statement "local_80 = 0x4ee405;" (assignment_expression "local_80 = 0x4ee405" identifier = number_literal) ;) (expression_statement "local_74 = param_5;" (assignment_expression "local_74 = param_5" identifier = identifier) ;) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" identifier = identifier) ;) (expression_statement "local_68 = (undefined1 *)\n             __use_cache<std::__numpunct_cache<wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0));" (binary_expression "local_68 = (undefined1 *)\n             __use_cache<std::__numpunct_cache<wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0))" (assignment_expression "local_68 = (undefined1 *)\n             __use_cache<std" identifier = (binary_expression "(undefined1 *)\n             __use_cache<std" (cast_expression "(undefined1 *)\n             __use_cache" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) < identifier)) (ERROR "::__numpunct_cache" : : identifier) < (binary_expression "wchar_t>>::operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0))" identifier >> (ERROR "::" : :) (call_expression "operator()\n                       (&local_3d,(locale *)(param_4 + 0xd0))" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "(&local_3d,(locale *)(param_4 + 0xd0))" ( (pointer_expression "&local_3d" & identifier) , (cast_expression "(locale *)(param_4 + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xd0)" ( (binary_expression "param_4 + 0xd0" identifier + number_literal) ))) ))))) ;) (expression_statement "uVar14 = *(uint *)(param_4 + 0x18);" (assignment_expression "uVar14 = *(uint *)(param_4 + 0x18)" identifier = (pointer_expression "*(uint *)(param_4 + 0x18)" * (cast_expression "(uint *)(param_4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = auStack_128;" (assignment_expression "puVar9 = auStack_128" identifier = identifier) ;) (expression_statement "puVar10 = auStack_128;" (assignment_expression "puVar10 = auStack_128" identifier = identifier) ;) (expression_statement "local_50 = local_68 + 0x50;" (assignment_expression "local_50 = local_68 + 0x50" identifier = (binary_expression "local_68 + 0x50" identifier + number_literal)) ;) (expression_statement "local_60 = auStack_120;" (assignment_expression "local_60 = auStack_120" identifier = identifier) ;) (expression_statement "local_78 = uVar14 & 0x4a;" (assignment_expression "local_78 = uVar14 & 0x4a" identifier = (binary_expression "uVar14 & 0x4a" identifier & number_literal)) ;) (expression_statement "bVar15 = local_78 != 0x40;" (assignment_expression "bVar15 = local_78 != 0x40" identifier = (binary_expression "local_78 != 0x40" identifier != number_literal)) ;) (expression_statement "bVar16 = local_78 != 8;" (assignment_expression "bVar16 = local_78 != 8" identifier = (binary_expression "local_78 != 8" identifier != number_literal)) ;) (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) (if_statement "if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }" if (parenthesized_expression "((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16))" ( (binary_expression "(param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)" (parenthesized_expression "(param_6 < 1)" ( (binary_expression "param_6 < 1" identifier < number_literal) )) && (parenthesized_expression "(lVar7 = -param_6, !bVar15 || !bVar16)" ( (comma_expression "lVar7 = -param_6, !bVar15 || !bVar16" (assignment_expression "lVar7 = -param_6" identifier = (unary_expression "-param_6" - identifier)) , (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier))) ))) )) (compound_statement "{\n    lVar7 = param_6;\n  }" { (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) })) (expression_statement "local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14);" (assignment_expression "local_58 = (wchar_t *)CONCAT44(local_58._4_4_,uVar14)" identifier = (cast_expression "(wchar_t *)CONCAT44(local_58._4_4_,uVar14)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_58._4_4_,uVar14)" identifier (argument_list "(local_58._4_4_,uVar14)" ( (field_expression "local_58._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_140[2] = 0x4ee473;" (assignment_expression "alStack_140[2] = 0x4ee473" (subscript_expression "alStack_140[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[0] = __int_to_char<wchar_t,unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16);" (comma_expression "local_3c[0] = __int_to_char<wchar_t,unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16)" (assignment_expression "local_3c[0] = __int_to_char<wchar_t" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "__int_to_char<wchar_t" identifier < identifier)) , (binary_expression "unsigned_long>\n                          (&local_80,lVar7,local_50,uVar14,bVar15 && bVar16)" identifier > (parenthesized_expression "(&local_80,lVar7,local_50,uVar14,bVar15 && bVar16)" ( (comma_expression "&local_80,lVar7,local_50,uVar14,bVar15 && bVar16" (pointer_expression "&local_80" & identifier) , (comma_expression "lVar7,local_50,uVar14,bVar15 && bVar16" identifier , (comma_expression "local_50,uVar14,bVar15 && bVar16" identifier , (comma_expression "uVar14,bVar15 && bVar16" identifier , (binary_expression "bVar15 && bVar16" identifier && identifier))))) )))) ;) (expression_statement "puVar13 = local_68;" (assignment_expression "puVar13 = local_68" identifier = identifier) ;) (expression_statement "pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4);" (assignment_expression "pwVar12 = (wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" identifier = (cast_expression "(wchar_t *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (binary_expression "local_60 + (long)(0x28 - local_3c[0]) * 4" identifier + (binary_expression "(long)(0x28 - local_3c[0]) * 4" (cast_expression "(long)(0x28 - local_3c[0])" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(0x28 - local_3c[0])" ( (binary_expression "0x28 - local_3c[0]" number_literal - (subscript_expression "local_3c[0]" identifier [ number_literal ])) ))) * number_literal)) )))) ;) (if_statement "if (local_68[0x20] == '\0') {\n    uVar14 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    pwVar11 = pwVar12;\n    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" if (parenthesized_expression "(local_68[0x20] == '\0')" ( (binary_expression "local_68[0x20] == '\0'" (subscript_expression "local_68[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar14 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    pwVar11 = pwVar12;\n    if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "uVar14 = (uint)local_58;" (assignment_expression "uVar14 = (uint)local_58" identifier = (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar15 && bVar16) goto LAB_004ee4a3;" if (parenthesized_expression "(bVar15 && bVar16)" ( (binary_expression "bVar15 && bVar16" identifier && identifier) )) (goto_statement "goto LAB_004ee4a3;" goto statement_identifier ;)) (labeled_statement "LAB_004ee5f8:\n    pwVar11 = pwVar12;" statement_identifier : (expression_statement "pwVar11 = pwVar12;" (assignment_expression "pwVar11 = pwVar12" identifier = identifier) ;)) (if_statement "if (((uVar14 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }" if (parenthesized_expression "(((uVar14 & 0x200) != 0) && (param_6 != 0))" ( (binary_expression "((uVar14 & 0x200) != 0) && (param_6 != 0)" (parenthesized_expression "((uVar14 & 0x200) != 0)" ( (binary_expression "(uVar14 & 0x200) != 0" (parenthesized_expression "(uVar14 & 0x200)" ( (binary_expression "uVar14 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n    }" { (if_statement "if (local_78 == 0x40) {\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }\n      else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }" if (parenthesized_expression "(local_78 == 0x40)" ( (binary_expression "local_78 == 0x40" identifier == number_literal) )) (compound_statement "{\n        pwVar11 = pwVar12 + -1;\n        local_3c[0] = local_3c[0] + 1;\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }" { (expression_statement "pwVar11 = pwVar12 + -1;" (assignment_expression "pwVar11 = pwVar12 + -1" identifier = (binary_expression "pwVar12 + -1" identifier + number_literal)) ;) (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "*pwVar11 = *(wchar_t *)(puVar13 + 0x60);" (assignment_expression "*pwVar11 = *(wchar_t *)(puVar13 + 0x60)" (pointer_expression "*pwVar11" * identifier) = (pointer_expression "*(wchar_t *)(puVar13 + 0x60)" * (cast_expression "(wchar_t *)(puVar13 + 0x60)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x60)" ( (binary_expression "puVar13 + 0x60" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }" else (compound_statement "{\n        pwVar11 = pwVar12 + -2;\n        local_3c[0] = local_3c[0] + 2;\n        pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);\n        *pwVar11 = *(wchar_t *)(puVar13 + 0x60);\n      }" { (expression_statement "pwVar11 = pwVar12 + -2;" (assignment_expression "pwVar11 = pwVar12 + -2" identifier = (binary_expression "pwVar12 + -2" identifier + number_literal)) ;) (expression_statement "local_3c[0] = local_3c[0] + 2;" (assignment_expression "local_3c[0] = local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4);" (assignment_expression "pwVar12[-1] = *(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4)" (subscript_expression "pwVar12[-1]" identifier [ number_literal ]) = (pointer_expression "*(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4)" * (cast_expression "(wchar_t *)(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4)" ( (binary_expression "local_50 + (long)(int)((uVar14 >> 0xe & 1) + 2) * 4" identifier + (binary_expression "(long)(int)((uVar14 >> 0xe & 1) + 2) * 4" (cast_expression "(long)(int)((uVar14 >> 0xe & 1) + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)((uVar14 >> 0xe & 1) + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar14 >> 0xe & 1) + 2)" ( (binary_expression "(uVar14 >> 0xe & 1) + 2" (parenthesized_expression "(uVar14 >> 0xe & 1)" ( (binary_expression "uVar14 >> 0xe & 1" (binary_expression "uVar14 >> 0xe" identifier >> number_literal) & number_literal) )) + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "*pwVar11 = *(wchar_t *)(puVar13 + 0x60);" (assignment_expression "*pwVar11 = *(wchar_t *)(puVar13 + 0x60)" (pointer_expression "*pwVar11" * identifier) = (pointer_expression "*(wchar_t *)(puVar13 + 0x60)" * (cast_expression "(wchar_t *)(puVar13 + 0x60)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x60)" ( (binary_expression "puVar13 + 0x60" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);" statement_identifier : (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }) (else_clause "else {\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" else (compound_statement "{\n    wVar1 = *(wchar_t *)(local_68 + 0x4c);\n    pcVar3 = *(char **)(local_68 + 0x10);\n    uVar4 = *(ulong *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar13;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;\n    pnVar6 = local_70;\n    local_58 = (wchar_t *)((long)awStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    _M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));\n    pwVar12 = local_58;\n    puVar13 = local_60;\n    uVar14 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }\n    pwVar11 = pwVar12;\n    if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;\n    pwVar11 = pwVar12 + -1;\n    lVar8 = (long)(local_3c[0] + 1);\n    local_3c[0] = local_3c[0] + 1;\n    *pwVar11 = *(wchar_t *)(puVar13 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "wVar1 = *(wchar_t *)(local_68 + 0x4c);" (assignment_expression "wVar1 = *(wchar_t *)(local_68 + 0x4c)" identifier = (pointer_expression "*(wchar_t *)(local_68 + 0x4c)" * (cast_expression "(wchar_t *)(local_68 + 0x4c)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x4c)" ( (binary_expression "local_68 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = *(char **)(local_68 + 0x10);" (assignment_expression "pcVar3 = *(char **)(local_68 + 0x10)" identifier = (pointer_expression "*(char **)(local_68 + 0x10)" * (cast_expression "(char **)(local_68 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_68 + 0x10)" ( (binary_expression "local_68 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(ulong *)(local_68 + 0x18);" (assignment_expression "uVar4 = *(ulong *)(local_68 + 0x18)" identifier = (pointer_expression "*(ulong *)(local_68 + 0x18)" * (cast_expression "(ulong *)(local_68 + 0x18)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x18)" ( (binary_expression "local_68 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);" (assignment_expression "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" identifier = (cast_expression "(undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_68._4_4_,(uint)local_58)" identifier (argument_list "(local_68._4_4_,(uint)local_58)" ( (field_expression "local_68._4_4_" identifier . field_identifier) , (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier) ))))) ;) (expression_statement "local_60 = puVar13;" (assignment_expression "local_60 = puVar13" identifier = identifier) ;) (expression_statement "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0" (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U" (binary_expression "(long)(local_3c[0] + 1) * 8" (cast_expression "(long)(local_3c[0] + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_3c[0] + 1)" ( (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal) ))) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_128 + lVar7;" (assignment_expression "puVar10 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_128 + lVar7;" (assignment_expression "puVar9 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "*(int **)(auStack_128 + lVar7 + -8) = local_3c;" (assignment_expression "*(int **)(auStack_128 + lVar7 + -8) = local_3c" (pointer_expression "*(int **)(auStack_128 + lVar7 + -8)" * (cast_expression "(int **)(auStack_128 + lVar7 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(auStack_128 + lVar7 + -8)" ( (binary_expression "auStack_128 + lVar7 + -8" (binary_expression "auStack_128 + lVar7" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12;" (assignment_expression "*(wchar_t **)((long)alStack_140 + lVar7 + 8) = pwVar12" (pointer_expression "*(wchar_t **)((long)alStack_140 + lVar7 + 8)" * (cast_expression "(wchar_t **)((long)alStack_140 + lVar7 + 8)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_140 + lVar7 + 8)" ( (binary_expression "(long)alStack_140 + lVar7 + 8" (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "pnVar6 = local_70;" (assignment_expression "pnVar6 = local_70" identifier = identifier) ;) (expression_statement "local_58 = (wchar_t *)((long)awStack_118 + lVar7);" (assignment_expression "local_58 = (wchar_t *)((long)awStack_118 + lVar7)" identifier = (cast_expression "(wchar_t *)((long)awStack_118 + lVar7)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)awStack_118 + lVar7)" ( (binary_expression "(long)awStack_118 + lVar7" (cast_expression "(long)awStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;" (assignment_expression "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df" (pointer_expression "*(undefined8 *)((long)alStack_140 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_140 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_140 + lVar7)" ( (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "_M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8));" (call_expression "_M_group_int(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8))" identifier (argument_list "(pnVar6,pcVar3,uVar4,wVar1,param_4,(wchar_t *)((long)awStack_118 + lVar7),\n                 *(wchar_t **)((long)alStack_140 + lVar7 + 8),*(int **)(auStack_128 + lVar7 + -8))" ( identifier , identifier , identifier , identifier , identifier , (cast_expression "(wchar_t *)((long)awStack_118 + lVar7)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)awStack_118 + lVar7)" ( (binary_expression "(long)awStack_118 + lVar7" (cast_expression "(long)awStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) , (pointer_expression "*(wchar_t **)((long)alStack_140 + lVar7 + 8)" * (cast_expression "(wchar_t **)((long)alStack_140 + lVar7 + 8)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_140 + lVar7 + 8)" ( (binary_expression "(long)alStack_140 + lVar7 + 8" (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(int **)(auStack_128 + lVar7 + -8)" * (cast_expression "(int **)(auStack_128 + lVar7 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(auStack_128 + lVar7 + -8)" ( (binary_expression "auStack_128 + lVar7 + -8" (binary_expression "auStack_128 + lVar7" identifier + identifier) + number_literal) )))) ))) ;) (expression_statement "pwVar12 = local_58;" (assignment_expression "pwVar12 = local_58" identifier = identifier) ;) (expression_statement "puVar13 = local_60;" (assignment_expression "puVar13 = local_60" identifier = identifier) ;) (expression_statement "uVar14 = (uint)local_68;" (assignment_expression "uVar14 = (uint)local_68" identifier = (cast_expression "(uint)local_68" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (!bVar15 || !bVar16) goto LAB_004ee5f8;" if (parenthesized_expression "(!bVar15 || !bVar16)" ( (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier)) )) (goto_statement "goto LAB_004ee5f8;" goto statement_identifier ;)) (labeled_statement "LAB_004ee4a3:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }" if (parenthesized_expression "(param_6 < 0)" ( (binary_expression "param_6 < 0" identifier < number_literal) )) (compound_statement "{\n      local_3c[0] = local_3c[0] + 1;\n      pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);\n      pwVar11 = pwVar12 + -1;\n      goto LAB_004ee4b5;\n    }" { (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50);" (assignment_expression "pwVar12[-1] = *(wchar_t *)(puVar13 + 0x50)" (subscript_expression "pwVar12[-1]" identifier [ number_literal ]) = (pointer_expression "*(wchar_t *)(puVar13 + 0x50)" * (cast_expression "(wchar_t *)(puVar13 + 0x50)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x50)" ( (binary_expression "puVar13 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "pwVar11 = pwVar12 + -1;" (assignment_expression "pwVar11 = pwVar12 + -1" identifier = (binary_expression "pwVar12 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;) })) (expression_statement "pwVar11 = pwVar12;" (assignment_expression "pwVar11 = pwVar12" identifier = identifier) ;) (if_statement "if ((uVar14 & 0x800) == 0) goto LAB_004ee4b5;" if (parenthesized_expression "((uVar14 & 0x800) == 0)" ( (binary_expression "(uVar14 & 0x800) == 0" (parenthesized_expression "(uVar14 & 0x800)" ( (binary_expression "uVar14 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;)) (expression_statement "pwVar11 = pwVar12 + -1;" (assignment_expression "pwVar11 = pwVar12 + -1" identifier = (binary_expression "pwVar12 + -1" identifier + number_literal)) ;) (expression_statement "lVar8 = (long)(local_3c[0] + 1);" (assignment_expression "lVar8 = (long)(local_3c[0] + 1)" identifier = (cast_expression "(long)(local_3c[0] + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_3c[0] + 1)" ( (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "*pwVar11 = *(wchar_t *)(puVar13 + 0x54);" (assignment_expression "*pwVar11 = *(wchar_t *)(puVar13 + 0x54)" (pointer_expression "*pwVar11" * identifier) = (pointer_expression "*(wchar_t *)(puVar13 + 0x54)" * (cast_expression "(wchar_t *)(puVar13 + 0x54)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x54)" ( (binary_expression "puVar13 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }))) (expression_statement "pnVar6 = local_70;" (assignment_expression "pnVar6 = local_70" identifier = identifier) ;) (expression_statement "wVar1 = local_74;" (assignment_expression "wVar1 = local_74" identifier = identifier) ;) (expression_statement "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "lVar7 * 4 + 0x17U & 0xfffffffffffffff0" (binary_expression "lVar7 * 4 + 0x17U" (binary_expression "lVar7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = puVar9 + lVar5 + 0xf;" (assignment_expression "puVar10 = puVar9 + lVar5 + 0xf" identifier = (binary_expression "puVar9 + lVar5 + 0xf" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal)) ;) (expression_statement "*(int **)(puVar9 + lVar5 + -0x10) = local_3c;" (assignment_expression "*(int **)(puVar9 + lVar5 + -0x10) = local_3c" (pointer_expression "*(int **)(puVar9 + lVar5 + -0x10)" * (cast_expression "(int **)(puVar9 + lVar5 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + lVar5 + -0x10)" ( (binary_expression "puVar9 + lVar5 + -0x10" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;" (assignment_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559" (pointer_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18)" * (cast_expression "(undefined8 *)(puVar9 + lVar5 + -0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + lVar5 + -0x18)" ( (binary_expression "puVar9 + lVar5 + -0x18" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "_M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10));" (call_expression "_M_pad(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10))" identifier (argument_list "(pnVar6,wVar1,lVar7,param_4,(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0),pwVar11,\n         *(int **)(puVar9 + lVar5 + -0x10))" ( identifier , identifier , identifier , identifier , (cast_expression "(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)puVar10 & 0xfffffffffffffff0)" ( (binary_expression "(ulong)puVar10 & 0xfffffffffffffff0" (cast_expression "(ulong)puVar10" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) ))) , identifier , (pointer_expression "*(int **)(puVar9 + lVar5 + -0x10)" * (cast_expression "(int **)(puVar9 + lVar5 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + lVar5 + -0x10)" ( (binary_expression "puVar9 + lVar5 + -0x10" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) ))) ;) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar9 + lVar5;" (assignment_expression "puVar9 = puVar9 + lVar5" identifier = (binary_expression "puVar9 + lVar5" identifier + identifier)) ;) (expression_statement "pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0);" (assignment_expression "pwVar11 = (wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0)" identifier = (cast_expression "(wchar_t *)((ulong)puVar10 & 0xfffffffffffffff0)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)puVar10 & 0xfffffffffffffff0)" ( (binary_expression "(ulong)puVar10 & 0xfffffffffffffff0" (cast_expression "(ulong)puVar10" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )))) ;) (labeled_statement "LAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;" statement_identifier : (expression_statement "*(undefined8 *)(param_4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_4 + 0x10)" * (cast_expression "(undefined8 *)(param_4 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) = number_literal) ;)) (if_statement "if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" { (expression_statement "pcVar2 = *(code **)(*param_2 + 0x60);" (assignment_expression "pcVar2 = *(code **)(*param_2 + 0x60)" identifier = (pointer_expression "*(code **)(*param_2 + 0x60)" * (cast_expression "(code **)(*param_2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x60)" ( (binary_expression "*param_2 + 0x60" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2;" (assignment_expression "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2" (pointer_expression "*(undefined8 *)(puVar9 + -8)" * (cast_expression "(undefined8 *)(puVar9 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar7 = (*pcVar2)(param_2,pwVar11,lVar8);" (assignment_expression "lVar7 = (*pcVar2)(param_2,pwVar11,lVar8)" identifier = (call_expression "(*pcVar2)(param_2,pwVar11,lVar8)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_2,pwVar11,lVar8)" ( identifier , identifier , identifier )))) ;) (if_statement "if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }" if (parenthesized_expression "(lVar7 != lVar8)" ( (binary_expression "lVar7 != lVar8" identifier != identifier) )) (compound_statement "{\n      param_3 = '\x01';\n    }" { (expression_statement "param_3 = '\x01';" (assignment_expression "param_3 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "auVar17[8] = param_3;" (assignment_expression "auVar17[8] = param_3" (subscript_expression "auVar17[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar17._0_8_ = param_2;" (assignment_expression "auVar17._0_8_ = param_2" (field_expression "auVar17._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar17._9_7_ = 0;" (assignment_expression "auVar17._9_7_ = 0" (field_expression "auVar17._9_7_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar17;" return identifier ;) })))
(translation_unit "undefined1  [16]\nFUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,\n            long param_6)\n\n{\n  undefined4 uVar1;\n  code *pcVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  long lVar5;\n  undefined8 uVar6;\n  long lVar7;\n  long lVar8;\n  undefined1 *puVar9;\n  undefined1 *puVar10;\n  undefined4 *puVar11;\n  undefined1 *puVar12;\n  uint uVar13;\n  undefined4 *puVar14;\n  bool bVar15;\n  bool bVar16;\n  undefined1 auVar17 [16];\n  long alStack_140 [3];\n  undefined1 auStack_128 [8];\n  undefined1 auStack_120 [8];\n  undefined4 auStack_118 [38];\n  undefined8 local_80;\n  uint local_78;\n  undefined4 local_74;\n  undefined8 local_70;\n  undefined1 *local_68;\n  undefined1 *local_60;\n  undefined4 *local_58;\n  undefined1 *local_50;\n  undefined1 local_3d;\n  int local_3c [3];\n  \n  local_80 = 0x4ee405;\n  local_74 = param_5;\n  local_70 = param_1;\n  local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);\n  uVar13 = *(uint *)(param_4 + 0x18);\n  puVar9 = auStack_128;\n  puVar10 = auStack_128;\n  local_50 = local_68 + 0x50;\n  local_60 = auStack_120;\n  local_78 = uVar13 & 0x4a;\n  bVar15 = local_78 != 0x40;\n  bVar16 = local_78 != 8;\n  lVar7 = param_6;\n  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }\n  local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);\n  alStack_140[2] = 0x4ee473;\n  local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);\n  puVar12 = local_68;\n  puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);\n  if (local_68[0x20] == '\0') {\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  uVar3 = local_70;\n  uVar1 = local_74;\n  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);\n  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;\n  puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);\n  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;\n  FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);\n  lVar8 = (long)local_3c[0];\n  puVar9 = puVar9 + lVar5;\nLAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;\n  if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }\n  auVar17[8] = param_3;\n  auVar17._0_8_ = param_2;\n  auVar17._9_7_ = 0;\n  return auVar17;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (declaration "FUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,\n            long param_6)\n\n{\n  undefined4 uVar1;" (macro_type_specifier "FUN_004ee3d0(undefined8" identifier ( (type_descriptor "undefined8" type_identifier) )) identifier , (ERROR "long" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "char" identifier) identifier , (ERROR "long" identifier) identifier , identifier (ERROR "param_5" identifier) , (ERROR "long param_6)\n\n{\n  undefined4" identifier identifier ) { identifier) identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "undefined1 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined1 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "undefined1 auVar17 [16];" type_identifier (array_declarator "auVar17 [16]" identifier [ number_literal ]) ;) (declaration "long alStack_140 [3];" (sized_type_specifier "long" long) (array_declarator "alStack_140 [3]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_128 [8];" type_identifier (array_declarator "auStack_128 [8]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_120 [8];" type_identifier (array_declarator "auStack_120 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 auStack_118 [38];" type_identifier (array_declarator "auStack_118 [38]" identifier [ number_literal ]) ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "uint local_78;" type_identifier identifier ;) (declaration "undefined4 local_74;" type_identifier identifier ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined1 *local_68;" type_identifier (pointer_declarator "*local_68" * identifier) ;) (declaration "undefined1 *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "undefined4 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined1 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined1 local_3d;" type_identifier identifier ;) (declaration "int local_3c [3];" primitive_type (array_declarator "local_3c [3]" identifier [ number_literal ]) ;) (expression_statement "local_80 = 0x4ee405;" (assignment_expression "local_80 = 0x4ee405" identifier = number_literal) ;) (expression_statement "local_74 = param_5;" (assignment_expression "local_74 = param_5" identifier = identifier) ;) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" identifier = identifier) ;) (expression_statement "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);" (assignment_expression "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" identifier = (cast_expression "(undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_004ee2c0(&local_3d,param_4 + 0xd0)" identifier (argument_list "(&local_3d,param_4 + 0xd0)" ( (pointer_expression "&local_3d" & identifier) , (binary_expression "param_4 + 0xd0" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = *(uint *)(param_4 + 0x18);" (assignment_expression "uVar13 = *(uint *)(param_4 + 0x18)" identifier = (pointer_expression "*(uint *)(param_4 + 0x18)" * (cast_expression "(uint *)(param_4 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "puVar9 = auStack_128;" (assignment_expression "puVar9 = auStack_128" identifier = identifier) ;) (expression_statement "puVar10 = auStack_128;" (assignment_expression "puVar10 = auStack_128" identifier = identifier) ;) (expression_statement "local_50 = local_68 + 0x50;" (assignment_expression "local_50 = local_68 + 0x50" identifier = (binary_expression "local_68 + 0x50" identifier + number_literal)) ;) (expression_statement "local_60 = auStack_120;" (assignment_expression "local_60 = auStack_120" identifier = identifier) ;) (expression_statement "local_78 = uVar13 & 0x4a;" (assignment_expression "local_78 = uVar13 & 0x4a" identifier = (binary_expression "uVar13 & 0x4a" identifier & number_literal)) ;) (expression_statement "bVar15 = local_78 != 0x40;" (assignment_expression "bVar15 = local_78 != 0x40" identifier = (binary_expression "local_78 != 0x40" identifier != number_literal)) ;) (expression_statement "bVar16 = local_78 != 8;" (assignment_expression "bVar16 = local_78 != 8" identifier = (binary_expression "local_78 != 8" identifier != number_literal)) ;) (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) (if_statement "if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }" if (parenthesized_expression "((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16))" ( (binary_expression "(param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)" (parenthesized_expression "(param_6 < 1)" ( (binary_expression "param_6 < 1" identifier < number_literal) )) && (parenthesized_expression "(lVar7 = -param_6, !bVar15 || !bVar16)" ( (comma_expression "lVar7 = -param_6, !bVar15 || !bVar16" (assignment_expression "lVar7 = -param_6" identifier = (unary_expression "-param_6" - identifier)) , (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier))) ))) )) (compound_statement "{\n    lVar7 = param_6;\n  }" { (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" identifier = identifier) ;) })) (expression_statement "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);" (assignment_expression "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13)" identifier = (cast_expression "(undefined4 *)CONCAT44(local_58._4_4_,uVar13)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_58._4_4_,uVar13)" identifier (argument_list "(local_58._4_4_,uVar13)" ( (field_expression "local_58._4_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "alStack_140[2] = 0x4ee473;" (assignment_expression "alStack_140[2] = 0x4ee473" (subscript_expression "alStack_140[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);" (assignment_expression "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (call_expression "FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" identifier (argument_list "(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" ( (pointer_expression "&local_80" & identifier) , identifier , identifier , identifier , (binary_expression "bVar15 && bVar16" identifier && identifier) )))) ;) (expression_statement "puVar12 = local_68;" (assignment_expression "puVar12 = local_68" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);" (assignment_expression "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" identifier = (cast_expression "(undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_60 + (long)(0x28 - local_3c[0]) * 4)" ( (binary_expression "local_60 + (long)(0x28 - local_3c[0]) * 4" identifier + (binary_expression "(long)(0x28 - local_3c[0]) * 4" (cast_expression "(long)(0x28 - local_3c[0])" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(0x28 - local_3c[0])" ( (binary_expression "0x28 - local_3c[0]" number_literal - (subscript_expression "local_3c[0]" identifier [ number_literal ])) ))) * number_literal)) )))) ;) (if_statement "if (local_68[0x20] == '\0') {\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" if (parenthesized_expression "(local_68[0x20] == '\0')" ( (binary_expression "local_68[0x20] == '\0'" (subscript_expression "local_68[0x20]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "uVar13 = (uint)local_58;" (assignment_expression "uVar13 = (uint)local_58" identifier = (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (bVar15 && bVar16) goto LAB_004ee4a3;" if (parenthesized_expression "(bVar15 && bVar16)" ( (binary_expression "bVar15 && bVar16" identifier && identifier) )) (goto_statement "goto LAB_004ee4a3;" goto statement_identifier ;)) (labeled_statement "LAB_004ee5f8:\n    puVar14 = puVar11;" statement_identifier : (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" identifier = identifier) ;)) (if_statement "if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" if (parenthesized_expression "(((uVar13 & 0x200) != 0) && (param_6 != 0))" ( (binary_expression "((uVar13 & 0x200) != 0) && (param_6 != 0)" (parenthesized_expression "((uVar13 & 0x200) != 0)" ( (binary_expression "(uVar13 & 0x200) != 0" (parenthesized_expression "(uVar13 & 0x200)" ( (binary_expression "uVar13 & 0x200" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(param_6 != 0)" ( (binary_expression "param_6 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" { (if_statement "if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" if (parenthesized_expression "(local_78 == 0x40)" ( (binary_expression "local_78 == 0x40" identifier == number_literal) )) (compound_statement "{\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" { (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" * (cast_expression "(undefined4 *)(puVar12 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x60)" ( (binary_expression "puVar12 + 0x60" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" else (compound_statement "{\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" { (expression_statement "local_3c[0] = local_3c[0] + 2;" (assignment_expression "local_3c[0] = local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 2" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -2;" (assignment_expression "puVar14 = puVar11 + -2" identifier = (binary_expression "puVar11 + -2" identifier + number_literal)) ;) (expression_statement "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);" (assignment_expression "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (subscript_expression "puVar11[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" * (cast_expression "(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" ( (binary_expression "local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4" identifier + (binary_expression "(long)(int)((uVar13 >> 0xe & 1) + 2) * 4" (cast_expression "(long)(int)((uVar13 >> 0xe & 1) + 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)((uVar13 >> 0xe & 1) + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar13 >> 0xe & 1) + 2)" ( (binary_expression "(uVar13 >> 0xe & 1) + 2" (parenthesized_expression "(uVar13 >> 0xe & 1)" ( (binary_expression "uVar13 >> 0xe & 1" (binary_expression "uVar13 >> 0xe" identifier >> number_literal) & number_literal) )) + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" * (cast_expression "(undefined4 *)(puVar12 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x60)" ( (binary_expression "puVar12 + 0x60" identifier + number_literal) ))))) ;) }))) })) (labeled_statement "LAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);" statement_identifier : (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;)) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" identifier = identifier) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }) (else_clause "else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" else (compound_statement "{\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" { (expression_statement "uVar1 = *(undefined4 *)(local_68 + 0x4c);" (assignment_expression "uVar1 = *(undefined4 *)(local_68 + 0x4c)" identifier = (pointer_expression "*(undefined4 *)(local_68 + 0x4c)" * (cast_expression "(undefined4 *)(local_68 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x4c)" ( (binary_expression "local_68 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined8 *)(local_68 + 0x10);" (assignment_expression "uVar3 = *(undefined8 *)(local_68 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(local_68 + 0x10)" * (cast_expression "(undefined8 *)(local_68 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x10)" ( (binary_expression "local_68 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined8 *)(local_68 + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(local_68 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(local_68 + 0x18)" * (cast_expression "(undefined8 *)(local_68 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_68 + 0x18)" ( (binary_expression "local_68 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);" (assignment_expression "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" identifier = (cast_expression "(undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT44(local_68._4_4_,(uint)local_58)" identifier (argument_list "(local_68._4_4_,(uint)local_58)" ( (field_expression "local_68._4_4_" identifier . field_identifier) , (cast_expression "(uint)local_58" ( (type_descriptor "uint" type_identifier) ) identifier) ))))) ;) (expression_statement "local_60 = puVar12;" (assignment_expression "local_60 = puVar12" identifier = identifier) ;) (expression_statement "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0" (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U" (binary_expression "(long)(local_3c[0] + 1) * 8" (cast_expression "(long)(local_3c[0] + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_3c[0] + 1)" ( (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal) ))) * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "puVar10 = auStack_128 + lVar7;" (assignment_expression "puVar10 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "puVar9 = auStack_128 + lVar7;" (assignment_expression "puVar9 = auStack_128 + lVar7" identifier = (binary_expression "auStack_128 + lVar7" identifier + identifier)) ;) (expression_statement "*(int **)(auStack_128 + lVar7 + -8) = local_3c;" (assignment_expression "*(int **)(auStack_128 + lVar7 + -8) = local_3c" (pointer_expression "*(int **)(auStack_128 + lVar7 + -8)" * (cast_expression "(int **)(auStack_128 + lVar7 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(auStack_128 + lVar7 + -8)" ( (binary_expression "auStack_128 + lVar7 + -8" (binary_expression "auStack_128 + lVar7" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;" (assignment_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11" (pointer_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8)" * (cast_expression "(undefined4 **)((long)alStack_140 + lVar7 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)alStack_140 + lVar7 + 8)" ( (binary_expression "(long)alStack_140 + lVar7 + 8" (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = local_70;" (assignment_expression "uVar6 = local_70" identifier = identifier) ;) (expression_statement "local_58 = (undefined4 *)((long)auStack_118 + lVar7);" (assignment_expression "local_58 = (undefined4 *)((long)auStack_118 + lVar7)" identifier = (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)auStack_118 + lVar7)" ( (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (expression_statement "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;" (assignment_expression "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df" (pointer_expression "*(undefined8 *)((long)alStack_140 + lVar7)" * (cast_expression "(undefined8 *)((long)alStack_140 + lVar7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)alStack_140 + lVar7)" ( (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));" (call_expression "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" identifier (argument_list "(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" ( identifier , identifier , identifier , identifier , identifier , (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)auStack_118 + lVar7)" ( (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) ))) ))) ;) (expression_statement "puVar11 = local_58;" (assignment_expression "puVar11 = local_58" identifier = identifier) ;) (expression_statement "puVar12 = local_60;" (assignment_expression "puVar12 = local_60" identifier = identifier) ;) (expression_statement "uVar13 = (uint)local_68;" (assignment_expression "uVar13 = (uint)local_68" identifier = (cast_expression "(uint)local_68" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (!bVar15 || !bVar16) goto LAB_004ee5f8;" if (parenthesized_expression "(!bVar15 || !bVar16)" ( (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" ! identifier) || (unary_expression "!bVar16" ! identifier)) )) (goto_statement "goto LAB_004ee5f8;" goto statement_identifier ;)) (labeled_statement "LAB_004ee4a3:\n    puVar10 = puVar9;" statement_identifier : (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" identifier = identifier) ;)) (if_statement "if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" if (parenthesized_expression "(param_6 < 0)" ( (binary_expression "param_6 < 0" identifier < number_literal) )) (compound_statement "{\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" { (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);" (assignment_expression "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50)" (subscript_expression "puVar11[-1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(puVar12 + 0x50)" * (cast_expression "(undefined4 *)(puVar12 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x50)" ( (binary_expression "puVar12 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;) })) (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" identifier = identifier) ;) (if_statement "if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;" if (parenthesized_expression "((uVar13 & 0x800) == 0)" ( (binary_expression "(uVar13 & 0x800) == 0" (parenthesized_expression "(uVar13 & 0x800)" ( (binary_expression "uVar13 & 0x800" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_004ee4b5;" goto statement_identifier ;)) (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) = (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" identifier = (binary_expression "puVar11 + -1" identifier + number_literal)) ;) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x54);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x54)" (pointer_expression "*puVar14" * identifier) = (pointer_expression "*(undefined4 *)(puVar12 + 0x54)" * (cast_expression "(undefined4 *)(puVar12 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x54)" ( (binary_expression "puVar12 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" identifier = (pointer_expression "*(long *)(param_4 + 0x10)" * (cast_expression "(long *)(param_4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" if (parenthesized_expression "(lVar7 <= lVar8)" ( (binary_expression "lVar7 <= lVar8" identifier <= identifier) )) (goto_statement "goto LAB_004ee4c2;" goto statement_identifier ;)) }))) (expression_statement "uVar3 = local_70;" (assignment_expression "uVar3 = local_70" identifier = identifier) ;) (expression_statement "uVar1 = local_74;" (assignment_expression "uVar1 = local_74" identifier = identifier) ;) (expression_statement "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" identifier = (unary_expression "-(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" - (parenthesized_expression "(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" ( (binary_expression "lVar7 * 4 + 0x17U & 0xfffffffffffffff0" (binary_expression "lVar7 * 4 + 0x17U" (binary_expression "lVar7 * 4" identifier * number_literal) + number_literal) & number_literal) )))) ;) (expression_statement "*(int **)(puVar9 + lVar5 + -0x10) = local_3c;" (assignment_expression "*(int **)(puVar9 + lVar5 + -0x10) = local_3c" (pointer_expression "*(int **)(puVar9 + lVar5 + -0x10)" * (cast_expression "(int **)(puVar9 + lVar5 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar9 + lVar5 + -0x10)" ( (binary_expression "puVar9 + lVar5 + -0x10" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);" (assignment_expression "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" identifier = (cast_expression "(undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" ( (binary_expression "(ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0" (call_expression "(ulong)(puVar9 + lVar5 + 0xf)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(puVar9 + lVar5 + 0xf)" ( (binary_expression "puVar9 + lVar5 + 0xf" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) ))) & number_literal) )))) ;) (expression_statement "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;" (assignment_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559" (pointer_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18)" * (cast_expression "(undefined8 *)(puVar9 + lVar5 + -0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + lVar5 + -0x18)" ( (binary_expression "puVar9 + lVar5 + -0x18" (binary_expression "puVar9 + lVar5" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);" (call_expression "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14)" identifier (argument_list "(uVar3,uVar1,lVar7,param_4,puVar14)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" identifier = (cast_expression "(long)local_3c[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_3c[0]" identifier [ number_literal ]))) ;) (expression_statement "puVar9 = puVar9 + lVar5;" (assignment_expression "puVar9 = puVar9 + lVar5" identifier = (binary_expression "puVar9 + lVar5" identifier + identifier)) ;) (labeled_statement "LAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;" statement_identifier : (expression_statement "*(undefined8 *)(param_4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_4 + 0x10)" * (cast_expression "(undefined8 *)(param_4 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x10)" ( (binary_expression "param_4 + 0x10" identifier + number_literal) )))) = number_literal) ;)) (if_statement "if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" { (expression_statement "pcVar2 = *(code **)(*param_2 + 0x60);" (assignment_expression "pcVar2 = *(code **)(*param_2 + 0x60)" identifier = (pointer_expression "*(code **)(*param_2 + 0x60)" * (cast_expression "(code **)(*param_2 + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x60)" ( (binary_expression "*param_2 + 0x60" (pointer_expression "*param_2" * identifier) + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2;" (assignment_expression "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2" (pointer_expression "*(undefined8 *)(puVar9 + -8)" * (cast_expression "(undefined8 *)(puVar9 + -8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar9 + -8)" ( (binary_expression "puVar9 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar7 = (*pcVar2)(param_2,puVar14,lVar8);" (assignment_expression "lVar7 = (*pcVar2)(param_2,puVar14,lVar8)" identifier = (call_expression "(*pcVar2)(param_2,puVar14,lVar8)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_2,puVar14,lVar8)" ( identifier , identifier , identifier )))) ;) (if_statement "if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }" if (parenthesized_expression "(lVar7 != lVar8)" ( (binary_expression "lVar7 != lVar8" identifier != identifier) )) (compound_statement "{\n      param_3 = '\x01';\n    }" { (expression_statement "param_3 = '\x01';" (assignment_expression "param_3 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;) })) })) (expression_statement "auVar17[8] = param_3;" (assignment_expression "auVar17[8] = param_3" (subscript_expression "auVar17[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "auVar17._0_8_ = param_2;" (assignment_expression "auVar17._0_8_ = param_2" (field_expression "auVar17._0_8_" identifier . field_identifier) = identifier) ;) (expression_statement "auVar17._9_7_ = 0;" (assignment_expression "auVar17._9_7_ = 0" (field_expression "auVar17._9_7_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar17;" return identifier ;) (ERROR "}" }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (declaration (macro_type_specifier IDENT ( (type_descriptor TYPE) )) IDENT , (ERROR IDENT) (pointer_declarator * IDENT) , (ERROR IDENT) IDENT , (ERROR IDENT) IDENT , IDENT (ERROR IDENT) , (ERROR IDENT IDENT ) { IDENT) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration (sized_type_specifier long) (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (unary_expression - IDENT)) , (binary_expression (unary_expression ! IDENT) || (unary_expression ! IDENT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , IDENT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , IDENT , (binary_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 IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression LIT - (subscript_expression IDENT [ LIT ])) ))) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT && IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (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 (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (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 + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) & LIT) )) + 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (subscript_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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + 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 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 (sized_type_specifier long)) ) IDENT) + IDENT) + LIT) )))) = 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 (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) ))) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) || (unary_expression ! IDENT)) )) (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 (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + 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 IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (subscript_expression IDENT [ LIT ]))) ;) (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 (sized_type_specifier long) (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 = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + 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 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 (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 ( IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (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) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_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 ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) })) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (return_statement return IDENT ;) (ERROR }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (declaration "FUN_004ee3d0(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,\n            long param_6)\n\n{\n  undefined4 uVar1;" (macro_type_specifier "FUN_004ee3d0(undefined8" (identifier "FUN_004ee3d0") (( "(") (type_descriptor "undefined8" (type_identifier "undefined8")) () "")) (identifier "param_1") (, ",") (ERROR "long" (identifier "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2")) (, ",") (ERROR "char" (identifier "char")) (identifier "param_3") (, ",") (ERROR "long" (identifier "long")) (identifier "param_4") (, ",") (identifier "undefined4") (ERROR "param_5" (identifier "param_5")) (, ",") (ERROR "long param_6)\n\n{\n  undefined4" (identifier "long") (identifier "param_6") () ")") ({ "{") (identifier "undefined4")) (identifier "uVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "undefined1 *puVar9;" (type_identifier "undefined1") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "undefined1 *puVar10;" (type_identifier "undefined1") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined1 *puVar12;" (type_identifier "undefined1") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "undefined4 *puVar14;" (type_identifier "undefined4") (pointer_declarator "*puVar14" (* "*") (identifier "puVar14")) (; ";")) (declaration "bool bVar15;" (primitive_type "bool") (identifier "bVar15") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "undefined1 auVar17 [16];" (type_identifier "undefined1") (array_declarator "auVar17 [16]" (identifier "auVar17") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "long alStack_140 [3];" (sized_type_specifier "long" (long "long")) (array_declarator "alStack_140 [3]" (identifier "alStack_140") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined1 auStack_128 [8];" (type_identifier "undefined1") (array_declarator "auStack_128 [8]" (identifier "auStack_128") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined1 auStack_120 [8];" (type_identifier "undefined1") (array_declarator "auStack_120 [8]" (identifier "auStack_120") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 auStack_118 [38];" (type_identifier "undefined4") (array_declarator "auStack_118 [38]" (identifier "auStack_118") ([ "[") (number_literal "38") (] "]")) (; ";")) (declaration "undefined8 local_80;" (type_identifier "undefined8") (identifier "local_80") (; ";")) (declaration "uint local_78;" (type_identifier "uint") (identifier "local_78") (; ";")) (declaration "undefined4 local_74;" (type_identifier "undefined4") (identifier "local_74") (; ";")) (declaration "undefined8 local_70;" (type_identifier "undefined8") (identifier "local_70") (; ";")) (declaration "undefined1 *local_68;" (type_identifier "undefined1") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "undefined1 *local_60;" (type_identifier "undefined1") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "undefined4 *local_58;" (type_identifier "undefined4") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "undefined1 *local_50;" (type_identifier "undefined1") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined1 local_3d;" (type_identifier "undefined1") (identifier "local_3d") (; ";")) (declaration "int local_3c [3];" (primitive_type "int") (array_declarator "local_3c [3]" (identifier "local_3c") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "local_80 = 0x4ee405;" (assignment_expression "local_80 = 0x4ee405" (identifier "local_80") (= "=") (number_literal "0x4ee405")) (; ";")) (expression_statement "local_74 = param_5;" (assignment_expression "local_74 = param_5" (identifier "local_74") (= "=") (identifier "param_5")) (; ";")) (expression_statement "local_70 = param_1;" (assignment_expression "local_70 = param_1" (identifier "local_70") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);" (assignment_expression "local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" (identifier "local_68") (= "=") (cast_expression "(undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_004ee2c0(&local_3d,param_4 + 0xd0)" (identifier "FUN_004ee2c0") (argument_list "(&local_3d,param_4 + 0xd0)" (( "(") (pointer_expression "&local_3d" (& "&") (identifier "local_3d")) (, ",") (binary_expression "param_4 + 0xd0" (identifier "param_4") (+ "+") (number_literal "0xd0")) () ")"))))) (; ";")) (expression_statement "uVar13 = *(uint *)(param_4 + 0x18);" (assignment_expression "uVar13 = *(uint *)(param_4 + 0x18)" (identifier "uVar13") (= "=") (pointer_expression "*(uint *)(param_4 + 0x18)" (* "*") (cast_expression "(uint *)(param_4 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x18)" (( "(") (binary_expression "param_4 + 0x18" (identifier "param_4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "puVar9 = auStack_128;" (assignment_expression "puVar9 = auStack_128" (identifier "puVar9") (= "=") (identifier "auStack_128")) (; ";")) (expression_statement "puVar10 = auStack_128;" (assignment_expression "puVar10 = auStack_128" (identifier "puVar10") (= "=") (identifier "auStack_128")) (; ";")) (expression_statement "local_50 = local_68 + 0x50;" (assignment_expression "local_50 = local_68 + 0x50" (identifier "local_50") (= "=") (binary_expression "local_68 + 0x50" (identifier "local_68") (+ "+") (number_literal "0x50"))) (; ";")) (expression_statement "local_60 = auStack_120;" (assignment_expression "local_60 = auStack_120" (identifier "local_60") (= "=") (identifier "auStack_120")) (; ";")) (expression_statement "local_78 = uVar13 & 0x4a;" (assignment_expression "local_78 = uVar13 & 0x4a" (identifier "local_78") (= "=") (binary_expression "uVar13 & 0x4a" (identifier "uVar13") (& "&") (number_literal "0x4a"))) (; ";")) (expression_statement "bVar15 = local_78 != 0x40;" (assignment_expression "bVar15 = local_78 != 0x40" (identifier "bVar15") (= "=") (binary_expression "local_78 != 0x40" (identifier "local_78") (!= "!=") (number_literal "0x40"))) (; ";")) (expression_statement "bVar16 = local_78 != 8;" (assignment_expression "bVar16 = local_78 != 8" (identifier "bVar16") (= "=") (binary_expression "local_78 != 8" (identifier "local_78") (!= "!=") (number_literal "8"))) (; ";")) (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" (identifier "lVar7") (= "=") (identifier "param_6")) (; ";")) (if_statement "if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {\n    lVar7 = param_6;\n  }" (if "if") (parenthesized_expression "((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16))" (( "(") (binary_expression "(param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)" (parenthesized_expression "(param_6 < 1)" (( "(") (binary_expression "param_6 < 1" (identifier "param_6") (< "<") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(lVar7 = -param_6, !bVar15 || !bVar16)" (( "(") (comma_expression "lVar7 = -param_6, !bVar15 || !bVar16" (assignment_expression "lVar7 = -param_6" (identifier "lVar7") (= "=") (unary_expression "-param_6" (- "-") (identifier "param_6"))) (, ",") (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" (! "!") (identifier "bVar15")) (|| "||") (unary_expression "!bVar16" (! "!") (identifier "bVar16")))) () ")"))) () ")")) (compound_statement "{\n    lVar7 = param_6;\n  }" ({ "{") (expression_statement "lVar7 = param_6;" (assignment_expression "lVar7 = param_6" (identifier "lVar7") (= "=") (identifier "param_6")) (; ";")) (} "}"))) (expression_statement "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);" (assignment_expression "local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13)" (identifier "local_58") (= "=") (cast_expression "(undefined4 *)CONCAT44(local_58._4_4_,uVar13)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "CONCAT44(local_58._4_4_,uVar13)" (identifier "CONCAT44") (argument_list "(local_58._4_4_,uVar13)" (( "(") (field_expression "local_58._4_4_" (identifier "local_58") (. ".") (field_identifier "_4_4_")) (, ",") (identifier "uVar13") () ")"))))) (; ";")) (expression_statement "alStack_140[2] = 0x4ee473;" (assignment_expression "alStack_140[2] = 0x4ee473" (subscript_expression "alStack_140[2]" (identifier "alStack_140") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x4ee473")) (; ";")) (expression_statement "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);" (assignment_expression "local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (call_expression "FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" (identifier "FUN_004edec0") (argument_list "(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16)" (( "(") (pointer_expression "&local_80" (& "&") (identifier "local_80")) (, ",") (identifier "lVar7") (, ",") (identifier "local_50") (, ",") (identifier "uVar13") (, ",") (binary_expression "bVar15 && bVar16" (identifier "bVar15") (&& "&&") (identifier "bVar16")) () ")")))) (; ";")) (expression_statement "puVar12 = local_68;" (assignment_expression "puVar12 = local_68" (identifier "puVar12") (= "=") (identifier "local_68")) (; ";")) (expression_statement "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);" (assignment_expression "puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_60 + (long)(0x28 - local_3c[0]) * 4)" (( "(") (binary_expression "local_60 + (long)(0x28 - local_3c[0]) * 4" (identifier "local_60") (+ "+") (binary_expression "(long)(0x28 - local_3c[0]) * 4" (cast_expression "(long)(0x28 - local_3c[0])" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(0x28 - local_3c[0])" (( "(") (binary_expression "0x28 - local_3c[0]" (number_literal "0x28") (- "-") (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]"))) () ")"))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (local_68[0x20] == '\0') {\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }\n  else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" (if "if") (parenthesized_expression "(local_68[0x20] == '\0')" (( "(") (binary_expression "local_68[0x20] == '\0'" (subscript_expression "local_68[0x20]" (identifier "local_68") ([ "[") (number_literal "0x20") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar13 = (uint)local_58;\n    if (bVar15 && bVar16) goto LAB_004ee4a3;\nLAB_004ee5f8:\n    puVar14 = puVar11;\n    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }\nLAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);\n    lVar8 = (long)local_3c[0];\n    puVar9 = puVar10;\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" ({ "{") (expression_statement "uVar13 = (uint)local_58;" (assignment_expression "uVar13 = (uint)local_58" (identifier "uVar13") (= "=") (cast_expression "(uint)local_58" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_58"))) (; ";")) (if_statement "if (bVar15 && bVar16) goto LAB_004ee4a3;" (if "if") (parenthesized_expression "(bVar15 && bVar16)" (( "(") (binary_expression "bVar15 && bVar16" (identifier "bVar15") (&& "&&") (identifier "bVar16")) () ")")) (goto_statement "goto LAB_004ee4a3;" (goto "goto") (statement_identifier "LAB_004ee4a3") (; ";"))) (labeled_statement "LAB_004ee5f8:\n    puVar14 = puVar11;" (statement_identifier "LAB_004ee5f8") (: ":") (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" (identifier "puVar14") (= "=") (identifier "puVar11")) (; ";"))) (if_statement "if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" (if "if") (parenthesized_expression "(((uVar13 & 0x200) != 0) && (param_6 != 0))" (( "(") (binary_expression "((uVar13 & 0x200) != 0) && (param_6 != 0)" (parenthesized_expression "((uVar13 & 0x200) != 0)" (( "(") (binary_expression "(uVar13 & 0x200) != 0" (parenthesized_expression "(uVar13 & 0x200)" (( "(") (binary_expression "uVar13 & 0x200" (identifier "uVar13") (& "&") (number_literal "0x200")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_6 != 0)" (( "(") (binary_expression "param_6 != 0" (identifier "param_6") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n    }" ({ "{") (if_statement "if (local_78 == 0x40) {\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }\n      else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" (if "if") (parenthesized_expression "(local_78 == 0x40)" (( "(") (binary_expression "local_78 == 0x40" (identifier "local_78") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n        local_3c[0] = local_3c[0] + 1;\n        puVar14 = puVar11 + -1;\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" ({ "{") (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" (identifier "puVar14") (= "=") (binary_expression "puVar11 + -1" (identifier "puVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" (* "*") (cast_expression "(undefined4 *)(puVar12 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x60)" (( "(") (binary_expression "puVar12 + 0x60" (identifier "puVar12") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" (else "else") (compound_statement "{\n        local_3c[0] = local_3c[0] + 2;\n        puVar14 = puVar11 + -2;\n        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);\n        *puVar14 = *(undefined4 *)(puVar12 + 0x60);\n      }" ({ "{") (expression_statement "local_3c[0] = local_3c[0] + 2;" (assignment_expression "local_3c[0] = local_3c[0] + 2" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_3c[0] + 2" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar14 = puVar11 + -2;" (assignment_expression "puVar14 = puVar11 + -2" (identifier "puVar14") (= "=") (binary_expression "puVar11 + -2" (identifier "puVar11") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);" (assignment_expression "puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (subscript_expression "puVar11[-1]" (identifier "puVar11") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (* "*") (cast_expression "(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4)" (( "(") (binary_expression "local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4" (identifier "local_50") (+ "+") (binary_expression "(long)(int)((uVar13 >> 0xe & 1) + 2) * 4" (cast_expression "(long)(int)((uVar13 >> 0xe & 1) + 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)((uVar13 >> 0xe & 1) + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uVar13 >> 0xe & 1) + 2)" (( "(") (binary_expression "(uVar13 >> 0xe & 1) + 2" (parenthesized_expression "(uVar13 >> 0xe & 1)" (( "(") (binary_expression "uVar13 >> 0xe & 1" (binary_expression "uVar13 >> 0xe" (identifier "uVar13") (>> ">>") (number_literal "0xe")) (& "&") (number_literal "1")) () ")")) (+ "+") (number_literal "2")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x60);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x60)" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (pointer_expression "*(undefined4 *)(puVar12 + 0x60)" (* "*") (cast_expression "(undefined4 *)(puVar12 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x60)" (( "(") (binary_expression "puVar12 + 0x60" (identifier "puVar12") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_004ee4b5:\n    lVar7 = *(long *)(param_4 + 0x10);" (statement_identifier "LAB_004ee4b5") (: ":") (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(param_4 + 0x10)" (* "*") (cast_expression "(long *)(param_4 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";"))) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" (identifier "lVar8") (= "=") (cast_expression "(long)local_3c[0]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "puVar9 = puVar10;" (assignment_expression "puVar9 = puVar10" (identifier "puVar9") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" (if "if") (parenthesized_expression "(lVar7 <= lVar8)" (( "(") (binary_expression "lVar7 <= lVar8" (identifier "lVar7") (<= "<=") (identifier "lVar8")) () ")")) (goto_statement "goto LAB_004ee4c2;" (goto "goto") (statement_identifier "LAB_004ee4c2") (; ";"))) (} "}")) (else_clause "else {\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" (else "else") (compound_statement "{\n    uVar1 = *(undefined4 *)(local_68 + 0x4c);\n    uVar3 = *(undefined8 *)(local_68 + 0x10);\n    uVar4 = *(undefined8 *)(local_68 + 0x18);\n    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);\n    local_60 = puVar12;\n    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);\n    puVar10 = auStack_128 + lVar7;\n    puVar9 = auStack_128 + lVar7;\n    *(int **)(auStack_128 + lVar7 + -8) = local_3c;\n    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;\n    uVar6 = local_70;\n    local_58 = (undefined4 *)((long)auStack_118 + lVar7);\n    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;\n    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));\n    puVar11 = local_58;\n    puVar12 = local_60;\n    uVar13 = (uint)local_68;\n    if (!bVar15 || !bVar16) goto LAB_004ee5f8;\nLAB_004ee4a3:\n    puVar10 = puVar9;\n    if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }\n    puVar14 = puVar11;\n    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;\n    local_3c[0] = local_3c[0] + 1;\n    puVar14 = puVar11 + -1;\n    lVar8 = (long)local_3c[0];\n    *puVar14 = *(undefined4 *)(puVar12 + 0x54);\n    lVar7 = *(long *)(param_4 + 0x10);\n    if (lVar7 <= lVar8) goto LAB_004ee4c2;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(local_68 + 0x4c);" (assignment_expression "uVar1 = *(undefined4 *)(local_68 + 0x4c)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(local_68 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(local_68 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_68 + 0x4c)" (( "(") (binary_expression "local_68 + 0x4c" (identifier "local_68") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined8 *)(local_68 + 0x10);" (assignment_expression "uVar3 = *(undefined8 *)(local_68 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(local_68 + 0x10)" (* "*") (cast_expression "(undefined8 *)(local_68 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_68 + 0x10)" (( "(") (binary_expression "local_68 + 0x10" (identifier "local_68") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined8 *)(local_68 + 0x18);" (assignment_expression "uVar4 = *(undefined8 *)(local_68 + 0x18)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined8 *)(local_68 + 0x18)" (* "*") (cast_expression "(undefined8 *)(local_68 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_68 + 0x18)" (( "(") (binary_expression "local_68 + 0x18" (identifier "local_68") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);" (assignment_expression "local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" (identifier "local_68") (= "=") (cast_expression "(undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "CONCAT44(local_68._4_4_,(uint)local_58)" (identifier "CONCAT44") (argument_list "(local_68._4_4_,(uint)local_58)" (( "(") (field_expression "local_68._4_4_" (identifier "local_68") (. ".") (field_identifier "_4_4_")) (, ",") (cast_expression "(uint)local_58" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_58")) () ")"))))) (; ";")) (expression_statement "local_60 = puVar12;" (assignment_expression "local_60 = puVar12" (identifier "local_60") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" (identifier "lVar7") (= "=") (unary_expression "-((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" (- "-") (parenthesized_expression "((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0)" (( "(") (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0" (binary_expression "(long)(local_3c[0] + 1) * 8 + 0x17U" (binary_expression "(long)(local_3c[0] + 1) * 8" (cast_expression "(long)(local_3c[0] + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(local_3c[0] + 1)" (( "(") (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1")) () ")"))) (* "*") (number_literal "8")) (+ "+") (number_literal "0x17U")) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "puVar10 = auStack_128 + lVar7;" (assignment_expression "puVar10 = auStack_128 + lVar7" (identifier "puVar10") (= "=") (binary_expression "auStack_128 + lVar7" (identifier "auStack_128") (+ "+") (identifier "lVar7"))) (; ";")) (expression_statement "puVar9 = auStack_128 + lVar7;" (assignment_expression "puVar9 = auStack_128 + lVar7" (identifier "puVar9") (= "=") (binary_expression "auStack_128 + lVar7" (identifier "auStack_128") (+ "+") (identifier "lVar7"))) (; ";")) (expression_statement "*(int **)(auStack_128 + lVar7 + -8) = local_3c;" (assignment_expression "*(int **)(auStack_128 + lVar7 + -8) = local_3c" (pointer_expression "*(int **)(auStack_128 + lVar7 + -8)" (* "*") (cast_expression "(int **)(auStack_128 + lVar7 + -8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(auStack_128 + lVar7 + -8)" (( "(") (binary_expression "auStack_128 + lVar7 + -8" (binary_expression "auStack_128 + lVar7" (identifier "auStack_128") (+ "+") (identifier "lVar7")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;" (assignment_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11" (pointer_expression "*(undefined4 **)((long)alStack_140 + lVar7 + 8)" (* "*") (cast_expression "(undefined4 **)((long)alStack_140 + lVar7 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)alStack_140 + lVar7 + 8)" (( "(") (binary_expression "(long)alStack_140 + lVar7 + 8" (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_140")) (+ "+") (identifier "lVar7")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "puVar11")) (; ";")) (expression_statement "uVar6 = local_70;" (assignment_expression "uVar6 = local_70" (identifier "uVar6") (= "=") (identifier "local_70")) (; ";")) (expression_statement "local_58 = (undefined4 *)((long)auStack_118 + lVar7);" (assignment_expression "local_58 = (undefined4 *)((long)auStack_118 + lVar7)" (identifier "local_58") (= "=") (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)auStack_118 + lVar7)" (( "(") (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "auStack_118")) (+ "+") (identifier "lVar7")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;" (assignment_expression "*(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df" (pointer_expression "*(undefined8 *)((long)alStack_140 + lVar7)" (* "*") (cast_expression "(undefined8 *)((long)alStack_140 + lVar7)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)alStack_140 + lVar7)" (( "(") (binary_expression "(long)alStack_140 + lVar7" (cast_expression "(long)alStack_140" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "alStack_140")) (+ "+") (identifier "lVar7")) () ")")))) (= "=") (number_literal "0x4ee5df")) (; ";")) (expression_statement "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));" (call_expression "FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" (identifier "FUN_004eccf0") (argument_list "(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7))" (( "(") (identifier "uVar6") (, ",") (identifier "uVar3") (, ",") (identifier "uVar4") (, ",") (identifier "uVar1") (, ",") (identifier "param_4") (, ",") (cast_expression "(undefined4 *)((long)auStack_118 + lVar7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)auStack_118 + lVar7)" (( "(") (binary_expression "(long)auStack_118 + lVar7" (cast_expression "(long)auStack_118" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "auStack_118")) (+ "+") (identifier "lVar7")) () ")"))) () ")"))) (; ";")) (expression_statement "puVar11 = local_58;" (assignment_expression "puVar11 = local_58" (identifier "puVar11") (= "=") (identifier "local_58")) (; ";")) (expression_statement "puVar12 = local_60;" (assignment_expression "puVar12 = local_60" (identifier "puVar12") (= "=") (identifier "local_60")) (; ";")) (expression_statement "uVar13 = (uint)local_68;" (assignment_expression "uVar13 = (uint)local_68" (identifier "uVar13") (= "=") (cast_expression "(uint)local_68" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_68"))) (; ";")) (if_statement "if (!bVar15 || !bVar16) goto LAB_004ee5f8;" (if "if") (parenthesized_expression "(!bVar15 || !bVar16)" (( "(") (binary_expression "!bVar15 || !bVar16" (unary_expression "!bVar15" (! "!") (identifier "bVar15")) (|| "||") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (goto_statement "goto LAB_004ee5f8;" (goto "goto") (statement_identifier "LAB_004ee5f8") (; ";"))) (labeled_statement "LAB_004ee4a3:\n    puVar10 = puVar9;" (statement_identifier "LAB_004ee4a3") (: ":") (expression_statement "puVar10 = puVar9;" (assignment_expression "puVar10 = puVar9" (identifier "puVar10") (= "=") (identifier "puVar9")) (; ";"))) (if_statement "if (param_6 < 0) {\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" (if "if") (parenthesized_expression "(param_6 < 0)" (( "(") (binary_expression "param_6 < 0" (identifier "param_6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      local_3c[0] = local_3c[0] + 1;\n      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);\n      puVar14 = puVar11 + -1;\n      goto LAB_004ee4b5;\n    }" ({ "{") (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);" (assignment_expression "puVar11[-1] = *(undefined4 *)(puVar12 + 0x50)" (subscript_expression "puVar11[-1]" (identifier "puVar11") ([ "[") (number_literal "-1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(puVar12 + 0x50)" (* "*") (cast_expression "(undefined4 *)(puVar12 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x50)" (( "(") (binary_expression "puVar12 + 0x50" (identifier "puVar12") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" (identifier "puVar14") (= "=") (binary_expression "puVar11 + -1" (identifier "puVar11") (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto LAB_004ee4b5;" (goto "goto") (statement_identifier "LAB_004ee4b5") (; ";")) (} "}"))) (expression_statement "puVar14 = puVar11;" (assignment_expression "puVar14 = puVar11" (identifier "puVar14") (= "=") (identifier "puVar11")) (; ";")) (if_statement "if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;" (if "if") (parenthesized_expression "((uVar13 & 0x800) == 0)" (( "(") (binary_expression "(uVar13 & 0x800) == 0" (parenthesized_expression "(uVar13 & 0x800)" (( "(") (binary_expression "uVar13 & 0x800" (identifier "uVar13") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_004ee4b5;" (goto "goto") (statement_identifier "LAB_004ee4b5") (; ";"))) (expression_statement "local_3c[0] = local_3c[0] + 1;" (assignment_expression "local_3c[0] = local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_3c[0] + 1" (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar14 = puVar11 + -1;" (assignment_expression "puVar14 = puVar11 + -1" (identifier "puVar14") (= "=") (binary_expression "puVar11 + -1" (identifier "puVar11") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" (identifier "lVar8") (= "=") (cast_expression "(long)local_3c[0]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "*puVar14 = *(undefined4 *)(puVar12 + 0x54);" (assignment_expression "*puVar14 = *(undefined4 *)(puVar12 + 0x54)" (pointer_expression "*puVar14" (* "*") (identifier "puVar14")) (= "=") (pointer_expression "*(undefined4 *)(puVar12 + 0x54)" (* "*") (cast_expression "(undefined4 *)(puVar12 + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x54)" (( "(") (binary_expression "puVar12 + 0x54" (identifier "puVar12") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "lVar7 = *(long *)(param_4 + 0x10);" (assignment_expression "lVar7 = *(long *)(param_4 + 0x10)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(param_4 + 0x10)" (* "*") (cast_expression "(long *)(param_4 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (lVar7 <= lVar8) goto LAB_004ee4c2;" (if "if") (parenthesized_expression "(lVar7 <= lVar8)" (( "(") (binary_expression "lVar7 <= lVar8" (identifier "lVar7") (<= "<=") (identifier "lVar8")) () ")")) (goto_statement "goto LAB_004ee4c2;" (goto "goto") (statement_identifier "LAB_004ee4c2") (; ";"))) (} "}")))) (expression_statement "uVar3 = local_70;" (assignment_expression "uVar3 = local_70" (identifier "uVar3") (= "=") (identifier "local_70")) (; ";")) (expression_statement "uVar1 = local_74;" (assignment_expression "uVar1 = local_74" (identifier "uVar1") (= "=") (identifier "local_74")) (; ";")) (expression_statement "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);" (assignment_expression "lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" (identifier "lVar5") (= "=") (unary_expression "-(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" (- "-") (parenthesized_expression "(lVar7 * 4 + 0x17U & 0xfffffffffffffff0)" (( "(") (binary_expression "lVar7 * 4 + 0x17U & 0xfffffffffffffff0" (binary_expression "lVar7 * 4 + 0x17U" (binary_expression "lVar7 * 4" (identifier "lVar7") (* "*") (number_literal "4")) (+ "+") (number_literal "0x17U")) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "*(int **)(puVar9 + lVar5 + -0x10) = local_3c;" (assignment_expression "*(int **)(puVar9 + lVar5 + -0x10) = local_3c" (pointer_expression "*(int **)(puVar9 + lVar5 + -0x10)" (* "*") (cast_expression "(int **)(puVar9 + lVar5 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar9 + lVar5 + -0x10)" (( "(") (binary_expression "puVar9 + lVar5 + -0x10" (binary_expression "puVar9 + lVar5" (identifier "puVar9") (+ "+") (identifier "lVar5")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);" (assignment_expression "puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" (identifier "puVar14") (= "=") (cast_expression "(undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0)" (( "(") (binary_expression "(ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0" (call_expression "(ulong)(puVar9 + lVar5 + 0xf)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(puVar9 + lVar5 + 0xf)" (( "(") (binary_expression "puVar9 + lVar5 + 0xf" (binary_expression "puVar9 + lVar5" (identifier "puVar9") (+ "+") (identifier "lVar5")) (+ "+") (number_literal "0xf")) () ")"))) (& "&") (number_literal "0xfffffffffffffff0")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;" (assignment_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559" (pointer_expression "*(undefined8 *)(puVar9 + lVar5 + -0x18)" (* "*") (cast_expression "(undefined8 *)(puVar9 + lVar5 + -0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + lVar5 + -0x18)" (( "(") (binary_expression "puVar9 + lVar5 + -0x18" (binary_expression "puVar9 + lVar5" (identifier "puVar9") (+ "+") (identifier "lVar5")) (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (number_literal "0x4ee559")) (; ";")) (expression_statement "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);" (call_expression "FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14)" (identifier "FUN_004ede90") (argument_list "(uVar3,uVar1,lVar7,param_4,puVar14)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "lVar7") (, ",") (identifier "param_4") (, ",") (identifier "puVar14") () ")"))) (; ";")) (expression_statement "lVar8 = (long)local_3c[0];" (assignment_expression "lVar8 = (long)local_3c[0]" (identifier "lVar8") (= "=") (cast_expression "(long)local_3c[0]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (subscript_expression "local_3c[0]" (identifier "local_3c") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "puVar9 = puVar9 + lVar5;" (assignment_expression "puVar9 = puVar9 + lVar5" (identifier "puVar9") (= "=") (binary_expression "puVar9 + lVar5" (identifier "puVar9") (+ "+") (identifier "lVar5"))) (; ";")) (labeled_statement "LAB_004ee4c2:\n  *(undefined8 *)(param_4 + 0x10) = 0;" (statement_identifier "LAB_004ee4c2") (: ":") (expression_statement "*(undefined8 *)(param_4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_4 + 0x10)" (* "*") (cast_expression "(undefined8 *)(param_4 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x10)" (( "(") (binary_expression "param_4 + 0x10" (identifier "param_4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (if_statement "if (param_3 == '\0') {\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" (if "if") (parenthesized_expression "(param_3 == '\0')" (( "(") (binary_expression "param_3 == '\0'" (identifier "param_3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar2 = *(code **)(*param_2 + 0x60);\n    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;\n    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);\n    if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }\n  }" ({ "{") (expression_statement "pcVar2 = *(code **)(*param_2 + 0x60);" (assignment_expression "pcVar2 = *(code **)(*param_2 + 0x60)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(*param_2 + 0x60)" (* "*") (cast_expression "(code **)(*param_2 + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x60)" (( "(") (binary_expression "*param_2 + 0x60" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2;" (assignment_expression "*(undefined8 *)(puVar9 + -8) = 0x4ee4e2" (pointer_expression "*(undefined8 *)(puVar9 + -8)" (* "*") (cast_expression "(undefined8 *)(puVar9 + -8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar9 + -8)" (( "(") (binary_expression "puVar9 + -8" (identifier "puVar9") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x4ee4e2")) (; ";")) (expression_statement "lVar7 = (*pcVar2)(param_2,puVar14,lVar8);" (assignment_expression "lVar7 = (*pcVar2)(param_2,puVar14,lVar8)" (identifier "lVar7") (= "=") (call_expression "(*pcVar2)(param_2,puVar14,lVar8)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(param_2,puVar14,lVar8)" (( "(") (identifier "param_2") (, ",") (identifier "puVar14") (, ",") (identifier "lVar8") () ")")))) (; ";")) (if_statement "if (lVar7 != lVar8) {\n      param_3 = '\x01';\n    }" (if "if") (parenthesized_expression "(lVar7 != lVar8)" (( "(") (binary_expression "lVar7 != lVar8" (identifier "lVar7") (!= "!=") (identifier "lVar8")) () ")")) (compound_statement "{\n      param_3 = '\x01';\n    }" ({ "{") (expression_statement "param_3 = '\x01';" (assignment_expression "param_3 = '\x01'" (identifier "param_3") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "auVar17[8] = param_3;" (assignment_expression "auVar17[8] = param_3" (subscript_expression "auVar17[8]" (identifier "auVar17") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "auVar17._0_8_ = param_2;" (assignment_expression "auVar17._0_8_ = param_2" (field_expression "auVar17._0_8_" (identifier "auVar17") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "auVar17._9_7_ = 0;" (assignment_expression "auVar17._9_7_ = 0" (field_expression "auVar17._9_7_" (identifier "auVar17") (. ".") (field_identifier "_9_7_")) (= "=") (number_literal "0")) (; ";")) (return_statement "return auVar17;" (return "return") (identifier "auVar17") (; ";")) (ERROR "}" (} "}"))

/* std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> > std::num_put<wchar_t,
   std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
   >::_M_insert_int<long>(std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >,
   std::ios_base&, wchar_t, long) const */

type_4  [16]
std::num_put<type_1,var_4::ostreambuf_iterator<type_1,var_4::var_1<type_1>>>::
_M_insert_int<long>(num_put<type_1,var_4::ostreambuf_iterator<type_1,var_4::var_1<type_1>>>
                    *param_1,long *param_2,char var_27,ios_base *var_6,type_1 param_5,
                   long var_10)

{
  type_1 wVar1;
  type_2 *pcVar2;
  char *pcVar3;
  type_3 uVar4;
  long var_25;
  num_put<type_1,var_4::ostreambuf_iterator<type_1,var_4::var_1<type_1>>> *pnVar6;
  long var_20;
  long var_21;
  type_4 *var_24;
  type_4 *puVar10;
  type_1 *pwVar11;
  type_1 *var_17;
  type_4 *var_18;
  type_5 var_8;
  bool var_14;
  bool var_15;
  type_4 auVar17 [16];
  long alStack_140 [3];
  type_4 var_22 [8];
  type_4 auStack_120 [8];
  type_1 awStack_118 [38];
  type_6 local_80;
  type_5 var_9;
  type_1 local_74;
  num_put<type_1,var_4::ostreambuf_iterator<type_1,var_4::var_1<type_1>>> *local_70;
  type_4 *var_7;
  type_4 *var_16;
  type_1 *local_58;
  type_4 *var_19;
  __use_cache<var_4::var_2<type_1>> var_3;
  int local_3c [3];
  
  local_80 = 0x4ee405;
  local_74 = param_5;
  local_70 = param_1;
  var_7 = (type_4 *)
             __use_cache<var_4::var_2<type_1>>::var_5()
                       (&var_3,(type_7 *)(var_6 + 0xd0));
  var_8 = *(type_5 *)(var_6 + 0x18);
  var_24 = var_22;
  puVar10 = var_22;
  var_19 = var_7 + 0x50;
  var_16 = auStack_120;
  var_9 = var_8 & 0x4a;
  var_14 = var_9 != 0x40;
  var_15 = var_9 != 8;
  var_20 = var_10;
  if ((var_10 < 1) && (var_20 = -var_10, !var_14 || !var_15)) {
    var_20 = var_10;
  }
  local_58 = (type_1 *)var_11(local_58._4_4_,var_8);
  alStack_140[2] = 0x4ee473;
  local_3c[0] = var_12<type_1,var_13>
                          (&local_80,var_20,var_19,var_8,var_14 && var_15);
  var_18 = var_7;
  var_17 = (type_1 *)(var_16 + (long)(0x28 - local_3c[0]) * 4);
  if (var_7[0x20] == '\0') {
    var_8 = (type_5)local_58;
    if (var_14 && var_15) goto LAB_004ee4a3;
LAB_004ee5f8:
    pwVar11 = var_17;
    if (((var_8 & 0x200) != 0) && (var_10 != 0)) {
      if (var_9 == 0x40) {
        pwVar11 = var_17 + -1;
        local_3c[0] = local_3c[0] + 1;
        *pwVar11 = *(type_1 *)(var_18 + 0x60);
      }
      else {
        pwVar11 = var_17 + -2;
        local_3c[0] = local_3c[0] + 2;
        var_17[-1] = *(type_1 *)(var_19 + (long)(int)((var_8 >> 0xe & 1) + 2) * 4);
        *pwVar11 = *(type_1 *)(var_18 + 0x60);
      }
    }
LAB_004ee4b5:
    var_20 = *(long *)(var_6 + 0x10);
    var_21 = (long)local_3c[0];
    var_24 = puVar10;
    if (var_20 <= var_21) goto LAB_004ee4c2;
  }
  else {
    wVar1 = *(type_1 *)(var_7 + 0x4c);
    pcVar3 = *(char **)(var_7 + 0x10);
    uVar4 = *(type_3 *)(var_7 + 0x18);
    var_7 = (type_4 *)var_11(var_7._4_4_,(type_5)local_58);
    var_16 = var_18;
    var_20 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);
    puVar10 = var_22 + var_20;
    var_24 = var_22 + var_20;
    *(int **)(var_22 + var_20 + -8) = local_3c;
    *(type_1 **)((long)alStack_140 + var_20 + 8) = var_17;
    pnVar6 = local_70;
    local_58 = (type_1 *)((long)awStack_118 + var_20);
    *(type_6 *)((long)alStack_140 + var_20) = 0x4ee5df;
    var_23(pnVar6,pcVar3,uVar4,wVar1,var_6,(type_1 *)((long)awStack_118 + var_20),
                 *(type_1 **)((long)alStack_140 + var_20 + 8),*(int **)(var_22 + var_20 + -8));
    var_17 = local_58;
    var_18 = var_16;
    var_8 = (type_5)var_7;
    if (!var_14 || !var_15) goto LAB_004ee5f8;
LAB_004ee4a3:
    puVar10 = var_24;
    if (var_10 < 0) {
      local_3c[0] = local_3c[0] + 1;
      var_17[-1] = *(type_1 *)(var_18 + 0x50);
      pwVar11 = var_17 + -1;
      goto LAB_004ee4b5;
    }
    pwVar11 = var_17;
    if ((var_8 & 0x800) == 0) goto LAB_004ee4b5;
    pwVar11 = var_17 + -1;
    var_21 = (long)(local_3c[0] + 1);
    local_3c[0] = local_3c[0] + 1;
    *pwVar11 = *(type_1 *)(var_18 + 0x54);
    var_20 = *(long *)(var_6 + 0x10);
    if (var_20 <= var_21) goto LAB_004ee4c2;
  }
  pnVar6 = local_70;
  wVar1 = local_74;
  var_25 = -(var_20 * 4 + 0x17U & 0xfffffffffffffff0);
  puVar10 = var_24 + var_25 + 0xf;
  *(int **)(var_24 + var_25 + -0x10) = local_3c;
  *(type_6 *)(var_24 + var_25 + -0x18) = 0x4ee559;
  var_26(pnVar6,wVar1,var_20,var_6,(type_1 *)((type_3)puVar10 & 0xfffffffffffffff0),pwVar11,
         *(int **)(var_24 + var_25 + -0x10));
  var_21 = (long)local_3c[0];
  var_24 = var_24 + var_25;
  pwVar11 = (type_1 *)((type_3)puVar10 & 0xfffffffffffffff0);
LAB_004ee4c2:
  *(type_6 *)(var_6 + 0x10) = 0;
  if (var_27 == '\0') {
    pcVar2 = *(type_2 **)(*param_2 + 0x60);
    *(type_6 *)(var_24 + -8) = 0x4ee4e2;
    var_20 = (*pcVar2)(param_2,pwVar11,var_21);
    if (var_20 != var_21) {
      var_27 = '\x01';
    }
  }
  auVar17[8] = var_27;
  auVar17._0_8_ = param_2;
  auVar17._9_7_ = 0;
  return auVar17;
}


(translation_unit (expression_statement (subscript_expression argument: (identifier) index: (number_literal)) (MISSING ";")) (declaration type: (macro_type_specifier name: (identifier) type: (type_descriptor type: (type_identifier)) (MISSING ")")) declarator: (identifier) (ERROR (identifier)) declarator: (pointer_declarator declarator: (identifier)) (ERROR (identifier)) declarator: (identifier) (ERROR (identifier)) declarator: (identifier) declarator: (identifier) (ERROR (identifier)) (ERROR (identifier) (identifier) (identifier)) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (unary_expression argument: (identifier))) right: (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier))))))) consequence: (compound_statement (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: (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: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (identifier) (binary_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: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (number_literal) right: (subscript_expression argument: (identifier) index: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (subscript_expression argument: (identifier) index: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (field_expression argument: (identifier) field: (field_identifier)) (cast_expression type: (type_descriptor type: (type_identifier)) 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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (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: (sized_type_specifier)) value: (identifier)) right: (identifier)) right: (number_literal))))) 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: (sized_type_specifier)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (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)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (unary_expression argument: (identifier)))) 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: (subscript_expression argument: (identifier) index: (number_literal)) 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: (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))) (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: (subscript_expression argument: (identifier) index: (number_literal)) 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: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (subscript_expression argument: (identifier) index: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (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: (identifier) right: (number_literal)) 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: (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: (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 (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (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)))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (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 (identifier) (identifier) (identifier))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (return_statement (identifier)) (ERROR))

undefined1  [16]
MASKED(undefined8 param_1,long *param_2,char param_3,long param_4,undefined4 param_5,
            long param_6)

{
  undefined4 uVar1;
  code *pcVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  long lVar5;
  undefined8 uVar6;
  long lVar7;
  long lVar8;
  undefined1 *puVar9;
  undefined1 *puVar10;
  undefined4 *puVar11;
  undefined1 *puVar12;
  uint uVar13;
  undefined4 *puVar14;
  bool bVar15;
  bool bVar16;
  undefined1 auVar17 [16];
  long alStack_140 [3];
  undefined1 auStack_128 [8];
  undefined1 auStack_120 [8];
  undefined4 auStack_118 [38];
  undefined8 local_80;
  uint local_78;
  undefined4 local_74;
  undefined8 local_70;
  undefined1 *local_68;
  undefined1 *local_60;
  undefined4 *local_58;
  undefined1 *local_50;
  undefined1 local_3d;
  int local_3c [3];
  
  local_80 = 0x4ee405;
  local_74 = param_5;
  local_70 = param_1;
  local_68 = (undefined1 *)FUN_004ee2c0(&local_3d,param_4 + 0xd0);
  uVar13 = *(uint *)(param_4 + 0x18);
  puVar9 = auStack_128;
  puVar10 = auStack_128;
  local_50 = local_68 + 0x50;
  local_60 = auStack_120;
  local_78 = uVar13 & 0x4a;
  bVar15 = local_78 != 0x40;
  bVar16 = local_78 != 8;
  lVar7 = param_6;
  if ((param_6 < 1) && (lVar7 = -param_6, !bVar15 || !bVar16)) {
    lVar7 = param_6;
  }
  local_58 = (undefined4 *)CONCAT44(local_58._4_4_,uVar13);
  alStack_140[2] = 0x4ee473;
  local_3c[0] = FUN_004edec0(&local_80,lVar7,local_50,uVar13,bVar15 && bVar16);
  puVar12 = local_68;
  puVar11 = (undefined4 *)(local_60 + (long)(0x28 - local_3c[0]) * 4);
  if (local_68[0x20] == '\0') {
    uVar13 = (uint)local_58;
    if (bVar15 && bVar16) goto LAB_004ee4a3;
LAB_004ee5f8:
    puVar14 = puVar11;
    if (((uVar13 & 0x200) != 0) && (param_6 != 0)) {
      if (local_78 == 0x40) {
        local_3c[0] = local_3c[0] + 1;
        puVar14 = puVar11 + -1;
        *puVar14 = *(undefined4 *)(puVar12 + 0x60);
      }
      else {
        local_3c[0] = local_3c[0] + 2;
        puVar14 = puVar11 + -2;
        puVar11[-1] = *(undefined4 *)(local_50 + (long)(int)((uVar13 >> 0xe & 1) + 2) * 4);
        *puVar14 = *(undefined4 *)(puVar12 + 0x60);
      }
    }
LAB_004ee4b5:
    lVar7 = *(long *)(param_4 + 0x10);
    lVar8 = (long)local_3c[0];
    puVar9 = puVar10;
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  else {
    uVar1 = *(undefined4 *)(local_68 + 0x4c);
    uVar3 = *(undefined8 *)(local_68 + 0x10);
    uVar4 = *(undefined8 *)(local_68 + 0x18);
    local_68 = (undefined1 *)CONCAT44(local_68._4_4_,(uint)local_58);
    local_60 = puVar12;
    lVar7 = -((long)(local_3c[0] + 1) * 8 + 0x17U & 0xfffffffffffffff0);
    puVar10 = auStack_128 + lVar7;
    puVar9 = auStack_128 + lVar7;
    *(int **)(auStack_128 + lVar7 + -8) = local_3c;
    *(undefined4 **)((long)alStack_140 + lVar7 + 8) = puVar11;
    uVar6 = local_70;
    local_58 = (undefined4 *)((long)auStack_118 + lVar7);
    *(undefined8 *)((long)alStack_140 + lVar7) = 0x4ee5df;
    FUN_004eccf0(uVar6,uVar3,uVar4,uVar1,param_4,(undefined4 *)((long)auStack_118 + lVar7));
    puVar11 = local_58;
    puVar12 = local_60;
    uVar13 = (uint)local_68;
    if (!bVar15 || !bVar16) goto LAB_004ee5f8;
LAB_004ee4a3:
    puVar10 = puVar9;
    if (param_6 < 0) {
      local_3c[0] = local_3c[0] + 1;
      puVar11[-1] = *(undefined4 *)(puVar12 + 0x50);
      puVar14 = puVar11 + -1;
      goto LAB_004ee4b5;
    }
    puVar14 = puVar11;
    if ((uVar13 & 0x800) == 0) goto LAB_004ee4b5;
    local_3c[0] = local_3c[0] + 1;
    puVar14 = puVar11 + -1;
    lVar8 = (long)local_3c[0];
    *puVar14 = *(undefined4 *)(puVar12 + 0x54);
    lVar7 = *(long *)(param_4 + 0x10);
    if (lVar7 <= lVar8) goto LAB_004ee4c2;
  }
  uVar3 = local_70;
  uVar1 = local_74;
  lVar5 = -(lVar7 * 4 + 0x17U & 0xfffffffffffffff0);
  *(int **)(puVar9 + lVar5 + -0x10) = local_3c;
  puVar14 = (undefined4 *)((ulong)(puVar9 + lVar5 + 0xf) & 0xfffffffffffffff0);
  *(undefined8 *)(puVar9 + lVar5 + -0x18) = 0x4ee559;
  FUN_004ede90(uVar3,uVar1,lVar7,param_4,puVar14);
  lVar8 = (long)local_3c[0];
  puVar9 = puVar9 + lVar5;
LAB_004ee4c2:
  *(undefined8 *)(param_4 + 0x10) = 0;
  if (param_3 == '\0') {
    pcVar2 = *(code **)(*param_2 + 0x60);
    *(undefined8 *)(puVar9 + -8) = 0x4ee4e2;
    lVar7 = (*pcVar2)(param_2,puVar14,lVar8);
    if (lVar7 != lVar8) {
      param_3 = '\x01';
    }
  }
  auVar17[8] = param_3;
  auVar17._0_8_ = param_2;
  auVar17._9_7_ = 0;
  return auVar17;
}

