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

char * xmalloc_optname_optval(uint8_t *option,dhcp_optflag *optflag,char *opt_name)

{
  uint32_t nip;
  
}



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

void * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)

{
  int iVar1;
  void *pvVar2;
  byte *pbVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  char cVar8;
  byte *pbVar9;
  uint uVar10;
  byte *pbVar11;
  ushort *puVar12;
  int in_GS_OFFSET;
  byte bVar13;
  char *pcVar14;
  uint local_48;
  void *local_44;
  char *local_38;
  byte local_24 [4];
  int local_20;
  
  bVar13 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_48 = (uint)*(byte *)((int)param_1 + -1);
  param_2 = param_2 & 0xf;
  cVar8 = (char)param_2;
  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];
  strlen(param_3);
  local_44 = (void *)FUN_00019b1c();
  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);
  if (uVar6 <= local_48) {
    pbVar9 = (byte *)((int)local_44 + iVar1);
    local_38 = "%ld";
    if (cVar8 == '\a') {
      local_38 = "%lu";
    }
    do {
      switch(param_2) {
      default:
        goto switchD_0004a8f7_caseD_0;
      case 1:
      case 2:
        iVar1 = FUN_0004a514();
        pbVar9 = pbVar9 + iVar1;
        if (cVar8 != '\x01') {
          iVar1 = FUN_0004a514();
          pbVar9 = pbVar9 + iVar1;
        }
        goto switchD_0004a8f7_caseD_0;
      case 3:
      case 4:
        goto switchD_0004a8f7_caseD_3;
      case 5:
        uVar7 = (uint)(byte)*param_1;
        pcVar14 = "%u";
        break;
      case 6:
        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);
        pcVar14 = "%u";
        break;
      case 7:
      case 8:
        uVar7 = *param_1;
        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
        pcVar14 = local_38;
        break;
      case 10:
        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;
        pbVar3 = (byte *)((int)param_1 + 1);
        goto LAB_0004aab4;
      case 0xb:
        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&
           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,
           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {
          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);
          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));
          FUN_0004e98b();
          puVar12 = (ushort *)((int)param_1 + 0x12);
          do {
            FUN_0004a514();
            puVar12 = puVar12 + 2;
          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));
        }
        goto LAB_0004a928;
      case 0xc:
        pvVar2 = (void *)FUN_0004d148();
        if (pvVar2 != (void *)0x0) {
          free(local_44);
          local_44 = pvVar2;
        }
        goto LAB_0004a928;
      case 0xd:
        pbVar9 = (byte *)((int)param_1 + 1);
        if ((byte)*param_1 == 0) {
          pvVar2 = (void *)FUN_0004d148();
          if (pvVar2 != (void *)0x0) {
            free(local_44);
            local_44 = pvVar2;
          }
        }
        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {
          do {
            FUN_0004a514();
            pbVar9 = pbVar9 + 4;
          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);
        }
        goto LAB_0004a928;
      }
      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);
      pbVar9 = pbVar9 + iVar1;
switchD_0004a8f7_caseD_0:
      local_48 = local_48 - uVar6;
      if ((int)local_48 < (int)uVar6) break;
      param_1 = (uint *)((int)param_1 + uVar6);
      pbVar9[0] = 0x20;
      pbVar9[1] = 0;
      pbVar9 = pbVar9 + 1;
    } while( true );
  }
  goto LAB_0004a928;
  while( true ) {
    iVar1 = FUN_0004a514();
    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);
    iVar5 = FUN_0004a514();
    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;
    local_48 = local_48 - 4;
    if ((int)local_48 < 5) break;
    pbVar3 = pbVar11 + 5;
    uVar6 = (uint)pbVar11[4];
    if (0x20 < uVar6) break;
LAB_0004aab4:
    local_48 = local_48 - 1;
    local_24[0] = 0;
    local_24[1] = 0;
    local_24[2] = 0;
    local_24[3] = 0;
    uVar7 = uVar6 + 7 >> 3;
    pbVar11 = pbVar3;
    if (uVar7 != 0) {
      uVar10 = 0;
      do {
        local_24[uVar10] = pbVar3[uVar10];
        uVar10 = uVar10 + 1;
      } while (uVar7 != uVar10);
      pbVar11 = pbVar3 + uVar7;
      local_48 = local_48 - uVar7;
      if (local_48 < 4) break;
    }
  }
  goto LAB_0004a928;
code_r0x0004ac0c:
  pbVar9 = pbVar3 + 1;
  bVar13 = pbVar3[1];
  if (bVar13 == 0) goto LAB_0004a928;
  goto LAB_0004abe5;
switchD_0004a8f7_caseD_3:
  pbVar3 = pbVar9;
  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {
    *pbVar3 = (byte)*param_1;
    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);
    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;
  }
  pbVar9[local_48] = 0;
  if (cVar8 == '\x04') {
    bVar13 = *pbVar9;
LAB_0004abe5:
    pbVar3 = pbVar9;
    if (bVar13 != 0x2d) {
      do {
        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {
          if (bVar13 == 0) goto LAB_0004a928;
          if (bVar13 == 0x2e) goto code_r0x0004ac0c;
          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;
        }
        bVar13 = pbVar3[1];
        pbVar3 = pbVar3 + 1;
      } while( true );
    }
    FUN_000b1883();
  }
