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

char * evalvar(char *p,int flag)

{
}



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

char * __regparm3 FUN_0005f844(byte *param_1,uint param_2)

{
  byte *__s;
  undefined1 *puVar1;
  char cVar2;
  bool bVar3;
  byte bVar4;
  uint uVar5;
  int iVar6;
  char *pcVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  char *pcVar11;
  undefined4 *puVar12;
  byte local_36;
  
  iVar10 = DAT_000dc710;
  local_36 = *param_1;
  bVar4 = local_36 & 0xf;
  if ((local_36 & 0xf) == 0) {
    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);
                    /* WARNING: Subroutine does not return */
    FUN_00056c26("syntax error: %s","bad substitution");
  }
  __s = param_1 + 1;
  uVar5 = param_2 & 0x100;
  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);
  pcVar7 = strchr((char *)__s,0x3d);
  pcVar7 = pcVar7 + 1;
  if ((byte)(bVar4 - 4) < 2) {
    while( true ) {
      uVar8 = FUN_0005d0de(uVar5);
      if ((local_36 & 0x10) != 0) {
        uVar8 = uVar8 - 1;
      }
      if (-1 < (int)uVar8) break;
      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);
      local_36 = local_36 & 0xef;
      FUN_000562f6();
    }
  }
  else {
    if (bVar4 == 2) {
      iVar10 = FUN_0005d0de(uVar5);
      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);
    }
    else {
      if (bVar4 != 3) {
        iVar9 = FUN_0005d0de(uVar5);
        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);
        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {
                    /* WARNING: Subroutine does not return */
          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",
                       DAT_000dc708 + 0x2c);
        }
        if (bVar4 == 10) {
          if ((int)uVar8 < 0) {
            FUN_000599c4();
          }
          else {
            FUN_000599c4();
          }
        }
        else if (bVar4 != 1) {
          if ((int)uVar8 < 0) goto LAB_0005f954;
          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {
            iVar9 = *(int *)(iVar10 + 0xc);
            FUN_0005974b();
            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);
          }
          puVar1 = DAT_000dc264 + 1;
          *DAT_000dc264 = 0;
          iVar9 = *(int *)(iVar10 + 4);
          DAT_000dc264 = puVar1;
          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);
          if (iVar6 == 0) {
            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);
          }
          FUN_000562f6();
        }
        goto LAB_0005f91b;
      }
      iVar10 = FUN_0005d0de(uVar5);
      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));
    }
    if ((int)uVar8 < 0) {
      FUN_0005e68c();
      if (bVar4 == 1) {
        return pcVar7;
      }
      goto LAB_0005f954;
    }
  }
LAB_0005f91b:
  if (uVar5 == 0) {
LAB_0005f926:
    FUN_00056289(uVar5);
  }
  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {
    uVar5 = 1;
    goto LAB_0005f926;
  }
  if (bVar4 == 1) {
    return pcVar7;
  }
  if (-1 < (int)uVar8) {
    bVar3 = false;
    iVar10 = 1;
    puVar12 = DAT_000dc260;
    do {
      while( true ) {
        while( true ) {
          do {
            pcVar11 = pcVar7;
            cVar2 = *pcVar11;
            pcVar7 = pcVar11 + 2;
          } while (cVar2 == -0x7f);
          pcVar7 = pcVar11 + 1;
          if (cVar2 != -0x7c) break;
          puVar12 = (undefined4 *)*puVar12;
          bVar3 = true;
        }
        if (cVar2 != -0x7e) break;
        pcVar7 = pcVar11 + 2;
        if ((pcVar11[1] & 0xfU) != 1) {
          iVar10 = iVar10 + 1;
        }
      }
    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));
    if (!bVar3) {
      return pcVar7;
    }
    DAT_000dc260 = puVar12;
    return pcVar7;
  }
LAB_0005f954:
  iVar10 = 1;
  do {
    while( true ) {
      do {
        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {
          pcVar7 = pcVar11 + 2;
        }
        pcVar7 = pcVar11 + 1;
      } while (cVar2 == -0x7c);
      if (cVar2 != -0x7e) break;
      pcVar7 = pcVar11 + 2;
      if ((pcVar11[1] & 0xfU) != 1) {
        iVar10 = iVar10 + 1;
      }
    }
  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));
  return pcVar7;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
