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

int demangle_args(work_stuff *work,char **mangled,string *declp)

{
  int r;
  int t;
  char *tem;
  string arg;
  
}



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

uint __regparm3 FUN_00399420(uint *param_1,int *param_2)

{
  bool bVar1;
  char cVar2;
  int iVar3;
  char *pcVar4;
  uint uVar5;
  int local_34;
  int local_30;
  void *local_28;
  
  if ((*param_1 & 1) == 0) {
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
  }
  else {
    FUN_00395500();
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
    if (cVar2 == '\0') {
      FUN_00395500();
      pcVar4 = (char *)*param_2;
      cVar2 = *pcVar4;
    }
  }
  bVar1 = false;
  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {
    if ((cVar2 == 'N') || (cVar2 == 'T')) {
      *param_2 = (int)(pcVar4 + 1);
      if (*pcVar4 == 'N') {
        iVar3 = FUN_00394c10();
        if (iVar3 == 0) {
          return 0;
        }
      }
      else {
        local_34 = 1;
      }
      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {
        iVar3 = FUN_00394c10();
        if (iVar3 == 0) {
          return 0;
        }
      }
      else {
        local_30 = FUN_003950b0();
        if (local_30 < 1) {
          return 0;
        }
      }
      if ((*param_1 & 0x3c00) != 0) {
        local_30 = local_30 + -1;
      }
      if (local_30 < 0) {
        return 0;
      }
      if ((int)param_1[8] <= local_30) {
        return 0;
      }
      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {
        if ((bVar1) && ((*param_1 & 1) != 0)) {
          FUN_00395500();
        }
        FUN_00394d90();
        iVar3 = FUN_003992e0();
        if (iVar3 == 0) {
          param_1[0x17] = param_1[0x17] - 1;
          return 0;
        }
        param_1[0x17] = param_1[0x17] - 1;
        if ((*param_1 & 1) != 0) {
          FUN_00395650();
        }
        bVar1 = true;
        if (local_28 != (void *)0x0) {
          free(local_28);
          local_28 = (void *)0x0;
        }
      }
    }
    else {
      if ((bVar1) && ((*param_1 & 1) != 0)) {
        FUN_00395500();
      }
      iVar3 = FUN_003992e0();
      if (iVar3 == 0) {
        return 0;
      }
      if ((*param_1 & 1) != 0) {
        FUN_00395650();
      }
      bVar1 = true;
      if (local_28 != (void *)0x0) {
        free(local_28);
        local_28 = (void *)0x0;
      }
    }
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
  }
  uVar5 = *param_1 & 1;
  if (cVar2 == 'e') {
    *param_2 = (int)(pcVar4 + 1);
    if (uVar5 == 0) {
      return 1;
    }
    if (bVar1) {
      FUN_00395500();
    }
    FUN_00395500();
    uVar5 = *param_1 & 1;
  }
  if (uVar5 == 0) {
    return 1;
  }
  FUN_00395500();
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00050b50
ADD EBX,0x250bd5
SUB ESP,0x3c
MOV dword ptr [ESP + 0xc],EDX
MOV dword ptr [ESP + 0x8],ECX
TEST byte ptr [EAX],0x1
JNZ 0x00399698
MOV EAX,dword ptr [EDX]
MOV EDX,EAX
MOVZX EAX,byte ptr [EAX]
XOR EDI,EDI
LEA EBP,[ESP + 0x24]
MOV ECX,EDX
CMP AL,0x5f
SETNZ byte ptr [ESP + 0x4]
TEST AL,AL
SETNZ DL
TEST byte ptr [ESP + 0x4],DL
JZ 0x0039946a
CMP AL,0x65
JNZ 0x00399475
MOV EDX,dword ptr [ESI + 0x50]
TEST EDX,EDX
JLE 0x003996f9
CMP AL,0x4e
JZ 0x003994f0
CMP AL,0x54
JZ 0x003994f0
TEST EDI,EDI
JZ 0x0039948a
TEST byte ptr [ESI],0x1
JNZ 0x00399640
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,EBP
MOV EAX,ESI
CALL 0x003992e0
TEST EAX,EAX
JZ 0x00399685
TEST byte ptr [ESI],0x1
JNZ 0x00399658
MOV EAX,dword ptr [ESP + 0x24]
MOV EDI,0x1
TEST EAX,EAX
JZ 0x003994d9
SUB ESP,0xc
PUSH EAX
CALL 0x00039700
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP + 0x3c],0x0
MOV dword ptr [ESP + 0x34],0x0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EAX]
MOVZX EAX,byte ptr [ECX]
JMP 0x00399454
MOV EDX,dword ptr [ESP + 0xc]
LEA EAX,[ECX + 0x1]
MOV dword ptr [EDX],EAX
CMP byte ptr [ECX],0x4e
JZ 0x003996e0
MOV dword ptr [ESP + 0x18],0x1
TEST dword ptr [ESI],0x3800
JZ 0x0039951c
CMP dword ptr [ESI + 0x20],0x9
JG 0x00399670
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[ESP + 0x1c]
CALL 0x00394c10
TEST EAX,EAX
JZ 0x00399685
MOV EAX,dword ptr [ESP + 0x1c]
TEST dword ptr [ESI],0x3c00
JZ 0x00399544
SUB EAX,0x1
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JS 0x00399685
CMP dword ptr [ESI + 0x20],EAX
JG 0x003995d1
JMP 0x00399685
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EAX + EDX*0x4]
MOV dword ptr [ESP + 0x20],EAX
TEST EDI,EDI
JZ 0x0039957b
TEST byte ptr [ESI],0x1
JNZ 0x00399618
MOV EAX,ESI
CALL 0x00394d90
LEA EDX,[ESP + 0x20]
MOV ECX,EBP
MOV EAX,ESI
CALL 0x003992e0
TEST EAX,EAX
JZ 0x00399630
SUB dword ptr [ESI + 0x5c],0x1
TEST byte ptr [ESI],0x1
JNZ 0x00399600
MOV EAX,dword ptr [ESP + 0x24]
MOV EDI,0x1
TEST EAX,EAX
JZ 0x003995db
SUB ESP,0xc
PUSH EAX
CALL 0x00039700
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP + 0x3c],0x0
MOV dword ptr [ESP + 0x34],0x0
ADD ESP,0x10
LEA EAX,[EBX + 0xffeb460f]
MOV dword ptr [ESP + 0x4],EAX
MOV ECX,dword ptr [ESI + 0x50]
TEST ECX,ECX
JG 0x00399560
SUB dword ptr [ESP + 0x18],0x1
JNS 0x00399560
JMP 0x003994d9
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,EBP
CALL 0x00395650
JMP 0x003995a0
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x00395500
MOV EDX,dword ptr [ESP + 0x1c]
JMP 0x0039957b
SUB dword ptr [ESI + 0x5c],0x1
MOV ECX,EAX
ADD ESP,0x3c
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffeb460f]
CALL 0x00395500
JMP 0x0039948a
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,EBP
CALL 0x00395650
JMP 0x003994a8
MOV EAX,dword ptr [ESP + 0xc]
CALL 0x003950b0
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JG 0x00399535
XOR ECX,ECX
ADD ESP,0x3c
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffeab2ac]
CALL 0x00395500
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX]
MOV EDX,EAX
MOVZX EAX,byte ptr [EAX]
TEST AL,AL
JNZ 0x0039944c
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffeb55ec]
CALL 0x00395500
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX]
MOV EDX,EAX
MOVZX EAX,byte ptr [EAX]
JMP 0x0039944c
MOV EAX,dword ptr [ESP + 0xc]
LEA EDX,[ESP + 0x18]
CALL 0x00394c10
TEST EAX,EAX
JNZ 0x0039950a
XOR ECX,ECX
JMP 0x00399687
MOV EDX,ECX
MOV ECX,dword ptr [ESI]
AND ECX,0x1
CMP AL,0x65
JZ 0x00399712
TEST ECX,ECX
JNZ 0x0039973b
MOV ECX,0x1
JMP 0x00399636
MOV EBP,EDX
MOV EAX,dword ptr [ESP + 0xc]
ADD EBP,0x1
MOV dword ptr [EAX],EBP
TEST ECX,ECX
JZ 0x00399708
TEST EDI,EDI
JNZ 0x00399757
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffea35d9]
CALL 0x00395500
MOV ECX,dword ptr [ESI]
AND ECX,0x1
JMP 0x00399704
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffe829a0]
MOV dword ptr [ESP + 0x4],ECX
CALL 0x00395500
MOV ECX,dword ptr [ESP + 0x4]
JMP 0x00399636
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EBX + 0xffea45cb]
CALL 0x00395500
JMP 0x00399725
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuint __regparm3 FUN_00399420(uint *param_1,int *param_2)\n\n{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}\n\n" comment (function_definition "uint __regparm3 FUN_00399420(uint *param_1,int *param_2)\n\n{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00399420(uint *param_1,int *param_2)" identifier (parameter_list "(uint *param_1,int *param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "void *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" { (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) }) (else_clause "else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" else (compound_statement "{\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) })) }))) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" while (parenthesized_expression "(((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])))" ( (parenthesized_expression "((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))" ( (binary_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])" (parenthesized_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e'))" ( (binary_expression "cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')" (binary_expression "cVar2 != '_' && cVar2 != '\0'" (binary_expression "cVar2 != '_'" identifier != (char_literal "'_'" ' character ')) && (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) && (parenthesized_expression "(cVar2 != 'e')" ( (binary_expression "cVar2 != 'e'" identifier != (char_literal "'e'" ' character ')) ))) )) || (parenthesized_expression "(0 < (int)param_1[0x14])" ( (binary_expression "0 < (int)param_1[0x14]" number_literal < (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) ))) )) )) (compound_statement "{\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" { (if_statement "if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" if (parenthesized_expression "((cVar2 == 'N') || (cVar2 == 'T'))" ( (binary_expression "(cVar2 == 'N') || (cVar2 == 'T')" (parenthesized_expression "(cVar2 == 'N')" ( (binary_expression "cVar2 == 'N'" identifier == (char_literal "'N'" ' character ')) )) || (parenthesized_expression "(cVar2 == 'T')" ( (binary_expression "cVar2 == 'T'" identifier == (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }" { (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(pcVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar4 + 1)" ( (binary_expression "pcVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }" if (parenthesized_expression "(*pcVar4 == 'N')" ( (binary_expression "*pcVar4 == 'N'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'N'" ' character ')) )) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" identifier = (call_expression "FUN_00394c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        local_34 = 1;\n      }" else (compound_statement "{\n        local_34 = 1;\n      }" { (expression_statement "local_34 = 1;" (assignment_expression "local_34 = 1" identifier = number_literal) ;) }))) (if_statement "if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" if (parenthesized_expression "(((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10))" ( (binary_expression "((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)" (parenthesized_expression "((*param_1 & 0x3800) == 0)" ( (binary_expression "(*param_1 & 0x3800) == 0" (parenthesized_expression "(*param_1 & 0x3800)" ( (binary_expression "*param_1 & 0x3800" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "((int)param_1[8] < 10)" ( (binary_expression "(int)param_1[8] < 10" (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) < number_literal) ))) )) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" identifier = (call_expression "FUN_00394c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" else (compound_statement "{\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" { (expression_statement "local_30 = FUN_003950b0();" (assignment_expression "local_30 = FUN_003950b0()" identifier = (call_expression "FUN_003950b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_30 < 1) {\n          return 0;\n        }" if (parenthesized_expression "(local_30 < 1)" ( (binary_expression "local_30 < 1" identifier < number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }" if (parenthesized_expression "((*param_1 & 0x3c00) != 0)" ( (binary_expression "(*param_1 & 0x3c00) != 0" (parenthesized_expression "(*param_1 & 0x3c00)" ( (binary_expression "*param_1 & 0x3c00" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        local_30 = local_30 + -1;\n      }" { (expression_statement "local_30 = local_30 + -1;" (assignment_expression "local_30 = local_30 + -1" identifier = (binary_expression "local_30 + -1" identifier + number_literal)) ;) })) (if_statement "if (local_30 < 0) {\n        return 0;\n      }" if (parenthesized_expression "(local_30 < 0)" ( (binary_expression "local_30 < 0" identifier < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((int)param_1[8] <= local_30) {\n        return 0;\n      }" if (parenthesized_expression "((int)param_1[8] <= local_30)" ( (binary_expression "(int)param_1[8] <= local_30" (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" while (parenthesized_expression "((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)))" ( (parenthesized_expression "(0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))" ( (binary_expression "0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)" (binary_expression "0 < (int)param_1[0x14]" number_literal < (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) || (parenthesized_expression "(local_34 = local_34 + -1, -1 < local_34)" ( (comma_expression "local_34 = local_34 + -1, -1 < local_34" (assignment_expression "local_34 = local_34 + -1" identifier = (binary_expression "local_34 + -1" identifier + number_literal)) , (binary_expression "-1 < local_34" number_literal < identifier)) ))) )) )) (compound_statement "{\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" { (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }" if (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" ( (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          FUN_00395500();\n        }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00394d90();" (call_expression "FUN_00394d90()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" identifier = (call_expression "FUN_003992e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" { (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) - number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) - number_literal)) ;) (if_statement "if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          FUN_00395650();\n        }" { (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" { (expression_statement "free(local_28);" (call_expression "free(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) }) (else_clause "else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" else (compound_statement "{\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" { (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }" if (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" ( (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n        FUN_00395500();\n      }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" identifier = (call_expression "FUN_003992e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        FUN_00395650();\n      }" { (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" { (expression_statement "free(local_28);" (call_expression "free(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) })) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" identifier = (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal)) ;) (if_statement "if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" if (parenthesized_expression "(cVar2 == 'e')" ( (binary_expression "cVar2 == 'e'" identifier == (char_literal "'e'" ' character ')) )) (compound_statement "{\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" { (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(pcVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar4 + 1)" ( (binary_expression "pcVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (uVar5 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (bVar1) {\n      FUN_00395500();\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      FUN_00395500();\n    }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" identifier = (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal)) ;) })) (if_statement "if (uVar5 == 0) {\n    return 1;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint demangle_args(work_stuff *work,char **mangled,string *declp)\n\n{\n  int r;\n  int t;\n  char *tem;\n  string arg;\n  \n}\n\n" comment (function_definition "int demangle_args(work_stuff *work,char **mangled,string *declp)\n\n{\n  int r;\n  int t;\n  char *tem;\n  string arg;\n  \n}" primitive_type (function_declarator "demangle_args(work_stuff *work,char **mangled,string *declp)" identifier (parameter_list "(work_stuff *work,char **mangled,string *declp)" ( (parameter_declaration "work_stuff *work" type_identifier (pointer_declarator "*work" * identifier)) , (parameter_declaration "char **mangled" primitive_type (pointer_declarator "**mangled" * (pointer_declarator "*mangled" * identifier))) , (parameter_declaration "string *declp" type_identifier (pointer_declarator "*declp" * identifier)) ))) (compound_statement "{\n  int r;\n  int t;\n  char *tem;\n  string arg;\n  \n}" { (declaration "int r;" primitive_type identifier ;) (declaration "int t;" primitive_type identifier ;) (declaration "char *tem;" primitive_type (pointer_declarator "*tem" * identifier) ;) (declaration "string arg;" type_identifier identifier ;) })))
(translation_unit "uint __regparm3 FUN_00399420(uint *param_1,int *param_2)\n\n{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}\n\n" (function_definition "uint __regparm3 FUN_00399420(uint *param_1,int *param_2)\n\n{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00399420(uint *param_1,int *param_2)" identifier (parameter_list "(uint *param_1,int *param_2)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "void *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (if_statement "if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" if (parenthesized_expression "((*param_1 & 1) == 0)" ( (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" { (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) }) (else_clause "else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" else (compound_statement "{\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (if_statement "if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) })) }))) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (while_statement "while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" while (parenthesized_expression "(((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])))" ( (parenthesized_expression "((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))" ( (binary_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])" (parenthesized_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e'))" ( (binary_expression "cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')" (binary_expression "cVar2 != '_' && cVar2 != '\0'" (binary_expression "cVar2 != '_'" identifier != (char_literal "'_'" ' character ')) && (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) && (parenthesized_expression "(cVar2 != 'e')" ( (binary_expression "cVar2 != 'e'" identifier != (char_literal "'e'" ' character ')) ))) )) || (parenthesized_expression "(0 < (int)param_1[0x14])" ( (binary_expression "0 < (int)param_1[0x14]" number_literal < (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) ))) )) )) (compound_statement "{\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" { (if_statement "if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" if (parenthesized_expression "((cVar2 == 'N') || (cVar2 == 'T'))" ( (binary_expression "(cVar2 == 'N') || (cVar2 == 'T')" (parenthesized_expression "(cVar2 == 'N')" ( (binary_expression "cVar2 == 'N'" identifier == (char_literal "'N'" ' character ')) )) || (parenthesized_expression "(cVar2 == 'T')" ( (binary_expression "cVar2 == 'T'" identifier == (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }" { (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(pcVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar4 + 1)" ( (binary_expression "pcVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }" if (parenthesized_expression "(*pcVar4 == 'N')" ( (binary_expression "*pcVar4 == 'N'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'N'" ' character ')) )) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" identifier = (call_expression "FUN_00394c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        local_34 = 1;\n      }" else (compound_statement "{\n        local_34 = 1;\n      }" { (expression_statement "local_34 = 1;" (assignment_expression "local_34 = 1" identifier = number_literal) ;) }))) (if_statement "if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" if (parenthesized_expression "(((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10))" ( (binary_expression "((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)" (parenthesized_expression "((*param_1 & 0x3800) == 0)" ( (binary_expression "(*param_1 & 0x3800) == 0" (parenthesized_expression "(*param_1 & 0x3800)" ( (binary_expression "*param_1 & 0x3800" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "((int)param_1[8] < 10)" ( (binary_expression "(int)param_1[8] < 10" (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) < number_literal) ))) )) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" identifier = (call_expression "FUN_00394c10()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" else (compound_statement "{\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" { (expression_statement "local_30 = FUN_003950b0();" (assignment_expression "local_30 = FUN_003950b0()" identifier = (call_expression "FUN_003950b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_30 < 1) {\n          return 0;\n        }" if (parenthesized_expression "(local_30 < 1)" ( (binary_expression "local_30 < 1" identifier < number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) }))) (if_statement "if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }" if (parenthesized_expression "((*param_1 & 0x3c00) != 0)" ( (binary_expression "(*param_1 & 0x3c00) != 0" (parenthesized_expression "(*param_1 & 0x3c00)" ( (binary_expression "*param_1 & 0x3c00" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        local_30 = local_30 + -1;\n      }" { (expression_statement "local_30 = local_30 + -1;" (assignment_expression "local_30 = local_30 + -1" identifier = (binary_expression "local_30 + -1" identifier + number_literal)) ;) })) (if_statement "if (local_30 < 0) {\n        return 0;\n      }" if (parenthesized_expression "(local_30 < 0)" ( (binary_expression "local_30 < 0" identifier < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((int)param_1[8] <= local_30) {\n        return 0;\n      }" if (parenthesized_expression "((int)param_1[8] <= local_30)" ( (binary_expression "(int)param_1[8] <= local_30" (cast_expression "(int)param_1[8]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[8]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (while_statement "while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" while (parenthesized_expression "((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)))" ( (parenthesized_expression "(0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))" ( (binary_expression "0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)" (binary_expression "0 < (int)param_1[0x14]" number_literal < (cast_expression "(int)param_1[0x14]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[0x14]" identifier [ number_literal ]))) || (parenthesized_expression "(local_34 = local_34 + -1, -1 < local_34)" ( (comma_expression "local_34 = local_34 + -1, -1 < local_34" (assignment_expression "local_34 = local_34 + -1" identifier = (binary_expression "local_34 + -1" identifier + number_literal)) , (binary_expression "-1 < local_34" number_literal < identifier)) ))) )) )) (compound_statement "{\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" { (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }" if (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" ( (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          FUN_00395500();\n        }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00394d90();" (call_expression "FUN_00394d90()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" identifier = (call_expression "FUN_003992e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" { (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) - number_literal)) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) - number_literal)) ;) (if_statement "if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n          FUN_00395650();\n        }" { (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" { (expression_statement "free(local_28);" (call_expression "free(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) })) }) (else_clause "else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" else (compound_statement "{\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" { (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }" if (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" ( (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n        FUN_00395500();\n      }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" identifier = (call_expression "FUN_003992e0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        FUN_00395650();\n      }" { (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" if (parenthesized_expression "(local_28 != (void *)0x0)" ( (binary_expression "local_28 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" { (expression_statement "free(local_28);" (call_expression "free(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) }))) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) })) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" identifier = (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal)) ;) (if_statement "if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" if (parenthesized_expression "(cVar2 == 'e')" ( (binary_expression "cVar2 == 'e'" identifier == (char_literal "'e'" ' character ')) )) (compound_statement "{\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" { (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(pcVar4 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar4 + 1)" ( (binary_expression "pcVar4 + 1" identifier + number_literal) )))) ;) (if_statement "if (uVar5 == 0) {\n      return 1;\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (bVar1) {\n      FUN_00395500();\n    }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n      FUN_00395500();\n    }" { (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" identifier = (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal)) ;) })) (if_statement "if (uVar5 == 0) {\n    return 1;\n  }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" identifier (argument_list "()" ( ))) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = BOOL) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (binary_expression IDENT != (char_literal ' escape_sequence '))) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))) )) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (return_statement return LIT ;) })) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression LIT < IDENT)) ))) )) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })))
(function_definition "uint __regparm3 FUN_00399420(uint *param_1,int *param_2)\n\n{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" (type_identifier "uint") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00399420(uint *param_1,int *param_2)" (identifier "FUN_00399420") (parameter_list "(uint *param_1,int *param_2)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  char cVar2;\n  int iVar3;\n  char *pcVar4;\n  uint uVar5;\n  int local_34;\n  int local_30;\n  void *local_28;\n  \n  if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }\n  bVar1 = false;\n  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  uVar5 = *param_1 & 1;\n  if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }\n  if (uVar5 == 0) {\n    return 1;\n  }\n  FUN_00395500();\n  return uVar5;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "void *local_28;" (primitive_type "void") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (if_statement "if ((*param_1 & 1) == 0) {\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }\n  else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) == 0)" (( "(") (binary_expression "(*param_1 & 1) == 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" ({ "{") (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" (identifier "cVar2") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" (else "else") (compound_statement "{\n    FUN_00395500();\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n    if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }\n  }" ({ "{") (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" (identifier "cVar2") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (if_statement "if (cVar2 == '\0') {\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      FUN_00395500();\n      pcVar4 = (char *)*param_2;\n      cVar2 = *pcVar4;\n    }" ({ "{") (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" (identifier "cVar2") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (while_statement "while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" (while "while") (parenthesized_expression "(((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])))" (( "(") (parenthesized_expression "((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))" (( "(") (binary_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14])" (parenthesized_expression "(cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e'))" (( "(") (binary_expression "cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')" (binary_expression "cVar2 != '_' && cVar2 != '\0'" (binary_expression "cVar2 != '_'" (identifier "cVar2") (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) (&& "&&") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) (&& "&&") (parenthesized_expression "(cVar2 != 'e')" (( "(") (binary_expression "cVar2 != 'e'" (identifier "cVar2") (!= "!=") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(0 < (int)param_1[0x14])" (( "(") (binary_expression "0 < (int)param_1[0x14]" (number_literal "0") (< "<") (cast_expression "(int)param_1[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")))) () ")"))) () ")")) () ")")) (compound_statement "{\n    if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n    cVar2 = *pcVar4;\n  }" ({ "{") (if_statement "if ((cVar2 == 'N') || (cVar2 == 'T')) {\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }\n    else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" (if "if") (parenthesized_expression "((cVar2 == 'N') || (cVar2 == 'T'))" (( "(") (binary_expression "(cVar2 == 'N') || (cVar2 == 'T')" (parenthesized_expression "(cVar2 == 'N')" (( "(") (binary_expression "cVar2 == 'N'" (identifier "cVar2") (== "==") (char_literal "'N'" (' "'") (character "N") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar2 == 'T')" (( "(") (binary_expression "cVar2 == 'T'" (identifier "cVar2") (== "==") (char_literal "'T'" (' "'") (character "T") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      *param_2 = (int)(pcVar4 + 1);\n      if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }\n      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }\n      if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }\n      if (local_30 < 0) {\n        return 0;\n      }\n      if ((int)param_1[8] <= local_30) {\n        return 0;\n      }\n      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }\n    }" ({ "{") (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)(pcVar4 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar4 + 1)" (( "(") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (*pcVar4 == 'N') {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_34 = 1;\n      }" (if "if") (parenthesized_expression "(*pcVar4 == 'N')" (( "(") (binary_expression "*pcVar4 == 'N'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "'N'" (' "'") (character "N") (' "'"))) () ")")) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" (identifier "iVar3") (= "=") (call_expression "FUN_00394c10()" (identifier "FUN_00394c10") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        local_34 = 1;\n      }" (else "else") (compound_statement "{\n        local_34 = 1;\n      }" ({ "{") (expression_statement "local_34 = 1;" (assignment_expression "local_34 = 1" (identifier "local_34") (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n      else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" (if "if") (parenthesized_expression "(((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10))" (( "(") (binary_expression "((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)" (parenthesized_expression "((*param_1 & 0x3800) == 0)" (( "(") (binary_expression "(*param_1 & 0x3800) == 0" (parenthesized_expression "(*param_1 & 0x3800)" (( "(") (binary_expression "*param_1 & 0x3800" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "0x3800")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((int)param_1[8] < 10)" (( "(") (binary_expression "(int)param_1[8] < 10" (cast_expression "(int)param_1[8]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (< "<") (number_literal "10")) () ")"))) () ")")) (compound_statement "{\n        iVar3 = FUN_00394c10();\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "iVar3 = FUN_00394c10();" (assignment_expression "iVar3 = FUN_00394c10()" (identifier "iVar3") (= "=") (call_expression "FUN_00394c10()" (identifier "FUN_00394c10") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" (else "else") (compound_statement "{\n        local_30 = FUN_003950b0();\n        if (local_30 < 1) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "local_30 = FUN_003950b0();" (assignment_expression "local_30 = FUN_003950b0()" (identifier "local_30") (= "=") (call_expression "FUN_003950b0()" (identifier "FUN_003950b0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (local_30 < 1) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(local_30 < 1)" (( "(") (binary_expression "local_30 < 1" (identifier "local_30") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (if_statement "if ((*param_1 & 0x3c00) != 0) {\n        local_30 = local_30 + -1;\n      }" (if "if") (parenthesized_expression "((*param_1 & 0x3c00) != 0)" (( "(") (binary_expression "(*param_1 & 0x3c00) != 0" (parenthesized_expression "(*param_1 & 0x3c00)" (( "(") (binary_expression "*param_1 & 0x3c00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "0x3c00")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_30 = local_30 + -1;\n      }" ({ "{") (expression_statement "local_30 = local_30 + -1;" (assignment_expression "local_30 = local_30 + -1" (identifier "local_30") (= "=") (binary_expression "local_30 + -1" (identifier "local_30") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (local_30 < 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(local_30 < 0)" (( "(") (binary_expression "local_30 < 0" (identifier "local_30") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((int)param_1[8] <= local_30) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((int)param_1[8] <= local_30)" (( "(") (binary_expression "(int)param_1[8] <= local_30" (cast_expression "(int)param_1[8]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (<= "<=") (identifier "local_30")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (while_statement "while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" (while "while") (parenthesized_expression "((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)))" (( "(") (parenthesized_expression "(0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))" (( "(") (binary_expression "0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34)" (binary_expression "0 < (int)param_1[0x14]" (number_literal "0") (< "<") (cast_expression "(int)param_1[0x14]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")))) (|| "||") (parenthesized_expression "(local_34 = local_34 + -1, -1 < local_34)" (( "(") (comma_expression "local_34 = local_34 + -1, -1 < local_34" (assignment_expression "local_34 = local_34 + -1" (identifier "local_34") (= "=") (binary_expression "local_34 + -1" (identifier "local_34") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "-1 < local_34" (number_literal "-1") (< "<") (identifier "local_34"))) () ")"))) () ")")) () ")")) (compound_statement "{\n        if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }\n        FUN_00394d90();\n        iVar3 = FUN_003992e0();\n        if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }\n        param_1[0x17] = param_1[0x17] - 1;\n        if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }\n        bVar1 = true;\n        if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }\n      }" ({ "{") (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n          FUN_00395500();\n        }" (if "if") (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" (( "(") (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (&& "&&") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          FUN_00395500();\n        }" ({ "{") (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00394d90();" (call_expression "FUN_00394d90()" (identifier "FUN_00394d90") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" (identifier "iVar3") (= "=") (call_expression "FUN_003992e0()" (identifier "FUN_003992e0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          param_1[0x17] = param_1[0x17] - 1;\n          return 0;\n        }" ({ "{") (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (- "-") (number_literal "1"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_1[0x17] = param_1[0x17] - 1;" (assignment_expression "param_1[0x17] = param_1[0x17] - 1" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (binary_expression "param_1[0x17] - 1" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n          FUN_00395650();\n        }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00395650();\n        }" ({ "{") (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" (identifier "FUN_00395650") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (local_28 != (void *)0x0) {\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" (if "if") (parenthesized_expression "(local_28 != (void *)0x0)" (( "(") (binary_expression "local_28 != (void *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          free(local_28);\n          local_28 = (void *)0x0;\n        }" ({ "{") (expression_statement "free(local_28);" (call_expression "free(local_28)" (identifier "free") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" (identifier "local_28") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" (else "else") (compound_statement "{\n      if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }\n      iVar3 = FUN_003992e0();\n      if (iVar3 == 0) {\n        return 0;\n      }\n      if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }\n      bVar1 = true;\n      if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }\n    }" ({ "{") (if_statement "if ((bVar1) && ((*param_1 & 1) != 0)) {\n        FUN_00395500();\n      }" (if "if") (parenthesized_expression "((bVar1) && ((*param_1 & 1) != 0))" (( "(") (binary_expression "(bVar1) && ((*param_1 & 1) != 0)" (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (&& "&&") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        FUN_00395500();\n      }" ({ "{") (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_003992e0();" (assignment_expression "iVar3 = FUN_003992e0()" (identifier "iVar3") (= "=") (call_expression "FUN_003992e0()" (identifier "FUN_003992e0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*param_1 & 1) != 0) {\n        FUN_00395650();\n      }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00395650();\n      }" ({ "{") (expression_statement "FUN_00395650();" (call_expression "FUN_00395650()" (identifier "FUN_00395650") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (local_28 != (void *)0x0) {\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" (if "if") (parenthesized_expression "(local_28 != (void *)0x0)" (( "(") (binary_expression "local_28 != (void *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        free(local_28);\n        local_28 = (void *)0x0;\n      }" ({ "{") (expression_statement "free(local_28);" (call_expression "free(local_28)" (identifier "free") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "local_28 = (void *)0x0;" (assignment_expression "local_28 = (void *)0x0" (identifier "local_28") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "pcVar4 = (char *)*param_2;" (assignment_expression "pcVar4 = (char *)*param_2" (identifier "pcVar4") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "cVar2 = *pcVar4;" (assignment_expression "cVar2 = *pcVar4" (identifier "cVar2") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (} "}"))) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" (identifier "uVar5") (= "=") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1"))) (; ";")) (if_statement "if (cVar2 == 'e') {\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" (if "if") (parenthesized_expression "(cVar2 == 'e')" (( "(") (binary_expression "cVar2 == 'e'" (identifier "cVar2") (== "==") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")")) (compound_statement "{\n    *param_2 = (int)(pcVar4 + 1);\n    if (uVar5 == 0) {\n      return 1;\n    }\n    if (bVar1) {\n      FUN_00395500();\n    }\n    FUN_00395500();\n    uVar5 = *param_1 & 1;\n  }" ({ "{") (expression_statement "*param_2 = (int)(pcVar4 + 1);" (assignment_expression "*param_2 = (int)(pcVar4 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)(pcVar4 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pcVar4 + 1)" (( "(") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (uVar5 == 0) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (bVar1) {\n      FUN_00395500();\n    }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n      FUN_00395500();\n    }" ({ "{") (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar5 = *param_1 & 1;" (assignment_expression "uVar5 = *param_1 & 1" (identifier "uVar5") (= "=") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (uVar5 == 0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "FUN_00395500();" (call_expression "FUN_00395500()" (identifier "FUN_00395500") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

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

int function_1(type_1 *work,char **mangled,type_2 *declp)

{
  int r;
  int t;
  char *tem;
  type_2 arg;
  
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (char_literal (character))) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (while_statement condition: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (number_literal) right: (identifier))))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))))

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

uint __regparm3 MASKED(uint *param_1,int *param_2)

{
  bool bVar1;
  char cVar2;
  int iVar3;
  char *pcVar4;
  uint uVar5;
  int local_34;
  int local_30;
  void *local_28;
  
  if ((*param_1 & 1) == 0) {
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
  }
  else {
    FUN_00395500();
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
    if (cVar2 == '\0') {
      FUN_00395500();
      pcVar4 = (char *)*param_2;
      cVar2 = *pcVar4;
    }
  }
  bVar1 = false;
  while (((cVar2 != '_' && cVar2 != '\0' && (cVar2 != 'e')) || (0 < (int)param_1[0x14]))) {
    if ((cVar2 == 'N') || (cVar2 == 'T')) {
      *param_2 = (int)(pcVar4 + 1);
      if (*pcVar4 == 'N') {
        iVar3 = FUN_00394c10();
        if (iVar3 == 0) {
          return 0;
        }
      }
      else {
        local_34 = 1;
      }
      if (((*param_1 & 0x3800) == 0) || ((int)param_1[8] < 10)) {
        iVar3 = FUN_00394c10();
        if (iVar3 == 0) {
          return 0;
        }
      }
      else {
        local_30 = FUN_003950b0();
        if (local_30 < 1) {
          return 0;
        }
      }
      if ((*param_1 & 0x3c00) != 0) {
        local_30 = local_30 + -1;
      }
      if (local_30 < 0) {
        return 0;
      }
      if ((int)param_1[8] <= local_30) {
        return 0;
      }
      while ((0 < (int)param_1[0x14] || (local_34 = local_34 + -1, -1 < local_34))) {
        if ((bVar1) && ((*param_1 & 1) != 0)) {
          FUN_00395500();
        }
        FUN_00394d90();
        iVar3 = FUN_003992e0();
        if (iVar3 == 0) {
          param_1[0x17] = param_1[0x17] - 1;
          return 0;
        }
        param_1[0x17] = param_1[0x17] - 1;
        if ((*param_1 & 1) != 0) {
          FUN_00395650();
        }
        bVar1 = true;
        if (local_28 != (void *)0x0) {
          free(local_28);
          local_28 = (void *)0x0;
        }
      }
    }
    else {
      if ((bVar1) && ((*param_1 & 1) != 0)) {
        FUN_00395500();
      }
      iVar3 = FUN_003992e0();
      if (iVar3 == 0) {
        return 0;
      }
      if ((*param_1 & 1) != 0) {
        FUN_00395650();
      }
      bVar1 = true;
      if (local_28 != (void *)0x0) {
        free(local_28);
        local_28 = (void *)0x0;
      }
    }
    pcVar4 = (char *)*param_2;
    cVar2 = *pcVar4;
  }
  uVar5 = *param_1 & 1;
  if (cVar2 == 'e') {
    *param_2 = (int)(pcVar4 + 1);
    if (uVar5 == 0) {
      return 1;
    }
    if (bVar1) {
      FUN_00395500();
    }
    FUN_00395500();
    uVar5 = *param_1 & 1;
  }
  if (uVar5 == 0) {
    return 1;
  }
  FUN_00395500();
  return uVar5;
}