LAB_0004a928:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return local_44;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x48
CALL 0x00017640
ADD EBX,0x861f7
MOV ESI,EAX
MOV EBP,ECX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x38],EAX
XOR EAX,EAX
MOVZX EAX,byte ptr [ESI + -0x1]
AND EDX,0xf
MOV byte ptr [ESP + 0x18],DL
MOVZX EDI,DL
MOVZX ECX,byte ptr [EBX + EDI*0x1 + 0xffff79e9]
MOV dword ptr [ESP + 0x10],EAX
ADD EAX,ECX
MOV dword ptr [ESP + 0x1c],ECX
XOR EDX,EDX
DIV ECX
MOVZX EDX,byte ptr [EBX + EDI*0x1 + 0xffff769c]
IMUL EDX,EAX
MOV dword ptr [ESP + 0x14],EDX
PUSH EBP
CALL 0x00016b40
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
LEA EAX,[EDX + EAX*0x1 + 0x2]
CALL 0x00019b1c
MOV EDX,EAX
SUB ESP,0xc
PUSH EBP
LEA EAX,[EBX + 0xffff757b]
PUSH EAX
PUSH -0x1
PUSH 0x1
MOV dword ptr [ESP + 0x24],EDX
PUSH EDX
CALL 0x00017570
ADD ESP,0x20
MOV EBP,dword ptr [ESP + 0x10]
CMP dword ptr [ESP + 0x4],EBP
JL 0x0004a928
MOV ECX,dword ptr [ESP + 0x8]
LEA EBP,[ECX + EAX*0x1]
LEA EAX,[EBX + 0xffff757f]
MOV dword ptr [ESP + 0x14],EAX
CMP byte ptr [ESP + 0xc],0x7
JNZ 0x0004a8d2
LEA EAX,[EBX + 0xffffacff]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EDI*0x4 + 0x0]
MOV dword ptr [ESP + 0x18],EAX
LEA EDI,[EBX + 0xffff94e2]
CMP byte ptr [ESP + 0xc],0xd
JA 0x0004a914
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EBX + EDX*0x1 + 0xfffe8cf8]
ADD EAX,EBX
JMP EAX
MOV EAX,dword ptr [ESI]
BSWAP EAX
SUB ESP,0xc
PUSH EAX
PUSH dword ptr [ESP + 0x24]
PUSH -0x1
PUSH 0x1
PUSH EBP
CALL 0x00017570
ADD EBP,EAX
ADD ESP,0x20
MOV ECX,dword ptr [ESP + 0x10]
SUB dword ptr [ESP + 0x4],ECX
MOV EAX,dword ptr [ESP + 0x4]
CMP ECX,EAX
JLE 0x0004ab62
MOV EAX,dword ptr [ESP + 0x8]
MOV EDI,dword ptr [ESP + 0x2c]
XOR EDI,dword ptr GS:[0x14]
JNZ 0x0004a941
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e10
LEA EDI,[ESI + 0x1]
MOV AL,byte ptr [ESI]
TEST AL,AL
JNZ 0x0004a979
MOV EDX,dword ptr [ESP + 0x4]
DEC EDX
MOV EBP,dword ptr [ESP + 0x8]
MOV ECX,EBP
MOV EAX,EDI
CALL 0x0004d148
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0004a928
SUB ESP,0xc
PUSH EBP
CALL 0x000175a0
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],ESI
JMP 0x0004a928
DEC AL
JNZ 0x0004a928
MOV EAX,dword ptr [ESP + 0x4]
CMP EAX,0x4
JLE 0x0004a928
MOV EDX,EAX
SUB EDX,0x5
AND EDX,0xfffffffc
LEA ESI,[ESI + EDX*0x1 + 0x5]
LEA EDX,[EBX + 0xffffceff]
LEA EBX,[EBX + 0xffffac2e]
MOV ECX,EDI
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
ADD EDI,0x4
MOV EDX,EBX
CMP ESI,EDI
JZ 0x0004a928
JMP 0x0004a99e
MOV EDI,dword ptr [ESP + 0x8]
MOV ECX,EDI
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,ESI
CALL 0x0004d148
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0004a928
SUB ESP,0xc
PUSH EDI
CALL 0x000175a0
ADD ESP,0x10
MOV dword ptr [ESP + 0x8],ESI
JMP 0x0004a928
CMP dword ptr [ESP + 0x4],0x15
JLE 0x0004a928
MOVZX EAX,byte ptr [ESI]
CMP AL,0x20
JA 0x0004a928
MOVZX EDX,byte ptr [ESI + 0x1]
ADD EDX,0x20
SUB EDX,EAX
ADD EDX,-0x80
JG 0x0004a928
SUB ESP,0xc
PUSH EAX
LEA EDI,[EBX + 0xffff6824]
PUSH EDI
PUSH -0x1
PUSH 0x1
PUSH EBP
CALL 0x00017570
ADD EBP,EAX
ADD ESP,0x14
MOVZX EAX,byte ptr [ESI + 0x1]
PUSH EAX
PUSH EDI
PUSH -0x1
PUSH 0x1
PUSH EBP
CALL 0x00017570
ADD EBP,EAX
ADD ESP,0x20
LEA EDX,[ESI + 0x2]
MOV EAX,EBP
CALL 0x0004e98b
ADD EBP,EAX
LEA EDI,[ESI + 0x12]
MOV EDX,dword ptr [ESP + 0x4]
SUB EDX,0x16
AND EDX,0xfffffffc
LEA ESI,[ESI + EDX*0x1 + 0x16]
LEA EBX,[EBX + 0xffffac2e]
MOV ECX,EDI
MOV EDX,EBX
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
ADD EDI,0x4
CMP EDI,ESI
JZ 0x0004a928
JMP 0x0004aa62
MOV ECX,dword ptr [ESP + 0x4]
CMP ECX,0x4
JLE 0x0004a928
MOVZX EDI,byte ptr [ESI]
CMP EDI,0x20
JA 0x0004a928
LEA EAX,[ESI + 0x1]
LEA EDX,[EBX + 0xffffceff]
LEA ESI,[ESP + 0x28]
MOV dword ptr [ESP + 0xc],ESI
LEA ESI,[EBX + 0xffff6d39]
MOV dword ptr [ESP + 0x10],ESI
MOV dword ptr [ESP + 0x14],EDX
LEA ESI,[ECX + -0x1]
MOV dword ptr [ESP + 0x4],ESI
MOV dword ptr [ESP + 0x28],0x0
LEA ECX,[EDI + 0x7]
SHR ECX,0x3
JZ 0x0004ab02
XOR ESI,ESI
MOV dword ptr [ESP + 0x18],EDI
MOV dword ptr [ESP + 0x1c],EDX
MOV EDI,dword ptr [ESP + 0xc]
MOV DL,byte ptr [EAX + ESI*0x1]
MOV byte ptr [EDI + ESI*0x1],DL
INC ESI
CMP ECX,ESI
JNZ 0x0004aad5
MOV EDI,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
LEA ESI,[EAX + ECX*0x1]
SUB dword ptr [ESP + 0x4],ECX
MOV EAX,dword ptr [ESP + 0x4]
CMP EAX,0x3
JBE 0x0004a928
JMP 0x0004ab04
MOV ESI,EAX
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
SUB ESP,0xc
PUSH EDI
PUSH dword ptr [ESP + 0x20]
PUSH -0x1
PUSH 0x1
PUSH EBP
CALL 0x00017570
ADD EBP,EAX
ADD ESP,0x20
MOV ECX,ESI
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
MOV ECX,dword ptr [ESP + 0x4]
SUB ECX,0x4
CMP ECX,0x4
JLE 0x0004a928
LEA EAX,[ESI + 0x5]
MOVZX EDI,byte ptr [ESI + 0x4]
LEA EDX,[EBX + 0xffffac2e]
CMP EDI,0x20
JA 0x0004a928
JMP 0x0004aab4
ADD ESI,ECX
MOV word ptr [EBP],0x20
INC EBP
JMP 0x0004a8e3
MOVZX EAX,word ptr [ESI]
ROL AX,0x8
SUB ESP,0xc
MOVZX EAX,AX
PUSH EAX
PUSH EDI
JMP 0x0004a905
SUB ESP,0xc
MOVZX EAX,byte ptr [ESI]
PUSH EAX
PUSH EDI
JMP 0x0004a905
MOV ECX,ESI
LEA EDX,[EBX + 0xffffceff]
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
CMP byte ptr [ESP + 0xc],0x1
JZ 0x0004a914
LEA ECX,[ESI + 0x4]
LEA EDX,[EBX + 0xffffa788]
MOV EAX,EBP
CALL 0x0004a514
ADD EBP,EAX
JMP 0x0004a914
MOV EDI,EBP
MOV ECX,dword ptr [ESP + 0x4]
MOVSB.REP ES:EDI,ESI
MOV ECX,dword ptr [ESP + 0x4]
MOV byte ptr [EBP + ECX*0x1],0x0
CMP byte ptr [ESP + 0xc],0x4
JNZ 0x0004a928
MOV AL,byte ptr [EBP]
MOV ECX,EBP
CMP AL,0x2d
JZ 0x0004ac28
MOV EDX,ECX
MOV CL,AL
OR ECX,0x20
SUB ECX,0x61
CMP CL,0x19
JBE 0x0004ac1f
LEA ECX,[EAX + -0x30]
CMP CL,0x9
JBE 0x0004ac1f
TEST AL,AL
JZ 0x0004a928
CMP AL,0x2e
JNZ 0x0004ac1b
LEA ECX,[EDX + 0x1]
MOV AL,byte ptr [EDX + 0x1]
TEST AL,AL
JNZ 0x0004abe5
JMP 0x0004a928
CMP AL,0x2d
JNZ 0x0004ac24
INC EDX
MOV AL,byte ptr [EDX]
JMP 0x0004abeb
CMP AL,0x5f
JZ 0x0004ac1f
MOV ECX,dword ptr [ESP + 0x4]
LEA EDX,[EBX + 0xffff9517]
MOV EAX,EBP
CALL 0x000b1883
JMP 0x0004a928
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}\n\n" comment (function_definition "void * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" identifier (parameter_list "(uint *param_1,uint param_2,char *param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "ushort *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "void *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "byte local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_48 = (uint)*(byte *)((int)param_1 + -1);" (assignment_expression "local_48 = (uint)*(byte *)((int)param_1 + -1)" identifier = (binary_expression "(uint)*(byte *)((int)param_1 + -1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)param_1 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + -1)" ( (binary_expression "(int)param_1 + -1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2 = param_2 & 0xf;" (assignment_expression "param_2 = param_2 & 0xf" identifier = (binary_expression "param_2 & 0xf" identifier & number_literal)) ;) (expression_statement "cVar8 = (char)param_2;" (assignment_expression "cVar8 = (char)param_2" identifier = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];" (assignment_expression "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2]" identifier = (subscript_expression "(uint)(byte)(&DAT_000c8409)[param_2]" (call_expression "(uint)(byte)(&DAT_000c8409)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_000c8409)" ( (pointer_expression "&DAT_000c8409" & identifier) ))) [ identifier ])) ;) (expression_statement "strlen(param_3);" (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "local_44 = (void *)FUN_00019b1c();" (assignment_expression "local_44 = (void *)FUN_00019b1c()" identifier = (cast_expression "(void *)FUN_00019b1c()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);" (assignment_expression "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" identifier = (call_expression "__sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" identifier (argument_list "(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_000c7f9b" & identifier) , identifier )))) ;) (if_statement "if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(uVar6 <= local_48)" ( (binary_expression "uVar6 <= local_48" identifier <= identifier) )) (compound_statement "{\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" { (expression_statement "pbVar9 = (byte *)((int)local_44 + iVar1);" (assignment_expression "pbVar9 = (byte *)((int)local_44 + iVar1)" identifier = (cast_expression "(byte *)((int)local_44 + iVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_44 + iVar1)" ( (binary_expression "(int)local_44 + iVar1" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "local_38 = "%ld";" (assignment_expression "local_38 = "%ld"" identifier = (string_literal ""%ld"" " string_content ")) ;) (if_statement "if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }" if (parenthesized_expression "(cVar8 == '\a')" ( (binary_expression "cVar8 == '\a'" identifier == (char_literal "'\a'" ' escape_sequence ')) )) (compound_statement "{\n      local_38 = "%lu";\n    }" { (expression_statement "local_38 = "%lu";" (assignment_expression "local_38 = "%lu"" identifier = (string_literal ""%lu"" " string_content ")) ;) })) (do_statement "do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );" do (compound_statement "{\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    }" { (switch_statement "switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" { (case_statement "default:\n        goto switchD_0004a8f7_caseD_0;" default : (goto_statement "goto switchD_0004a8f7_caseD_0;" goto statement_identifier ;)) (case_statement "case 1:" case number_literal :) (case_statement "case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;" case number_literal : (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) (if_statement "if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" if (parenthesized_expression "(cVar8 != '\x01')" ( (binary_expression "cVar8 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" { (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) })) (goto_statement "goto switchD_0004a8f7_caseD_0;" goto statement_identifier ;)) (case_statement "case 3:" case number_literal :) (case_statement "case 4:\n        goto switchD_0004a8f7_caseD_3;" case number_literal : (goto_statement "goto switchD_0004a8f7_caseD_3;" goto statement_identifier ;)) (case_statement "case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;" case number_literal : (expression_statement "uVar7 = (uint)(byte)*param_1;" (assignment_expression "uVar7 = (uint)(byte)*param_1" identifier = (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" identifier = (string_literal ""%u"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;" case number_literal : (expression_statement "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);" (assignment_expression "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" identifier = (call_expression "(uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" ( (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal)) )))) ;) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" identifier = (string_literal ""%u"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 7:" case number_literal :) (case_statement "case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;" case number_literal : (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) (expression_statement "pcVar14 = local_38;" (assignment_expression "pcVar14 = local_38" identifier = identifier) ;) (break_statement "break;" break ;)) (case_statement "case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;" case number_literal : (if_statement "if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;" if (parenthesized_expression "(((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6))" ( (binary_expression "((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" (parenthesized_expression "((int)local_48 < 5)" ( (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" ( (comma_expression "uVar6 = (uint)(byte)*param_1, 0x20 < uVar6" (assignment_expression "uVar6 = (uint)(byte)*param_1" identifier = (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) , (binary_expression "0x20 < uVar6" number_literal < identifier)) ))) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (expression_statement "pbVar3 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar3 = (byte *)((int)param_1 + 1)" identifier = (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (goto_statement "goto LAB_0004aab4;" goto statement_identifier ;)) (case_statement "case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;" case number_literal : (if_statement "if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" if (parenthesized_expression "(((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0))" ( (binary_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" (parenthesized_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21))" ( (binary_expression "(0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)" (parenthesized_expression "(0x15 < (int)local_48)" ( (binary_expression "0x15 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(bVar13 = (byte)*param_1, bVar13 < 0x21)" ( (comma_expression "bVar13 = (byte)*param_1, bVar13 < 0x21" (assignment_expression "bVar13 = (byte)*param_1" identifier = (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier)) , (binary_expression "bVar13 < 0x21" identifier < number_literal)) ))) )) && (parenthesized_expression "(iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" ( (comma_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (assignment_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" identifier = (binary_expression "(*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" (parenthesized_expression "(*(byte *)((int)param_1 + 1) + 0x20)" ( (binary_expression "*(byte *)((int)param_1 + 1) + 0x20" (pointer_expression "*(byte *)((int)param_1 + 1)" * (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )) - (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) , (binary_expression "iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (binary_expression "iVar1 == 0x80" identifier == number_literal) || (binary_expression "SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (call_expression "SCARRY4(iVar1,-0x80)" identifier (argument_list "(iVar1,-0x80)" ( identifier , number_literal ))) != (binary_expression "iVar1 + -0x80 < 0" (binary_expression "iVar1 + -0x80" identifier + number_literal) < number_literal)))) ))) )) (compound_statement "{\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" { (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" identifier = (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" identifier (argument_list "(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" ( identifier , number_literal , number_literal , (string_literal ""%u "" " string_content ") , (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (expression_statement "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));" (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" identifier (argument_list "(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" ( (binary_expression "pbVar9 + iVar1" identifier + identifier) , number_literal , number_literal , (string_literal ""%u "" " string_content ") , (pointer_expression "*(byte *)((int)param_1 + 1)" * (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "FUN_0004e98b();" (call_expression "FUN_0004e98b()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar12 = (ushort *)((int)param_1 + 0x12);" (assignment_expression "puVar12 = (ushort *)((int)param_1 + 0x12)" identifier = (cast_expression "(ushort *)((int)param_1 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (do_statement "do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));" do (compound_statement "{\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          }" { (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar12 = puVar12 + 2;" (assignment_expression "puVar12 = puVar12 + 2" identifier = (binary_expression "puVar12 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16))" ( (binary_expression "puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" identifier != (cast_expression "(ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" ( (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16" (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_48 - 0x16 & 0xfffffffc)" ( (binary_expression "local_48 - 0x16 & 0xfffffffc" (binary_expression "local_48 - 0x16" identifier - number_literal) & number_literal) ))) + number_literal) )))) )) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (case_statement "case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;" case number_literal : (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" identifier = (cast_expression "(void *)FUN_0004d148()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004d148()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_44);\n          local_44 = pvVar2;\n        }" { (expression_statement "free(local_44);" (call_expression "free(local_44)" identifier (argument_list "(local_44)" ( identifier ))) ;) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" identifier = identifier) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (case_statement "case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;" case number_literal : (expression_statement "pbVar9 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar9 = (byte *)((int)param_1 + 1)" identifier = (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" if (parenthesized_expression "((byte)*param_1 == 0)" ( (binary_expression "(byte)*param_1 == 0" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier) == number_literal) )) (compound_statement "{\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }" { (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" identifier = (cast_expression "(void *)FUN_0004d148()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004d148()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(local_44);\n            local_44 = pvVar2;\n          }" { (expression_statement "free(local_44);" (call_expression "free(local_44)" identifier (argument_list "(local_44)" ( identifier ))) ;) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" identifier = identifier) ;) })) }) (else_clause "else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" else (if_statement "if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" if (parenthesized_expression "(((byte)*param_1 == 1) && (4 < (int)local_48))" ( (binary_expression "((byte)*param_1 == 1) && (4 < (int)local_48)" (parenthesized_expression "((byte)*param_1 == 1)" ( (binary_expression "(byte)*param_1 == 1" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier) == number_literal) )) && (parenthesized_expression "(4 < (int)local_48)" ( (binary_expression "4 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" { (do_statement "do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);" do (compound_statement "{\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          }" { (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar9 = pbVar9 + 4;" (assignment_expression "pbVar9 = pbVar9 + 4" identifier = (binary_expression "pbVar9 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9)" ( (binary_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9" (cast_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" ( (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc) + 5" (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_48 - 5 & 0xfffffffc)" ( (binary_expression "local_48 - 5 & 0xfffffffc" (binary_expression "local_48 - 5" identifier - number_literal) & number_literal) ))) + number_literal) ))) != identifier) )) ;) })))) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) })) (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" identifier = (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" identifier (argument_list "(pbVar9,1,0xffffffff,pcVar14,uVar7)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) (labeled_statement "switchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;" statement_identifier : (expression_statement "local_48 = local_48 - uVar6;" (assignment_expression "local_48 = local_48 - uVar6" identifier = (binary_expression "local_48 - uVar6" identifier - identifier)) ;)) (if_statement "if ((int)local_48 < (int)uVar6) break;" if (parenthesized_expression "((int)local_48 < (int)uVar6)" ( (binary_expression "(int)local_48 < (int)uVar6" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (uint *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (uint *)((int)param_1 + uVar6)" identifier = (cast_expression "(uint *)((int)param_1 + uVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar6)" ( (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "pbVar9[0] = 0x20;" (assignment_expression "pbVar9[0] = 0x20" (subscript_expression "pbVar9[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar9[1] = 0;" (assignment_expression "pbVar9[1] = 0" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;) (while_statement "while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" { (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);" (assignment_expression "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" identifier = (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" identifier (argument_list "(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" ( (binary_expression "pbVar9 + iVar1" identifier + identifier) , number_literal , number_literal , (string_literal ""/%u "" " string_content ") , identifier )))) ;) (expression_statement "iVar5 = FUN_0004a514();" (assignment_expression "iVar5 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;" (assignment_expression "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4" identifier = (binary_expression "pbVar9 + iVar1 + iVar5 + iVar4" (binary_expression "pbVar9 + iVar1 + iVar5" (binary_expression "pbVar9 + iVar1" identifier + identifier) + identifier) + identifier)) ;) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" identifier = (binary_expression "local_48 - 4" identifier - number_literal)) ;) (if_statement "if ((int)local_48 < 5) break;" if (parenthesized_expression "((int)local_48 < 5)" ( (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar3 = pbVar11 + 5;" (assignment_expression "pbVar3 = pbVar11 + 5" identifier = (binary_expression "pbVar11 + 5" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)pbVar11[4];" (assignment_expression "uVar6 = (uint)pbVar11[4]" identifier = (cast_expression "(uint)pbVar11[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar11[4]" identifier [ number_literal ]))) ;) (if_statement "if (0x20 < uVar6) break;" if (parenthesized_expression "(0x20 < uVar6)" ( (binary_expression "0x20 < uVar6" number_literal < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0004aab4:\n    local_48 = local_48 - 1;" statement_identifier : (expression_statement "local_48 = local_48 - 1;" (assignment_expression "local_48 = local_48 - 1" identifier = (binary_expression "local_48 - 1" identifier - number_literal)) ;)) (expression_statement "local_24[0] = 0;" (assignment_expression "local_24[0] = 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[2] = 0;" (assignment_expression "local_24[2] = 0" (subscript_expression "local_24[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[3] = 0;" (assignment_expression "local_24[3] = 0" (subscript_expression "local_24[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar7 = uVar6 + 7 >> 3;" (assignment_expression "uVar7 = uVar6 + 7 >> 3" identifier = (binary_expression "uVar6 + 7 >> 3" (binary_expression "uVar6 + 7" identifier + number_literal) >> number_literal)) ;) (expression_statement "pbVar11 = pbVar3;" (assignment_expression "pbVar11 = pbVar3" identifier = identifier) ;) (if_statement "if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);" do (compound_statement "{\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      }" { (expression_statement "local_24[uVar10] = pbVar3[uVar10];" (assignment_expression "local_24[uVar10] = pbVar3[uVar10]" (subscript_expression "local_24[uVar10]" identifier [ identifier ]) = (subscript_expression "pbVar3[uVar10]" identifier [ identifier ])) ;) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != uVar10)" ( (binary_expression "uVar7 != uVar10" identifier != identifier) )) ;) (expression_statement "pbVar11 = pbVar3 + uVar7;" (assignment_expression "pbVar11 = pbVar3 + uVar7" identifier = (binary_expression "pbVar3 + uVar7" identifier + identifier)) ;) (expression_statement "local_48 = local_48 - uVar7;" (assignment_expression "local_48 = local_48 - uVar7" identifier = (binary_expression "local_48 - uVar7" identifier - identifier)) ;) (if_statement "if (local_48 < 4) break;" if (parenthesized_expression "(local_48 < 4)" ( (binary_expression "local_48 < 4" identifier < number_literal) )) (break_statement "break;" break ;)) })) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;) (labeled_statement "code_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;" statement_identifier : (expression_statement "pbVar9 = pbVar3 + 1;" (assignment_expression "pbVar9 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;)) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar13 == 0) goto LAB_0004a928;" if (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (goto_statement "goto LAB_0004abe5;" goto statement_identifier ;) (labeled_statement "switchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;" statement_identifier : (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" identifier = identifier) ;)) (for_statement "for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" for ( (assignment_expression "uVar6 = local_48" identifier = identifier) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" { (expression_statement "*pbVar3 = (byte)*param_1;" (assignment_expression "*pbVar3 = (byte)*param_1" (pointer_expression "*pbVar3" * identifier) = (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier)) ;) (expression_statement "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);" (assignment_expression "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" identifier = (cast_expression "(uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (uint)bVar13 * -2 + 1)" ( (binary_expression "(int)param_1 + (uint)bVar13 * -2 + 1" (binary_expression "(int)param_1 + (uint)bVar13 * -2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;" (assignment_expression "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1" identifier = (binary_expression "pbVar3 + (uint)bVar13 * -2 + 1" (binary_expression "pbVar3 + (uint)bVar13 * -2" identifier + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "pbVar9[local_48] = 0;" (assignment_expression "pbVar9[local_48] = 0" (subscript_expression "pbVar9[local_48]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" if (parenthesized_expression "(cVar8 == '\x04')" ( (binary_expression "cVar8 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" { (expression_statement "bVar13 = *pbVar9;" (assignment_expression "bVar13 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (labeled_statement "LAB_0004abe5:\n    pbVar3 = pbVar9;" statement_identifier : (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" identifier = identifier) ;)) (if_statement "if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(bVar13 != 0x2d)" ( (binary_expression "bVar13 != 0x2d" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" { (do_statement "do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );" do (compound_statement "{\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      }" { (if_statement "if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" if (parenthesized_expression "((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30)))" ( (binary_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))" (parenthesized_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f))" ( (binary_expression "0x19 < (byte)((bVar13 | 0x20) + 0x9f)" number_literal < (call_expression "(byte)((bVar13 | 0x20) + 0x9f)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((bVar13 | 0x20) + 0x9f)" ( (binary_expression "(bVar13 | 0x20) + 0x9f" (parenthesized_expression "(bVar13 | 0x20)" ( (binary_expression "bVar13 | 0x20" identifier | number_literal) )) + number_literal) )))) )) && (parenthesized_expression "(9 < (byte)(bVar13 - 0x30))" ( (binary_expression "9 < (byte)(bVar13 - 0x30)" number_literal < (call_expression "(byte)(bVar13 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar13 - 0x30)" ( (binary_expression "bVar13 - 0x30" identifier - number_literal) )))) ))) )) (compound_statement "{\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" { (if_statement "if (bVar13 == 0) goto LAB_0004a928;" if (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (if_statement "if (bVar13 == 0x2e) goto code_r0x0004ac0c;" if (parenthesized_expression "(bVar13 == 0x2e)" ( (binary_expression "bVar13 == 0x2e" identifier == number_literal) )) (goto_statement "goto code_r0x0004ac0c;" goto statement_identifier ;)) (if_statement "if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;" if (parenthesized_expression "((bVar13 != 0x2d) && (bVar13 != 0x5f))" ( (binary_expression "(bVar13 != 0x2d) && (bVar13 != 0x5f)" (parenthesized_expression "(bVar13 != 0x2d)" ( (binary_expression "bVar13 != 0x2d" identifier != number_literal) )) && (parenthesized_expression "(bVar13 != 0x5f)" ( (binary_expression "bVar13 != 0x5f" identifier != number_literal) ))) )) (break_statement "break;" break ;)) })) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "FUN_000b1883();" (call_expression "FUN_000b1883()" identifier (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return local_44;\n  }" { (return_statement "return local_44;" return identifier ;) }))) comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * xmalloc_optname_optval(uint8_t *option,dhcp_optflag *optflag,char *opt_name)\n\n{\n  uint32_t nip;\n  \n}\n\n" comment (function_definition "char * xmalloc_optname_optval(uint8_t *option,dhcp_optflag *optflag,char *opt_name)\n\n{\n  uint32_t nip;\n  \n}" primitive_type (pointer_declarator "* xmalloc_optname_optval(uint8_t *option,dhcp_optflag *optflag,char *opt_name)" * (function_declarator "xmalloc_optname_optval(uint8_t *option,dhcp_optflag *optflag,char *opt_name)" identifier (parameter_list "(uint8_t *option,dhcp_optflag *optflag,char *opt_name)" ( (parameter_declaration "uint8_t *option" primitive_type (pointer_declarator "*option" * identifier)) , (parameter_declaration "dhcp_optflag *optflag" type_identifier (pointer_declarator "*optflag" * identifier)) , (parameter_declaration "char *opt_name" primitive_type (pointer_declarator "*opt_name" * identifier)) )))) (compound_statement "{\n  uint32_t nip;\n  \n}" { (declaration "uint32_t nip;" primitive_type identifier ;) })))
(translation_unit "void * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    \n  FUN_00017e10();\n}\n\n" (function_definition "void * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    \n  FUN_00017e10();\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" identifier (parameter_list "(uint *param_1,uint param_2,char *param_3)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    \n  FUN_00017e10();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char cVar8;" primitive_type identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "ushort *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "uint local_48;" type_identifier identifier ;) (declaration "void *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "byte local_24 [4];" type_identifier (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_48 = (uint)*(byte *)((int)param_1 + -1);" (assignment_expression "local_48 = (uint)*(byte *)((int)param_1 + -1)" identifier = (binary_expression "(uint)*(byte *)((int)param_1 + -1)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)((int)param_1 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + -1)" ( (binary_expression "(int)param_1 + -1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2 = param_2 & 0xf;" (assignment_expression "param_2 = param_2 & 0xf" identifier = (binary_expression "param_2 & 0xf" identifier & number_literal)) ;) (expression_statement "cVar8 = (char)param_2;" (assignment_expression "cVar8 = (char)param_2" identifier = (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];" (assignment_expression "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2]" identifier = (subscript_expression "(uint)(byte)(&DAT_000c8409)[param_2]" (call_expression "(uint)(byte)(&DAT_000c8409)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) (argument_list "(&DAT_000c8409)" ( (pointer_expression "&DAT_000c8409" & identifier) ))) [ identifier ])) ;) (expression_statement "strlen(param_3);" (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (expression_statement "local_44 = (void *)FUN_00019b1c();" (assignment_expression "local_44 = (void *)FUN_00019b1c()" identifier = (cast_expression "(void *)FUN_00019b1c()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019b1c()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);" (assignment_expression "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" identifier = (call_expression "__sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" identifier (argument_list "(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" ( identifier , number_literal , number_literal , (pointer_expression "&DAT_000c7f9b" & identifier) , identifier )))) ;) (if_statement "if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" if (parenthesized_expression "(uVar6 <= local_48)" ( (binary_expression "uVar6 <= local_48" identifier <= identifier) )) (compound_statement "{\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" { (expression_statement "pbVar9 = (byte *)((int)local_44 + iVar1);" (assignment_expression "pbVar9 = (byte *)((int)local_44 + iVar1)" identifier = (cast_expression "(byte *)((int)local_44 + iVar1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_44 + iVar1)" ( (binary_expression "(int)local_44 + iVar1" (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "local_38 = "%ld";" (assignment_expression "local_38 = "%ld"" identifier = (string_literal ""%ld"" " string_content ")) ;) (if_statement "if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }" if (parenthesized_expression "(cVar8 == '\a')" ( (binary_expression "cVar8 == '\a'" identifier == (char_literal "'\a'" ' escape_sequence ')) )) (compound_statement "{\n      local_38 = "%lu";\n    }" { (expression_statement "local_38 = "%lu";" (assignment_expression "local_38 = "%lu"" identifier = (string_literal ""%lu"" " string_content ")) ;) })) (do_statement "do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );" do (compound_statement "{\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    }" { (switch_statement "switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" switch (parenthesized_expression "(param_2)" ( identifier )) (compound_statement "{\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" { (case_statement "default:\n        goto switchD_0004a8f7_caseD_0;" default : (goto_statement "goto switchD_0004a8f7_caseD_0;" goto statement_identifier ;)) (case_statement "case 1:" case number_literal :) (case_statement "case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;" case number_literal : (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) (if_statement "if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" if (parenthesized_expression "(cVar8 != '\x01')" ( (binary_expression "cVar8 != '\x01'" identifier != (char_literal "'\x01'" ' escape_sequence ')) )) (compound_statement "{\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" { (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) })) (goto_statement "goto switchD_0004a8f7_caseD_0;" goto statement_identifier ;)) (case_statement "case 3:" case number_literal :) (case_statement "case 4:\n        goto switchD_0004a8f7_caseD_3;" case number_literal : (goto_statement "goto switchD_0004a8f7_caseD_3;" goto statement_identifier ;)) (case_statement "case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;" case number_literal : (expression_statement "uVar7 = (uint)(byte)*param_1;" (assignment_expression "uVar7 = (uint)(byte)*param_1" identifier = (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" identifier = (string_literal ""%u"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;" case number_literal : (expression_statement "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);" (assignment_expression "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" identifier = (call_expression "(uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(ushort)" ( identifier ))) (argument_list "((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" ( (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) << number_literal) | (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" ( identifier )) * identifier) >> number_literal)) )))) ;) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" identifier = (string_literal ""%u"" " string_content ")) ;) (break_statement "break;" break ;)) (case_statement "case 7:" case number_literal :) (case_statement "case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;" case number_literal : (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" identifier = (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" ( (binary_expression "uVar7 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" ( (binary_expression "uVar7 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar7 << 0x18" identifier << number_literal))) ;) (expression_statement "pcVar14 = local_38;" (assignment_expression "pcVar14 = local_38" identifier = identifier) ;) (break_statement "break;" break ;)) (case_statement "case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;" case number_literal : (if_statement "if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;" if (parenthesized_expression "(((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6))" ( (binary_expression "((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" (parenthesized_expression "((int)local_48 < 5)" ( (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" ( (comma_expression "uVar6 = (uint)(byte)*param_1, 0x20 < uVar6" (assignment_expression "uVar6 = (uint)(byte)*param_1" identifier = (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) , (binary_expression "0x20 < uVar6" number_literal < identifier)) ))) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (expression_statement "pbVar3 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar3 = (byte *)((int)param_1 + 1)" identifier = (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (goto_statement "goto LAB_0004aab4;" goto statement_identifier ;)) (case_statement "case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;" case number_literal : (if_statement "if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" if (parenthesized_expression "(((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0))" ( (binary_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" (parenthesized_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21))" ( (binary_expression "(0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)" (parenthesized_expression "(0x15 < (int)local_48)" ( (binary_expression "0x15 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) )) && (parenthesized_expression "(bVar13 = (byte)*param_1, bVar13 < 0x21)" ( (comma_expression "bVar13 = (byte)*param_1, bVar13 < 0x21" (assignment_expression "bVar13 = (byte)*param_1" identifier = (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier)) , (binary_expression "bVar13 < 0x21" identifier < number_literal)) ))) )) && (parenthesized_expression "(iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" ( (comma_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (assignment_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" identifier = (binary_expression "(*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" (parenthesized_expression "(*(byte *)((int)param_1 + 1) + 0x20)" ( (binary_expression "*(byte *)((int)param_1 + 1) + 0x20" (pointer_expression "*(byte *)((int)param_1 + 1)" * (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )) - (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier))) , (binary_expression "iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (binary_expression "iVar1 == 0x80" identifier == number_literal) || (binary_expression "SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (call_expression "SCARRY4(iVar1,-0x80)" identifier (argument_list "(iVar1,-0x80)" ( identifier , number_literal ))) != (binary_expression "iVar1 + -0x80 < 0" (binary_expression "iVar1 + -0x80" identifier + number_literal) < number_literal)))) ))) )) (compound_statement "{\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" { (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" identifier = (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" identifier (argument_list "(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" ( identifier , number_literal , number_literal , (string_literal ""%u "" " string_content ") , (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (expression_statement "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));" (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" identifier (argument_list "(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" ( (binary_expression "pbVar9 + iVar1" identifier + identifier) , number_literal , number_literal , (string_literal ""%u "" " string_content ") , (pointer_expression "*(byte *)((int)param_1 + 1)" * (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "FUN_0004e98b();" (call_expression "FUN_0004e98b()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar12 = (ushort *)((int)param_1 + 0x12);" (assignment_expression "puVar12 = (ushort *)((int)param_1 + 0x12)" identifier = (cast_expression "(ushort *)((int)param_1 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x12)" ( (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (do_statement "do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));" do (compound_statement "{\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          }" { (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar12 = puVar12 + 2;" (assignment_expression "puVar12 = puVar12 + 2" identifier = (binary_expression "puVar12 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16))" ( (binary_expression "puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" identifier != (cast_expression "(ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" ( (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16" (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_48 - 0x16 & 0xfffffffc)" ( (binary_expression "local_48 - 0x16 & 0xfffffffc" (binary_expression "local_48 - 0x16" identifier - number_literal) & number_literal) ))) + number_literal) )))) )) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (case_statement "case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;" case number_literal : (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" identifier = (cast_expression "(void *)FUN_0004d148()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004d148()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_44);\n          local_44 = pvVar2;\n        }" { (expression_statement "free(local_44);" (call_expression "free(local_44)" identifier (argument_list "(local_44)" ( identifier ))) ;) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" identifier = identifier) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (case_statement "case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;" case number_literal : (expression_statement "pbVar9 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar9 = (byte *)((int)param_1 + 1)" identifier = (cast_expression "(byte *)((int)param_1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 1)" ( (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" if (parenthesized_expression "((byte)*param_1 == 0)" ( (binary_expression "(byte)*param_1 == 0" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier) == number_literal) )) (compound_statement "{\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }" { (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" identifier = (cast_expression "(void *)FUN_0004d148()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0004d148()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }" if (parenthesized_expression "(pvVar2 != (void *)0x0)" ( (binary_expression "pvVar2 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(local_44);\n            local_44 = pvVar2;\n          }" { (expression_statement "free(local_44);" (call_expression "free(local_44)" identifier (argument_list "(local_44)" ( identifier ))) ;) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" identifier = identifier) ;) })) }) (else_clause "else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" else (if_statement "if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" if (parenthesized_expression "(((byte)*param_1 == 1) && (4 < (int)local_48))" ( (binary_expression "((byte)*param_1 == 1) && (4 < (int)local_48)" (parenthesized_expression "((byte)*param_1 == 1)" ( (binary_expression "(byte)*param_1 == 1" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier) == number_literal) )) && (parenthesized_expression "(4 < (int)local_48)" ( (binary_expression "4 < (int)local_48" number_literal < (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) (compound_statement "{\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" { (do_statement "do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);" do (compound_statement "{\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          }" { (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" identifier (argument_list "()" ( ))) ;) (expression_statement "pbVar9 = pbVar9 + 4;" (assignment_expression "pbVar9 = pbVar9 + 4" identifier = (binary_expression "pbVar9 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9)" ( (binary_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9" (cast_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" ( (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc) + 5" (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_48 - 5 & 0xfffffffc)" ( (binary_expression "local_48 - 5 & 0xfffffffc" (binary_expression "local_48 - 5" identifier - number_literal) & number_literal) ))) + number_literal) ))) != identifier) )) ;) })))) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) })) (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" identifier = (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" identifier (argument_list "(pbVar9,1,0xffffffff,pcVar14,uVar7)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" identifier = (binary_expression "pbVar9 + iVar1" identifier + identifier)) ;) (labeled_statement "switchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;" statement_identifier : (expression_statement "local_48 = local_48 - uVar6;" (assignment_expression "local_48 = local_48 - uVar6" identifier = (binary_expression "local_48 - uVar6" identifier - identifier)) ;)) (if_statement "if ((int)local_48 < (int)uVar6) break;" if (parenthesized_expression "((int)local_48 < (int)uVar6)" ( (binary_expression "(int)local_48 < (int)uVar6" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "param_1 = (uint *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (uint *)((int)param_1 + uVar6)" identifier = (cast_expression "(uint *)((int)param_1 + uVar6)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar6)" ( (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "pbVar9[0] = 0x20;" (assignment_expression "pbVar9[0] = 0x20" (subscript_expression "pbVar9[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar9[1] = 0;" (assignment_expression "pbVar9[1] = 0" (subscript_expression "pbVar9[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" identifier = (binary_expression "pbVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;) (while_statement "while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" { (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);" (assignment_expression "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" identifier = (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" identifier (argument_list "(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" ( (binary_expression "pbVar9 + iVar1" identifier + identifier) , number_literal , number_literal , (string_literal ""/%u "" " string_content ") , identifier )))) ;) (expression_statement "iVar5 = FUN_0004a514();" (assignment_expression "iVar5 = FUN_0004a514()" identifier = (call_expression "FUN_0004a514()" identifier (argument_list "()" ( )))) ;) (expression_statement "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;" (assignment_expression "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4" identifier = (binary_expression "pbVar9 + iVar1 + iVar5 + iVar4" (binary_expression "pbVar9 + iVar1 + iVar5" (binary_expression "pbVar9 + iVar1" identifier + identifier) + identifier) + identifier)) ;) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" identifier = (binary_expression "local_48 - 4" identifier - number_literal)) ;) (if_statement "if ((int)local_48 < 5) break;" if (parenthesized_expression "((int)local_48 < 5)" ( (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar3 = pbVar11 + 5;" (assignment_expression "pbVar3 = pbVar11 + 5" identifier = (binary_expression "pbVar11 + 5" identifier + number_literal)) ;) (expression_statement "uVar6 = (uint)pbVar11[4];" (assignment_expression "uVar6 = (uint)pbVar11[4]" identifier = (cast_expression "(uint)pbVar11[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar11[4]" identifier [ number_literal ]))) ;) (if_statement "if (0x20 < uVar6) break;" if (parenthesized_expression "(0x20 < uVar6)" ( (binary_expression "0x20 < uVar6" number_literal < identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0004aab4:\n    local_48 = local_48 - 1;" statement_identifier : (expression_statement "local_48 = local_48 - 1;" (assignment_expression "local_48 = local_48 - 1" identifier = (binary_expression "local_48 - 1" identifier - number_literal)) ;)) (expression_statement "local_24[0] = 0;" (assignment_expression "local_24[0] = 0" (subscript_expression "local_24[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[2] = 0;" (assignment_expression "local_24[2] = 0" (subscript_expression "local_24[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_24[3] = 0;" (assignment_expression "local_24[3] = 0" (subscript_expression "local_24[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar7 = uVar6 + 7 >> 3;" (assignment_expression "uVar7 = uVar6 + 7 >> 3" identifier = (binary_expression "uVar6 + 7 >> 3" (binary_expression "uVar6 + 7" identifier + number_literal) >> number_literal)) ;) (expression_statement "pbVar11 = pbVar3;" (assignment_expression "pbVar11 = pbVar3" identifier = identifier) ;) (if_statement "if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" if (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);" do (compound_statement "{\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      }" { (expression_statement "local_24[uVar10] = pbVar3[uVar10];" (assignment_expression "local_24[uVar10] = pbVar3[uVar10]" (subscript_expression "local_24[uVar10]" identifier [ identifier ]) = (subscript_expression "pbVar3[uVar10]" identifier [ identifier ])) ;) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != uVar10)" ( (binary_expression "uVar7 != uVar10" identifier != identifier) )) ;) (expression_statement "pbVar11 = pbVar3 + uVar7;" (assignment_expression "pbVar11 = pbVar3 + uVar7" identifier = (binary_expression "pbVar3 + uVar7" identifier + identifier)) ;) (expression_statement "local_48 = local_48 - uVar7;" (assignment_expression "local_48 = local_48 - uVar7" identifier = (binary_expression "local_48 - uVar7" identifier - identifier)) ;) (if_statement "if (local_48 < 4) break;" if (parenthesized_expression "(local_48 < 4)" ( (binary_expression "local_48 < 4" identifier < number_literal) )) (break_statement "break;" break ;)) })) })) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;) (labeled_statement "code_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;" statement_identifier : (expression_statement "pbVar9 = pbVar3 + 1;" (assignment_expression "pbVar9 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;)) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar13 == 0) goto LAB_0004a928;" if (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (goto_statement "goto LAB_0004abe5;" goto statement_identifier ;) (labeled_statement "switchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;" statement_identifier : (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" identifier = identifier) ;)) (for_statement "for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" for ( (assignment_expression "uVar6 = local_48" identifier = identifier) ; (binary_expression "uVar6 != 0" identifier != number_literal) ; (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ) (compound_statement "{\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" { (expression_statement "*pbVar3 = (byte)*param_1;" (assignment_expression "*pbVar3 = (byte)*param_1" (pointer_expression "*pbVar3" * identifier) = (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" ( identifier )) * identifier)) ;) (expression_statement "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);" (assignment_expression "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" identifier = (cast_expression "(uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + (uint)bVar13 * -2 + 1)" ( (binary_expression "(int)param_1 + (uint)bVar13 * -2 + 1" (binary_expression "(int)param_1 + (uint)bVar13 * -2" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;" (assignment_expression "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1" identifier = (binary_expression "pbVar3 + (uint)bVar13 * -2 + 1" (binary_expression "pbVar3 + (uint)bVar13 * -2" identifier + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "pbVar9[local_48] = 0;" (assignment_expression "pbVar9[local_48] = 0" (subscript_expression "pbVar9[local_48]" identifier [ identifier ]) = number_literal) ;) (if_statement "if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" if (parenthesized_expression "(cVar8 == '\x04')" ( (binary_expression "cVar8 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" { (expression_statement "bVar13 = *pbVar9;" (assignment_expression "bVar13 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (labeled_statement "LAB_0004abe5:\n    pbVar3 = pbVar9;" statement_identifier : (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" identifier = identifier) ;)) (if_statement "if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" if (parenthesized_expression "(bVar13 != 0x2d)" ( (binary_expression "bVar13 != 0x2d" identifier != number_literal) )) (compound_statement "{\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" { (do_statement "do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );" do (compound_statement "{\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      }" { (if_statement "if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" if (parenthesized_expression "((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30)))" ( (binary_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))" (parenthesized_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f))" ( (binary_expression "0x19 < (byte)((bVar13 | 0x20) + 0x9f)" number_literal < (call_expression "(byte)((bVar13 | 0x20) + 0x9f)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((bVar13 | 0x20) + 0x9f)" ( (binary_expression "(bVar13 | 0x20) + 0x9f" (parenthesized_expression "(bVar13 | 0x20)" ( (binary_expression "bVar13 | 0x20" identifier | number_literal) )) + number_literal) )))) )) && (parenthesized_expression "(9 < (byte)(bVar13 - 0x30))" ( (binary_expression "9 < (byte)(bVar13 - 0x30)" number_literal < (call_expression "(byte)(bVar13 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar13 - 0x30)" ( (binary_expression "bVar13 - 0x30" identifier - number_literal) )))) ))) )) (compound_statement "{\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" { (if_statement "if (bVar13 == 0) goto LAB_0004a928;" if (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a928;" goto statement_identifier ;)) (if_statement "if (bVar13 == 0x2e) goto code_r0x0004ac0c;" if (parenthesized_expression "(bVar13 == 0x2e)" ( (binary_expression "bVar13 == 0x2e" identifier == number_literal) )) (goto_statement "goto code_r0x0004ac0c;" goto statement_identifier ;)) (if_statement "if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;" if (parenthesized_expression "((bVar13 != 0x2d) && (bVar13 != 0x5f))" ( (binary_expression "(bVar13 != 0x2d) && (bVar13 != 0x5f)" (parenthesized_expression "(bVar13 != 0x2d)" ( (binary_expression "bVar13 != 0x2d" identifier != number_literal) )) && (parenthesized_expression "(bVar13 != 0x5f)" ( (binary_expression "bVar13 != 0x5f" identifier != number_literal) ))) )) (break_statement "break;" break ;)) })) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "FUN_000b1883();" (call_expression "FUN_000b1883()" identifier (argument_list "()" ( ))) ;) })) (labeled_statement "LAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return local_44;\n  }" { (return_statement "return local_44;" return identifier ;) }))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_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 = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (pointer_expression & IDENT) ))) [ IDENT ])) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (do_statement do (compound_statement { (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement default : (goto_statement goto statement_identifier ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT :) (case_statement case LIT : (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT) | (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) >> LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (break_statement break ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (break_statement break ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) * IDENT)) , (binary_expression LIT < IDENT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) , (binary_expression IDENT < LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) , (binary_expression (binary_expression IDENT == LIT) || (binary_expression (call_expression IDENT (argument_list ( IDENT , LIT ))) != (binary_expression (binary_expression IDENT + LIT) < LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , LIT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) + LIT) )))) )) ;) })) (goto_statement goto statement_identifier ;)) (case_statement case 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 { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * 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 { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) == LIT) )) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) + LIT) ))) != IDENT) )) ;) })))) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (goto_statement goto statement_identifier ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + IDENT) , LIT , LIT , (string_literal " string_content ") , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT + IDENT) + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) })) })) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (for_statement for ( (assignment_expression IDENT = IDENT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT | LIT) )) + LIT) )))) )) && (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void * __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)\n\n{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    \n  FUN_00017e10();\n}" (primitive_type "void") (pointer_declarator "* __regparm3 FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004a81d(uint *param_1,uint param_2,char *param_3)" (identifier "FUN_0004a81d") (parameter_list "(uint *param_1,uint param_2,char *param_3)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  void *pvVar2;\n  byte *pbVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  uint uVar7;\n  char cVar8;\n  byte *pbVar9;\n  uint uVar10;\n  byte *pbVar11;\n  ushort *puVar12;\n  int in_GS_OFFSET;\n  byte bVar13;\n  char *pcVar14;\n  uint local_48;\n  void *local_44;\n  char *local_38;\n  byte local_24 [4];\n  int local_20;\n  \n  bVar13 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  local_48 = (uint)*(byte *)((int)param_1 + -1);\n  param_2 = param_2 & 0xf;\n  cVar8 = (char)param_2;\n  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];\n  strlen(param_3);\n  local_44 = (void *)FUN_00019b1c();\n  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);\n  if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }\n  goto LAB_0004a928;\n  while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }\n  goto LAB_0004a928;\ncode_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;\n  bVar13 = pbVar3[1];\n  if (bVar13 == 0) goto LAB_0004a928;\n  goto LAB_0004abe5;\nswitchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;\n  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }\n  pbVar9[local_48] = 0;\n  if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }\nLAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }\n                    \n  FUN_00017e10();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "char cVar8;" (primitive_type "char") (identifier "cVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "ushort *puVar12;" (type_identifier "ushort") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar13;" (type_identifier "byte") (identifier "bVar13") (; ";")) (declaration "char *pcVar14;" (primitive_type "char") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "uint local_48;" (type_identifier "uint") (identifier "local_48") (; ";")) (declaration "void *local_44;" (primitive_type "void") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "char *local_38;" (primitive_type "char") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "byte local_24 [4];" (type_identifier "byte") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" (identifier "bVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_48 = (uint)*(byte *)((int)param_1 + -1);" (assignment_expression "local_48 = (uint)*(byte *)((int)param_1 + -1)" (identifier "local_48") (= "=") (binary_expression "(uint)*(byte *)((int)param_1 + -1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)((int)param_1 + -1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + -1)" (( "(") (binary_expression "(int)param_1 + -1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "-1")) () ")"))))) (; ";")) (expression_statement "param_2 = param_2 & 0xf;" (assignment_expression "param_2 = param_2 & 0xf" (identifier "param_2") (= "=") (binary_expression "param_2 & 0xf" (identifier "param_2") (& "&") (number_literal "0xf"))) (; ";")) (expression_statement "cVar8 = (char)param_2;" (assignment_expression "cVar8 = (char)param_2" (identifier "cVar8") (= "=") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];" (assignment_expression "uVar6 = (uint)(byte)(&DAT_000c8409)[param_2]" (identifier "uVar6") (= "=") (subscript_expression "(uint)(byte)(&DAT_000c8409)[param_2]" (call_expression "(uint)(byte)(&DAT_000c8409)" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (argument_list "(&DAT_000c8409)" (( "(") (pointer_expression "&DAT_000c8409" (& "&") (identifier "DAT_000c8409")) () ")"))) ([ "[") (identifier "param_2") (] "]"))) (; ";")) (expression_statement "strlen(param_3);" (call_expression "strlen(param_3)" (identifier "strlen") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (expression_statement "local_44 = (void *)FUN_00019b1c();" (assignment_expression "local_44 = (void *)FUN_00019b1c()" (identifier "local_44") (= "=") (cast_expression "(void *)FUN_00019b1c()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019b1c()" (identifier "FUN_00019b1c") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);" (assignment_expression "iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" (identifier "iVar1") (= "=") (call_expression "__sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" (identifier "__sprintf_chk") (argument_list "(local_44,1,0xffffffff,&DAT_000c7f9b,param_3)" (( "(") (identifier "local_44") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&DAT_000c7f9b" (& "&") (identifier "DAT_000c7f9b")) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (uVar6 <= local_48) {\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(uVar6 <= local_48)" (( "(") (binary_expression "uVar6 <= local_48" (identifier "uVar6") (<= "<=") (identifier "local_48")) () ")")) (compound_statement "{\n    pbVar9 = (byte *)((int)local_44 + iVar1);\n    local_38 = "%ld";\n    if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }\n    do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );\n  }" ({ "{") (expression_statement "pbVar9 = (byte *)((int)local_44 + iVar1);" (assignment_expression "pbVar9 = (byte *)((int)local_44 + iVar1)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)((int)local_44 + iVar1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_44 + iVar1)" (( "(") (binary_expression "(int)local_44 + iVar1" (cast_expression "(int)local_44" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_44")) (+ "+") (identifier "iVar1")) () ")")))) (; ";")) (expression_statement "local_38 = "%ld";" (assignment_expression "local_38 = "%ld"" (identifier "local_38") (= "=") (string_literal ""%ld"" (" """) (string_content "%ld") (" """))) (; ";")) (if_statement "if (cVar8 == '\a') {\n      local_38 = "%lu";\n    }" (if "if") (parenthesized_expression "(cVar8 == '\a')" (( "(") (binary_expression "cVar8 == '\a'" (identifier "cVar8") (== "==") (char_literal "'\a'" (' "'") (escape_sequence "\a") (' "'"))) () ")")) (compound_statement "{\n      local_38 = "%lu";\n    }" ({ "{") (expression_statement "local_38 = "%lu";" (assignment_expression "local_38 = "%lu"" (identifier "local_38") (= "=") (string_literal ""%lu"" (" """) (string_content "%lu") (" """))) (; ";")) (} "}"))) (do_statement "do {\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    } while( true );" (do "do") (compound_statement "{\n      switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }\n      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);\n      pbVar9 = pbVar9 + iVar1;\nswitchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;\n      if ((int)local_48 < (int)uVar6) break;\n      param_1 = (uint *)((int)param_1 + uVar6);\n      pbVar9[0] = 0x20;\n      pbVar9[1] = 0;\n      pbVar9 = pbVar9 + 1;\n    }" ({ "{") (switch_statement "switch(param_2) {\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" (switch "switch") (parenthesized_expression "(param_2)" (( "(") (identifier "param_2") () ")")) (compound_statement "{\n      default:\n        goto switchD_0004a8f7_caseD_0;\n      case 1:\n      case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;\n      case 3:\n      case 4:\n        goto switchD_0004a8f7_caseD_3;\n      case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;\n      case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;\n      case 7:\n      case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;\n      case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;\n      case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;\n      case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;\n      case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;\n      }" ({ "{") (case_statement "default:\n        goto switchD_0004a8f7_caseD_0;" (default "default") (: ":") (goto_statement "goto switchD_0004a8f7_caseD_0;" (goto "goto") (statement_identifier "switchD_0004a8f7_caseD_0") (; ";"))) (case_statement "case 1:" (case "case") (number_literal "1") (: ":")) (case_statement "case 2:\n        iVar1 = FUN_0004a514();\n        pbVar9 = pbVar9 + iVar1;\n        if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }\n        goto switchD_0004a8f7_caseD_0;" (case "case") (number_literal "2") (: ":") (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" (identifier "iVar1") (= "=") (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (cVar8 != '\x01') {\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" (if "if") (parenthesized_expression "(cVar8 != '\x01')" (( "(") (binary_expression "cVar8 != '\x01'" (identifier "cVar8") (!= "!=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (compound_statement "{\n          iVar1 = FUN_0004a514();\n          pbVar9 = pbVar9 + iVar1;\n        }" ({ "{") (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" (identifier "iVar1") (= "=") (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1"))) (; ";")) (} "}"))) (goto_statement "goto switchD_0004a8f7_caseD_0;" (goto "goto") (statement_identifier "switchD_0004a8f7_caseD_0") (; ";"))) (case_statement "case 3:" (case "case") (number_literal "3") (: ":")) (case_statement "case 4:\n        goto switchD_0004a8f7_caseD_3;" (case "case") (number_literal "4") (: ":") (goto_statement "goto switchD_0004a8f7_caseD_3;" (goto "goto") (statement_identifier "switchD_0004a8f7_caseD_3") (; ";"))) (case_statement "case 5:\n        uVar7 = (uint)(byte)*param_1;\n        pcVar14 = "%u";\n        break;" (case "case") (number_literal "5") (: ":") (expression_statement "uVar7 = (uint)(byte)*param_1;" (assignment_expression "uVar7 = (uint)(byte)*param_1" (identifier "uVar7") (= "=") (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" (identifier "pcVar14") (= "=") (string_literal ""%u"" (" """) (string_content "%u") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 6:\n        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);\n        pcVar14 = "%u";\n        break;" (case "case") (number_literal "6") (: ":") (expression_statement "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);" (assignment_expression "uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" (identifier "uVar7") (= "=") (call_expression "(uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" (call_expression "(uint)(ushort)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(ushort)" (( "(") (identifier "ushort") () ")"))) (argument_list "((ushort)*param_1 << 8 | (ushort)*param_1 >> 8)" (( "(") (binary_expression "(ushort)*param_1 << 8 | (ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1 << 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(ushort)*param_1 >> 8" (binary_expression "(ushort)*param_1" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (* "*") (identifier "param_1")) (>> ">>") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "pcVar14 = "%u";" (assignment_expression "pcVar14 = "%u"" (identifier "pcVar14") (= "=") (string_literal ""%u"" (" """) (string_content "%u") (" """))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 7:" (case "case") (number_literal "7") (: ":")) (case_statement "case 8:\n        uVar7 = *param_1;\n        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;\n        pcVar14 = local_38;\n        break;" (case "case") (number_literal "8") (: ":") (expression_statement "uVar7 = *param_1;" (assignment_expression "uVar7 = *param_1" (identifier "uVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;" (assignment_expression "uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (identifier "uVar7") (= "=") (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8" (binary_expression "uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8" (binary_expression "uVar7 >> 0x18" (identifier "uVar7") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar7 & 0xff0000) >> 8" (parenthesized_expression "(uVar7 & 0xff0000)" (( "(") (binary_expression "uVar7 & 0xff0000" (identifier "uVar7") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar7 & 0xff00) << 8" (parenthesized_expression "(uVar7 & 0xff00)" (( "(") (binary_expression "uVar7 & 0xff00" (identifier "uVar7") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar7 << 0x18" (identifier "uVar7") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "pcVar14 = local_38;" (assignment_expression "pcVar14 = local_38" (identifier "pcVar14") (= "=") (identifier "local_38")) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 10:\n        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;\n        pbVar3 = (byte *)((int)param_1 + 1);\n        goto LAB_0004aab4;" (case "case") (number_literal "10") (: ":") (if_statement "if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;" (if "if") (parenthesized_expression "(((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6))" (( "(") (binary_expression "((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" (parenthesized_expression "((int)local_48 < 5)" (( "(") (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (< "<") (number_literal "5")) () ")")) (|| "||") (parenthesized_expression "(uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)" (( "(") (comma_expression "uVar6 = (uint)(byte)*param_1, 0x20 < uVar6" (assignment_expression "uVar6 = (uint)(byte)*param_1" (identifier "uVar6") (= "=") (binary_expression "(uint)(byte)*param_1" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(byte)" (( "(") (identifier "byte") () ")"))) (* "*") (identifier "param_1"))) (, ",") (binary_expression "0x20 < uVar6" (number_literal "0x20") (< "<") (identifier "uVar6"))) () ")"))) () ")")) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (expression_statement "pbVar3 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar3 = (byte *)((int)param_1 + 1)" (identifier "pbVar3") (= "=") (cast_expression "(byte *)((int)param_1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (goto_statement "goto LAB_0004aab4;" (goto "goto") (statement_identifier "LAB_0004aab4") (; ";"))) (case_statement "case 0xb:\n        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }\n        goto LAB_0004a928;" (case "case") (number_literal "0xb") (: ":") (if_statement "if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" (if "if") (parenthesized_expression "(((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0))" (( "(") (binary_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&\n           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" (parenthesized_expression "((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21))" (( "(") (binary_expression "(0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)" (parenthesized_expression "(0x15 < (int)local_48)" (( "(") (binary_expression "0x15 < (int)local_48" (number_literal "0x15") (< "<") (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48"))) () ")")) (&& "&&") (parenthesized_expression "(bVar13 = (byte)*param_1, bVar13 < 0x21)" (( "(") (comma_expression "bVar13 = (byte)*param_1, bVar13 < 0x21" (assignment_expression "bVar13 = (byte)*param_1" (identifier "bVar13") (= "=") (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (identifier "param_1"))) (, ",") (binary_expression "bVar13 < 0x21" (identifier "bVar13") (< "<") (number_literal "0x21"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)" (( "(") (comma_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,\n           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (assignment_expression "iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" (identifier "iVar1") (= "=") (binary_expression "(*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13" (parenthesized_expression "(*(byte *)((int)param_1 + 1) + 0x20)" (( "(") (binary_expression "*(byte *)((int)param_1 + 1) + 0x20" (pointer_expression "*(byte *)((int)param_1 + 1)" (* "*") (cast_expression "(byte *)((int)param_1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (+ "+") (number_literal "0x20")) () ")")) (- "-") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")))) (, ",") (binary_expression "iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (binary_expression "iVar1 == 0x80" (identifier "iVar1") (== "==") (number_literal "0x80")) (|| "||") (binary_expression "SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0" (call_expression "SCARRY4(iVar1,-0x80)" (identifier "SCARRY4") (argument_list "(iVar1,-0x80)" (( "(") (identifier "iVar1") (, ",") (number_literal "-0x80") () ")"))) (!= "!=") (binary_expression "iVar1 + -0x80 < 0" (binary_expression "iVar1 + -0x80" (identifier "iVar1") (+ "+") (number_literal "-0x80")) (< "<") (number_literal "0"))))) () ")"))) () ")")) (compound_statement "{\n          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);\n          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));\n          FUN_0004e98b();\n          puVar12 = (ushort *)((int)param_1 + 0x12);\n          do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));\n        }" ({ "{") (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" (identifier "iVar1") (= "=") (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" (identifier "__sprintf_chk") (argument_list "(pbVar9,1,0xffffffff,"%u ",(uint)bVar13)" (( "(") (identifier "pbVar9") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""%u "" (" """) (string_content "%u ") (" """)) (, ",") (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")) () ")")))) (; ";")) (expression_statement "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));" (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" (identifier "__sprintf_chk") (argument_list "(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1))" (( "(") (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1")) (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""%u "" (" """) (string_content "%u ") (" """)) (, ",") (pointer_expression "*(byte *)((int)param_1 + 1)" (* "*") (cast_expression "(byte *)((int)param_1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0004e98b();" (call_expression "FUN_0004e98b()" (identifier "FUN_0004e98b") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar12 = (ushort *)((int)param_1 + 0x12);" (assignment_expression "puVar12 = (ushort *)((int)param_1 + 0x12)" (identifier "puVar12") (= "=") (cast_expression "(ushort *)((int)param_1 + 0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x12)" (( "(") (binary_expression "(int)param_1 + 0x12" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x12")) () ")")))) (; ";")) (do_statement "do {\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));" (do "do") (compound_statement "{\n            FUN_0004a514();\n            puVar12 = puVar12 + 2;\n          }" ({ "{") (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar12 = puVar12 + 2;" (assignment_expression "puVar12 = puVar12 + 2" (identifier "puVar12") (= "=") (binary_expression "puVar12 + 2" (identifier "puVar12") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16))" (( "(") (binary_expression "puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" (identifier "puVar12") (!= "!=") (cast_expression "(ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16)" (( "(") (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16" (binary_expression "(int)param_1 + (local_48 - 0x16 & 0xfffffffc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(local_48 - 0x16 & 0xfffffffc)" (( "(") (binary_expression "local_48 - 0x16 & 0xfffffffc" (binary_expression "local_48 - 0x16" (identifier "local_48") (- "-") (number_literal "0x16")) (& "&") (number_literal "0xfffffffc")) () ")"))) (+ "+") (number_literal "0x16")) () ")")))) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (case_statement "case 0xc:\n        pvVar2 = (void *)FUN_0004d148();\n        if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }\n        goto LAB_0004a928;" (case "case") (number_literal "0xc") (: ":") (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" (identifier "pvVar2") (= "=") (cast_expression "(void *)FUN_0004d148()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0004d148()" (identifier "FUN_0004d148") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pvVar2 != (void *)0x0) {\n          free(local_44);\n          local_44 = pvVar2;\n        }" (if "if") (parenthesized_expression "(pvVar2 != (void *)0x0)" (( "(") (binary_expression "pvVar2 != (void *)0x0" (identifier "pvVar2") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          free(local_44);\n          local_44 = pvVar2;\n        }" ({ "{") (expression_statement "free(local_44);" (call_expression "free(local_44)" (identifier "free") (argument_list "(local_44)" (( "(") (identifier "local_44") () ")"))) (; ";")) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" (identifier "local_44") (= "=") (identifier "pvVar2")) (; ";")) (} "}"))) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (case_statement "case 0xd:\n        pbVar9 = (byte *)((int)param_1 + 1);\n        if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }\n        goto LAB_0004a928;" (case "case") (number_literal "0xd") (: ":") (expression_statement "pbVar9 = (byte *)((int)param_1 + 1);" (assignment_expression "pbVar9 = (byte *)((int)param_1 + 1)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)((int)param_1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 1)" (( "(") (binary_expression "(int)param_1 + 1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if ((byte)*param_1 == 0) {\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }\n        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" (if "if") (parenthesized_expression "((byte)*param_1 == 0)" (( "(") (binary_expression "(byte)*param_1 == 0" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pvVar2 = (void *)FUN_0004d148();\n          if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }\n        }" ({ "{") (expression_statement "pvVar2 = (void *)FUN_0004d148();" (assignment_expression "pvVar2 = (void *)FUN_0004d148()" (identifier "pvVar2") (= "=") (cast_expression "(void *)FUN_0004d148()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0004d148()" (identifier "FUN_0004d148") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (pvVar2 != (void *)0x0) {\n            free(local_44);\n            local_44 = pvVar2;\n          }" (if "if") (parenthesized_expression "(pvVar2 != (void *)0x0)" (( "(") (binary_expression "pvVar2 != (void *)0x0" (identifier "pvVar2") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            free(local_44);\n            local_44 = pvVar2;\n          }" ({ "{") (expression_statement "free(local_44);" (call_expression "free(local_44)" (identifier "free") (argument_list "(local_44)" (( "(") (identifier "local_44") () ")"))) (; ";")) (expression_statement "local_44 = pvVar2;" (assignment_expression "local_44 = pvVar2" (identifier "local_44") (= "=") (identifier "pvVar2")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" (else "else") (if_statement "if (((byte)*param_1 == 1) && (4 < (int)local_48)) {\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" (if "if") (parenthesized_expression "(((byte)*param_1 == 1) && (4 < (int)local_48))" (( "(") (binary_expression "((byte)*param_1 == 1) && (4 < (int)local_48)" (parenthesized_expression "((byte)*param_1 == 1)" (( "(") (binary_expression "(byte)*param_1 == 1" (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (identifier "param_1")) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(4 < (int)local_48)" (( "(") (binary_expression "4 < (int)local_48" (number_literal "4") (< "<") (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48"))) () ")"))) () ")")) (compound_statement "{\n          do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);\n        }" ({ "{") (do_statement "do {\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);" (do "do") (compound_statement "{\n            FUN_0004a514();\n            pbVar9 = pbVar9 + 4;\n          }" ({ "{") (expression_statement "FUN_0004a514();" (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pbVar9 = pbVar9 + 4;" (assignment_expression "pbVar9 = pbVar9 + 4" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 4" (identifier "pbVar9") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9)" (( "(") (binary_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9" (cast_expression "(byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5)" (( "(") (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc) + 5" (binary_expression "(int)param_1 + (local_48 - 5 & 0xfffffffc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(local_48 - 5 & 0xfffffffc)" (( "(") (binary_expression "local_48 - 5 & 0xfffffffc" (binary_expression "local_48 - 5" (identifier "local_48") (- "-") (number_literal "5")) (& "&") (number_literal "0xfffffffc")) () ")"))) (+ "+") (number_literal "5")) () ")"))) (!= "!=") (identifier "pbVar9")) () ")")) (; ";")) (} "}"))))) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (} "}"))) (expression_statement "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);" (assignment_expression "iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" (identifier "iVar1") (= "=") (call_expression "__sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7)" (identifier "__sprintf_chk") (argument_list "(pbVar9,1,0xffffffff,pcVar14,uVar7)" (( "(") (identifier "pbVar9") (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "pcVar14") (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + iVar1;" (assignment_expression "pbVar9 = pbVar9 + iVar1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1"))) (; ";")) (labeled_statement "switchD_0004a8f7_caseD_0:\n      local_48 = local_48 - uVar6;" (statement_identifier "switchD_0004a8f7_caseD_0") (: ":") (expression_statement "local_48 = local_48 - uVar6;" (assignment_expression "local_48 = local_48 - uVar6" (identifier "local_48") (= "=") (binary_expression "local_48 - uVar6" (identifier "local_48") (- "-") (identifier "uVar6"))) (; ";"))) (if_statement "if ((int)local_48 < (int)uVar6) break;" (if "if") (parenthesized_expression "((int)local_48 < (int)uVar6)" (( "(") (binary_expression "(int)local_48 < (int)uVar6" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (< "<") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_1 = (uint *)((int)param_1 + uVar6);" (assignment_expression "param_1 = (uint *)((int)param_1 + uVar6)" (identifier "param_1") (= "=") (cast_expression "(uint *)((int)param_1 + uVar6)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar6)" (( "(") (binary_expression "(int)param_1 + uVar6" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar6")) () ")")))) (; ";")) (expression_statement "pbVar9[0] = 0x20;" (assignment_expression "pbVar9[0] = 0x20" (subscript_expression "pbVar9[0]" (identifier "pbVar9") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "pbVar9[1] = 0;" (assignment_expression "pbVar9[1] = 0" (subscript_expression "pbVar9[1]" (identifier "pbVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar9 = pbVar9 + 1;" (assignment_expression "pbVar9 = pbVar9 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + 1" (identifier "pbVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";")) (while_statement "while( true ) {\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar1 = FUN_0004a514();\n    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);\n    iVar5 = FUN_0004a514();\n    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;\n    local_48 = local_48 - 4;\n    if ((int)local_48 < 5) break;\n    pbVar3 = pbVar11 + 5;\n    uVar6 = (uint)pbVar11[4];\n    if (0x20 < uVar6) break;\nLAB_0004aab4:\n    local_48 = local_48 - 1;\n    local_24[0] = 0;\n    local_24[1] = 0;\n    local_24[2] = 0;\n    local_24[3] = 0;\n    uVar7 = uVar6 + 7 >> 3;\n    pbVar11 = pbVar3;\n    if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_0004a514();" (assignment_expression "iVar1 = FUN_0004a514()" (identifier "iVar1") (= "=") (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);" (assignment_expression "iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" (identifier "iVar4") (= "=") (call_expression "__sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" (identifier "__sprintf_chk") (argument_list "(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6)" (( "(") (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1")) (, ",") (number_literal "1") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""/%u "" (" """) (string_content "/%u ") (" """)) (, ",") (identifier "uVar6") () ")")))) (; ";")) (expression_statement "iVar5 = FUN_0004a514();" (assignment_expression "iVar5 = FUN_0004a514()" (identifier "iVar5") (= "=") (call_expression "FUN_0004a514()" (identifier "FUN_0004a514") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;" (assignment_expression "pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + iVar1 + iVar5 + iVar4" (binary_expression "pbVar9 + iVar1 + iVar5" (binary_expression "pbVar9 + iVar1" (identifier "pbVar9") (+ "+") (identifier "iVar1")) (+ "+") (identifier "iVar5")) (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "local_48 = local_48 - 4;" (assignment_expression "local_48 = local_48 - 4" (identifier "local_48") (= "=") (binary_expression "local_48 - 4" (identifier "local_48") (- "-") (number_literal "4"))) (; ";")) (if_statement "if ((int)local_48 < 5) break;" (if "if") (parenthesized_expression "((int)local_48 < 5)" (( "(") (binary_expression "(int)local_48 < 5" (cast_expression "(int)local_48" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_48")) (< "<") (number_literal "5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar3 = pbVar11 + 5;" (assignment_expression "pbVar3 = pbVar11 + 5" (identifier "pbVar3") (= "=") (binary_expression "pbVar11 + 5" (identifier "pbVar11") (+ "+") (number_literal "5"))) (; ";")) (expression_statement "uVar6 = (uint)pbVar11[4];" (assignment_expression "uVar6 = (uint)pbVar11[4]" (identifier "uVar6") (= "=") (cast_expression "(uint)pbVar11[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar11[4]" (identifier "pbVar11") ([ "[") (number_literal "4") (] "]")))) (; ";")) (if_statement "if (0x20 < uVar6) break;" (if "if") (parenthesized_expression "(0x20 < uVar6)" (( "(") (binary_expression "0x20 < uVar6" (number_literal "0x20") (< "<") (identifier "uVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0004aab4:\n    local_48 = local_48 - 1;" (statement_identifier "LAB_0004aab4") (: ":") (expression_statement "local_48 = local_48 - 1;" (assignment_expression "local_48 = local_48 - 1" (identifier "local_48") (= "=") (binary_expression "local_48 - 1" (identifier "local_48") (- "-") (number_literal "1"))) (; ";"))) (expression_statement "local_24[0] = 0;" (assignment_expression "local_24[0] = 0" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24[1] = 0;" (assignment_expression "local_24[1] = 0" (subscript_expression "local_24[1]" (identifier "local_24") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24[2] = 0;" (assignment_expression "local_24[2] = 0" (subscript_expression "local_24[2]" (identifier "local_24") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24[3] = 0;" (assignment_expression "local_24[3] = 0" (subscript_expression "local_24[3]" (identifier "local_24") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = uVar6 + 7 >> 3;" (assignment_expression "uVar7 = uVar6 + 7 >> 3" (identifier "uVar7") (= "=") (binary_expression "uVar6 + 7 >> 3" (binary_expression "uVar6 + 7" (identifier "uVar6") (+ "+") (number_literal "7")) (>> ">>") (number_literal "3"))) (; ";")) (expression_statement "pbVar11 = pbVar3;" (assignment_expression "pbVar11 = pbVar3" (identifier "pbVar11") (= "=") (identifier "pbVar3")) (; ";")) (if_statement "if (uVar7 != 0) {\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" (if "if") (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar10 = 0;\n      do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);\n      pbVar11 = pbVar3 + uVar7;\n      local_48 = local_48 - uVar7;\n      if (local_48 < 4) break;\n    }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      } while (uVar7 != uVar10);" (do "do") (compound_statement "{\n        local_24[uVar10] = pbVar3[uVar10];\n        uVar10 = uVar10 + 1;\n      }" ({ "{") (expression_statement "local_24[uVar10] = pbVar3[uVar10];" (assignment_expression "local_24[uVar10] = pbVar3[uVar10]" (subscript_expression "local_24[uVar10]" (identifier "local_24") ([ "[") (identifier "uVar10") (] "]")) (= "=") (subscript_expression "pbVar3[uVar10]" (identifier "pbVar3") ([ "[") (identifier "uVar10") (] "]"))) (; ";")) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" (identifier "uVar10") (= "=") (binary_expression "uVar10 + 1" (identifier "uVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != uVar10)" (( "(") (binary_expression "uVar7 != uVar10" (identifier "uVar7") (!= "!=") (identifier "uVar10")) () ")")) (; ";")) (expression_statement "pbVar11 = pbVar3 + uVar7;" (assignment_expression "pbVar11 = pbVar3 + uVar7" (identifier "pbVar11") (= "=") (binary_expression "pbVar3 + uVar7" (identifier "pbVar3") (+ "+") (identifier "uVar7"))) (; ";")) (expression_statement "local_48 = local_48 - uVar7;" (assignment_expression "local_48 = local_48 - uVar7" (identifier "local_48") (= "=") (binary_expression "local_48 - uVar7" (identifier "local_48") (- "-") (identifier "uVar7"))) (; ";")) (if_statement "if (local_48 < 4) break;" (if "if") (parenthesized_expression "(local_48 < 4)" (( "(") (binary_expression "local_48 < 4" (identifier "local_48") (< "<") (number_literal "4")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";")) (labeled_statement "code_r0x0004ac0c:\n  pbVar9 = pbVar3 + 1;" (statement_identifier "code_r0x0004ac0c") (: ":") (expression_statement "pbVar9 = pbVar3 + 1;" (assignment_expression "pbVar9 = pbVar3 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" (identifier "bVar13") (= "=") (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (bVar13 == 0) goto LAB_0004a928;" (if "if") (parenthesized_expression "(bVar13 == 0)" (( "(") (binary_expression "bVar13 == 0" (identifier "bVar13") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (goto_statement "goto LAB_0004abe5;" (goto "goto") (statement_identifier "LAB_0004abe5") (; ";")) (labeled_statement "switchD_0004a8f7_caseD_3:\n  pbVar3 = pbVar9;" (statement_identifier "switchD_0004a8f7_caseD_3") (: ":") (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" (identifier "pbVar3") (= "=") (identifier "pbVar9")) (; ";"))) (for_statement "for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar6 = local_48" (identifier "uVar6") (= "=") (identifier "local_48")) (; ";") (binary_expression "uVar6 != 0" (identifier "uVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar6 = uVar6 - 1" (identifier "uVar6") (= "=") (binary_expression "uVar6 - 1" (identifier "uVar6") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *pbVar3 = (byte)*param_1;\n    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);\n    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;\n  }" ({ "{") (expression_statement "*pbVar3 = (byte)*param_1;" (assignment_expression "*pbVar3 = (byte)*param_1" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (= "=") (binary_expression "(byte)*param_1" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);" (assignment_expression "param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" (identifier "param_1") (= "=") (cast_expression "(uint *)((int)param_1 + (uint)bVar13 * -2 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + (uint)bVar13 * -2 + 1)" (( "(") (binary_expression "(int)param_1 + (uint)bVar13 * -2 + 1" (binary_expression "(int)param_1 + (uint)bVar13 * -2" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;" (assignment_expression "pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + (uint)bVar13 * -2 + 1" (binary_expression "pbVar3 + (uint)bVar13 * -2" (identifier "pbVar3") (+ "+") (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar13")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pbVar9[local_48] = 0;" (assignment_expression "pbVar9[local_48] = 0" (subscript_expression "pbVar9[local_48]" (identifier "pbVar9") ([ "[") (identifier "local_48") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (cVar8 == '\x04') {\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" (if "if") (parenthesized_expression "(cVar8 == '\x04')" (( "(") (binary_expression "cVar8 == '\x04'" (identifier "cVar8") (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\n    bVar13 = *pbVar9;\nLAB_0004abe5:\n    pbVar3 = pbVar9;\n    if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }\n    FUN_000b1883();\n  }" ({ "{") (expression_statement "bVar13 = *pbVar9;" (assignment_expression "bVar13 = *pbVar9" (identifier "bVar13") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (labeled_statement "LAB_0004abe5:\n    pbVar3 = pbVar9;" (statement_identifier "LAB_0004abe5") (: ":") (expression_statement "pbVar3 = pbVar9;" (assignment_expression "pbVar3 = pbVar9" (identifier "pbVar3") (= "=") (identifier "pbVar9")) (; ";"))) (if_statement "if (bVar13 != 0x2d) {\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(bVar13 != 0x2d)" (( "(") (binary_expression "bVar13 != 0x2d" (identifier "bVar13") (!= "!=") (number_literal "0x2d")) () ")")) (compound_statement "{\n      do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );\n    }" ({ "{") (do_statement "do {\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      } while( true );" (do "do") (compound_statement "{\n        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }\n        bVar13 = pbVar3[1];\n        pbVar3 = pbVar3 + 1;\n      }" ({ "{") (if_statement "if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" (if "if") (parenthesized_expression "((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30)))" (( "(") (binary_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))" (parenthesized_expression "(0x19 < (byte)((bVar13 | 0x20) + 0x9f))" (( "(") (binary_expression "0x19 < (byte)((bVar13 | 0x20) + 0x9f)" (number_literal "0x19") (< "<") (call_expression "(byte)((bVar13 | 0x20) + 0x9f)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((bVar13 | 0x20) + 0x9f)" (( "(") (binary_expression "(bVar13 | 0x20) + 0x9f" (parenthesized_expression "(bVar13 | 0x20)" (( "(") (binary_expression "bVar13 | 0x20" (identifier "bVar13") (| "|") (number_literal "0x20")) () ")")) (+ "+") (number_literal "0x9f")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(9 < (byte)(bVar13 - 0x30))" (( "(") (binary_expression "9 < (byte)(bVar13 - 0x30)" (number_literal "9") (< "<") (call_expression "(byte)(bVar13 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar13 - 0x30)" (( "(") (binary_expression "bVar13 - 0x30" (identifier "bVar13") (- "-") (number_literal "0x30")) () ")")))) () ")"))) () ")")) (compound_statement "{\n          if (bVar13 == 0) goto LAB_0004a928;\n          if (bVar13 == 0x2e) goto code_r0x0004ac0c;\n          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;\n        }" ({ "{") (if_statement "if (bVar13 == 0) goto LAB_0004a928;" (if "if") (parenthesized_expression "(bVar13 == 0)" (( "(") (binary_expression "bVar13 == 0" (identifier "bVar13") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004a928;" (goto "goto") (statement_identifier "LAB_0004a928") (; ";"))) (if_statement "if (bVar13 == 0x2e) goto code_r0x0004ac0c;" (if "if") (parenthesized_expression "(bVar13 == 0x2e)" (( "(") (binary_expression "bVar13 == 0x2e" (identifier "bVar13") (== "==") (number_literal "0x2e")) () ")")) (goto_statement "goto code_r0x0004ac0c;" (goto "goto") (statement_identifier "code_r0x0004ac0c") (; ";"))) (if_statement "if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;" (if "if") (parenthesized_expression "((bVar13 != 0x2d) && (bVar13 != 0x5f))" (( "(") (binary_expression "(bVar13 != 0x2d) && (bVar13 != 0x5f)" (parenthesized_expression "(bVar13 != 0x2d)" (( "(") (binary_expression "bVar13 != 0x2d" (identifier "bVar13") (!= "!=") (number_literal "0x2d")) () ")")) (&& "&&") (parenthesized_expression "(bVar13 != 0x5f)" (( "(") (binary_expression "bVar13 != 0x5f" (identifier "bVar13") (!= "!=") (number_literal "0x5f")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (expression_statement "bVar13 = pbVar3[1];" (assignment_expression "bVar13 = pbVar3[1]" (identifier "bVar13") (= "=") (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" (identifier "pbVar3") (= "=") (binary_expression "pbVar3 + 1" (identifier "pbVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000b1883();" (call_expression "FUN_000b1883()" (identifier "FUN_000b1883") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0004a928:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" (statement_identifier "LAB_0004a928") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return local_44;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return local_44;\n  }" ({ "{") (return_statement "return local_44;" (return "return") (identifier "local_44") (; ";")) (} "}")))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * function_1(uint8_t *option,type_1 *optflag,char *opt_name)

{
  uint32_t nip;
  
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (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: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (pointer_expression argument: (identifier)))) index: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (do_statement body: (compound_statement (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement (goto_statement label: (statement_identifier))) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal)) (case_statement value: (number_literal) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (break_statement)) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (break_statement)) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) right: (identifier))) right: (binary_expression left: (number_literal) right: (identifier)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))) right: (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 (identifier) (number_literal) (number_literal) (string_literal (string_content)) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (number_literal) (string_literal (string_content)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal))))))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) right: (number_literal)))) right: (identifier)))))))) (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))) (goto_statement label: (statement_identifier)) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (number_literal) (number_literal) (string_literal (string_content)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (break_statement)) (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: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (break_statement)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)))))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (for_statement initializer: (assignment_expression left: (identifier) right: (identifier)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) right: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (break_statement)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (labeled_statement label: (statement_identifier) (if_statement condition: (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: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void * __regparm3 MASKED(uint *param_1,uint param_2,char *param_3)

{
  int iVar1;
  void *pvVar2;
  byte *pbVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  uint uVar7;
  char cVar8;
  byte *pbVar9;
  uint uVar10;
  byte *pbVar11;
  ushort *puVar12;
  int in_GS_OFFSET;
  byte bVar13;
  char *pcVar14;
  uint local_48;
  void *local_44;
  char *local_38;
  byte local_24 [4];
  int local_20;
  
  bVar13 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  local_48 = (uint)*(byte *)((int)param_1 + -1);
  param_2 = param_2 & 0xf;
  cVar8 = (char)param_2;
  uVar6 = (uint)(byte)(&DAT_000c8409)[param_2];
  strlen(param_3);
  local_44 = (void *)FUN_00019b1c();
  iVar1 = __sprintf_chk(local_44,1,0xffffffff,&DAT_000c7f9b,param_3);
  if (uVar6 <= local_48) {
    pbVar9 = (byte *)((int)local_44 + iVar1);
    local_38 = "%ld";
    if (cVar8 == '\a') {
      local_38 = "%lu";
    }
    do {
      switch(param_2) {
      default:
        goto switchD_0004a8f7_caseD_0;
      case 1:
      case 2:
        iVar1 = FUN_0004a514();
        pbVar9 = pbVar9 + iVar1;
        if (cVar8 != '\x01') {
          iVar1 = FUN_0004a514();
          pbVar9 = pbVar9 + iVar1;
        }
        goto switchD_0004a8f7_caseD_0;
      case 3:
      case 4:
        goto switchD_0004a8f7_caseD_3;
      case 5:
        uVar7 = (uint)(byte)*param_1;
        pcVar14 = "%u";
        break;
      case 6:
        uVar7 = (uint)(ushort)((ushort)*param_1 << 8 | (ushort)*param_1 >> 8);
        pcVar14 = "%u";
        break;
      case 7:
      case 8:
        uVar7 = *param_1;
        uVar7 = uVar7 >> 0x18 | (uVar7 & 0xff0000) >> 8 | (uVar7 & 0xff00) << 8 | uVar7 << 0x18;
        pcVar14 = local_38;
        break;
      case 10:
        if (((int)local_48 < 5) || (uVar6 = (uint)(byte)*param_1, 0x20 < uVar6)) goto LAB_0004a928;
        pbVar3 = (byte *)((int)param_1 + 1);
        goto LAB_0004aab4;
      case 0xb:
        if (((0x15 < (int)local_48) && (bVar13 = (byte)*param_1, bVar13 < 0x21)) &&
           (iVar1 = (*(byte *)((int)param_1 + 1) + 0x20) - (uint)bVar13,
           iVar1 == 0x80 || SCARRY4(iVar1,-0x80) != iVar1 + -0x80 < 0)) {
          iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,"%u ",(uint)bVar13);
          __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"%u ",*(byte *)((int)param_1 + 1));
          FUN_0004e98b();
          puVar12 = (ushort *)((int)param_1 + 0x12);
          do {
            FUN_0004a514();
            puVar12 = puVar12 + 2;
          } while (puVar12 != (ushort *)((int)param_1 + (local_48 - 0x16 & 0xfffffffc) + 0x16));
        }
        goto LAB_0004a928;
      case 0xc:
        pvVar2 = (void *)FUN_0004d148();
        if (pvVar2 != (void *)0x0) {
          free(local_44);
          local_44 = pvVar2;
        }
        goto LAB_0004a928;
      case 0xd:
        pbVar9 = (byte *)((int)param_1 + 1);
        if ((byte)*param_1 == 0) {
          pvVar2 = (void *)FUN_0004d148();
          if (pvVar2 != (void *)0x0) {
            free(local_44);
            local_44 = pvVar2;
          }
        }
        else if (((byte)*param_1 == 1) && (4 < (int)local_48)) {
          do {
            FUN_0004a514();
            pbVar9 = pbVar9 + 4;
          } while ((byte *)((int)param_1 + (local_48 - 5 & 0xfffffffc) + 5) != pbVar9);
        }
        goto LAB_0004a928;
      }
      iVar1 = __sprintf_chk(pbVar9,1,0xffffffff,pcVar14,uVar7);
      pbVar9 = pbVar9 + iVar1;
switchD_0004a8f7_caseD_0:
      local_48 = local_48 - uVar6;
      if ((int)local_48 < (int)uVar6) break;
      param_1 = (uint *)((int)param_1 + uVar6);
      pbVar9[0] = 0x20;
      pbVar9[1] = 0;
      pbVar9 = pbVar9 + 1;
    } while( true );
  }
  goto LAB_0004a928;
  while( true ) {
    iVar1 = FUN_0004a514();
    iVar4 = __sprintf_chk(pbVar9 + iVar1,1,0xffffffff,"/%u ",uVar6);
    iVar5 = FUN_0004a514();
    pbVar9 = pbVar9 + iVar1 + iVar5 + iVar4;
    local_48 = local_48 - 4;
    if ((int)local_48 < 5) break;
    pbVar3 = pbVar11 + 5;
    uVar6 = (uint)pbVar11[4];
    if (0x20 < uVar6) break;
LAB_0004aab4:
    local_48 = local_48 - 1;
    local_24[0] = 0;
    local_24[1] = 0;
    local_24[2] = 0;
    local_24[3] = 0;
    uVar7 = uVar6 + 7 >> 3;
    pbVar11 = pbVar3;
    if (uVar7 != 0) {
      uVar10 = 0;
      do {
        local_24[uVar10] = pbVar3[uVar10];
        uVar10 = uVar10 + 1;
      } while (uVar7 != uVar10);
      pbVar11 = pbVar3 + uVar7;
      local_48 = local_48 - uVar7;
      if (local_48 < 4) break;
    }
  }
  goto LAB_0004a928;
code_r0x0004ac0c:
  pbVar9 = pbVar3 + 1;
  bVar13 = pbVar3[1];
  if (bVar13 == 0) goto LAB_0004a928;
  goto LAB_0004abe5;
switchD_0004a8f7_caseD_3:
  pbVar3 = pbVar9;
  for (uVar6 = local_48; uVar6 != 0; uVar6 = uVar6 - 1) {
    *pbVar3 = (byte)*param_1;
    param_1 = (uint *)((int)param_1 + (uint)bVar13 * -2 + 1);
    pbVar3 = pbVar3 + (uint)bVar13 * -2 + 1;
  }
  pbVar9[local_48] = 0;
  if (cVar8 == '\x04') {
    bVar13 = *pbVar9;
LAB_0004abe5:
    pbVar3 = pbVar9;
    if (bVar13 != 0x2d) {
      do {
        if ((0x19 < (byte)((bVar13 | 0x20) + 0x9f)) && (9 < (byte)(bVar13 - 0x30))) {
          if (bVar13 == 0) goto LAB_0004a928;
          if (bVar13 == 0x2e) goto code_r0x0004ac0c;
          if ((bVar13 != 0x2d) && (bVar13 != 0x5f)) break;
        }
        bVar13 = pbVar3[1];
        pbVar3 = pbVar3 + 1;
      } while( true );
    }
    FUN_000b1883();
  }
LAB_0004a928:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return local_44;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}