CALL 0x00017650
ADD EBX,0x7c1d0
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x8],EDX
MOV AL,byte ptr [EAX]
MOV byte ptr [ESP + 0x6],AL
AND EAX,0xf
MOV byte ptr [ESP + 0x7],AL
JNZ 0x0005f897
LEA EAX,[EBX + 0xce8]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EBX + 0x71c]
MOV EDX,dword ptr [EDX + 0x4]
MOV dword ptr [EAX + 0xc],EDX
SUB ESP,0x8
LEA EAX,[EBX + 0xffff8324]
PUSH EAX
LEA EAX,[EBX + 0xffff816e]
PUSH EAX
CALL 0x00056c26
MOV ESI,EDX
MOV EAX,dword ptr [ESP + 0x14]
LEA EDI,[EAX + 0x1]
MOV EAX,EDX
AND EAX,0x100
MOV dword ptr [ESP],EAX
LEA EAX,[EBX + 0xcf0]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EDX
MOV EAX,dword ptr [EBX + 0x844]
SUB EAX,dword ptr [EDX + 0x4]
MOV dword ptr [ESP + 0x10],EAX
SUB ESP,0x8
PUSH 0x3d
PUSH EDI
CALL 0x00016ad0
ADD ESP,0x10
LEA EBP,[EAX + 0x1]
MOV CL,byte ptr [ESP + 0x7]
LEA EAX,[ECX + -0x4]
CMP AL,0x1
JA 0x0005fa63
AND ESI,0xffffffee
MOV dword ptr [ESP + 0x18],ESI
MOVZX EAX,CL
MOV dword ptr [ESP + 0x1c],EAX
MOV ESI,EDI
MOVZX EDI,byte ptr [ESP + 0x6]
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,EDI
MOV EAX,ESI
CALL 0x0005d0de
ADD ESP,0x10
TEST byte ptr [ESP + 0x6],0x10
JZ 0x0005f96c
DEC EAX
JS 0x0005f970
MOV ESI,EAX
MOV EDX,dword ptr [ESP]
TEST EDX,EDX
JNZ 0x0005fa37
MOV EDX,dword ptr [EBX + 0x844]
MOV EAX,dword ptr [ESP + 0xc]
SUB EDX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [ESP]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00056289
CMP byte ptr [ESP + 0x7],0x1
JZ 0x0005f9d2
MOV EDI,dword ptr [EBX + 0x840]
TEST ESI,ESI
JNS 0x0005f99d
MOV EDX,0x1
MOV CL,byte ptr [EBP]
CMP CL,0x81
JNZ 0x0005f9f9
LEA EAX,[EBP + 0x2]
MOV EBP,EAX
JMP 0x0005f959
TEST EAX,EAX
JNS 0x0005f919
PUSH dword ptr [ESP + 0x18]
PUSH EDI
MOV EDI,dword ptr [ESP + 0x18]
PUSH EDI
PUSH dword ptr [ESP + 0x28]
XOR ECX,ECX
MOV EDX,ESI
MOV EAX,EBP
CALL 0x0005ed31
AND byte ptr [ESP + 0x16],0xef
MOV EAX,EDI
CALL 0x000562f6
ADD ESP,0x10
JMP 0x0005f8f3
XOR ESI,ESI
MOV EDX,0x1
MOV CL,byte ptr [EBP]
LEA EAX,[EBP + 0x2]
CMP CL,0x81
JZ 0x0005f9e3
LEA EAX,[EBP + 0x1]
CMP CL,0x84
JZ 0x0005f9dc
CMP CL,0x82
JZ 0x0005f9e7
CMP CL,0x83
JNZ 0x0005f9e3
DEC EDX
JNZ 0x0005f9e3
MOV ECX,ESI
TEST CL,CL
JZ 0x0005f9d0
MOV dword ptr [EBX + 0x840],EDI
MOV EBP,EAX
MOV EAX,EBP
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [EDI]
MOV ESI,0x1
MOV EBP,EAX
JMP 0x0005f9a4
LEA EAX,[EBP + 0x2]
MOV CL,byte ptr [EBP + 0x1]
AND ECX,0xf
DEC CL
JZ 0x0005f9e3
INC EDX
MOV EBP,EAX
JMP 0x0005f9a4
LEA EAX,[EBP + 0x1]
CMP CL,0x84
JZ 0x0005f968
CMP CL,0x82
JNZ 0x0005fa23
LEA EAX,[EBP + 0x2]
MOV CL,byte ptr [EBP + 0x1]
AND ECX,0xf
DEC CL
JZ 0x0005f968
INC EDX
MOV EBP,EAX
JMP 0x0005f959
CMP CL,0x83
JNZ 0x0005f968
DEC EDX
JNZ 0x0005f968
MOV EBP,EAX
JMP 0x0005f9d2
MOV EAX,dword ptr [ESP + 0x14]
CMP byte ptr [EAX + 0x1],0x40
JNZ 0x0005f93f
LEA EAX,[EBX + 0xcec]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x0005f93f
MOV dword ptr [ESP],0x1
JMP 0x0005f926
CMP CL,0x2
JNZ 0x0005fabb
MOVZX EDX,byte ptr [ESP + 0x6]
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,EDI
CALL 0x0005d0de
MOV ESI,EAX
MOV AL,byte ptr [ESP + 0x16]
AND EAX,0x10
ADD ESP,0x10
CMP AL,0x1
ADC ESI,-0x1
TEST ESI,ESI
JNS 0x0005f91b
MOV EDX,dword ptr [ESP + 0x8]
OR EDX,0x42
MOV EAX,EBP
CALL 0x0005e68c
CMP byte ptr [ESP + 0x7],0x1
JNZ 0x0005f954
MOV EAX,EBP
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP CL,0x3
JZ 0x0005fb21
MOVZX ESI,byte ptr [ESP + 0x6]
MOV dword ptr [ESP + 0x18],ESI
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,ESI
MOV EAX,EDI
CALL 0x0005d0de
MOV ESI,EAX
MOV AL,byte ptr [ESP + 0x16]
AND EAX,0x10
ADD ESP,0x10
CMP AL,0x1
ADC ESI,-0x1
TEST ESI,ESI
JNS 0x0005fb51
LEA EAX,[EBX + 0xce8]
MOV EAX,dword ptr [EAX]
CMP byte ptr [EAX + 0x39],0x0
JZ 0x0005fb51
SUB ESP,0xc
ADD EAX,0x2c
PUSH EAX
LEA EAX,[EBX + 0xffff82fe]
PUSH EAX
PUSH EDI
MOV EAX,EBP
SUB EAX,EDI
DEC EAX
PUSH EAX
LEA EAX,[EBX + 0xffff8319]
PUSH EAX
CALL 0x00056c26
MOVZX EDX,byte ptr [ESP + 0x6]
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,EDI
CALL 0x0005d0de
MOV DL,byte ptr [ESP + 0x16]
AND EDX,0x10
ADD ESP,0x10
CMP DL,0x1
ADC EAX,-0x1
NOT EAX
MOV ESI,EAX
JMP 0x0005fa90
CMP byte ptr [ESP + 0x7],0xa
JNZ 0x0005fb6d
MOV EAX,ESI
TEST ESI,ESI
JS 0x0005fbf6
CDQ
CALL 0x000599c4
JMP 0x0005f91b
CMP byte ptr [ESP + 0x7],0x1
JZ 0x0005f91b
TEST ESI,ESI
JS 0x0005f954
MOV EAX,dword ptr [EBX + 0x844]
MOV ECX,dword ptr [ESP + 0xc]
CMP EAX,dword ptr [ECX + 0x8]
JNZ 0x0005fba0
MOV EDI,dword ptr [ECX + 0xc]
CALL 0x0005974b
MOV ECX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ECX + 0x4]
ADD EAX,EDI
LEA EDI,[EAX + 0x1]
MOV byte ptr [EAX],0x0
MOV dword ptr [EBX + 0x844],EDI
MOV EAX,dword ptr [ESP + 0xc]
SUB EDI,dword ptr [EAX + 0x4]
PUSH dword ptr [ESP + 0x8]
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x18]
MOVZX EAX,byte ptr [ESP + 0x13]
PUSH EAX
MOV ECX,EDI
XOR EDX,EDX
MOV EAX,EBP
CALL 0x0005ed31
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005fbe8
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + 0x4]
LEA EAX,[EAX + EDI*0x1 + -0x1]
MOV dword ptr [EBX + 0x844],EAX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000562f6
JMP 0x0005f91b
XOR EAX,EAX
CDQ
CALL 0x000599c4
JMP 0x0005f91b
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_0005f844(byte *param_1,uint param_2)\n\n{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    /* WARNING: Subroutine does not return */\n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}\n\n" comment (function_definition "char * __regparm3 FUN_0005f844(byte *param_1,uint param_2)\n\n{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    /* WARNING: Subroutine does not return */\n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0005f844(byte *param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0005f844(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    /* WARNING: Subroutine does not return */\n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" { (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "byte local_36;" type_identifier identifier ;) (expression_statement "iVar10 = DAT_000dc710;" (assignment_expression "iVar10 = DAT_000dc710" identifier = identifier) ;) (expression_statement "local_36 = *param_1;" (assignment_expression "local_36 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = local_36 & 0xf;" (assignment_expression "bVar4 = local_36 & 0xf" identifier = (binary_expression "local_36 & 0xf" identifier & number_literal)) ;) (if_statement "if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    /* WARNING: Subroutine does not return */\n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" if (parenthesized_expression "((local_36 & 0xf) == 0)" ( (binary_expression "(local_36 & 0xf) == 0" (parenthesized_expression "(local_36 & 0xf)" ( (binary_expression "local_36 & 0xf" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    /* WARNING: Subroutine does not return */\n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" { (expression_statement "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);" (assignment_expression "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4)" (pointer_expression "*(undefined4 *)(DAT_000dc708 + 0xc)" * (cast_expression "(undefined4 *)(DAT_000dc708 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0xc)" ( (binary_expression "DAT_000dc708 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR_DAT_000dc13c + 4)" * (cast_expression "(undefined4 *)(PTR_DAT_000dc13c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000dc13c + 4)" ( (binary_expression "PTR_DAT_000dc13c + 4" identifier + number_literal) ))))) ;) comment (expression_statement "FUN_00056c26("syntax error: %s","bad substitution");" (call_expression "FUN_00056c26("syntax error: %s","bad substitution")" identifier (argument_list "("syntax error: %s","bad substitution")" ( (string_literal ""syntax error: %s"" " string_content ") , (string_literal ""bad substitution"" " string_content ") ))) ;) })) (expression_statement "__s = param_1 + 1;" (assignment_expression "__s = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = param_2 & 0x100;" (assignment_expression "uVar5 = param_2 & 0x100" identifier = (binary_expression "param_2 & 0x100" identifier & number_literal)) ;) (expression_statement "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);" (assignment_expression "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" identifier = (binary_expression "(int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" (cast_expression "(int)DAT_000dc264" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(DAT_000dc710 + 4)" * (cast_expression "(int *)(DAT_000dc710 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc710 + 4)" ( (binary_expression "DAT_000dc710 + 4" identifier + number_literal) )))))) ;) (expression_statement "pcVar7 = strchr((char *)__s,0x3d);" (assignment_expression "pcVar7 = strchr((char *)__s,0x3d)" identifier = (call_expression "strchr((char *)__s,0x3d)" identifier (argument_list "((char *)__s,0x3d)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" if (parenthesized_expression "((byte)(bVar4 - 4) < 2)" ( (binary_expression "(byte)(bVar4 - 4) < 2" (call_expression "(byte)(bVar4 - 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 4)" ( (binary_expression "bVar4 - 4" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }" { (while_statement "while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" { (expression_statement "uVar8 = FUN_0005d0de(uVar5);" (assignment_expression "uVar8 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }" if (parenthesized_expression "((local_36 & 0x10) != 0)" ( (binary_expression "(local_36 & 0x10) != 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar8 = uVar8 - 1;\n      }" { (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) })) (if_statement "if (-1 < (int)uVar8) break;" if (parenthesized_expression "(-1 < (int)uVar8)" ( (binary_expression "-1 < (int)uVar8" number_literal < (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);" (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee)" identifier (argument_list "(bVar4,iVar6,local_36,param_2 & 0xffffffee)" ( identifier , identifier , identifier , (binary_expression "param_2 & 0xffffffee" identifier & number_literal) ))) ;) (expression_statement "local_36 = local_36 & 0xef;" (assignment_expression "local_36 = local_36 & 0xef" identifier = (binary_expression "local_36 & 0xef" identifier & number_literal)) ;) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" else (compound_statement "{\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" { (if_statement "if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" if (parenthesized_expression "(bVar4 == 2)" ( (binary_expression "bVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }" { (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" identifier = (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) ))))) ;) }) (else_clause "else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" else (compound_statement "{\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" { (if_statement "if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" if (parenthesized_expression "(bVar4 != 3)" ( (binary_expression "bVar4 != 3" identifier != number_literal) )) (compound_statement "{\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" { (expression_statement "iVar9 = FUN_0005d0de(uVar5);" (assignment_expression "iVar9 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" identifier = (binary_expression "iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar9 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) ))))) ;) (if_statement "if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" if (parenthesized_expression "(((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0'))" ( (binary_expression "((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')" (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) && (parenthesized_expression "(*(char *)(DAT_000dc708 + 0x39) != '\0')" ( (binary_expression "*(char *)(DAT_000dc708 + 0x39) != '\0'" (pointer_expression "*(char *)(DAT_000dc708 + 0x39)" * (cast_expression "(char *)(DAT_000dc708 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x39)" ( (binary_expression "DAT_000dc708 + 0x39" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" { comment (expression_statement "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);" (call_expression "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" identifier (argument_list "("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" ( (string_literal ""%.*s: %s%s"" " string_content ") , (binary_expression "pcVar7 + (-1 - (int)__s)" identifier + (parenthesized_expression "(-1 - (int)__s)" ( (binary_expression "-1 - (int)__s" number_literal - (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , identifier , (string_literal ""parameter not set"" " string_content ") , (binary_expression "DAT_000dc708 + 0x2c" identifier + number_literal) ))) ;) })) (if_statement "if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" if (parenthesized_expression "(bVar4 == 10)" ( (binary_expression "bVar4 == 10" identifier == number_literal) )) (compound_statement "{\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }" { (if_statement "if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            FUN_000599c4();\n          }" { (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n            FUN_000599c4();\n          }" else (compound_statement "{\n            FUN_000599c4();\n          }" { (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" identifier (argument_list "()" ( ))) ;) }))) }) (else_clause "else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" else (if_statement "if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" if (parenthesized_expression "(bVar4 != 1)" ( (binary_expression "bVar4 != 1" identifier != number_literal) )) (compound_statement "{\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" { (if_statement "if ((int)uVar8 < 0) goto LAB_0005f954;" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0005f954;" goto statement_identifier ;)) (if_statement "if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" if (parenthesized_expression "(DAT_000dc264 == *(undefined1 **)(iVar10 + 8))" ( (binary_expression "DAT_000dc264 == *(undefined1 **)(iVar10 + 8)" identifier == (pointer_expression "*(undefined1 **)(iVar10 + 8)" * (cast_expression "(undefined1 **)(iVar10 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" { (expression_statement "iVar9 = *(int *)(iVar10 + 0xc);" (assignment_expression "iVar9 = *(int *)(iVar10 + 0xc)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "FUN_0005974b();" (call_expression "FUN_0005974b()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);" (assignment_expression "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + iVar9)" ( (binary_expression "*(int *)(iVar10 + 4) + iVar9" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + identifier) )))) ;) })) (expression_statement "puVar1 = DAT_000dc264 + 1;" (assignment_expression "puVar1 = DAT_000dc264 + 1" identifier = (binary_expression "DAT_000dc264 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_000dc264 = 0;" (assignment_expression "*DAT_000dc264 = 0" (pointer_expression "*DAT_000dc264" * identifier) = number_literal) ;) (expression_statement "iVar9 = *(int *)(iVar10 + 4);" (assignment_expression "iVar9 = *(int *)(iVar10 + 4)" identifier = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "DAT_000dc264 = puVar1;" (assignment_expression "DAT_000dc264 = puVar1" identifier = identifier) ;) (expression_statement "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);" (assignment_expression "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2)" identifier = (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2)" identifier (argument_list "(bVar4,iVar6,local_36,param_2)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" { (expression_statement "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);" (assignment_expression "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" identifier = (binary_expression "puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" identifier + (parenthesized_expression "((*(int *)(iVar10 + 4) + -1) - iVar9)" ( (binary_expression "(*(int *)(iVar10 + 4) + -1) - iVar9" (parenthesized_expression "(*(int *)(iVar10 + 4) + -1)" ( (binary_expression "*(int *)(iVar10 + 4) + -1" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + number_literal) )) - identifier) )))) ;) })) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" identifier (argument_list "()" ( ))) ;) })))) (goto_statement "goto LAB_0005f91b;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));" (assignment_expression "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" identifier = (unary_expression "~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" ~ (parenthesized_expression "(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" ( (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) )))) )))) ;) }))) (if_statement "if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" { (expression_statement "FUN_0005e68c();" (call_expression "FUN_0005e68c()" identifier (argument_list "()" ( ))) ;) (if_statement "if (bVar4 == 1) {\n        return pcVar7;\n      }" if (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        return pcVar7;\n      }" { (return_statement "return pcVar7;" return identifier ;) })) (goto_statement "goto LAB_0005f954;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" statement_identifier : (if_statement "if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }" { (labeled_statement "LAB_0005f926:\n    FUN_00056289(uVar5);" statement_identifier : (expression_statement "FUN_00056289(uVar5);" (call_expression "FUN_00056289(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;)) }) (else_clause "else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" else (if_statement "if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" if (parenthesized_expression "((param_1[1] == 0x40) && (*DAT_000dc70c != 0))" ( (binary_expression "(param_1[1] == 0x40) && (*DAT_000dc70c != 0)" (parenthesized_expression "(param_1[1] == 0x40)" ( (binary_expression "param_1[1] == 0x40" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*DAT_000dc70c != 0)" ( (binary_expression "*DAT_000dc70c != 0" (pointer_expression "*DAT_000dc70c" * identifier) != number_literal) ))) )) (compound_statement "{\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0005f926;" goto statement_identifier ;) }))))) (if_statement "if (bVar4 == 1) {\n    return pcVar7;\n  }" if (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    return pcVar7;\n  }" { (return_statement "return pcVar7;" return identifier ;) })) (if_statement "if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" if (parenthesized_expression "(-1 < (int)uVar8)" ( (binary_expression "-1 < (int)uVar8" number_literal < (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "puVar12 = DAT_000dc260;" (assignment_expression "puVar12 = DAT_000dc260" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" do (compound_statement "{\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    }" { (while_statement "while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" { (while_statement "while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" { (do_statement "do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);" do (compound_statement "{\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          }" { (expression_statement "pcVar11 = pcVar7;" (assignment_expression "pcVar11 = pcVar7" identifier = identifier) ;) (expression_statement "cVar2 = *pcVar11;" (assignment_expression "cVar2 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 == -0x7f)" ( (binary_expression "cVar2 == -0x7f" identifier == number_literal) )) ;) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (if_statement "if (cVar2 != -0x7c) break;" if (parenthesized_expression "(cVar2 != -0x7c)" ( (binary_expression "cVar2 != -0x7c" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (undefined4 *)*puVar12;" (assignment_expression "puVar12 = (undefined4 *)*puVar12" identifier = (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) })) (if_statement "if (cVar2 != -0x7e) break;" if (parenthesized_expression "(cVar2 != -0x7e)" ( (binary_expression "cVar2 != -0x7e" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }" if (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" ( (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" ( (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n          iVar10 = iVar10 + 1;\n        }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) })) }) while (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" ( (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" ( (binary_expression "cVar2 != -0x7d" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" ( (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) ;) (if_statement "if (!bVar3) {\n      return pcVar7;\n    }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n      return pcVar7;\n    }" { (return_statement "return pcVar7;" return identifier ;) })) (expression_statement "DAT_000dc260 = puVar12;" (assignment_expression "DAT_000dc260 = puVar12" identifier = identifier) ;) (return_statement "return pcVar7;" return identifier ;) })) (labeled_statement "LAB_0005f954:\n  iVar10 = 1;" statement_identifier : (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;)) (do_statement "do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" do (compound_statement "{\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  }" { (while_statement "while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" { (do_statement "do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);" do (compound_statement "{\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      }" { (while_statement "while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }" while (parenthesized_expression "(pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f)" ( (comma_expression "pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "pcVar11 = pcVar7" identifier = identifier) , (comma_expression "cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "cVar2 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) , (binary_expression "cVar2 == -0x7f" identifier == number_literal))) )) (compound_statement "{\n          pcVar7 = pcVar11 + 2;\n        }" { (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) })) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 == -0x7c)" ( (binary_expression "cVar2 == -0x7c" identifier == number_literal) )) ;) (if_statement "if (cVar2 != -0x7e) break;" if (parenthesized_expression "(cVar2 != -0x7e)" ( (binary_expression "cVar2 != -0x7e" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }" if (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" ( (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" ( (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar10 = iVar10 + 1;\n      }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) })) }) while (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" ( (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" ( (binary_expression "cVar2 != -0x7d" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" ( (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) ;) (return_statement "return pcVar7;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * evalvar(char *p,int flag)\n\n{\n}\n\n" comment (function_definition "char * evalvar(char *p,int flag)\n\n{\n}" primitive_type (pointer_declarator "* evalvar(char *p,int flag)" * (function_declarator "evalvar(char *p,int flag)" identifier (parameter_list "(char *p,int flag)" ( (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "int flag" primitive_type identifier) )))) (compound_statement "{\n}" { })))
(translation_unit "char * __regparm3 FUN_0005f844(byte *param_1,uint param_2)\n\n{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}\n\n" (function_definition "char * __regparm3 FUN_0005f844(byte *param_1,uint param_2)\n\n{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" primitive_type (pointer_declarator "* __regparm3 FUN_0005f844(byte *param_1,uint param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_0005f844(byte *param_1,uint param_2)" identifier (parameter_list "(byte *param_1,uint param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) )))) (compound_statement "{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" { (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "byte local_36;" type_identifier identifier ;) (expression_statement "iVar10 = DAT_000dc710;" (assignment_expression "iVar10 = DAT_000dc710" identifier = identifier) ;) (expression_statement "local_36 = *param_1;" (assignment_expression "local_36 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "bVar4 = local_36 & 0xf;" (assignment_expression "bVar4 = local_36 & 0xf" identifier = (binary_expression "local_36 & 0xf" identifier & number_literal)) ;) (if_statement "if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" if (parenthesized_expression "((local_36 & 0xf) == 0)" ( (binary_expression "(local_36 & 0xf) == 0" (parenthesized_expression "(local_36 & 0xf)" ( (binary_expression "local_36 & 0xf" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" { (expression_statement "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);" (assignment_expression "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4)" (pointer_expression "*(undefined4 *)(DAT_000dc708 + 0xc)" * (cast_expression "(undefined4 *)(DAT_000dc708 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0xc)" ( (binary_expression "DAT_000dc708 + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(PTR_DAT_000dc13c + 4)" * (cast_expression "(undefined4 *)(PTR_DAT_000dc13c + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000dc13c + 4)" ( (binary_expression "PTR_DAT_000dc13c + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_00056c26("syntax error: %s","bad substitution");" (call_expression "FUN_00056c26("syntax error: %s","bad substitution")" identifier (argument_list "("syntax error: %s","bad substitution")" ( (string_literal ""syntax error: %s"" " string_content ") , (string_literal ""bad substitution"" " string_content ") ))) ;) })) (expression_statement "__s = param_1 + 1;" (assignment_expression "__s = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = param_2 & 0x100;" (assignment_expression "uVar5 = param_2 & 0x100" identifier = (binary_expression "param_2 & 0x100" identifier & number_literal)) ;) (expression_statement "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);" (assignment_expression "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" identifier = (binary_expression "(int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" (cast_expression "(int)DAT_000dc264" ( (type_descriptor "int" primitive_type) ) identifier) - (pointer_expression "*(int *)(DAT_000dc710 + 4)" * (cast_expression "(int *)(DAT_000dc710 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc710 + 4)" ( (binary_expression "DAT_000dc710 + 4" identifier + number_literal) )))))) ;) (expression_statement "pcVar7 = strchr((char *)__s,0x3d);" (assignment_expression "pcVar7 = strchr((char *)__s,0x3d)" identifier = (call_expression "strchr((char *)__s,0x3d)" identifier (argument_list "((char *)__s,0x3d)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" if (parenthesized_expression "((byte)(bVar4 - 4) < 2)" ( (binary_expression "(byte)(bVar4 - 4) < 2" (call_expression "(byte)(bVar4 - 4)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar4 - 4)" ( (binary_expression "bVar4 - 4" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }" { (while_statement "while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" { (expression_statement "uVar8 = FUN_0005d0de(uVar5);" (assignment_expression "uVar8 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (if_statement "if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }" if (parenthesized_expression "((local_36 & 0x10) != 0)" ( (binary_expression "(local_36 & 0x10) != 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n        uVar8 = uVar8 - 1;\n      }" { (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ;) })) (if_statement "if (-1 < (int)uVar8) break;" if (parenthesized_expression "(-1 < (int)uVar8)" ( (binary_expression "-1 < (int)uVar8" number_literal < (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (break_statement "break;" break ;)) (expression_statement "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);" (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee)" identifier (argument_list "(bVar4,iVar6,local_36,param_2 & 0xffffffee)" ( identifier , identifier , identifier , (binary_expression "param_2 & 0xffffffee" identifier & number_literal) ))) ;) (expression_statement "local_36 = local_36 & 0xef;" (assignment_expression "local_36 = local_36 & 0xef" identifier = (binary_expression "local_36 & 0xef" identifier & number_literal)) ;) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" identifier (argument_list "()" ( ))) ;) })) }) (else_clause "else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" else (compound_statement "{\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" { (if_statement "if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" if (parenthesized_expression "(bVar4 == 2)" ( (binary_expression "bVar4 == 2" identifier == number_literal) )) (compound_statement "{\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }" { (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" identifier = (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) ))))) ;) }) (else_clause "else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" else (compound_statement "{\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" { (if_statement "if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" if (parenthesized_expression "(bVar4 != 3)" ( (binary_expression "bVar4 != 3" identifier != number_literal) )) (compound_statement "{\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" { (expression_statement "iVar9 = FUN_0005d0de(uVar5);" (assignment_expression "iVar9 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" identifier = (binary_expression "iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar9 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) ))))) ;) (if_statement "if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" if (parenthesized_expression "(((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0'))" ( (binary_expression "((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')" (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) && (parenthesized_expression "(*(char *)(DAT_000dc708 + 0x39) != '\0')" ( (binary_expression "*(char *)(DAT_000dc708 + 0x39) != '\0'" (pointer_expression "*(char *)(DAT_000dc708 + 0x39)" * (cast_expression "(char *)(DAT_000dc708 + 0x39)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x39)" ( (binary_expression "DAT_000dc708 + 0x39" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" { (expression_statement "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);" (call_expression "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" identifier (argument_list "("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" ( (string_literal ""%.*s: %s%s"" " string_content ") , (binary_expression "pcVar7 + (-1 - (int)__s)" identifier + (parenthesized_expression "(-1 - (int)__s)" ( (binary_expression "-1 - (int)__s" number_literal - (cast_expression "(int)__s" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , identifier , (string_literal ""parameter not set"" " string_content ") , (binary_expression "DAT_000dc708 + 0x2c" identifier + number_literal) ))) ;) })) (if_statement "if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" if (parenthesized_expression "(bVar4 == 10)" ( (binary_expression "bVar4 == 10" identifier == number_literal) )) (compound_statement "{\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }" { (if_statement "if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            FUN_000599c4();\n          }" { (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n            FUN_000599c4();\n          }" else (compound_statement "{\n            FUN_000599c4();\n          }" { (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" identifier (argument_list "()" ( ))) ;) }))) }) (else_clause "else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" else (if_statement "if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" if (parenthesized_expression "(bVar4 != 1)" ( (binary_expression "bVar4 != 1" identifier != number_literal) )) (compound_statement "{\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" { (if_statement "if ((int)uVar8 < 0) goto LAB_0005f954;" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_0005f954;" goto statement_identifier ;)) (if_statement "if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" if (parenthesized_expression "(DAT_000dc264 == *(undefined1 **)(iVar10 + 8))" ( (binary_expression "DAT_000dc264 == *(undefined1 **)(iVar10 + 8)" identifier == (pointer_expression "*(undefined1 **)(iVar10 + 8)" * (cast_expression "(undefined1 **)(iVar10 + 8)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" { (expression_statement "iVar9 = *(int *)(iVar10 + 0xc);" (assignment_expression "iVar9 = *(int *)(iVar10 + 0xc)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "FUN_0005974b();" (call_expression "FUN_0005974b()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);" (assignment_expression "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" identifier = (cast_expression "(undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 4) + iVar9)" ( (binary_expression "*(int *)(iVar10 + 4) + iVar9" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + identifier) )))) ;) })) (expression_statement "puVar1 = DAT_000dc264 + 1;" (assignment_expression "puVar1 = DAT_000dc264 + 1" identifier = (binary_expression "DAT_000dc264 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_000dc264 = 0;" (assignment_expression "*DAT_000dc264 = 0" (pointer_expression "*DAT_000dc264" * identifier) = number_literal) ;) (expression_statement "iVar9 = *(int *)(iVar10 + 4);" (assignment_expression "iVar9 = *(int *)(iVar10 + 4)" identifier = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "DAT_000dc264 = puVar1;" (assignment_expression "DAT_000dc264 = puVar1" identifier = identifier) ;) (expression_statement "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);" (assignment_expression "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2)" identifier = (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2)" identifier (argument_list "(bVar4,iVar6,local_36,param_2)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" { (expression_statement "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);" (assignment_expression "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" identifier = (binary_expression "puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" identifier + (parenthesized_expression "((*(int *)(iVar10 + 4) + -1) - iVar9)" ( (binary_expression "(*(int *)(iVar10 + 4) + -1) - iVar9" (parenthesized_expression "(*(int *)(iVar10 + 4) + -1)" ( (binary_expression "*(int *)(iVar10 + 4) + -1" (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) + number_literal) )) - identifier) )))) ;) })) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" identifier (argument_list "()" ( ))) ;) })))) (goto_statement "goto LAB_0005f91b;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" identifier = (call_expression "FUN_0005d0de(uVar5)" identifier (argument_list "(uVar5)" ( identifier )))) ;) (expression_statement "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));" (assignment_expression "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" identifier = (unary_expression "~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" ~ (parenthesized_expression "(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" ( (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" identifier + number_literal) + (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((local_36 & 0x10) == 0)" ( (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" ( (binary_expression "local_36 & 0x10" identifier & number_literal) )) == number_literal) )))) )))) ;) }))) (if_statement "if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" if (parenthesized_expression "((int)uVar8 < 0)" ( (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" { (expression_statement "FUN_0005e68c();" (call_expression "FUN_0005e68c()" identifier (argument_list "()" ( ))) ;) (if_statement "if (bVar4 == 1) {\n        return pcVar7;\n      }" if (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) (compound_statement "{\n        return pcVar7;\n      }" { (return_statement "return pcVar7;" return identifier ;) })) (goto_statement "goto LAB_0005f954;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" statement_identifier : (if_statement "if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }" { (labeled_statement "LAB_0005f926:\n    FUN_00056289(uVar5);" statement_identifier : (expression_statement "FUN_00056289(uVar5);" (call_expression "FUN_00056289(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;)) }) (else_clause "else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" else (if_statement "if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" if (parenthesized_expression "((param_1[1] == 0x40) && (*DAT_000dc70c != 0))" ( (binary_expression "(param_1[1] == 0x40) && (*DAT_000dc70c != 0)" (parenthesized_expression "(param_1[1] == 0x40)" ( (binary_expression "param_1[1] == 0x40" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*DAT_000dc70c != 0)" ( (binary_expression "*DAT_000dc70c != 0" (pointer_expression "*DAT_000dc70c" * identifier) != number_literal) ))) )) (compound_statement "{\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" { (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_0005f926;" goto statement_identifier ;) }))))) (if_statement "if (bVar4 == 1) {\n    return pcVar7;\n  }" if (parenthesized_expression "(bVar4 == 1)" ( (binary_expression "bVar4 == 1" identifier == number_literal) )) (compound_statement "{\n    return pcVar7;\n  }" { (return_statement "return pcVar7;" return identifier ;) })) (if_statement "if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" if (parenthesized_expression "(-1 < (int)uVar8)" ( (binary_expression "-1 < (int)uVar8" number_literal < (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" { (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "puVar12 = DAT_000dc260;" (assignment_expression "puVar12 = DAT_000dc260" identifier = identifier) ;) (do_statement "do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" do (compound_statement "{\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    }" { (while_statement "while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" { (while_statement "while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" { (do_statement "do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);" do (compound_statement "{\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          }" { (expression_statement "pcVar11 = pcVar7;" (assignment_expression "pcVar11 = pcVar7" identifier = identifier) ;) (expression_statement "cVar2 = *pcVar11;" (assignment_expression "cVar2 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 == -0x7f)" ( (binary_expression "cVar2 == -0x7f" identifier == number_literal) )) ;) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (if_statement "if (cVar2 != -0x7c) break;" if (parenthesized_expression "(cVar2 != -0x7c)" ( (binary_expression "cVar2 != -0x7c" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar12 = (undefined4 *)*puVar12;" (assignment_expression "puVar12 = (undefined4 *)*puVar12" identifier = (cast_expression "(undefined4 *)*puVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) })) (if_statement "if (cVar2 != -0x7e) break;" if (parenthesized_expression "(cVar2 != -0x7e)" ( (binary_expression "cVar2 != -0x7e" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }" if (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" ( (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" ( (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n          iVar10 = iVar10 + 1;\n        }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) })) }) while (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" ( (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" ( (binary_expression "cVar2 != -0x7d" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" ( (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) ;) (if_statement "if (!bVar3) {\n      return pcVar7;\n    }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n      return pcVar7;\n    }" { (return_statement "return pcVar7;" return identifier ;) })) (expression_statement "DAT_000dc260 = puVar12;" (assignment_expression "DAT_000dc260 = puVar12" identifier = identifier) ;) (return_statement "return pcVar7;" return identifier ;) })) (labeled_statement "LAB_0005f954:\n  iVar10 = 1;" statement_identifier : (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;)) (do_statement "do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" do (compound_statement "{\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  }" { (while_statement "while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" { (do_statement "do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);" do (compound_statement "{\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      }" { (while_statement "while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }" while (parenthesized_expression "(pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f)" ( (comma_expression "pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "pcVar11 = pcVar7" identifier = identifier) , (comma_expression "cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "cVar2 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) , (binary_expression "cVar2 == -0x7f" identifier == number_literal))) )) (compound_statement "{\n          pcVar7 = pcVar11 + 2;\n        }" { (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) })) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 == -0x7c)" ( (binary_expression "cVar2 == -0x7c" identifier == number_literal) )) ;) (if_statement "if (cVar2 != -0x7e) break;" if (parenthesized_expression "(cVar2 != -0x7e)" ( (binary_expression "cVar2 != -0x7e" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" identifier = (binary_expression "pcVar11 + 2" identifier + number_literal)) ;) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }" if (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" ( (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" ( (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\n        iVar10 = iVar10 + 1;\n      }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) })) })) }) while (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" ( (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" ( (binary_expression "cVar2 != -0x7d" identifier != number_literal) )) || (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" ( (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) ;) (return_statement "return pcVar7;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT & LIT) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , IDENT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )) - IDENT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )))) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) ))) )) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT == LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) ))) )) ;) (return_statement return IDENT ;) })))
(function_definition "char * __regparm3 FUN_0005f844(byte *param_1,uint param_2)\n\n{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_0005f844(byte *param_1,uint param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0005f844(byte *param_1,uint param_2)" (identifier "FUN_0005f844") (parameter_list "(byte *param_1,uint param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")")))) (compound_statement "{\n  byte *__s;\n  undefined1 *puVar1;\n  char cVar2;\n  bool bVar3;\n  byte bVar4;\n  uint uVar5;\n  int iVar6;\n  char *pcVar7;\n  uint uVar8;\n  int iVar9;\n  int iVar10;\n  char *pcVar11;\n  undefined4 *puVar12;\n  byte local_36;\n  \n  iVar10 = DAT_000dc710;\n  local_36 = *param_1;\n  bVar4 = local_36 & 0xf;\n  if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }\n  __s = param_1 + 1;\n  uVar5 = param_2 & 0x100;\n  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);\n  pcVar7 = strchr((char *)__s,0x3d);\n  pcVar7 = pcVar7 + 1;\n  if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }\nLAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }\n  if (bVar4 == 1) {\n    return pcVar7;\n  }\n  if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }\nLAB_0005f954:\n  iVar10 = 1;\n  do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n  return pcVar7;\n}" ({ "{") (declaration "byte *__s;" (type_identifier "byte") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "byte local_36;" (type_identifier "byte") (identifier "local_36") (; ";")) (expression_statement "iVar10 = DAT_000dc710;" (assignment_expression "iVar10 = DAT_000dc710" (identifier "iVar10") (= "=") (identifier "DAT_000dc710")) (; ";")) (expression_statement "local_36 = *param_1;" (assignment_expression "local_36 = *param_1" (identifier "local_36") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "bVar4 = local_36 & 0xf;" (assignment_expression "bVar4 = local_36 & 0xf" (identifier "bVar4") (= "=") (binary_expression "local_36 & 0xf" (identifier "local_36") (& "&") (number_literal "0xf"))) (; ";")) (if_statement "if ((local_36 & 0xf) == 0) {\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" (if "if") (parenthesized_expression "((local_36 & 0xf) == 0)" (( "(") (binary_expression "(local_36 & 0xf) == 0" (parenthesized_expression "(local_36 & 0xf)" (( "(") (binary_expression "local_36 & 0xf" (identifier "local_36") (& "&") (number_literal "0xf")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);\n                    \n    FUN_00056c26("syntax error: %s","bad substitution");\n  }" ({ "{") (expression_statement "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);" (assignment_expression "*(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4)" (pointer_expression "*(undefined4 *)(DAT_000dc708 + 0xc)" (* "*") (cast_expression "(undefined4 *)(DAT_000dc708 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0xc)" (( "(") (binary_expression "DAT_000dc708 + 0xc" (identifier "DAT_000dc708") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(PTR_DAT_000dc13c + 4)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_000dc13c + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000dc13c + 4)" (( "(") (binary_expression "PTR_DAT_000dc13c + 4" (identifier "PTR_DAT_000dc13c") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_00056c26("syntax error: %s","bad substitution");" (call_expression "FUN_00056c26("syntax error: %s","bad substitution")" (identifier "FUN_00056c26") (argument_list "("syntax error: %s","bad substitution")" (( "(") (string_literal ""syntax error: %s"" (" """) (string_content "syntax error: %s") (" """)) (, ",") (string_literal ""bad substitution"" (" """) (string_content "bad substitution") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "__s = param_1 + 1;" (assignment_expression "__s = param_1 + 1" (identifier "__s") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = param_2 & 0x100;" (assignment_expression "uVar5 = param_2 & 0x100" (identifier "uVar5") (= "=") (binary_expression "param_2 & 0x100" (identifier "param_2") (& "&") (number_literal "0x100"))) (; ";")) (expression_statement "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);" (assignment_expression "iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" (identifier "iVar6") (= "=") (binary_expression "(int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4)" (cast_expression "(int)DAT_000dc264" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000dc264")) (- "-") (pointer_expression "*(int *)(DAT_000dc710 + 4)" (* "*") (cast_expression "(int *)(DAT_000dc710 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc710 + 4)" (( "(") (binary_expression "DAT_000dc710 + 4" (identifier "DAT_000dc710") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "pcVar7 = strchr((char *)__s,0x3d);" (assignment_expression "pcVar7 = strchr((char *)__s,0x3d)" (identifier "pcVar7") (= "=") (call_expression "strchr((char *)__s,0x3d)" (identifier "strchr") (argument_list "((char *)__s,0x3d)" (( "(") (cast_expression "(char *)__s" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s")) (, ",") (number_literal "0x3d") () ")")))) (; ";")) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((byte)(bVar4 - 4) < 2) {\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }\n  else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" (if "if") (parenthesized_expression "((byte)(bVar4 - 4) < 2)" (( "(") (binary_expression "(byte)(bVar4 - 4) < 2" (call_expression "(byte)(bVar4 - 4)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar4 - 4)" (( "(") (binary_expression "bVar4 - 4" (identifier "bVar4") (- "-") (number_literal "4")) () ")"))) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n    while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      uVar8 = FUN_0005d0de(uVar5);\n      if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }\n      if (-1 < (int)uVar8) break;\n      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);\n      local_36 = local_36 & 0xef;\n      FUN_000562f6();\n    }" ({ "{") (expression_statement "uVar8 = FUN_0005d0de(uVar5);" (assignment_expression "uVar8 = FUN_0005d0de(uVar5)" (identifier "uVar8") (= "=") (call_expression "FUN_0005d0de(uVar5)" (identifier "FUN_0005d0de") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (if_statement "if ((local_36 & 0x10) != 0) {\n        uVar8 = uVar8 - 1;\n      }" (if "if") (parenthesized_expression "((local_36 & 0x10) != 0)" (( "(") (binary_expression "(local_36 & 0x10) != 0" (parenthesized_expression "(local_36 & 0x10)" (( "(") (binary_expression "local_36 & 0x10" (identifier "local_36") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar8 = uVar8 - 1;\n      }" ({ "{") (expression_statement "uVar8 = uVar8 - 1;" (assignment_expression "uVar8 = uVar8 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (-1 < (int)uVar8) break;" (if "if") (parenthesized_expression "(-1 < (int)uVar8)" (( "(") (binary_expression "-1 < (int)uVar8" (number_literal "-1") (< "<") (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);" (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee)" (identifier "FUN_0005ed31") (argument_list "(bVar4,iVar6,local_36,param_2 & 0xffffffee)" (( "(") (identifier "bVar4") (, ",") (identifier "iVar6") (, ",") (identifier "local_36") (, ",") (binary_expression "param_2 & 0xffffffee" (identifier "param_2") (& "&") (number_literal "0xffffffee")) () ")"))) (; ";")) (expression_statement "local_36 = local_36 & 0xef;" (assignment_expression "local_36 = local_36 & 0xef" (identifier "local_36") (= "=") (binary_expression "local_36 & 0xef" (identifier "local_36") (& "&") (number_literal "0xef"))) (; ";")) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" (identifier "FUN_000562f6") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" (else "else") (compound_statement "{\n    if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }\n    if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }\n  }" ({ "{") (if_statement "if (bVar4 == 2) {\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }\n    else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" (if "if") (parenthesized_expression "(bVar4 == 2)" (( "(") (binary_expression "bVar4 == 2" (identifier "bVar4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);\n    }" ({ "{") (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" (identifier "iVar10") (= "=") (call_expression "FUN_0005d0de(uVar5)" (identifier "FUN_0005d0de") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (identifier "uVar8") (= "=") (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((local_36 & 0x10) == 0)" (( "(") (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" (( "(") (binary_expression "local_36 & 0x10" (identifier "local_36") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" (else "else") (compound_statement "{\n      if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }\n      iVar10 = FUN_0005d0de(uVar5);\n      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));\n    }" ({ "{") (if_statement "if (bVar4 != 3) {\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" (if "if") (parenthesized_expression "(bVar4 != 3)" (( "(") (binary_expression "bVar4 != 3" (identifier "bVar4") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n        iVar9 = FUN_0005d0de(uVar5);\n        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);\n        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }\n        if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }\n        goto LAB_0005f91b;\n      }" ({ "{") (expression_statement "iVar9 = FUN_0005d0de(uVar5);" (assignment_expression "iVar9 = FUN_0005d0de(uVar5)" (identifier "iVar9") (= "=") (call_expression "FUN_0005d0de(uVar5)" (identifier "FUN_0005d0de") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);" (assignment_expression "uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" (identifier "uVar8") (= "=") (binary_expression "iVar9 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((local_36 & 0x10) == 0)" (( "(") (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" (( "(") (binary_expression "local_36 & 0x10" (identifier "local_36") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (if_statement "if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" (if "if") (parenthesized_expression "(((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0'))" (( "(") (binary_expression "((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')" (parenthesized_expression "((int)uVar8 < 0)" (( "(") (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(DAT_000dc708 + 0x39) != '\0')" (( "(") (binary_expression "*(char *)(DAT_000dc708 + 0x39) != '\0'" (pointer_expression "*(char *)(DAT_000dc708 + 0x39)" (* "*") (cast_expression "(char *)(DAT_000dc708 + 0x39)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0x39)" (( "(") (binary_expression "DAT_000dc708 + 0x39" (identifier "DAT_000dc708") (+ "+") (number_literal "0x39")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                    \n          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);\n        }" ({ "{") (expression_statement "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c);" (call_expression "FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" (identifier "FUN_00056c26") (argument_list "("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",\n                       DAT_000dc708 + 0x2c)" (( "(") (string_literal ""%.*s: %s%s"" (" """) (string_content "%.*s: %s%s") (" """)) (, ",") (binary_expression "pcVar7 + (-1 - (int)__s)" (identifier "pcVar7") (+ "+") (parenthesized_expression "(-1 - (int)__s)" (( "(") (binary_expression "-1 - (int)__s" (number_literal "-1") (- "-") (cast_expression "(int)__s" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__s"))) () ")"))) (, ",") (identifier "__s") (, ",") (string_literal ""parameter not set"" (" """) (string_content "parameter not set") (" """)) (, ",") (binary_expression "DAT_000dc708 + 0x2c" (identifier "DAT_000dc708") (+ "+") (number_literal "0x2c")) () ")"))) (; ";")) (} "}"))) (if_statement "if (bVar4 == 10) {\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }\n        else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" (if "if") (parenthesized_expression "(bVar4 == 10)" (( "(") (binary_expression "bVar4 == 10" (identifier "bVar4") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n          if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }\n        }" ({ "{") (if_statement "if ((int)uVar8 < 0) {\n            FUN_000599c4();\n          }\n          else {\n            FUN_000599c4();\n          }" (if "if") (parenthesized_expression "((int)uVar8 < 0)" (( "(") (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_000599c4();\n          }" ({ "{") (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" (identifier "FUN_000599c4") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n            FUN_000599c4();\n          }" (else "else") (compound_statement "{\n            FUN_000599c4();\n          }" ({ "{") (expression_statement "FUN_000599c4();" (call_expression "FUN_000599c4()" (identifier "FUN_000599c4") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" (else "else") (if_statement "if (bVar4 != 1) {\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" (if "if") (parenthesized_expression "(bVar4 != 1)" (( "(") (binary_expression "bVar4 != 1" (identifier "bVar4") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n          if ((int)uVar8 < 0) goto LAB_0005f954;\n          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }\n          puVar1 = DAT_000dc264 + 1;\n          *DAT_000dc264 = 0;\n          iVar9 = *(int *)(iVar10 + 4);\n          DAT_000dc264 = puVar1;\n          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);\n          if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }\n          FUN_000562f6();\n        }" ({ "{") (if_statement "if ((int)uVar8 < 0) goto LAB_0005f954;" (if "if") (parenthesized_expression "((int)uVar8 < 0)" (( "(") (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005f954;" (goto "goto") (statement_identifier "LAB_0005f954") (; ";"))) (if_statement "if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" (if "if") (parenthesized_expression "(DAT_000dc264 == *(undefined1 **)(iVar10 + 8))" (( "(") (binary_expression "DAT_000dc264 == *(undefined1 **)(iVar10 + 8)" (identifier "DAT_000dc264") (== "==") (pointer_expression "*(undefined1 **)(iVar10 + 8)" (* "*") (cast_expression "(undefined1 **)(iVar10 + 8)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n            iVar9 = *(int *)(iVar10 + 0xc);\n            FUN_0005974b();\n            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);\n          }" ({ "{") (expression_statement "iVar9 = *(int *)(iVar10 + 0xc);" (assignment_expression "iVar9 = *(int *)(iVar10 + 0xc)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar10 + 0xc)" (* "*") (cast_expression "(int *)(iVar10 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xc)" (( "(") (binary_expression "iVar10 + 0xc" (identifier "iVar10") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "FUN_0005974b();" (call_expression "FUN_0005974b()" (identifier "FUN_0005974b") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);" (assignment_expression "DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" (identifier "DAT_000dc264") (= "=") (cast_expression "(undefined1 *)(*(int *)(iVar10 + 4) + iVar9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 4) + iVar9)" (( "(") (binary_expression "*(int *)(iVar10 + 4) + iVar9" (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (+ "+") (identifier "iVar9")) () ")")))) (; ";")) (} "}"))) (expression_statement "puVar1 = DAT_000dc264 + 1;" (assignment_expression "puVar1 = DAT_000dc264 + 1" (identifier "puVar1") (= "=") (binary_expression "DAT_000dc264 + 1" (identifier "DAT_000dc264") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*DAT_000dc264 = 0;" (assignment_expression "*DAT_000dc264 = 0" (pointer_expression "*DAT_000dc264" (* "*") (identifier "DAT_000dc264")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = *(int *)(iVar10 + 4);" (assignment_expression "iVar9 = *(int *)(iVar10 + 4)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "DAT_000dc264 = puVar1;" (assignment_expression "DAT_000dc264 = puVar1" (identifier "DAT_000dc264") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);" (assignment_expression "iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2)" (identifier "iVar6") (= "=") (call_expression "FUN_0005ed31(bVar4,iVar6,local_36,param_2)" (identifier "FUN_0005ed31") (argument_list "(bVar4,iVar6,local_36,param_2)" (( "(") (identifier "bVar4") (, ",") (identifier "iVar6") (, ",") (identifier "local_36") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);\n          }" ({ "{") (expression_statement "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);" (assignment_expression "DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" (identifier "DAT_000dc264") (= "=") (binary_expression "puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9)" (identifier "puVar1") (+ "+") (parenthesized_expression "((*(int *)(iVar10 + 4) + -1) - iVar9)" (( "(") (binary_expression "(*(int *)(iVar10 + 4) + -1) - iVar9" (parenthesized_expression "(*(int *)(iVar10 + 4) + -1)" (( "(") (binary_expression "*(int *)(iVar10 + 4) + -1" (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "-1")) () ")")) (- "-") (identifier "iVar9")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_000562f6();" (call_expression "FUN_000562f6()" (identifier "FUN_000562f6") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))))) (goto_statement "goto LAB_0005f91b;" (goto "goto") (statement_identifier "LAB_0005f91b") (; ";")) (} "}"))) (expression_statement "iVar10 = FUN_0005d0de(uVar5);" (assignment_expression "iVar10 = FUN_0005d0de(uVar5)" (identifier "iVar10") (= "=") (call_expression "FUN_0005d0de(uVar5)" (identifier "FUN_0005d0de") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")")))) (; ";")) (expression_statement "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));" (assignment_expression "uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" (identifier "uVar8") (= "=") (unary_expression "~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" (~ "~") (parenthesized_expression "(iVar10 + -1 + (uint)((local_36 & 0x10) == 0))" (( "(") (binary_expression "iVar10 + -1 + (uint)((local_36 & 0x10) == 0)" (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)((local_36 & 0x10) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((local_36 & 0x10) == 0)" (( "(") (binary_expression "(local_36 & 0x10) == 0" (parenthesized_expression "(local_36 & 0x10)" (( "(") (binary_expression "local_36 & 0x10" (identifier "local_36") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")))) () ")")))) (; ";")) (} "}")))) (if_statement "if ((int)uVar8 < 0) {\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" (if "if") (parenthesized_expression "((int)uVar8 < 0)" (( "(") (binary_expression "(int)uVar8 < 0" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0005e68c();\n      if (bVar4 == 1) {\n        return pcVar7;\n      }\n      goto LAB_0005f954;\n    }" ({ "{") (expression_statement "FUN_0005e68c();" (call_expression "FUN_0005e68c()" (identifier "FUN_0005e68c") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (bVar4 == 1) {\n        return pcVar7;\n      }" (if "if") (parenthesized_expression "(bVar4 == 1)" (( "(") (binary_expression "bVar4 == 1" (identifier "bVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        return pcVar7;\n      }" ({ "{") (return_statement "return pcVar7;" (return "return") (identifier "pcVar7") (; ";")) (} "}"))) (goto_statement "goto LAB_0005f954;" (goto "goto") (statement_identifier "LAB_0005f954") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0005f91b:\n  if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" (statement_identifier "LAB_0005f91b") (: ":") (if_statement "if (uVar5 == 0) {\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }\n  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0005f926:\n    FUN_00056289(uVar5);\n  }" ({ "{") (labeled_statement "LAB_0005f926:\n    FUN_00056289(uVar5);" (statement_identifier "LAB_0005f926") (: ":") (expression_statement "FUN_00056289(uVar5);" (call_expression "FUN_00056289(uVar5)" (identifier "FUN_00056289") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";"))) (} "}")) (else_clause "else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" (else "else") (if_statement "if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" (if "if") (parenthesized_expression "((param_1[1] == 0x40) && (*DAT_000dc70c != 0))" (( "(") (binary_expression "(param_1[1] == 0x40) && (*DAT_000dc70c != 0)" (parenthesized_expression "(param_1[1] == 0x40)" (( "(") (binary_expression "param_1[1] == 0x40" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x40")) () ")")) (&& "&&") (parenthesized_expression "(*DAT_000dc70c != 0)" (( "(") (binary_expression "*DAT_000dc70c != 0" (pointer_expression "*DAT_000dc70c" (* "*") (identifier "DAT_000dc70c")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar5 = 1;\n    goto LAB_0005f926;\n  }" ({ "{") (expression_statement "uVar5 = 1;" (assignment_expression "uVar5 = 1" (identifier "uVar5") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0005f926;" (goto "goto") (statement_identifier "LAB_0005f926") (; ";")) (} "}")))))) (if_statement "if (bVar4 == 1) {\n    return pcVar7;\n  }" (if "if") (parenthesized_expression "(bVar4 == 1)" (( "(") (binary_expression "bVar4 == 1" (identifier "bVar4") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    return pcVar7;\n  }" ({ "{") (return_statement "return pcVar7;" (return "return") (identifier "pcVar7") (; ";")) (} "}"))) (if_statement "if (-1 < (int)uVar8) {\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" (if "if") (parenthesized_expression "(-1 < (int)uVar8)" (( "(") (binary_expression "-1 < (int)uVar8" (number_literal "-1") (< "<") (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8"))) () ")")) (compound_statement "{\n    bVar3 = false;\n    iVar10 = 1;\n    puVar12 = DAT_000dc260;\n    do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));\n    if (!bVar3) {\n      return pcVar7;\n    }\n    DAT_000dc260 = puVar12;\n    return pcVar7;\n  }" ({ "{") (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" (identifier "iVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar12 = DAT_000dc260;" (assignment_expression "puVar12 = DAT_000dc260" (identifier "puVar12") (= "=") (identifier "DAT_000dc260")) (; ";")) (do_statement "do {\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" (do "do") (compound_statement "{\n      while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }\n        if (cVar2 != -0x7e) break;\n        pcVar7 = pcVar11 + 2;\n        if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }\n      }" ({ "{") (while_statement "while( true ) {\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);\n          pcVar7 = pcVar11 + 1;\n          if (cVar2 != -0x7c) break;\n          puVar12 = (undefined4 *)*puVar12;\n          bVar3 = true;\n        }" ({ "{") (do_statement "do {\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          } while (cVar2 == -0x7f);" (do "do") (compound_statement "{\n            pcVar11 = pcVar7;\n            cVar2 = *pcVar11;\n            pcVar7 = pcVar11 + 2;\n          }" ({ "{") (expression_statement "pcVar11 = pcVar7;" (assignment_expression "pcVar11 = pcVar7" (identifier "pcVar11") (= "=") (identifier "pcVar7")) (; ";")) (expression_statement "cVar2 = *pcVar11;" (assignment_expression "cVar2 = *pcVar11" (identifier "cVar2") (= "=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (; ";")) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar2 == -0x7f)" (( "(") (binary_expression "cVar2 == -0x7f" (identifier "cVar2") (== "==") (number_literal "-0x7f")) () ")")) (; ";")) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar2 != -0x7c) break;" (if "if") (parenthesized_expression "(cVar2 != -0x7c)" (( "(") (binary_expression "cVar2 != -0x7c" (identifier "cVar2") (!= "!=") (number_literal "-0x7c")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar12 = (undefined4 *)*puVar12;" (assignment_expression "puVar12 = (undefined4 *)*puVar12" (identifier "puVar12") (= "=") (cast_expression "(undefined4 *)*puVar12" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar12" (* "*") (identifier "puVar12")))) (; ";")) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (} "}"))) (if_statement "if (cVar2 != -0x7e) break;" (if "if") (parenthesized_expression "(cVar2 != -0x7e)" (( "(") (binary_expression "cVar2 != -0x7e" (identifier "cVar2") (!= "!=") (number_literal "-0x7e")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n          iVar10 = iVar10 + 1;\n        }" (if "if") (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" (( "(") (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" (( "(") (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xfU")) () ")")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n          iVar10 = iVar10 + 1;\n        }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" (( "(") (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" (( "(") (binary_expression "cVar2 != -0x7d" (identifier "cVar2") (!= "!=") (number_literal "-0x7d")) () ")")) (|| "||") (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" (( "(") (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (; ";")) (if_statement "if (!bVar3) {\n      return pcVar7;\n    }" (if "if") (parenthesized_expression "(!bVar3)" (( "(") (unary_expression "!bVar3" (! "!") (identifier "bVar3")) () ")")) (compound_statement "{\n      return pcVar7;\n    }" ({ "{") (return_statement "return pcVar7;" (return "return") (identifier "pcVar7") (; ";")) (} "}"))) (expression_statement "DAT_000dc260 = puVar12;" (assignment_expression "DAT_000dc260 = puVar12" (identifier "DAT_000dc260") (= "=") (identifier "puVar12")) (; ";")) (return_statement "return pcVar7;" (return "return") (identifier "pcVar7") (; ";")) (} "}"))) (labeled_statement "LAB_0005f954:\n  iVar10 = 1;" (statement_identifier "LAB_0005f954") (: ":") (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" (identifier "iVar10") (= "=") (number_literal "1")) (; ";"))) (do_statement "do {\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));" (do "do") (compound_statement "{\n    while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);\n      if (cVar2 != -0x7e) break;\n      pcVar7 = pcVar11 + 2;\n      if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }\n    }" ({ "{") (do_statement "do {\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      } while (cVar2 == -0x7c);" (do "do") (compound_statement "{\n        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }\n        pcVar7 = pcVar11 + 1;\n      }" ({ "{") (while_statement "while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {\n          pcVar7 = pcVar11 + 2;\n        }" (while "while") (parenthesized_expression "(pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f)" (( "(") (comma_expression "pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "pcVar11 = pcVar7" (identifier "pcVar11") (= "=") (identifier "pcVar7")) (, ",") (comma_expression "cVar2 = *pcVar11, cVar2 == -0x7f" (assignment_expression "cVar2 = *pcVar11" (identifier "cVar2") (= "=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (, ",") (binary_expression "cVar2 == -0x7f" (identifier "cVar2") (== "==") (number_literal "-0x7f")))) () ")")) (compound_statement "{\n          pcVar7 = pcVar11 + 2;\n        }" ({ "{") (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "pcVar7 = pcVar11 + 1;" (assignment_expression "pcVar7 = pcVar11 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar2 == -0x7c)" (( "(") (binary_expression "cVar2 == -0x7c" (identifier "cVar2") (== "==") (number_literal "-0x7c")) () ")")) (; ";")) (if_statement "if (cVar2 != -0x7e) break;" (if "if") (parenthesized_expression "(cVar2 != -0x7e)" (( "(") (binary_expression "cVar2 != -0x7e" (identifier "cVar2") (!= "!=") (number_literal "-0x7e")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pcVar7 = pcVar11 + 2;" (assignment_expression "pcVar7 = pcVar11 + 2" (identifier "pcVar7") (= "=") (binary_expression "pcVar11 + 2" (identifier "pcVar11") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((pcVar11[1] & 0xfU) != 1) {\n        iVar10 = iVar10 + 1;\n      }" (if "if") (parenthesized_expression "((pcVar11[1] & 0xfU) != 1)" (( "(") (binary_expression "(pcVar11[1] & 0xfU) != 1" (parenthesized_expression "(pcVar11[1] & 0xfU)" (( "(") (binary_expression "pcVar11[1] & 0xfU" (subscript_expression "pcVar11[1]" (identifier "pcVar11") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xfU")) () ")")) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n        iVar10 = iVar10 + 1;\n      }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (while "while") (parenthesized_expression "((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0))" (( "(") (binary_expression "(cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0)" (parenthesized_expression "(cVar2 != -0x7d)" (( "(") (binary_expression "cVar2 != -0x7d" (identifier "cVar2") (!= "!=") (number_literal "-0x7d")) () ")")) (|| "||") (parenthesized_expression "(iVar10 = iVar10 + -1, iVar10 != 0)" (( "(") (comma_expression "iVar10 = iVar10 + -1, iVar10 != 0" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (; ";")) (return_statement "return pcVar7;" (return "return") (identifier "pcVar7") (; ";")) (} "}")))

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

char * function_1(char *p,int flag)

{
}


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

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

char * __regparm3 MASKED(byte *param_1,uint param_2)

{
  byte *__s;
  undefined1 *puVar1;
  char cVar2;
  bool bVar3;
  byte bVar4;
  uint uVar5;
  int iVar6;
  char *pcVar7;
  uint uVar8;
  int iVar9;
  int iVar10;
  char *pcVar11;
  undefined4 *puVar12;
  byte local_36;
  
  iVar10 = DAT_000dc710;
  local_36 = *param_1;
  bVar4 = local_36 & 0xf;
  if ((local_36 & 0xf) == 0) {
    *(undefined4 *)(DAT_000dc708 + 0xc) = *(undefined4 *)(PTR_DAT_000dc13c + 4);
                    /* WARNING: Subroutine does not return */
    FUN_00056c26("syntax error: %s","bad substitution");
  }
  __s = param_1 + 1;
  uVar5 = param_2 & 0x100;
  iVar6 = (int)DAT_000dc264 - *(int *)(DAT_000dc710 + 4);
  pcVar7 = strchr((char *)__s,0x3d);
  pcVar7 = pcVar7 + 1;
  if ((byte)(bVar4 - 4) < 2) {
    while( true ) {
      uVar8 = FUN_0005d0de(uVar5);
      if ((local_36 & 0x10) != 0) {
        uVar8 = uVar8 - 1;
      }
      if (-1 < (int)uVar8) break;
      FUN_0005ed31(bVar4,iVar6,local_36,param_2 & 0xffffffee);
      local_36 = local_36 & 0xef;
      FUN_000562f6();
    }
  }
  else {
    if (bVar4 == 2) {
      iVar10 = FUN_0005d0de(uVar5);
      uVar8 = iVar10 + -1 + (uint)((local_36 & 0x10) == 0);
    }
    else {
      if (bVar4 != 3) {
        iVar9 = FUN_0005d0de(uVar5);
        uVar8 = iVar9 + -1 + (uint)((local_36 & 0x10) == 0);
        if (((int)uVar8 < 0) && (*(char *)(DAT_000dc708 + 0x39) != '\0')) {
                    /* WARNING: Subroutine does not return */
          FUN_00056c26("%.*s: %s%s",pcVar7 + (-1 - (int)__s),__s,"parameter not set",
                       DAT_000dc708 + 0x2c);
        }
        if (bVar4 == 10) {
          if ((int)uVar8 < 0) {
            FUN_000599c4();
          }
          else {
            FUN_000599c4();
          }
        }
        else if (bVar4 != 1) {
          if ((int)uVar8 < 0) goto LAB_0005f954;
          if (DAT_000dc264 == *(undefined1 **)(iVar10 + 8)) {
            iVar9 = *(int *)(iVar10 + 0xc);
            FUN_0005974b();
            DAT_000dc264 = (undefined1 *)(*(int *)(iVar10 + 4) + iVar9);
          }
          puVar1 = DAT_000dc264 + 1;
          *DAT_000dc264 = 0;
          iVar9 = *(int *)(iVar10 + 4);
          DAT_000dc264 = puVar1;
          iVar6 = FUN_0005ed31(bVar4,iVar6,local_36,param_2);
          if (iVar6 == 0) {
            DAT_000dc264 = puVar1 + ((*(int *)(iVar10 + 4) + -1) - iVar9);
          }
          FUN_000562f6();
        }
        goto LAB_0005f91b;
      }
      iVar10 = FUN_0005d0de(uVar5);
      uVar8 = ~(iVar10 + -1 + (uint)((local_36 & 0x10) == 0));
    }
    if ((int)uVar8 < 0) {
      FUN_0005e68c();
      if (bVar4 == 1) {
        return pcVar7;
      }
      goto LAB_0005f954;
    }
  }
LAB_0005f91b:
  if (uVar5 == 0) {
LAB_0005f926:
    FUN_00056289(uVar5);
  }
  else if ((param_1[1] == 0x40) && (*DAT_000dc70c != 0)) {
    uVar5 = 1;
    goto LAB_0005f926;
  }
  if (bVar4 == 1) {
    return pcVar7;
  }
  if (-1 < (int)uVar8) {
    bVar3 = false;
    iVar10 = 1;
    puVar12 = DAT_000dc260;
    do {
      while( true ) {
        while( true ) {
          do {
            pcVar11 = pcVar7;
            cVar2 = *pcVar11;
            pcVar7 = pcVar11 + 2;
          } while (cVar2 == -0x7f);
          pcVar7 = pcVar11 + 1;
          if (cVar2 != -0x7c) break;
          puVar12 = (undefined4 *)*puVar12;
          bVar3 = true;
        }
        if (cVar2 != -0x7e) break;
        pcVar7 = pcVar11 + 2;
        if ((pcVar11[1] & 0xfU) != 1) {
          iVar10 = iVar10 + 1;
        }
      }
    } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));
    if (!bVar3) {
      return pcVar7;
    }
    DAT_000dc260 = puVar12;
    return pcVar7;
  }
LAB_0005f954:
  iVar10 = 1;
  do {
    while( true ) {
      do {
        while (pcVar11 = pcVar7, cVar2 = *pcVar11, cVar2 == -0x7f) {
          pcVar7 = pcVar11 + 2;
        }
        pcVar7 = pcVar11 + 1;
      } while (cVar2 == -0x7c);
      if (cVar2 != -0x7e) break;
      pcVar7 = pcVar11 + 2;
      if ((pcVar11[1] & 0xfU) != 1) {
        iVar10 = iVar10 + 1;
      }
    }
  } while ((cVar2 != -0x7d) || (iVar10 = iVar10 + -1, iVar10 != 0));
  return pcVar7;
}

