
char * dlang_parse_integer(string *decl,char *mangled,char type)

{
  byte *n;
  byte bVar1;
  char cVar2;
  bool bVar3;
  string *p;
  char *pcVar4;
  int iVar5;
  int extraout_ECX;
  uint uVar6;
  byte *mangled_00;
  int iVar7;
  char *s;
  byte *pbVar8;
  int iVar9;
  int unaff_EDI;
  undefined8 uVar10;
  long val;
  char value [10];
  
  uVar10 = __x86_get_pc_thunk_di();
  mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20);
  p = (string *)uVar10;
  bVar1 = (byte)extraout_ECX;
  if (((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)) {
    if (bVar1 == 0x62) {
      pcVar4 = dlang_number((char *)mangled_00,(long *)value);
      if (pcVar4 == (char *)0x0) {
        return (char *)0x0;
      }
      s = (char *)(unaff_EDI + 0xb0516);
      if (value._0_4_ == 0) {
        s = (char *)(unaff_EDI + 0xb0510);
      }
      string_append(p,s);
      return pcVar4;
    }
    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {
      pbVar8 = mangled_00;
      do {
        n = pbVar8 + (1 - (int)mangled_00);
        pbVar8 = pbVar8 + 1;
      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);
      if (n != (byte *)0x0) {
        string_appendn(p,(char *)mangled_00,(int)n);
      }
      if (0xc < (byte)(extraout_ECX - 0x68U)) {
        return (char *)pbVar8;
      }
                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +
                                 *(int *)(&UNK_000c3d7d +
                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();
      return pcVar4;
    }
    return (char *)0x0;
  }
  pcVar4 = dlang_number((char *)mangled_00,&val);
  if (pcVar4 == (char *)0x0) {
    return (char *)0x0;
  }
  string_append(p,(char *)(unaff_EDI + 0xac216));
  if (bVar1 == 0x61) {
    if (val - 0x20U < 0x5f) {
      value[0] = (char)val;
      string_appendn(p,value,1);
      goto LAB_001a7a58;
    }
LAB_001a7b20:
    string_append(p,(char *)(unaff_EDI + 0xc3b87));
    iVar5 = 2;
    if (val < 1) goto LAB_001a7a9c;
LAB_001a79ce:
    uVar6 = val;
    iVar9 = 10;
    do {
      iVar7 = iVar9;
      iVar9 = iVar7 + -1;
      val = (int)uVar6 >> 4;
      cVar2 = (char)(uVar6 & 0xf);
      if ((uVar6 & 0xf) < 10) {
        value[iVar7 + -1] = cVar2 + '0';
      }
      else {
        value[iVar7 + -1] = cVar2 + 'W';
      }
      bVar3 = 0xf < (int)uVar6;
      uVar6 = val;
    } while (bVar3);
    iVar5 = iVar7 + -0xb + iVar5;
    if (0 < iVar5) goto LAB_001a7a2d;
  }
  else {
    if (bVar1 == 0x75) {
      string_append(p,(char *)(unaff_EDI + 0xc3b8a));
      iVar5 = 4;
    }
    else {
      if (bVar1 != 0x77) {
        if (bVar1 == 0x61) goto LAB_001a7b20;
        iVar5 = 0;
        if (val < 1) goto LAB_001a7a58;
        goto LAB_001a79ce;
      }
      string_append(p,(char *)(unaff_EDI + 0xc3b8d));
      iVar5 = 8;
    }
    if (0 < val) goto LAB_001a79ce;
LAB_001a7a9c:
    iVar9 = 10;
LAB_001a7a2d:
    iVar7 = iVar5;
    do {
      value[iVar7 + (iVar9 - iVar5) + -1] = '0';
      iVar7 = iVar7 + -1;
    } while (iVar7 != 0);
    iVar9 = iVar9 - iVar5;
  }
  string_appendn(p,value + iVar9,10 - iVar9);
LAB_001a7a58:
  string_append(p,(char *)(unaff_EDI + 0xac216));
  return pcVar4;
}



byte * FUN_001a78e0(void)

{
  byte *pbVar1;
  byte bVar2;
  char cVar3;
  bool bVar4;
  int extraout_ECX;
  uint uVar5;
  int iVar6;
  byte *pbVar7;
  int unaff_EDI;
  int iVar8;
  int iVar9;
  undefined8 uVar10;
  undefined4 uVar11;
  undefined4 local_2c;
  undefined4 local_28;
  
  uVar10 = FUN_00058c4a();
  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);
  uVar11 = (undefined4)uVar10;
  iVar8 = unaff_EDI + 0x197719;
  bVar2 = (byte)extraout_ECX;
  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {
    if (bVar2 == 0x62) {
      pbVar7 = (byte *)FUN_001a7410();
      if (pbVar7 == (byte *)0x0) {
        return (byte *)0x0;
      }
      FUN_001a7520();
      return pbVar7;
    }
    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {
      iVar9 = 1 - (int)pbVar7;
      do {
        pbVar1 = pbVar7 + iVar9;
        pbVar7 = pbVar7 + 1;
      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);
      if (pbVar1 != (byte *)0x0) {
        FUN_001a78a0();
      }
      if (0xc < (byte)(extraout_ECX - 0x68U)) {
        return pbVar7;
      }
                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +
                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)
      ;
      return pbVar7;
    }
    return (byte *)0x0;
  }
  pbVar7 = (byte *)FUN_001a7410();
  if (pbVar7 == (byte *)0x0) {
    return (byte *)0x0;
  }
  FUN_001a7520();
  if (bVar2 == 0x61) {
    if (local_2c - 0x20 < 0x5f) {
      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);
      FUN_001a78a0();
      goto LAB_001a7a58;
    }
LAB_001a7b20:
    FUN_001a7520();
    iVar8 = 2;
    if ((int)local_2c < 1) goto LAB_001a7a9c;
LAB_001a79ce:
    uVar5 = local_2c;
    iVar9 = 10;
    do {
      iVar6 = iVar9;
      iVar9 = iVar6 + -1;
      local_2c = (int)uVar5 >> 4;
      cVar3 = (char)(uVar5 & 0xf);
      if ((uVar5 & 0xf) < 10) {
        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';
      }
      else {
        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';
      }
      bVar4 = 0xf < (int)uVar5;
      uVar5 = local_2c;
    } while (bVar4);
    iVar8 = iVar6 + -0xb + iVar8;
    if (0 < iVar8) goto LAB_001a7a2d;
  }
  else {
    if (bVar2 == 0x75) {
      FUN_001a7520();
      iVar8 = 4;
    }
    else {
      if (bVar2 != 0x77) {
        if (bVar2 == 0x61) goto LAB_001a7b20;
        iVar8 = 0;
        if ((int)local_2c < 1) goto LAB_001a7a58;
        goto LAB_001a79ce;
      }
      FUN_001a7520();
      iVar8 = 8;
    }
    if (0 < (int)local_2c) goto LAB_001a79ce;
LAB_001a7a9c:
    iVar9 = 10;
LAB_001a7a2d:
    iVar9 = iVar9 - iVar8;
    do {
      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;
      iVar8 = iVar8 + -1;
    } while (iVar8 != 0);
  }
  FUN_001a78a0();
LAB_001a7a58:
  FUN_001a7520();
  return pbVar7;
}


PUSH EBP
PUSH EDI
CALL 0x00058c4a
ADD EDI,0x197719
PUSH ESI
MOV ESI,ECX
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,EDX
MOV EDX,ECX
AND EDX,0xfffffffd
MOV dword ptr [ESP + 0x4],EDI
CMP DL,0x75
JZ 0x001a7978
CMP CL,0x61
JZ 0x001a7978
CMP CL,0x62
JZ 0x001a7b80
MOV EDI,dword ptr [ESP + 0x4]
MOVZX EDX,byte ptr [EAX]
LEA EBP,[EDI + 0xfff2cf40]
TEST byte ptr [EBP + EDX*0x2],0x4
JZ 0x001a7bb8
MOV EDI,0x1
MOV EBX,EAX
SUB EDI,EAX
LEA ESI,[ESI]
NOP
LEA ECX,[EBX + EDI*0x1]
ADD EBX,0x1
MOVZX EDX,byte ptr [EBX]
TEST byte ptr [EBP + EDX*0x2],0x4
JNZ 0x001a7940
TEST ECX,ECX
JNZ 0x001a7ab0
LEA EAX,[ESI + -0x68]
CMP AL,0xc
JA 0x001a7a6b
MOVZX ESI,AL
MOV EAX,dword ptr [ESP + 0x4]
ADD EAX,dword ptr [EAX + ESI*0x4 + 0xfff2c664]
JMP EAX
LEA EDX,[ESP + 0x10]
CALL 0x001a7410
MOV EBX,EAX
TEST EAX,EAX
JZ 0x001a7a6b
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0xfff14afd]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
MOV EAX,ESI
CMP AL,0x61
JZ 0x001a7b10
CMP AL,0x75
JZ 0x001a7b50
CMP AL,0x77
JZ 0x001a7a78
CMP AL,0x61
JZ 0x001a7b20
MOV ECX,dword ptr [ESP + 0x10]
XOR EAX,EAX
TEST ECX,ECX
JLE 0x001a7a58
MOV dword ptr [ESP + 0xc],EBX
MOV EDI,ECX
MOV EDX,0xa
LEA EBP,[ESP + 0x14]
MOV EBX,EAX
JMP 0x001a79ff
ADD EAX,0x30
SAR ECX,0x4
MOV byte ptr [EBP + EDX*0x1 + -0x1],AL
LEA EAX,[EDX + EBX*0x1 + -0xb]
MOV EDX,ESI
CMP EDI,0xf
JLE 0x001a7a21
MOV EDI,ECX
MOV EAX,ECX
LEA ESI,[EDX + -0x1]
AND EAX,0xf
CMP EAX,0x9
JLE 0x001a79e8
ADD EAX,0x57
SAR ECX,0x4
MOV byte ptr [EBP + EDX*0x1 + -0x1],AL
LEA EAX,[EDX + EBX*0x1 + -0xb]
MOV EDX,ESI
CMP EDI,0xf
JG 0x001a79fd
MOV EBX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x10],ECX
TEST EAX,EAX
JLE 0x001a7a44
MOV ECX,ESI
MOV EDX,EAX
SUB ECX,EAX
ADD ECX,EBP
LEA ESI,[ESI]
MOV byte ptr [ECX + EDX*0x1 + -0x1],0x30
SUB EDX,0x1
JNZ 0x001a7a38
SUB ESI,EAX
MOV ECX,0xa
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBP + ESI*0x1]
SUB ECX,ESI
CALL 0x001a78a0
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0xfff14afd]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
ADD ESP,0x2c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0xfff2c474]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,0x8
TEST ECX,ECX
JG 0x001a79ce
MOV ESI,0xa
LEA EBP,[ESP + 0x14]
JMP 0x001a7a2d
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a78a0
JMP 0x001a7958
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
ADD ESP,0x2c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x10]
LEA EDX,[EAX + -0x20]
CMP EDX,0x5e
JBE 0x001a7bbf
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0xfff2c46e]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,0x2
TEST ECX,ECX
JG 0x001a79ce
JMP 0x001a7a9c
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[EAX + 0xfff2c471]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x001a7520
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,0x4
TEST ECX,ECX
JG 0x001a79ce
JMP 0x001a7a9c
LEA EDX,[ESP + 0x14]
CALL 0x001a7410
MOV EBX,EAX
TEST EAX,EAX
JZ 0x001a7a6b
MOV EAX,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP + 0x14]
LEA EDX,[EAX + 0xfff18dfd]
TEST ECX,ECX
JNZ 0x001a7afa
LEA EDX,[EAX + 0xfff18df7]
JMP 0x001a7afa
XOR EBX,EBX
JMP 0x001a7a6b
MOV byte ptr [ESP + 0x14],AL
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[ESP + 0x14]
MOV ECX,0x1
CALL 0x001a78a0
JMP 0x001a7a58
(translation_unit "byte * FUN_001a78e0(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}\n\n" (function_definition "byte * FUN_001a78e0(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" type_identifier (pointer_declarator "* FUN_001a78e0(void)" * (function_declarator "FUN_001a78e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (expression_statement "uVar10 = FUN_00058c4a();" (assignment_expression "uVar10 = FUN_00058c4a()" identifier = (call_expression "FUN_00058c4a()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar11 = (undefined4)uVar10;" (assignment_expression "uVar11 = (undefined4)uVar10" identifier = (cast_expression "(undefined4)uVar10" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "iVar8 = unaff_EDI + 0x197719;" (assignment_expression "iVar8 = unaff_EDI + 0x197719" identifier = (binary_expression "unaff_EDI + 0x197719" identifier + number_literal)) ;) (expression_statement "bVar2 = (byte)extraout_ECX;" (assignment_expression "bVar2 = (byte)extraout_ECX" identifier = (cast_expression "(byte)extraout_ECX" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61))" ( (binary_expression "((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)" (parenthesized_expression "((bVar2 & 0xfd) != 0x75)" ( (binary_expression "(bVar2 & 0xfd) != 0x75" (parenthesized_expression "(bVar2 & 0xfd)" ( (binary_expression "bVar2 & 0xfd" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar2 != 0x61)" ( (binary_expression "bVar2 != 0x61" identifier != number_literal) ))) )) (compound_statement "{\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" { (if_statement "if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" if (parenthesized_expression "(bVar2 == 0x62)" ( (binary_expression "bVar2 == 0x62" identifier == number_literal) )) (compound_statement "{\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" { (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" identifier = (cast_expression "(byte *)FUN_001a7410()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a7410()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }" if (parenthesized_expression "(pbVar7 == (byte *)0x0)" ( (binary_expression "pbVar7 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (byte *)0x0;\n      }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (return_statement "return pbVar7;" return identifier ;) })) (if_statement "if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" if (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" { (expression_statement "iVar9 = 1 - (int)pbVar7;" (assignment_expression "iVar9 = 1 - (int)pbVar7" identifier = (binary_expression "1 - (int)pbVar7" number_literal - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);" do (compound_statement "{\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      }" { (expression_statement "pbVar1 = pbVar7 + iVar9;" (assignment_expression "pbVar1 = pbVar7 + iVar9" identifier = (binary_expression "pbVar7 + iVar9" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }" if (parenthesized_expression "(pbVar1 != (byte *)0x0)" ( (binary_expression "pbVar1 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_001a78a0();\n      }" { (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }" if (parenthesized_expression "(0xc < (byte)(extraout_ECX - 0x68U))" ( (binary_expression "0xc < (byte)(extraout_ECX - 0x68U)" number_literal < (call_expression "(byte)(extraout_ECX - 0x68U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(extraout_ECX - 0x68U)" ( (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) )))) )) (compound_statement "{\n        return pbVar7;\n      }" { (return_statement "return pbVar7;" return identifier ;) })) comment comment (expression_statement "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;" (assignment_expression "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" identifier = (cast_expression "(byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" (parenthesized_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))" ( (pointer_expression "*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" * (cast_expression "(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" ( (binary_expression "iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" identifier + (pointer_expression "*(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" * (cast_expression "(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" ( (binary_expression "iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4" (binary_expression "iVar8 + -0xd399c" identifier + number_literal) + (binary_expression "(extraout_ECX - 0x68U & 0xff) * 4" (parenthesized_expression "(extraout_ECX - 0x68U & 0xff)" ( (binary_expression "extraout_ECX - 0x68U & 0xff" (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) & number_literal) )) * number_literal)) ))))) )))) )) (argument_list "(iVar8,uVar11)" ( identifier , identifier ))))) ;) (return_statement "return pbVar7;" return identifier ;) })) (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" identifier = (cast_expression "(byte *)FUN_001a7410()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a7410()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(pbVar7 == (byte *)0x0)" ( (binary_expression "pbVar7 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (if_statement "if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" if (parenthesized_expression "(bVar2 == 0x61)" ( (binary_expression "bVar2 == 0x61" identifier == number_literal) )) (compound_statement "{\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }" { (if_statement "if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" if (parenthesized_expression "(local_2c - 0x20 < 0x5f)" ( (binary_expression "local_2c - 0x20 < 0x5f" (binary_expression "local_2c - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" { (expression_statement "local_28 = CONCAT31(local_28._1_3_,(char)local_2c);" (assignment_expression "local_28 = CONCAT31(local_28._1_3_,(char)local_2c)" identifier = (call_expression "CONCAT31(local_28._1_3_,(char)local_2c)" identifier (argument_list "(local_28._1_3_,(char)local_2c)" ( (field_expression "local_28._1_3_" identifier . field_identifier) , (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;) })) (labeled_statement "LAB_001a7b20:\n    FUN_001a7520();" statement_identifier : (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;)) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a9c;" if (parenthesized_expression "((int)local_2c < 1)" ( (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_001a7a9c;" goto statement_identifier ;)) (labeled_statement "LAB_001a79ce:\n    uVar5 = local_2c;" statement_identifier : (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;)) (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;) (do_statement "do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);" do (compound_statement "{\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    }" { (expression_statement "iVar6 = iVar9;" (assignment_expression "iVar6 = iVar9" identifier = identifier) ;) (expression_statement "iVar9 = iVar6 + -1;" (assignment_expression "iVar9 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_2c = (int)uVar5 >> 4;" (assignment_expression "local_2c = (int)uVar5 >> 4" identifier = (binary_expression "(int)uVar5 >> 4" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "cVar3 = (char)(uVar5 & 0xf);" (assignment_expression "cVar3 = (char)(uVar5 & 0xf)" identifier = (cast_expression "(char)(uVar5 & 0xf)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 & 0xf)" ( (binary_expression "uVar5 & 0xf" identifier & number_literal) )))) ;) (if_statement "if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" if (parenthesized_expression "((uVar5 & 0xf) < 10)" ( (binary_expression "(uVar5 & 0xf) < 10" (parenthesized_expression "(uVar5 & 0xf)" ( (binary_expression "uVar5 & 0xf" identifier & number_literal) )) < number_literal) )) (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }" { (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" * (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar6 + 3)" ( (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + number_literal) )))) = (binary_expression "cVar3 + '0'" identifier + (char_literal "'0'" ' character '))) ;) }) (else_clause "else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" else (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" { (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" * (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar6 + 3)" ( (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + number_literal) )))) = (binary_expression "cVar3 + 'W'" identifier + (char_literal "'W'" ' character '))) ;) }))) (expression_statement "bVar4 = 0xf < (int)uVar5;" (assignment_expression "bVar4 = 0xf < (int)uVar5" identifier = (binary_expression "0xf < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;) }) while (parenthesized_expression "(bVar4)" ( identifier )) ;) (expression_statement "iVar8 = iVar6 + -0xb + iVar8;" (assignment_expression "iVar8 = iVar6 + -0xb + iVar8" identifier = (binary_expression "iVar6 + -0xb + iVar8" (binary_expression "iVar6 + -0xb" identifier + number_literal) + identifier)) ;) (if_statement "if (0 < iVar8) goto LAB_001a7a2d;" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (goto_statement "goto LAB_001a7a2d;" goto statement_identifier ;)) }) (else_clause "else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" else (compound_statement "{\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" { (if_statement "if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" if (parenthesized_expression "(bVar2 == 0x75)" ( (binary_expression "bVar2 == 0x75" identifier == number_literal) )) (compound_statement "{\n      FUN_001a7520();\n      iVar8 = 4;\n    }" { (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = 4;" (assignment_expression "iVar8 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" else (compound_statement "{\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" { (if_statement "if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" if (parenthesized_expression "(bVar2 != 0x77)" ( (binary_expression "bVar2 != 0x77" identifier != number_literal) )) (compound_statement "{\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" { (if_statement "if (bVar2 == 0x61) goto LAB_001a7b20;" if (parenthesized_expression "(bVar2 == 0x61)" ( (binary_expression "bVar2 == 0x61" identifier == number_literal) )) (goto_statement "goto LAB_001a7b20;" goto statement_identifier ;)) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a58;" if (parenthesized_expression "((int)local_2c < 1)" ( (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;)) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" identifier = number_literal) ;) }))) (if_statement "if (0 < (int)local_2c) goto LAB_001a79ce;" if (parenthesized_expression "(0 < (int)local_2c)" ( (binary_expression "0 < (int)local_2c" number_literal < (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;)) (labeled_statement "LAB_001a7a9c:\n    iVar9 = 10;" statement_identifier : (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;)) (labeled_statement "LAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;" statement_identifier : (expression_statement "iVar9 = iVar9 - iVar8;" (assignment_expression "iVar9 = iVar9 - iVar8" identifier = (binary_expression "iVar9 - iVar8" identifier - identifier)) ;)) (do_statement "do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);" do (compound_statement "{\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    }" { (expression_statement "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;" (assignment_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30" (pointer_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" * (cast_expression "(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar8 + iVar9 + 3)" ( (binary_expression "(int)&local_2c + iVar8 + iVar9 + 3" (binary_expression "(int)&local_2c + iVar8 + iVar9" (binary_expression "(int)&local_2c + iVar8" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) ;) }))) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_001a7a58:\n  FUN_001a7520();" statement_identifier : (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;)) (return_statement "return pbVar7;" return identifier ;) })))
(translation_unit "char * dlang_parse_integer(string *decl,char *mangled,char type)\n\n{\n  byte *n;\n  byte bVar1;\n  char cVar2;\n  bool bVar3;\n  string *p;\n  char *pcVar4;\n  int iVar5;\n  int extraout_ECX;\n  uint uVar6;\n  byte *mangled_00;\n  int iVar7;\n  char *s;\n  byte *pbVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  long val;\n  char value [10];\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20);\n  p = (string *)uVar10;\n  bVar1 = (byte)extraout_ECX;\n  if (((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)) {\n    if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }\n    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }\n    return (char *)0x0;\n  }\n  pcVar4 = dlang_number((char *)mangled_00,&val);\n  if (pcVar4 == (char *)0x0) {\n    return (char *)0x0;\n  }\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  if (bVar1 == 0x61) {\n    if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));\n    iVar5 = 2;\n    if (val < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar6 = val;\n    iVar9 = 10;\n    do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);\n    iVar5 = iVar7 + -0xb + iVar5;\n    if (0 < iVar5) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }\n  string_appendn(p,value + iVar9,10 - iVar9);\nLAB_001a7a58:\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  return pcVar4;\n}\n\n" (function_definition "char * dlang_parse_integer(string *decl,char *mangled,char type)\n\n{\n  byte *n;\n  byte bVar1;\n  char cVar2;\n  bool bVar3;\n  string *p;\n  char *pcVar4;\n  int iVar5;\n  int extraout_ECX;\n  uint uVar6;\n  byte *mangled_00;\n  int iVar7;\n  char *s;\n  byte *pbVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  long val;\n  char value [10];\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20);\n  p = (string *)uVar10;\n  bVar1 = (byte)extraout_ECX;\n  if (((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)) {\n    if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }\n    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }\n    return (char *)0x0;\n  }\n  pcVar4 = dlang_number((char *)mangled_00,&val);\n  if (pcVar4 == (char *)0x0) {\n    return (char *)0x0;\n  }\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  if (bVar1 == 0x61) {\n    if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));\n    iVar5 = 2;\n    if (val < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar6 = val;\n    iVar9 = 10;\n    do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);\n    iVar5 = iVar7 + -0xb + iVar5;\n    if (0 < iVar5) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }\n  string_appendn(p,value + iVar9,10 - iVar9);\nLAB_001a7a58:\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  return pcVar4;\n}" primitive_type (pointer_declarator "* dlang_parse_integer(string *decl,char *mangled,char type)" * (function_declarator "dlang_parse_integer(string *decl,char *mangled,char type)" identifier (parameter_list "(string *decl,char *mangled,char type)" ( (parameter_declaration "string *decl" type_identifier (pointer_declarator "*decl" * identifier)) , (parameter_declaration "char *mangled" primitive_type (pointer_declarator "*mangled" * identifier)) , (parameter_declaration "char type" primitive_type identifier) )))) (compound_statement "{\n  byte *n;\n  byte bVar1;\n  char cVar2;\n  bool bVar3;\n  string *p;\n  char *pcVar4;\n  int iVar5;\n  int extraout_ECX;\n  uint uVar6;\n  byte *mangled_00;\n  int iVar7;\n  char *s;\n  byte *pbVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  long val;\n  char value [10];\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20);\n  p = (string *)uVar10;\n  bVar1 = (byte)extraout_ECX;\n  if (((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)) {\n    if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }\n    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }\n    return (char *)0x0;\n  }\n  pcVar4 = dlang_number((char *)mangled_00,&val);\n  if (pcVar4 == (char *)0x0) {\n    return (char *)0x0;\n  }\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  if (bVar1 == 0x61) {\n    if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));\n    iVar5 = 2;\n    if (val < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar6 = val;\n    iVar9 = 10;\n    do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);\n    iVar5 = iVar7 + -0xb + iVar5;\n    if (0 < iVar5) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }\n  string_appendn(p,value + iVar9,10 - iVar9);\nLAB_001a7a58:\n  string_append(p,(char *)(unaff_EDI + 0xac216));\n  return pcVar4;\n}" { (declaration "byte *n;" type_identifier (pointer_declarator "*n" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "string *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "byte *mangled_00;" type_identifier (pointer_declarator "*mangled_00" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "long val;" (sized_type_specifier "long" long) identifier ;) (declaration "char value [10];" primitive_type (array_declarator "value [10]" identifier [ number_literal ]) ;) (expression_statement "uVar10 = __x86_get_pc_thunk_di();" (assignment_expression "uVar10 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20);" (assignment_expression "mangled_00 = (byte *)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "p = (string *)uVar10;" (assignment_expression "p = (string *)uVar10" identifier = (cast_expression "(string *)uVar10" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "bVar1 = (byte)extraout_ECX;" (assignment_expression "bVar1 = (byte)extraout_ECX" identifier = (cast_expression "(byte)extraout_ECX" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)) {\n    if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }\n    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }\n    return (char *)0x0;\n  }" if (parenthesized_expression "(((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61))" ( (binary_expression "((bVar1 & 0xfd) != 0x75) && (bVar1 != 0x61)" (parenthesized_expression "((bVar1 & 0xfd) != 0x75)" ( (binary_expression "(bVar1 & 0xfd) != 0x75" (parenthesized_expression "(bVar1 & 0xfd)" ( (binary_expression "bVar1 & 0xfd" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar1 != 0x61)" ( (binary_expression "bVar1 != 0x61" identifier != number_literal) ))) )) (compound_statement "{\n    if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }\n    if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }\n    return (char *)0x0;\n  }" { (if_statement "if (bVar1 == 0x62) {\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }" if (parenthesized_expression "(bVar1 == 0x62)" ( (binary_expression "bVar1 == 0x62" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = dlang_number((char *)mangled_00,(long *)value);\n      if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }\n      s = (char *)(unaff_EDI + 0xb0516);\n      if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }\n      string_append(p,s);\n      return pcVar4;\n    }" { (expression_statement "pcVar4 = dlang_number((char *)mangled_00,(long *)value);" (assignment_expression "pcVar4 = dlang_number((char *)mangled_00,(long *)value)" identifier = (call_expression "dlang_number((char *)mangled_00,(long *)value)" identifier (argument_list "((char *)mangled_00,(long *)value)" ( (cast_expression "(char *)mangled_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(long *)value" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n        return (char *)0x0;\n      }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (char *)0x0;\n      }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "s = (char *)(unaff_EDI + 0xb0516);" (assignment_expression "s = (char *)(unaff_EDI + 0xb0516)" identifier = (cast_expression "(char *)(unaff_EDI + 0xb0516)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xb0516)" ( (binary_expression "unaff_EDI + 0xb0516" identifier + number_literal) )))) ;) (if_statement "if (value._0_4_ == 0) {\n        s = (char *)(unaff_EDI + 0xb0510);\n      }" if (parenthesized_expression "(value._0_4_ == 0)" ( (binary_expression "value._0_4_ == 0" (field_expression "value._0_4_" identifier . field_identifier) == number_literal) )) (compound_statement "{\n        s = (char *)(unaff_EDI + 0xb0510);\n      }" { (expression_statement "s = (char *)(unaff_EDI + 0xb0510);" (assignment_expression "s = (char *)(unaff_EDI + 0xb0510)" identifier = (cast_expression "(char *)(unaff_EDI + 0xb0510)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xb0510)" ( (binary_expression "unaff_EDI + 0xb0510" identifier + number_literal) )))) ;) })) (expression_statement "string_append(p,s);" (call_expression "string_append(p,s)" identifier (argument_list "(p,s)" ( identifier , identifier ))) ;) (return_statement "return pcVar4;" return identifier ;) })) (if_statement "if (((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0) {\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }" if (parenthesized_expression "(((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*mangled_00 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*mangled_00 * 2 + unaff_EDI" (binary_expression "(uint)*mangled_00 * 2" (binary_expression "(uint)*mangled_00" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      pbVar8 = mangled_00;\n      do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);\n      if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }\n                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();\n      return pcVar4;\n    }" { (expression_statement "pbVar8 = mangled_00;" (assignment_expression "pbVar8 = mangled_00" identifier = identifier) ;) (do_statement "do {\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0);" do (compound_statement "{\n        n = pbVar8 + (1 - (int)mangled_00);\n        pbVar8 = pbVar8 + 1;\n      }" { (expression_statement "n = pbVar8 + (1 - (int)mangled_00);" (assignment_expression "n = pbVar8 + (1 - (int)mangled_00)" identifier = (binary_expression "pbVar8 + (1 - (int)mangled_00)" identifier + (parenthesized_expression "(1 - (int)mangled_00)" ( (binary_expression "1 - (int)mangled_00" number_literal - (cast_expression "(int)mangled_00" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pbVar8 = pbVar8 + 1;" (assignment_expression "pbVar8 = pbVar8 + 1" identifier = (binary_expression "pbVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar8 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*pbVar8 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar8 * 2" (binary_expression "(uint)*pbVar8" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (n != (byte *)0x0) {\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }" if (parenthesized_expression "(n != (byte *)0x0)" ( (binary_expression "n != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        string_appendn(p,(char *)mangled_00,(int)n);\n      }" { (expression_statement "string_appendn(p,(char *)mangled_00,(int)n);" (call_expression "string_appendn(p,(char *)mangled_00,(int)n)" identifier (argument_list "(p,(char *)mangled_00,(int)n)" ( identifier , (cast_expression "(char *)mangled_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(int)n" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (if_statement "if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return (char *)pbVar8;\n      }" if (parenthesized_expression "(0xc < (byte)(extraout_ECX - 0x68U))" ( (binary_expression "0xc < (byte)(extraout_ECX - 0x68U)" number_literal < (call_expression "(byte)(extraout_ECX - 0x68U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(extraout_ECX - 0x68U)" ( (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) )))) )) (compound_statement "{\n        return (char *)pbVar8;\n      }" { (return_statement "return (char *)pbVar8;" return (cast_expression "(char *)pbVar8" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })) comment comment (expression_statement "pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))();" (assignment_expression "pcVar4 = (char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))()" identifier = (cast_expression "(char *)(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))()" (parenthesized_expression "(*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)))" ( (pointer_expression "*(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI))" * (cast_expression "(code *)(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI))" ( (binary_expression "unaff_EDI + 0x197719 +\n                                 *(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)" (binary_expression "unaff_EDI + 0x197719" identifier + number_literal) + (pointer_expression "*(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)" * (cast_expression "(int *)(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI)" ( (binary_expression "&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4 + unaff_EDI" (binary_expression "&UNK_000c3d7d +\n                                         (extraout_ECX - 0x68U & 0xff) * 4" (pointer_expression "&UNK_000c3d7d" & identifier) + (binary_expression "(extraout_ECX - 0x68U & 0xff) * 4" (parenthesized_expression "(extraout_ECX - 0x68U & 0xff)" ( (binary_expression "extraout_ECX - 0x68U & 0xff" (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) & number_literal) )) * number_literal)) + identifier) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return pcVar4;" return identifier ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pcVar4 = dlang_number((char *)mangled_00,&val);" (assignment_expression "pcVar4 = dlang_number((char *)mangled_00,&val)" identifier = (call_expression "dlang_number((char *)mangled_00,&val)" identifier (argument_list "((char *)mangled_00,&val)" ( (cast_expression "(char *)mangled_00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (pointer_expression "&val" & identifier) )))) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "string_append(p,(char *)(unaff_EDI + 0xac216));" (call_expression "string_append(p,(char *)(unaff_EDI + 0xac216))" identifier (argument_list "(p,(char *)(unaff_EDI + 0xac216))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xac216)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xac216)" ( (binary_expression "unaff_EDI + 0xac216" identifier + number_literal) ))) ))) ;) (if_statement "if (bVar1 == 0x61) {\n    if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));\n    iVar5 = 2;\n    if (val < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar6 = val;\n    iVar9 = 10;\n    do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);\n    iVar5 = iVar7 + -0xb + iVar5;\n    if (0 < iVar5) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }" if (parenthesized_expression "(bVar1 == 0x61)" ( (binary_expression "bVar1 == 0x61" identifier == number_literal) )) (compound_statement "{\n    if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));\n    iVar5 = 2;\n    if (val < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar6 = val;\n    iVar9 = 10;\n    do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);\n    iVar5 = iVar7 + -0xb + iVar5;\n    if (0 < iVar5) goto LAB_001a7a2d;\n  }" { (if_statement "if (val - 0x20U < 0x5f) {\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }" if (parenthesized_expression "(val - 0x20U < 0x5f)" ( (binary_expression "val - 0x20U < 0x5f" (binary_expression "val - 0x20U" identifier - number_literal) < number_literal) )) (compound_statement "{\n      value[0] = (char)val;\n      string_appendn(p,value,1);\n      goto LAB_001a7a58;\n    }" { (expression_statement "value[0] = (char)val;" (assignment_expression "value[0] = (char)val" (subscript_expression "value[0]" identifier [ number_literal ]) = (cast_expression "(char)val" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "string_appendn(p,value,1);" (call_expression "string_appendn(p,value,1)" identifier (argument_list "(p,value,1)" ( identifier , identifier , number_literal ))) ;) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;) })) (labeled_statement "LAB_001a7b20:\n    string_append(p,(char *)(unaff_EDI + 0xc3b87));" statement_identifier : (expression_statement "string_append(p,(char *)(unaff_EDI + 0xc3b87));" (call_expression "string_append(p,(char *)(unaff_EDI + 0xc3b87))" identifier (argument_list "(p,(char *)(unaff_EDI + 0xc3b87))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xc3b87)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc3b87)" ( (binary_expression "unaff_EDI + 0xc3b87" identifier + number_literal) ))) ))) ;)) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (if_statement "if (val < 1) goto LAB_001a7a9c;" if (parenthesized_expression "(val < 1)" ( (binary_expression "val < 1" identifier < number_literal) )) (goto_statement "goto LAB_001a7a9c;" goto statement_identifier ;)) (labeled_statement "LAB_001a79ce:\n    uVar6 = val;" statement_identifier : (expression_statement "uVar6 = val;" (assignment_expression "uVar6 = val" identifier = identifier) ;)) (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;) (do_statement "do {\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    } while (bVar3);" do (compound_statement "{\n      iVar7 = iVar9;\n      iVar9 = iVar7 + -1;\n      val = (int)uVar6 >> 4;\n      cVar2 = (char)(uVar6 & 0xf);\n      if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }\n      bVar3 = 0xf < (int)uVar6;\n      uVar6 = val;\n    }" { (expression_statement "iVar7 = iVar9;" (assignment_expression "iVar7 = iVar9" identifier = identifier) ;) (expression_statement "iVar9 = iVar7 + -1;" (assignment_expression "iVar9 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "val = (int)uVar6 >> 4;" (assignment_expression "val = (int)uVar6 >> 4" identifier = (binary_expression "(int)uVar6 >> 4" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "cVar2 = (char)(uVar6 & 0xf);" (assignment_expression "cVar2 = (char)(uVar6 & 0xf)" identifier = (cast_expression "(char)(uVar6 & 0xf)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar6 & 0xf)" ( (binary_expression "uVar6 & 0xf" identifier & number_literal) )))) ;) (if_statement "if ((uVar6 & 0xf) < 10) {\n        value[iVar7 + -1] = cVar2 + '0';\n      }\n      else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }" if (parenthesized_expression "((uVar6 & 0xf) < 10)" ( (binary_expression "(uVar6 & 0xf) < 10" (parenthesized_expression "(uVar6 & 0xf)" ( (binary_expression "uVar6 & 0xf" identifier & number_literal) )) < number_literal) )) (compound_statement "{\n        value[iVar7 + -1] = cVar2 + '0';\n      }" { (expression_statement "value[iVar7 + -1] = cVar2 + '0';" (assignment_expression "value[iVar7 + -1] = cVar2 + '0'" (subscript_expression "value[iVar7 + -1]" identifier [ (binary_expression "iVar7 + -1" identifier + number_literal) ]) = (binary_expression "cVar2 + '0'" identifier + (char_literal "'0'" ' character '))) ;) }) (else_clause "else {\n        value[iVar7 + -1] = cVar2 + 'W';\n      }" else (compound_statement "{\n        value[iVar7 + -1] = cVar2 + 'W';\n      }" { (expression_statement "value[iVar7 + -1] = cVar2 + 'W';" (assignment_expression "value[iVar7 + -1] = cVar2 + 'W'" (subscript_expression "value[iVar7 + -1]" identifier [ (binary_expression "iVar7 + -1" identifier + number_literal) ]) = (binary_expression "cVar2 + 'W'" identifier + (char_literal "'W'" ' character '))) ;) }))) (expression_statement "bVar3 = 0xf < (int)uVar6;" (assignment_expression "bVar3 = 0xf < (int)uVar6" identifier = (binary_expression "0xf < (int)uVar6" number_literal < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar6 = val;" (assignment_expression "uVar6 = val" identifier = identifier) ;) }) while (parenthesized_expression "(bVar3)" ( identifier )) ;) (expression_statement "iVar5 = iVar7 + -0xb + iVar5;" (assignment_expression "iVar5 = iVar7 + -0xb + iVar5" identifier = (binary_expression "iVar7 + -0xb + iVar5" (binary_expression "iVar7 + -0xb" identifier + number_literal) + identifier)) ;) (if_statement "if (0 < iVar5) goto LAB_001a7a2d;" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (goto_statement "goto LAB_001a7a2d;" goto statement_identifier ;)) }) (else_clause "else {\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }" else (compound_statement "{\n    if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }\n    if (0 < val) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar7 = iVar5;\n    do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);\n    iVar9 = iVar9 - iVar5;\n  }" { (if_statement "if (bVar1 == 0x75) {\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }\n    else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }" if (parenthesized_expression "(bVar1 == 0x75)" ( (binary_expression "bVar1 == 0x75" identifier == number_literal) )) (compound_statement "{\n      string_append(p,(char *)(unaff_EDI + 0xc3b8a));\n      iVar5 = 4;\n    }" { (expression_statement "string_append(p,(char *)(unaff_EDI + 0xc3b8a));" (call_expression "string_append(p,(char *)(unaff_EDI + 0xc3b8a))" identifier (argument_list "(p,(char *)(unaff_EDI + 0xc3b8a))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xc3b8a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc3b8a)" ( (binary_expression "unaff_EDI + 0xc3b8a" identifier + number_literal) ))) ))) ;) (expression_statement "iVar5 = 4;" (assignment_expression "iVar5 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }" else (compound_statement "{\n      if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      string_append(p,(char *)(unaff_EDI + 0xc3b8d));\n      iVar5 = 8;\n    }" { (if_statement "if (bVar1 != 0x77) {\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" if (parenthesized_expression "(bVar1 != 0x77)" ( (binary_expression "bVar1 != 0x77" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 == 0x61) goto LAB_001a7b20;\n        iVar5 = 0;\n        if (val < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" { (if_statement "if (bVar1 == 0x61) goto LAB_001a7b20;" if (parenthesized_expression "(bVar1 == 0x61)" ( (binary_expression "bVar1 == 0x61" identifier == number_literal) )) (goto_statement "goto LAB_001a7b20;" goto statement_identifier ;)) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (val < 1) goto LAB_001a7a58;" if (parenthesized_expression "(val < 1)" ( (binary_expression "val < 1" identifier < number_literal) )) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;)) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;) })) (expression_statement "string_append(p,(char *)(unaff_EDI + 0xc3b8d));" (call_expression "string_append(p,(char *)(unaff_EDI + 0xc3b8d))" identifier (argument_list "(p,(char *)(unaff_EDI + 0xc3b8d))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xc3b8d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc3b8d)" ( (binary_expression "unaff_EDI + 0xc3b8d" identifier + number_literal) ))) ))) ;) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" identifier = number_literal) ;) }))) (if_statement "if (0 < val) goto LAB_001a79ce;" if (parenthesized_expression "(0 < val)" ( (binary_expression "0 < val" number_literal < identifier) )) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;)) (labeled_statement "LAB_001a7a9c:\n    iVar9 = 10;" statement_identifier : (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;)) (labeled_statement "LAB_001a7a2d:\n    iVar7 = iVar5;" statement_identifier : (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;)) (do_statement "do {\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    } while (iVar7 != 0);" do (compound_statement "{\n      value[iVar7 + (iVar9 - iVar5) + -1] = '0';\n      iVar7 = iVar7 + -1;\n    }" { (expression_statement "value[iVar7 + (iVar9 - iVar5) + -1] = '0';" (assignment_expression "value[iVar7 + (iVar9 - iVar5) + -1] = '0'" (subscript_expression "value[iVar7 + (iVar9 - iVar5) + -1]" identifier [ (binary_expression "iVar7 + (iVar9 - iVar5) + -1" (binary_expression "iVar7 + (iVar9 - iVar5)" identifier + (parenthesized_expression "(iVar9 - iVar5)" ( (binary_expression "iVar9 - iVar5" identifier - identifier) ))) + number_literal) ]) = (char_literal "'0'" ' character ')) ;) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) ;) (expression_statement "iVar9 = iVar9 - iVar5;" (assignment_expression "iVar9 = iVar9 - iVar5" identifier = (binary_expression "iVar9 - iVar5" identifier - identifier)) ;) }))) (expression_statement "string_appendn(p,value + iVar9,10 - iVar9);" (call_expression "string_appendn(p,value + iVar9,10 - iVar9)" identifier (argument_list "(p,value + iVar9,10 - iVar9)" ( identifier , (binary_expression "value + iVar9" identifier + identifier) , (binary_expression "10 - iVar9" number_literal - identifier) ))) ;) (labeled_statement "LAB_001a7a58:\n  string_append(p,(char *)(unaff_EDI + 0xac216));" statement_identifier : (expression_statement "string_append(p,(char *)(unaff_EDI + 0xac216));" (call_expression "string_append(p,(char *)(unaff_EDI + 0xac216))" identifier (argument_list "(p,(char *)(unaff_EDI + 0xac216))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xac216)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xac216)" ( (binary_expression "unaff_EDI + 0xac216" identifier + number_literal) ))) ))) ;)) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "byte * FUN_001a78e0(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}\n\n" (function_definition "byte * FUN_001a78e0(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" type_identifier (pointer_declarator "* FUN_001a78e0(void)" * (function_declarator "FUN_001a78e0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (expression_statement "uVar10 = FUN_00058c4a();" (assignment_expression "uVar10 = FUN_00058c4a()" identifier = (call_expression "FUN_00058c4a()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(byte *)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar11 = (undefined4)uVar10;" (assignment_expression "uVar11 = (undefined4)uVar10" identifier = (cast_expression "(undefined4)uVar10" ( (type_descriptor "undefined4" type_identifier) ) identifier)) ;) (expression_statement "iVar8 = unaff_EDI + 0x197719;" (assignment_expression "iVar8 = unaff_EDI + 0x197719" identifier = (binary_expression "unaff_EDI + 0x197719" identifier + number_literal)) ;) (expression_statement "bVar2 = (byte)extraout_ECX;" (assignment_expression "bVar2 = (byte)extraout_ECX" identifier = (cast_expression "(byte)extraout_ECX" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61))" ( (binary_expression "((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)" (parenthesized_expression "((bVar2 & 0xfd) != 0x75)" ( (binary_expression "(bVar2 & 0xfd) != 0x75" (parenthesized_expression "(bVar2 & 0xfd)" ( (binary_expression "bVar2 & 0xfd" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar2 != 0x61)" ( (binary_expression "bVar2 != 0x61" identifier != number_literal) ))) )) (compound_statement "{\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" { (if_statement "if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" if (parenthesized_expression "(bVar2 == 0x62)" ( (binary_expression "bVar2 == 0x62" identifier == number_literal) )) (compound_statement "{\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" { (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" identifier = (cast_expression "(byte *)FUN_001a7410()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a7410()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }" if (parenthesized_expression "(pbVar7 == (byte *)0x0)" ( (binary_expression "pbVar7 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return (byte *)0x0;\n      }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (return_statement "return pbVar7;" return identifier ;) })) (if_statement "if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" if (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" { (expression_statement "iVar9 = 1 - (int)pbVar7;" (assignment_expression "iVar9 = 1 - (int)pbVar7" identifier = (binary_expression "1 - (int)pbVar7" number_literal - (cast_expression "(int)pbVar7" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (do_statement "do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);" do (compound_statement "{\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      }" { (expression_statement "pbVar1 = pbVar7 + iVar9;" (assignment_expression "pbVar1 = pbVar7 + iVar9" identifier = (binary_expression "pbVar7 + iVar9" identifier + identifier)) ;) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" ( (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" ( (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" ( (pointer_expression "&UNK_000c4659" & identifier) )) [ (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal) + identifier) ]) & number_literal) )) != number_literal) )) ;) (if_statement "if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }" if (parenthesized_expression "(pbVar1 != (byte *)0x0)" ( (binary_expression "pbVar1 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        FUN_001a78a0();\n      }" { (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }" if (parenthesized_expression "(0xc < (byte)(extraout_ECX - 0x68U))" ( (binary_expression "0xc < (byte)(extraout_ECX - 0x68U)" number_literal < (call_expression "(byte)(extraout_ECX - 0x68U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(extraout_ECX - 0x68U)" ( (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) )))) )) (compound_statement "{\n        return pbVar7;\n      }" { (return_statement "return pbVar7;" return identifier ;) })) (expression_statement "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;" (assignment_expression "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" identifier = (cast_expression "(byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" (parenthesized_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))" ( (pointer_expression "*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" * (cast_expression "(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" ( (binary_expression "iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" identifier + (pointer_expression "*(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" * (cast_expression "(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" ( (binary_expression "iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4" (binary_expression "iVar8 + -0xd399c" identifier + number_literal) + (binary_expression "(extraout_ECX - 0x68U & 0xff) * 4" (parenthesized_expression "(extraout_ECX - 0x68U & 0xff)" ( (binary_expression "extraout_ECX - 0x68U & 0xff" (binary_expression "extraout_ECX - 0x68U" identifier - number_literal) & number_literal) )) * number_literal)) ))))) )))) )) (argument_list "(iVar8,uVar11)" ( identifier , identifier ))))) ;) (return_statement "return pbVar7;" return identifier ;) })) (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" identifier = (cast_expression "(byte *)FUN_001a7410()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001a7410()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "(pbVar7 == (byte *)0x0)" ( (binary_expression "pbVar7 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (if_statement "if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" if (parenthesized_expression "(bVar2 == 0x61)" ( (binary_expression "bVar2 == 0x61" identifier == number_literal) )) (compound_statement "{\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }" { (if_statement "if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" if (parenthesized_expression "(local_2c - 0x20 < 0x5f)" ( (binary_expression "local_2c - 0x20 < 0x5f" (binary_expression "local_2c - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" { (expression_statement "local_28 = CONCAT31(local_28._1_3_,(char)local_2c);" (assignment_expression "local_28 = CONCAT31(local_28._1_3_,(char)local_2c)" identifier = (call_expression "CONCAT31(local_28._1_3_,(char)local_2c)" identifier (argument_list "(local_28._1_3_,(char)local_2c)" ( (field_expression "local_28._1_3_" identifier . field_identifier) , (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) )))) ;) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;) })) (labeled_statement "LAB_001a7b20:\n    FUN_001a7520();" statement_identifier : (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;)) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a9c;" if (parenthesized_expression "((int)local_2c < 1)" ( (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_001a7a9c;" goto statement_identifier ;)) (labeled_statement "LAB_001a79ce:\n    uVar5 = local_2c;" statement_identifier : (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;)) (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;) (do_statement "do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);" do (compound_statement "{\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    }" { (expression_statement "iVar6 = iVar9;" (assignment_expression "iVar6 = iVar9" identifier = identifier) ;) (expression_statement "iVar9 = iVar6 + -1;" (assignment_expression "iVar9 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "local_2c = (int)uVar5 >> 4;" (assignment_expression "local_2c = (int)uVar5 >> 4" identifier = (binary_expression "(int)uVar5 >> 4" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "cVar3 = (char)(uVar5 & 0xf);" (assignment_expression "cVar3 = (char)(uVar5 & 0xf)" identifier = (cast_expression "(char)(uVar5 & 0xf)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar5 & 0xf)" ( (binary_expression "uVar5 & 0xf" identifier & number_literal) )))) ;) (if_statement "if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" if (parenthesized_expression "((uVar5 & 0xf) < 10)" ( (binary_expression "(uVar5 & 0xf) < 10" (parenthesized_expression "(uVar5 & 0xf)" ( (binary_expression "uVar5 & 0xf" identifier & number_literal) )) < number_literal) )) (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }" { (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" * (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar6 + 3)" ( (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + number_literal) )))) = (binary_expression "cVar3 + '0'" identifier + (char_literal "'0'" ' character '))) ;) }) (else_clause "else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" else (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" { (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" * (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar6 + 3)" ( (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + number_literal) )))) = (binary_expression "cVar3 + 'W'" identifier + (char_literal "'W'" ' character '))) ;) }))) (expression_statement "bVar4 = 0xf < (int)uVar5;" (assignment_expression "bVar4 = 0xf < (int)uVar5" identifier = (binary_expression "0xf < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" identifier = identifier) ;) }) while (parenthesized_expression "(bVar4)" ( identifier )) ;) (expression_statement "iVar8 = iVar6 + -0xb + iVar8;" (assignment_expression "iVar8 = iVar6 + -0xb + iVar8" identifier = (binary_expression "iVar6 + -0xb + iVar8" (binary_expression "iVar6 + -0xb" identifier + number_literal) + identifier)) ;) (if_statement "if (0 < iVar8) goto LAB_001a7a2d;" if (parenthesized_expression "(0 < iVar8)" ( (binary_expression "0 < iVar8" number_literal < identifier) )) (goto_statement "goto LAB_001a7a2d;" goto statement_identifier ;)) }) (else_clause "else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" else (compound_statement "{\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" { (if_statement "if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" if (parenthesized_expression "(bVar2 == 0x75)" ( (binary_expression "bVar2 == 0x75" identifier == number_literal) )) (compound_statement "{\n      FUN_001a7520();\n      iVar8 = 4;\n    }" { (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = 4;" (assignment_expression "iVar8 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" else (compound_statement "{\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" { (if_statement "if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" if (parenthesized_expression "(bVar2 != 0x77)" ( (binary_expression "bVar2 != 0x77" identifier != number_literal) )) (compound_statement "{\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" { (if_statement "if (bVar2 == 0x61) goto LAB_001a7b20;" if (parenthesized_expression "(bVar2 == 0x61)" ( (binary_expression "bVar2 == 0x61" identifier == number_literal) )) (goto_statement "goto LAB_001a7b20;" goto statement_identifier ;)) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a58;" if (parenthesized_expression "((int)local_2c < 1)" ( (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_001a7a58;" goto statement_identifier ;)) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;) })) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" identifier = number_literal) ;) }))) (if_statement "if (0 < (int)local_2c) goto LAB_001a79ce;" if (parenthesized_expression "(0 < (int)local_2c)" ( (binary_expression "0 < (int)local_2c" number_literal < (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_001a79ce;" goto statement_identifier ;)) (labeled_statement "LAB_001a7a9c:\n    iVar9 = 10;" statement_identifier : (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" identifier = number_literal) ;)) (labeled_statement "LAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;" statement_identifier : (expression_statement "iVar9 = iVar9 - iVar8;" (assignment_expression "iVar9 = iVar9 - iVar8" identifier = (binary_expression "iVar9 - iVar8" identifier - identifier)) ;)) (do_statement "do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);" do (compound_statement "{\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    }" { (expression_statement "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;" (assignment_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30" (pointer_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" * (cast_expression "(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_2c + iVar8 + iVar9 + 3)" ( (binary_expression "(int)&local_2c + iVar8 + iVar9 + 3" (binary_expression "(int)&local_2c + iVar8 + iVar9" (binary_expression "(int)&local_2c + iVar8" (cast_expression "(int)&local_2c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_2c" & identifier)) + identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) ;) }))) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_001a7a58:\n  FUN_001a7520();" statement_identifier : (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" identifier (argument_list "()" ( ))) ;)) (return_statement "return pbVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) 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 IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + IDENT) ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT) + IDENT) ]) & LIT) )) != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) * LIT)) ))))) )))) )) (argument_list ( IDENT , IDENT ))))) ;) (return_statement return IDENT ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) = (binary_expression IDENT + (char_literal ' character '))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + LIT) )))) = (binary_expression IDENT + (char_literal ' character '))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( IDENT )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return IDENT ;) })))
(function_definition "byte * FUN_001a78e0(void)\n\n{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" (type_identifier "byte") (pointer_declarator "* FUN_001a78e0(void)" (* "*") (function_declarator "FUN_001a78e0(void)" (identifier "FUN_001a78e0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  byte *pbVar1;\n  byte bVar2;\n  char cVar3;\n  bool bVar4;\n  int extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int iVar8;\n  int iVar9;\n  undefined8 uVar10;\n  undefined4 uVar11;\n  undefined4 local_2c;\n  undefined4 local_28;\n  \n  uVar10 = FUN_00058c4a();\n  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);\n  uVar11 = (undefined4)uVar10;\n  iVar8 = unaff_EDI + 0x197719;\n  bVar2 = (byte)extraout_ECX;\n  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }\n  pbVar7 = (byte *)FUN_001a7410();\n  if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }\n  FUN_001a7520();\n  if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }\n  FUN_001a78a0();\nLAB_001a7a58:\n  FUN_001a7520();\n  return pbVar7;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (expression_statement "uVar10 = FUN_00058c4a();" (assignment_expression "uVar10 = FUN_00058c4a()" (identifier "uVar10") (= "=") (call_expression "FUN_00058c4a()" (identifier "FUN_00058c4a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);" (assignment_expression "pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20)" (identifier "pbVar7") (= "=") (cast_expression "(byte *)((ulonglong)uVar10 >> 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar10")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar11 = (undefined4)uVar10;" (assignment_expression "uVar11 = (undefined4)uVar10" (identifier "uVar11") (= "=") (cast_expression "(undefined4)uVar10" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (identifier "uVar10"))) (; ";")) (expression_statement "iVar8 = unaff_EDI + 0x197719;" (assignment_expression "iVar8 = unaff_EDI + 0x197719" (identifier "iVar8") (= "=") (binary_expression "unaff_EDI + 0x197719" (identifier "unaff_EDI") (+ "+") (number_literal "0x197719"))) (; ";")) (expression_statement "bVar2 = (byte)extraout_ECX;" (assignment_expression "bVar2 = (byte)extraout_ECX" (identifier "bVar2") (= "=") (cast_expression "(byte)extraout_ECX" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "extraout_ECX"))) (; ";")) (if_statement "if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" (if "if") (parenthesized_expression "(((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61))" (( "(") (binary_expression "((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)" (parenthesized_expression "((bVar2 & 0xfd) != 0x75)" (( "(") (binary_expression "(bVar2 & 0xfd) != 0x75" (parenthesized_expression "(bVar2 & 0xfd)" (( "(") (binary_expression "bVar2 & 0xfd" (identifier "bVar2") (& "&") (number_literal "0xfd")) () ")")) (!= "!=") (number_literal "0x75")) () ")")) (&& "&&") (parenthesized_expression "(bVar2 != 0x61)" (( "(") (binary_expression "bVar2 != 0x61" (identifier "bVar2") (!= "!=") (number_literal "0x61")) () ")"))) () ")")) (compound_statement "{\n    if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }\n    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }\n    return (byte *)0x0;\n  }" ({ "{") (if_statement "if (bVar2 == 0x62) {\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" (if "if") (parenthesized_expression "(bVar2 == 0x62)" (( "(") (binary_expression "bVar2 == 0x62" (identifier "bVar2") (== "==") (number_literal "0x62")) () ")")) (compound_statement "{\n      pbVar7 = (byte *)FUN_001a7410();\n      if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }\n      FUN_001a7520();\n      return pbVar7;\n    }" ({ "{") (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" (identifier "pbVar7") (= "=") (cast_expression "(byte *)FUN_001a7410()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001a7410()" (identifier "FUN_001a7410") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pbVar7 == (byte *)0x0) {\n        return (byte *)0x0;\n      }" (if "if") (parenthesized_expression "(pbVar7 == (byte *)0x0)" (( "(") (binary_expression "pbVar7 == (byte *)0x0" (identifier "pbVar7") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return (byte *)0x0;\n      }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return pbVar7;" (return "return") (identifier "pbVar7") (; ";")) (} "}"))) (if_statement "if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" (if "if") (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" (( "(") (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" (( "(") (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" (( "(") (pointer_expression "&UNK_000c4659" (& "&") (identifier "UNK_000c4659")) () ")")) ([ "[") (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7")) (* "*") (number_literal "2")) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar9 = 1 - (int)pbVar7;\n      do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);\n      if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }\n      if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }\n                    \n                    \n      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;\n      return pbVar7;\n    }" ({ "{") (expression_statement "iVar9 = 1 - (int)pbVar7;" (assignment_expression "iVar9 = 1 - (int)pbVar7" (identifier "iVar9") (= "=") (binary_expression "1 - (int)pbVar7" (number_literal "1") (- "-") (cast_expression "(int)pbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar7")))) (; ";")) (do_statement "do {\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);" (do "do") (compound_statement "{\n        pbVar1 = pbVar7 + iVar9;\n        pbVar7 = pbVar7 + 1;\n      }" ({ "{") (expression_statement "pbVar1 = pbVar7 + iVar9;" (assignment_expression "pbVar1 = pbVar7 + iVar9" (identifier "pbVar1") (= "=") (binary_expression "pbVar7 + iVar9" (identifier "pbVar7") (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar7 + 1" (identifier "pbVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0)" (( "(") (binary_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0" (parenthesized_expression "((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4)" (( "(") (binary_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4" (subscript_expression "(&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI]" (parenthesized_expression "(&UNK_000c4659)" (( "(") (pointer_expression "&UNK_000c4659" (& "&") (identifier "UNK_000c4659")) () ")")) ([ "[") (binary_expression "(uint)*pbVar7 * 2 + unaff_EDI" (binary_expression "(uint)*pbVar7 * 2" (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar7")) (* "*") (number_literal "2")) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (pbVar1 != (byte *)0x0) {\n        FUN_001a78a0();\n      }" (if "if") (parenthesized_expression "(pbVar1 != (byte *)0x0)" (( "(") (binary_expression "pbVar1 != (byte *)0x0" (identifier "pbVar1") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        FUN_001a78a0();\n      }" ({ "{") (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" (identifier "FUN_001a78a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (0xc < (byte)(extraout_ECX - 0x68U)) {\n        return pbVar7;\n      }" (if "if") (parenthesized_expression "(0xc < (byte)(extraout_ECX - 0x68U))" (( "(") (binary_expression "0xc < (byte)(extraout_ECX - 0x68U)" (number_literal "0xc") (< "<") (call_expression "(byte)(extraout_ECX - 0x68U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(extraout_ECX - 0x68U)" (( "(") (binary_expression "extraout_ECX - 0x68U" (identifier "extraout_ECX") (- "-") (number_literal "0x68U")) () ")")))) () ")")) (compound_statement "{\n        return pbVar7;\n      }" ({ "{") (return_statement "return pbVar7;" (return "return") (identifier "pbVar7") (; ";")) (} "}"))) (expression_statement "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)\n      ;" (assignment_expression "pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" (identifier "pbVar7") (= "=") (cast_expression "(byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)" (parenthesized_expression "(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)))" (( "(") (pointer_expression "*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" (* "*") (cast_expression "(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4))" (( "(") (binary_expression "iVar8 + *(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" (identifier "iVar8") (+ "+") (pointer_expression "*(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" (* "*") (cast_expression "(int *)(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4)" (( "(") (binary_expression "iVar8 + -0xd399c +\n                                                  (extraout_ECX - 0x68U & 0xff) * 4" (binary_expression "iVar8 + -0xd399c" (identifier "iVar8") (+ "+") (number_literal "-0xd399c")) (+ "+") (binary_expression "(extraout_ECX - 0x68U & 0xff) * 4" (parenthesized_expression "(extraout_ECX - 0x68U & 0xff)" (( "(") (binary_expression "extraout_ECX - 0x68U & 0xff" (binary_expression "extraout_ECX - 0x68U" (identifier "extraout_ECX") (- "-") (number_literal "0x68U")) (& "&") (number_literal "0xff")) () ")")) (* "*") (number_literal "4"))) () ")"))))) () ")")))) () ")")) (argument_list "(iVar8,uVar11)" (( "(") (identifier "iVar8") (, ",") (identifier "uVar11") () ")"))))) (; ";")) (return_statement "return pbVar7;" (return "return") (identifier "pbVar7") (; ";")) (} "}"))) (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "pbVar7 = (byte *)FUN_001a7410();" (assignment_expression "pbVar7 = (byte *)FUN_001a7410()" (identifier "pbVar7") (= "=") (cast_expression "(byte *)FUN_001a7410()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001a7410()" (identifier "FUN_001a7410") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pbVar7 == (byte *)0x0) {\n    return (byte *)0x0;\n  }" (if "if") (parenthesized_expression "(pbVar7 == (byte *)0x0)" (( "(") (binary_expression "pbVar7 == (byte *)0x0" (identifier "pbVar7") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return (byte *)0x0;\n  }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (bVar2 == 0x61) {\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }\n  else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" (if "if") (parenthesized_expression "(bVar2 == 0x61)" (( "(") (binary_expression "bVar2 == 0x61" (identifier "bVar2") (== "==") (number_literal "0x61")) () ")")) (compound_statement "{\n    if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }\nLAB_001a7b20:\n    FUN_001a7520();\n    iVar8 = 2;\n    if ((int)local_2c < 1) goto LAB_001a7a9c;\nLAB_001a79ce:\n    uVar5 = local_2c;\n    iVar9 = 10;\n    do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);\n    iVar8 = iVar6 + -0xb + iVar8;\n    if (0 < iVar8) goto LAB_001a7a2d;\n  }" ({ "{") (if_statement "if (local_2c - 0x20 < 0x5f) {\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" (if "if") (parenthesized_expression "(local_2c - 0x20 < 0x5f)" (( "(") (binary_expression "local_2c - 0x20 < 0x5f" (binary_expression "local_2c - 0x20" (identifier "local_2c") (- "-") (number_literal "0x20")) (< "<") (number_literal "0x5f")) () ")")) (compound_statement "{\n      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);\n      FUN_001a78a0();\n      goto LAB_001a7a58;\n    }" ({ "{") (expression_statement "local_28 = CONCAT31(local_28._1_3_,(char)local_2c);" (assignment_expression "local_28 = CONCAT31(local_28._1_3_,(char)local_2c)" (identifier "local_28") (= "=") (call_expression "CONCAT31(local_28._1_3_,(char)local_2c)" (identifier "CONCAT31") (argument_list "(local_28._1_3_,(char)local_2c)" (( "(") (field_expression "local_28._1_3_" (identifier "local_28") (. ".") (field_identifier "_1_3_")) (, ",") (cast_expression "(char)local_2c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_2c")) () ")")))) (; ";")) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" (identifier "FUN_001a78a0") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_001a7a58;" (goto "goto") (statement_identifier "LAB_001a7a58") (; ";")) (} "}"))) (labeled_statement "LAB_001a7b20:\n    FUN_001a7520();" (statement_identifier "LAB_001a7b20") (: ":") (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";"))) (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" (identifier "iVar8") (= "=") (number_literal "2")) (; ";")) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a9c;" (if "if") (parenthesized_expression "((int)local_2c < 1)" (( "(") (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_001a7a9c;" (goto "goto") (statement_identifier "LAB_001a7a9c") (; ";"))) (labeled_statement "LAB_001a79ce:\n    uVar5 = local_2c;" (statement_identifier "LAB_001a79ce") (: ":") (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" (identifier "uVar5") (= "=") (identifier "local_2c")) (; ";"))) (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" (identifier "iVar9") (= "=") (number_literal "10")) (; ";")) (do_statement "do {\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    } while (bVar4);" (do "do") (compound_statement "{\n      iVar6 = iVar9;\n      iVar9 = iVar6 + -1;\n      local_2c = (int)uVar5 >> 4;\n      cVar3 = (char)(uVar5 & 0xf);\n      if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }\n      bVar4 = 0xf < (int)uVar5;\n      uVar5 = local_2c;\n    }" ({ "{") (expression_statement "iVar6 = iVar9;" (assignment_expression "iVar6 = iVar9" (identifier "iVar6") (= "=") (identifier "iVar9")) (; ";")) (expression_statement "iVar9 = iVar6 + -1;" (assignment_expression "iVar9 = iVar6 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_2c = (int)uVar5 >> 4;" (assignment_expression "local_2c = (int)uVar5 >> 4" (identifier "local_2c") (= "=") (binary_expression "(int)uVar5 >> 4" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (>> ">>") (number_literal "4"))) (; ";")) (expression_statement "cVar3 = (char)(uVar5 & 0xf);" (assignment_expression "cVar3 = (char)(uVar5 & 0xf)" (identifier "cVar3") (= "=") (cast_expression "(char)(uVar5 & 0xf)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar5 & 0xf)" (( "(") (binary_expression "uVar5 & 0xf" (identifier "uVar5") (& "&") (number_literal "0xf")) () ")")))) (; ";")) (if_statement "if ((uVar5 & 0xf) < 10) {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }\n      else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" (if "if") (parenthesized_expression "((uVar5 & 0xf) < 10)" (( "(") (binary_expression "(uVar5 & 0xf) < 10" (parenthesized_expression "(uVar5 & 0xf)" (( "(") (binary_expression "uVar5 & 0xf" (identifier "uVar5") (& "&") (number_literal "0xf")) () ")")) (< "<") (number_literal "10")) () ")")) (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';\n      }" ({ "{") (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" (* "*") (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_2c + iVar6 + 3)" (( "(") (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "3")) () ")")))) (= "=") (binary_expression "cVar3 + '0'" (identifier "cVar3") (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (} "}")) (else_clause "else {\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" (else "else") (compound_statement "{\n        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';\n      }" ({ "{") (expression_statement "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';" (assignment_expression "*(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W'" (pointer_expression "*(char *)((int)&local_2c + iVar6 + 3)" (* "*") (cast_expression "(char *)((int)&local_2c + iVar6 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_2c + iVar6 + 3)" (( "(") (binary_expression "(int)&local_2c + iVar6 + 3" (binary_expression "(int)&local_2c + iVar6" (cast_expression "(int)&local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (+ "+") (identifier "iVar6")) (+ "+") (number_literal "3")) () ")")))) (= "=") (binary_expression "cVar3 + 'W'" (identifier "cVar3") (+ "+") (char_literal "'W'" (' "'") (character "W") (' "'")))) (; ";")) (} "}")))) (expression_statement "bVar4 = 0xf < (int)uVar5;" (assignment_expression "bVar4 = 0xf < (int)uVar5" (identifier "bVar4") (= "=") (binary_expression "0xf < (int)uVar5" (number_literal "0xf") (< "<") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")))) (; ";")) (expression_statement "uVar5 = local_2c;" (assignment_expression "uVar5 = local_2c" (identifier "uVar5") (= "=") (identifier "local_2c")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (; ";")) (expression_statement "iVar8 = iVar6 + -0xb + iVar8;" (assignment_expression "iVar8 = iVar6 + -0xb + iVar8" (identifier "iVar8") (= "=") (binary_expression "iVar6 + -0xb + iVar8" (binary_expression "iVar6 + -0xb" (identifier "iVar6") (+ "+") (number_literal "-0xb")) (+ "+") (identifier "iVar8"))) (; ";")) (if_statement "if (0 < iVar8) goto LAB_001a7a2d;" (if "if") (parenthesized_expression "(0 < iVar8)" (( "(") (binary_expression "0 < iVar8" (number_literal "0") (< "<") (identifier "iVar8")) () ")")) (goto_statement "goto LAB_001a7a2d;" (goto "goto") (statement_identifier "LAB_001a7a2d") (; ";"))) (} "}")) (else_clause "else {\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" (else "else") (compound_statement "{\n    if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }\n    if (0 < (int)local_2c) goto LAB_001a79ce;\nLAB_001a7a9c:\n    iVar9 = 10;\nLAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;\n    do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);\n  }" ({ "{") (if_statement "if (bVar2 == 0x75) {\n      FUN_001a7520();\n      iVar8 = 4;\n    }\n    else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" (if "if") (parenthesized_expression "(bVar2 == 0x75)" (( "(") (binary_expression "bVar2 == 0x75" (identifier "bVar2") (== "==") (number_literal "0x75")) () ")")) (compound_statement "{\n      FUN_001a7520();\n      iVar8 = 4;\n    }" ({ "{") (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar8 = 4;" (assignment_expression "iVar8 = 4" (identifier "iVar8") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" (else "else") (compound_statement "{\n      if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }\n      FUN_001a7520();\n      iVar8 = 8;\n    }" ({ "{") (if_statement "if (bVar2 != 0x77) {\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" (if "if") (parenthesized_expression "(bVar2 != 0x77)" (( "(") (binary_expression "bVar2 != 0x77" (identifier "bVar2") (!= "!=") (number_literal "0x77")) () ")")) (compound_statement "{\n        if (bVar2 == 0x61) goto LAB_001a7b20;\n        iVar8 = 0;\n        if ((int)local_2c < 1) goto LAB_001a7a58;\n        goto LAB_001a79ce;\n      }" ({ "{") (if_statement "if (bVar2 == 0x61) goto LAB_001a7b20;" (if "if") (parenthesized_expression "(bVar2 == 0x61)" (( "(") (binary_expression "bVar2 == 0x61" (identifier "bVar2") (== "==") (number_literal "0x61")) () ")")) (goto_statement "goto LAB_001a7b20;" (goto "goto") (statement_identifier "LAB_001a7b20") (; ";"))) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int)local_2c < 1) goto LAB_001a7a58;" (if "if") (parenthesized_expression "((int)local_2c < 1)" (( "(") (binary_expression "(int)local_2c < 1" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_001a7a58;" (goto "goto") (statement_identifier "LAB_001a7a58") (; ";"))) (goto_statement "goto LAB_001a79ce;" (goto "goto") (statement_identifier "LAB_001a79ce") (; ";")) (} "}"))) (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar8 = 8;" (assignment_expression "iVar8 = 8" (identifier "iVar8") (= "=") (number_literal "8")) (; ";")) (} "}")))) (if_statement "if (0 < (int)local_2c) goto LAB_001a79ce;" (if "if") (parenthesized_expression "(0 < (int)local_2c)" (( "(") (binary_expression "0 < (int)local_2c" (number_literal "0") (< "<") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) () ")")) (goto_statement "goto LAB_001a79ce;" (goto "goto") (statement_identifier "LAB_001a79ce") (; ";"))) (labeled_statement "LAB_001a7a9c:\n    iVar9 = 10;" (statement_identifier "LAB_001a7a9c") (: ":") (expression_statement "iVar9 = 10;" (assignment_expression "iVar9 = 10" (identifier "iVar9") (= "=") (number_literal "10")) (; ";"))) (labeled_statement "LAB_001a7a2d:\n    iVar9 = iVar9 - iVar8;" (statement_identifier "LAB_001a7a2d") (: ":") (expression_statement "iVar9 = iVar9 - iVar8;" (assignment_expression "iVar9 = iVar9 - iVar8" (identifier "iVar9") (= "=") (binary_expression "iVar9 - iVar8" (identifier "iVar9") (- "-") (identifier "iVar8"))) (; ";"))) (do_statement "do {\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    } while (iVar8 != 0);" (do "do") (compound_statement "{\n      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;\n      iVar8 = iVar8 + -1;\n    }" ({ "{") (expression_statement "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;" (assignment_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30" (pointer_expression "*(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" (* "*") (cast_expression "(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&local_2c + iVar8 + iVar9 + 3)" (( "(") (binary_expression "(int)&local_2c + iVar8 + iVar9 + 3" (binary_expression "(int)&local_2c + iVar8 + iVar9" (binary_expression "(int)&local_2c + iVar8" (cast_expression "(int)&local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&local_2c" (& "&") (identifier "local_2c"))) (+ "+") (identifier "iVar8")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "3")) () ")")))) (= "=") (number_literal "0x30")) (; ";")) (expression_statement "iVar8 = iVar8 + -1;" (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "FUN_001a78a0();" (call_expression "FUN_001a78a0()" (identifier "FUN_001a78a0") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_001a7a58:\n  FUN_001a7520();" (statement_identifier "LAB_001a7a58") (: ":") (expression_statement "FUN_001a7520();" (call_expression "FUN_001a7520()" (identifier "FUN_001a7520") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return pbVar7;" (return "return") (identifier "pbVar7") (; ";")) (} "}")))

char * function_1(type_1 *decl,char *mangled,char type)

{
  type_2 *var_9;
  type_2 var_2;
  char var_15;
  bool bVar3;
  type_1 *p;
  char *var_4;
  int var_16;
  int var_11;
  type_3 var_14;
  type_2 *var_7;
  int var_13;
  char *s;
  type_2 *var_8;
  int var_17;
  int var_5;
  type_4 uVar10;
  long var_12;
  char var_18 [10];
  
  uVar10 = var_1();
  var_7 = (type_2 *)((type_5)uVar10 >> 0x20);
  p = (type_1 *)uVar10;
  var_2 = (type_2)var_11;
  if (((var_2 & 0xfd) != 0x75) && (var_2 != 0x61)) {
    if (var_2 == 0x62) {
      var_4 = var_3((char *)var_7,(long *)var_18);
      if (var_4 == (char *)0x0) {
        return (char *)0x0;
      }
      s = (char *)(var_5 + 0xb0516);
      if (var_18._0_4_ == 0) {
        s = (char *)(var_5 + 0xb0510);
      }
      var_6(p,s);
      return var_4;
    }
    if (((&UNK_000c4659)[(type_3)*var_7 * 2 + var_5] & 4) != 0) {
      var_8 = var_7;
      do {
        var_9 = var_8 + (1 - (int)var_7);
        var_8 = var_8 + 1;
      } while (((&UNK_000c4659)[(type_3)*var_8 * 2 + var_5] & 4) != 0);
      if (var_9 != (type_2 *)0x0) {
        var_10(p,(char *)var_7,(int)var_9);
      }
      if (0xc < (type_2)(var_11 - 0x68U)) {
        return (char *)var_8;
      }
                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      var_4 = (char *)(*(type_6 *)(var_5 + 0x197719 +
                                 *(int *)(&UNK_000c3d7d +
                                         (var_11 - 0x68U & 0xff) * 4 + var_5)))();
      return var_4;
    }
    return (char *)0x0;
  }
  var_4 = var_3((char *)var_7,&var_12);
  if (var_4 == (char *)0x0) {
    return (char *)0x0;
  }
  var_6(p,(char *)(var_5 + 0xac216));
  if (var_2 == 0x61) {
    if (var_12 - 0x20U < 0x5f) {
      var_18[0] = (char)var_12;
      var_10(p,var_18,1);
      goto LAB_001a7a58;
    }
LAB_001a7b20:
    var_6(p,(char *)(var_5 + 0xc3b87));
    var_16 = 2;
    if (var_12 < 1) goto LAB_001a7a9c;
LAB_001a79ce:
    var_14 = var_12;
    var_17 = 10;
    do {
      var_13 = var_17;
      var_17 = var_13 + -1;
      var_12 = (int)var_14 >> 4;
      var_15 = (char)(var_14 & 0xf);
      if ((var_14 & 0xf) < 10) {
        var_18[var_13 + -1] = var_15 + '0';
      }
      else {
        var_18[var_13 + -1] = var_15 + 'W';
      }
      bVar3 = 0xf < (int)var_14;
      var_14 = var_12;
    } while (bVar3);
    var_16 = var_13 + -0xb + var_16;
    if (0 < var_16) goto LAB_001a7a2d;
  }
  else {
    if (var_2 == 0x75) {
      var_6(p,(char *)(var_5 + 0xc3b8a));
      var_16 = 4;
    }
    else {
      if (var_2 != 0x77) {
        if (var_2 == 0x61) goto LAB_001a7b20;
        var_16 = 0;
        if (var_12 < 1) goto LAB_001a7a58;
        goto LAB_001a79ce;
      }
      var_6(p,(char *)(var_5 + 0xc3b8d));
      var_16 = 8;
    }
    if (0 < var_12) goto LAB_001a79ce;
LAB_001a7a9c:
    var_17 = 10;
LAB_001a7a2d:
    var_13 = var_16;
    do {
      var_18[var_13 + (var_17 - var_16) + -1] = '0';
      var_13 = var_13 + -1;
    } while (var_13 != 0);
    var_17 = var_17 - var_16;
  }
  var_10(p,var_18 + var_17,10 - var_17);
LAB_001a7a58:
  var_6(p,(char *)(var_5 + 0xac216));
  return var_4;
}


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

byte * MASKED(void)

{
  byte *pbVar1;
  byte bVar2;
  char cVar3;
  bool bVar4;
  int extraout_ECX;
  uint uVar5;
  int iVar6;
  byte *pbVar7;
  int unaff_EDI;
  int iVar8;
  int iVar9;
  undefined8 uVar10;
  undefined4 uVar11;
  undefined4 local_2c;
  undefined4 local_28;
  
  uVar10 = FUN_00058c4a();
  pbVar7 = (byte *)((ulonglong)uVar10 >> 0x20);
  uVar11 = (undefined4)uVar10;
  iVar8 = unaff_EDI + 0x197719;
  bVar2 = (byte)extraout_ECX;
  if (((bVar2 & 0xfd) != 0x75) && (bVar2 != 0x61)) {
    if (bVar2 == 0x62) {
      pbVar7 = (byte *)FUN_001a7410();
      if (pbVar7 == (byte *)0x0) {
        return (byte *)0x0;
      }
      FUN_001a7520();
      return pbVar7;
    }
    if (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0) {
      iVar9 = 1 - (int)pbVar7;
      do {
        pbVar1 = pbVar7 + iVar9;
        pbVar7 = pbVar7 + 1;
      } while (((&UNK_000c4659)[(uint)*pbVar7 * 2 + unaff_EDI] & 4) != 0);
      if (pbVar1 != (byte *)0x0) {
        FUN_001a78a0();
      }
      if (0xc < (byte)(extraout_ECX - 0x68U)) {
        return pbVar7;
      }
                    /* WARNING: Could not recover jumptable at 0x001a7971. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      pbVar7 = (byte *)(*(code *)(iVar8 + *(int *)(iVar8 + -0xd399c +
                                                  (extraout_ECX - 0x68U & 0xff) * 4)))(iVar8,uVar11)
      ;
      return pbVar7;
    }
    return (byte *)0x0;
  }
  pbVar7 = (byte *)FUN_001a7410();
  if (pbVar7 == (byte *)0x0) {
    return (byte *)0x0;
  }
  FUN_001a7520();
  if (bVar2 == 0x61) {
    if (local_2c - 0x20 < 0x5f) {
      local_28 = CONCAT31(local_28._1_3_,(char)local_2c);
      FUN_001a78a0();
      goto LAB_001a7a58;
    }
LAB_001a7b20:
    FUN_001a7520();
    iVar8 = 2;
    if ((int)local_2c < 1) goto LAB_001a7a9c;
LAB_001a79ce:
    uVar5 = local_2c;
    iVar9 = 10;
    do {
      iVar6 = iVar9;
      iVar9 = iVar6 + -1;
      local_2c = (int)uVar5 >> 4;
      cVar3 = (char)(uVar5 & 0xf);
      if ((uVar5 & 0xf) < 10) {
        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + '0';
      }
      else {
        *(char *)((int)&local_2c + iVar6 + 3) = cVar3 + 'W';
      }
      bVar4 = 0xf < (int)uVar5;
      uVar5 = local_2c;
    } while (bVar4);
    iVar8 = iVar6 + -0xb + iVar8;
    if (0 < iVar8) goto LAB_001a7a2d;
  }
  else {
    if (bVar2 == 0x75) {
      FUN_001a7520();
      iVar8 = 4;
    }
    else {
      if (bVar2 != 0x77) {
        if (bVar2 == 0x61) goto LAB_001a7b20;
        iVar8 = 0;
        if ((int)local_2c < 1) goto LAB_001a7a58;
        goto LAB_001a79ce;
      }
      FUN_001a7520();
      iVar8 = 8;
    }
    if (0 < (int)local_2c) goto LAB_001a79ce;
LAB_001a7a9c:
    iVar9 = 10;
LAB_001a7a2d:
    iVar9 = iVar9 - iVar8;
    do {
      *(undefined1 *)((int)&local_2c + iVar8 + iVar9 + 3) = 0x30;
      iVar8 = iVar8 + -1;
    } while (iVar8 != 0);
  }
  FUN_001a78a0();
LAB_001a7a58:
  FUN_001a7520();
  return pbVar7;
}

