
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

bfd_boolean __regparm3
stab_demangle_args(stab_demangle_info *minfo,char **pp,debug_type_conflict **pargs,
                  bfd_boolean *pvarargs)

{
  char cVar1;
  char *s;
  bool bVar2;
  debug_type_conflict *ppdVar3;
  bfd_boolean bVar4;
  char *pcVar5;
  uint alloc;
  uint count;
  uint r;
  uint t;
  char *tem;
  undefined4 uStack_14;
  
  uStack_14 = 0x2339d;
  s = *pp;
  alloc = 10;
  pcVar5 = s;
  if (pargs != (debug_type_conflict **)0x0) {
    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);
    pcVar5 = *pp;
    *pargs = ppdVar3;
    *pvarargs = 0;
  }
  count = 0;
  do {
    cVar1 = *pcVar5;
    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {
      if (pargs == (debug_type_conflict **)0x0) {
        if (cVar1 != 'e') {
          return 1;
        }
      }
      else {
        (*pargs)[count] = (debug_type_conflict)0x0;
        if (*pcVar5 != 'e') {
          return 1;
        }
        *pvarargs = 1;
      }
      *pp = pcVar5 + 1;
      return 1;
    }
    if ((cVar1 == 'N') || (cVar1 == 'T')) {
      *pp = pcVar5 + 1;
      if (cVar1 == 'T') {
        r = 1;
      }
      else {
        bVar4 = stab_demangle_get_count(pp,&r);
        if (bVar4 == 0) goto LAB_000234f5;
      }
      bVar4 = stab_demangle_get_count(pp,&t);
      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {
LAB_000234f5:
        stab_bad_demangle(s);
        return 0;
      }
      while (bVar2 = r != 0, r = r - 1, bVar2) {
        tem = minfo->typestrings[t].typestring;
        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);
        if (bVar4 == 0) {
          return 0;
        }
      }
    }
    else {
      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);
      if (bVar4 == 0) {
        return 0;
      }
    }
    pcVar5 = *pp;
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)

{
  char cVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined4 *puVar5;
  uint *puVar6;
  char *pcVar7;
  undefined4 local_30;
  int local_2c;
  int local_28;
  uint local_24;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x2339d;
  pcVar4 = (char *)*param_2;
  local_30 = 10;
  pcVar7 = pcVar4;
  if (param_3 != (int *)0x0) {
    puVar5 = param_2;
    iVar3 = xmalloc(0x28);
    pcVar4 = (char *)*param_2;
    *param_3 = iVar3;
    *param_4 = 0;
    param_2 = puVar5;
  }
  puVar6 = &local_24;
  local_2c = 0;
  puVar5 = local_20;
  do {
    cVar1 = *pcVar4;
    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {
      if (param_3 == (int *)0x0) {
        if (cVar1 != 'e') {
          return 1;
        }
      }
      else {
        *(undefined4 *)(*param_3 + local_2c * 4) = 0;
        if (*pcVar4 != 'e') {
          return 1;
        }
        *param_4 = 1;
      }
      *param_2 = pcVar4 + 1;
      return 1;
    }
    if ((cVar1 == 'N') || (cVar1 == 'T')) {
      *param_2 = pcVar4 + 1;
      if (cVar1 == 'T') {
        local_28 = 1;
      }
      else {
        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);
        if (iVar3 == 0) goto LAB_000234f5;
      }
      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);
      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {
LAB_000234f5:
        FUN_000208f0();
        return 0;
      }
      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {
        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);
        iVar3 = FUN_000232c0(&local_2c,&local_30);
        if (iVar3 == 0) {
          return 0;
        }
      }
    }
    else {
      iVar3 = FUN_000232c0(&local_2c,&local_30);
      if (iVar3 == 0) {
        return 0;
      }
    }
    pcVar4 = (char *)*param_2;
  } while( true );
}


PUSH EBP
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x000166c0
ADD EBX,0x1cc63
SUB ESP,0x3c
MOV EAX,dword ptr [EDX]
MOV dword ptr [ESP + 0x4],EDX
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x1c],0xa
TEST ECX,ECX
JZ 0x00023500
SUB ESP,0xc
MOV EBP,EDX
PUSH 0x28
CALL 0x000132e0
MOV EDX,dword ptr [EBP]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x60]
ADD ESP,0x10
MOV dword ptr [EAX],0x0
LEA EAX,[ESP + 0x28]
MOV dword ptr [ESP + 0x20],0x0
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[ESP + 0x2c]
MOV dword ptr [ESP],EAX
MOVZX EAX,byte ptr [EDX]
CMP AL,0x5f
SETNZ BL
TEST AL,AL
SETNZ CL
TEST BL,CL
JZ 0x00023507
CMP AL,0x65
JZ 0x00023507
CMP AL,0x4e
JZ 0x00023450
CMP AL,0x54
JZ 0x00023450
SUB ESP,0x8
MOV ECX,EDI
MOV EAX,ESI
LEA EBP,[ESP + 0x24]
PUSH EBP
LEA EBX,[ESP + 0x2c]
PUSH EBX
MOV EDX,dword ptr [ESP + 0x14]
CALL 0x000232c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000234d8
MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX]
JMP 0x000233f5
MOV ECX,dword ptr [ESP + 0x4]
ADD EDX,0x1
MOV dword ptr [ECX],EDX
CMP AL,0x54
JNZ 0x000234e0
MOV dword ptr [ESP + 0x24],0x1
MOV EDX,dword ptr [ESP + 0x8]
MOV EAX,dword ptr [ESP + 0x4]
CALL 0x00020810
TEST EAX,EAX
JZ 0x000234f5
MOV EAX,dword ptr [ESP + 0x28]
CMP dword ptr [ESI + 0x14],EAX
JBE 0x000234f5
MOV EDX,dword ptr [ESP + 0x24]
LEA EBP,[ESP + 0x1c]
LEA EBX,[ESP + 0x20]
LEA ECX,[EDX + -0x1]
MOV dword ptr [ESP + 0x24],ECX
TEST EDX,EDX
JNZ 0x000234b3
JMP 0x0002343f
MOV EAX,dword ptr [ESP + 0x24]
LEA EDX,[EAX + -0x1]
MOV dword ptr [ESP + 0x24],EDX
TEST EAX,EAX
JZ 0x0002343f
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESI + 0x10]
SUB ESP,0x8
MOV ECX,EDI
MOV EAX,dword ptr [EDX + EAX*0x8]
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,ESI
PUSH EBP
PUSH EBX
MOV EDX,dword ptr [ESP + 0x10]
CALL 0x000232c0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000234a0
XOR EAX,EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x4]
LEA EDX,[ESP + 0x24]
CALL 0x00020810
TEST EAX,EAX
JNZ 0x00023469
MOV EAX,dword ptr [ESP + 0xc]
CALL 0x000208f0
JMP 0x000234d6
MOV EDX,EAX
JMP 0x000233de
TEST EDI,EDI
JZ 0x0002353f
MOV EAX,dword ptr [EDI]
MOV ECX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + ECX*0x4],0x0
CMP byte ptr [EDX],0x65
JZ 0x0002352a
ADD ESP,0x3c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [EAX],0x1
MOV EAX,dword ptr [ESP + 0x4]
ADD EDX,0x1
MOV dword ptr [EAX],EDX
JMP 0x0002351d
CMP AL,0x65
JNZ 0x0002351d
JMP 0x00023534
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n\nundefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}\n\n" comment comment (function_definition "undefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2339d;" (assignment_expression "uStack_14 = 0x2339d" identifier = 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 "local_30 = 10;" (assignment_expression "local_30 = 10" identifier = number_literal) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" { (expression_statement "puVar5 = param_2;" (assignment_expression "puVar5 = param_2" identifier = identifier) ;) (expression_statement "iVar3 = xmalloc(0x28);" (assignment_expression "iVar3 = xmalloc(0x28)" identifier = (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( 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 "*param_3 = iVar3;" (assignment_expression "*param_3 = iVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "param_2 = puVar5;" (assignment_expression "param_2 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar6 = &local_24;" (assignment_expression "puVar6 = &local_24" identifier = (pointer_expression "&local_24" & identifier)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "puVar5 = local_20;" (assignment_expression "puVar5 = local_20" identifier = identifier) ;) (do_statement "do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );" do (compound_statement "{\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  }" { (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (if_statement "if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" if (parenthesized_expression "((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e'))" ( (binary_expression "(cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')" (parenthesized_expression "(cVar1 == '_' || cVar1 == '\0')" ( (binary_expression "cVar1 == '_' || cVar1 == '\0'" (binary_expression "cVar1 == '_'" identifier == (char_literal "'_'" ' character ')) || (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) || (parenthesized_expression "(cVar1 == 'e')" ( (binary_expression "cVar1 == 'e'" identifier == (char_literal "'e'" ' character ')) ))) )) (compound_statement "{\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" { (if_statement "if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }" { (if_statement "if (cVar1 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(cVar1 != 'e')" ( (binary_expression "cVar1 != 'e'" identifier != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" else (compound_statement "{\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" { (expression_statement "*(undefined4 *)(*param_3 + local_2c * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_3 + local_2c * 4) = 0" (pointer_expression "*(undefined4 *)(*param_3 + local_2c * 4)" * (cast_expression "(undefined4 *)(*param_3 + local_2c * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + local_2c * 4)" ( (binary_expression "*param_3 + local_2c * 4" (pointer_expression "*param_3" * identifier) + (binary_expression "local_2c * 4" identifier * number_literal)) )))) = number_literal) ;) (if_statement "if (*pcVar4 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(*pcVar4 != 'e')" ( (binary_expression "*pcVar4 != 'e'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" * identifier) = number_literal) ;) }))) (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" if (parenthesized_expression "((cVar1 == 'N') || (cVar1 == 'T'))" ( (binary_expression "(cVar1 == 'N') || (cVar1 == 'T')" (parenthesized_expression "(cVar1 == 'N')" ( (binary_expression "cVar1 == 'N'" identifier == (char_literal "'N'" ' character ')) )) || (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }" { (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" if (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) )) (compound_statement "{\n        local_28 = 1;\n      }" { (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" else (compound_statement "{\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" { (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier = (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier (argument_list "(puVar5,param_2,puVar6,pcVar7)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) goto LAB_000234f5;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000234f5;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier = (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier (argument_list "(puVar5,param_2,puVar6,pcVar7)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" if (parenthesized_expression "((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24))" ( (binary_expression "(iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(uint *)(param_1 + 0x14) <= local_24)" ( (binary_expression "*(uint *)(param_1 + 0x14) <= local_24" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) <= identifier) ))) )) (compound_statement "{\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" { (labeled_statement "LAB_000234f5:\n        FUN_000208f0();" statement_identifier : (expression_statement "FUN_000208f0();" (call_expression "FUN_000208f0()" identifier (argument_list "()" ( ))) ;)) (return_statement "return 0;" return number_literal ;) })) (while_statement "while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2)" ( (comma_expression "bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2" (assignment_expression "bVar2 = local_28 != 0" identifier = (binary_expression "local_28 != 0" identifier != number_literal)) , (comma_expression "local_28 = local_28 + -1, bVar2" (assignment_expression "local_28 = local_28 + -1" identifier = (binary_expression "local_28 + -1" identifier + number_literal)) , identifier)) )) (compound_statement "{\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);" (assignment_expression "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + local_24 * 8)" ( (binary_expression "*(int *)(param_1 + 0x10) + local_24 * 8" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "local_24 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" identifier = (call_expression "FUN_000232c0(&local_2c,&local_30)" identifier (argument_list "(&local_2c,&local_30)" ( (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (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      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" else (compound_statement "{\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" identifier = (call_expression "FUN_000232c0(&local_2c,&local_30)" identifier (argument_list "(&local_2c,&local_30)" ( (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (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 ;) })) }))) (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))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n\nbfd_boolean __regparm3\nstab_demangle_args(stab_demangle_info *minfo,char **pp,debug_type_conflict **pargs,\n                  bfd_boolean *pvarargs)\n\n{\n  char cVar1;\n  char *s;\n  bool bVar2;\n  debug_type_conflict *ppdVar3;\n  bfd_boolean bVar4;\n  char *pcVar5;\n  uint alloc;\n  uint count;\n  uint r;\n  uint t;\n  char *tem;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  s = *pp;\n  alloc = 10;\n  pcVar5 = s;\n  if (pargs != (debug_type_conflict **)0x0) {\n    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);\n    pcVar5 = *pp;\n    *pargs = ppdVar3;\n    *pvarargs = 0;\n  }\n  count = 0;\n  do {\n    cVar1 = *pcVar5;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }\n    pcVar5 = *pp;\n  } while( true );\n}\n\n" comment comment (function_definition "bfd_boolean __regparm3\nstab_demangle_args(stab_demangle_info *minfo,char **pp,debug_type_conflict **pargs,\n                  bfd_boolean *pvarargs)\n\n{\n  char cVar1;\n  char *s;\n  bool bVar2;\n  debug_type_conflict *ppdVar3;\n  bfd_boolean bVar4;\n  char *pcVar5;\n  uint alloc;\n  uint count;\n  uint r;\n  uint t;\n  char *tem;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  s = *pp;\n  alloc = 10;\n  pcVar5 = s;\n  if (pargs != (debug_type_conflict **)0x0) {\n    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);\n    pcVar5 = *pp;\n    *pargs = ppdVar3;\n    *pvarargs = 0;\n  }\n  count = 0;\n  do {\n    cVar1 = *pcVar5;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }\n    pcVar5 = *pp;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "stab_demangle_args(stab_demangle_info *minfo,char **pp,debug_type_conflict **pargs,\n                  bfd_boolean *pvarargs)" identifier (parameter_list "(stab_demangle_info *minfo,char **pp,debug_type_conflict **pargs,\n                  bfd_boolean *pvarargs)" ( (parameter_declaration "stab_demangle_info *minfo" type_identifier (pointer_declarator "*minfo" * identifier)) , (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) , (parameter_declaration "debug_type_conflict **pargs" type_identifier (pointer_declarator "**pargs" * (pointer_declarator "*pargs" * identifier))) , (parameter_declaration "bfd_boolean *pvarargs" type_identifier (pointer_declarator "*pvarargs" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *s;\n  bool bVar2;\n  debug_type_conflict *ppdVar3;\n  bfd_boolean bVar4;\n  char *pcVar5;\n  uint alloc;\n  uint count;\n  uint r;\n  uint t;\n  char *tem;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  s = *pp;\n  alloc = 10;\n  pcVar5 = s;\n  if (pargs != (debug_type_conflict **)0x0) {\n    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);\n    pcVar5 = *pp;\n    *pargs = ppdVar3;\n    *pvarargs = 0;\n  }\n  count = 0;\n  do {\n    cVar1 = *pcVar5;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }\n    pcVar5 = *pp;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *s;" primitive_type (pointer_declarator "*s" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "debug_type_conflict *ppdVar3;" type_identifier (pointer_declarator "*ppdVar3" * identifier) ;) (declaration "bfd_boolean bVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint alloc;" type_identifier identifier ;) (declaration "uint count;" type_identifier identifier ;) (declaration "uint r;" type_identifier identifier ;) (declaration "uint t;" type_identifier identifier ;) (declaration "char *tem;" primitive_type (pointer_declarator "*tem" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2339d;" (assignment_expression "uStack_14 = 0x2339d" identifier = number_literal) ;) (expression_statement "s = *pp;" (assignment_expression "s = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "alloc = 10;" (assignment_expression "alloc = 10" identifier = number_literal) ;) (expression_statement "pcVar5 = s;" (assignment_expression "pcVar5 = s" identifier = identifier) ;) (if_statement "if (pargs != (debug_type_conflict **)0x0) {\n    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);\n    pcVar5 = *pp;\n    *pargs = ppdVar3;\n    *pvarargs = 0;\n  }" if (parenthesized_expression "(pargs != (debug_type_conflict **)0x0)" ( (binary_expression "pargs != (debug_type_conflict **)0x0" identifier != (cast_expression "(debug_type_conflict **)0x0" ( (type_descriptor "debug_type_conflict **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    ppdVar3 = (debug_type_conflict *)xmalloc(0x28);\n    pcVar5 = *pp;\n    *pargs = ppdVar3;\n    *pvarargs = 0;\n  }" { (expression_statement "ppdVar3 = (debug_type_conflict *)xmalloc(0x28);" (assignment_expression "ppdVar3 = (debug_type_conflict *)xmalloc(0x28)" identifier = (cast_expression "(debug_type_conflict *)xmalloc(0x28)" ( (type_descriptor "debug_type_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( number_literal ))))) ;) (expression_statement "pcVar5 = *pp;" (assignment_expression "pcVar5 = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "*pargs = ppdVar3;" (assignment_expression "*pargs = ppdVar3" (pointer_expression "*pargs" * identifier) = identifier) ;) (expression_statement "*pvarargs = 0;" (assignment_expression "*pvarargs = 0" (pointer_expression "*pvarargs" * identifier) = number_literal) ;) })) (expression_statement "count = 0;" (assignment_expression "count = 0" identifier = number_literal) ;) (do_statement "do {\n    cVar1 = *pcVar5;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }\n    pcVar5 = *pp;\n  } while( true );" do (compound_statement "{\n    cVar1 = *pcVar5;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }\n    pcVar5 = *pp;\n  }" { (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }" if (parenthesized_expression "((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e'))" ( (binary_expression "(cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')" (parenthesized_expression "(cVar1 == '_' || cVar1 == '\0')" ( (binary_expression "cVar1 == '_' || cVar1 == '\0'" (binary_expression "cVar1 == '_'" identifier == (char_literal "'_'" ' character ')) || (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) || (parenthesized_expression "(cVar1 == 'e')" ( (binary_expression "cVar1 == 'e'" identifier == (char_literal "'e'" ' character ')) ))) )) (compound_statement "{\n      if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }\n      *pp = pcVar5 + 1;\n      return 1;\n    }" { (if_statement "if (pargs == (debug_type_conflict **)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }" if (parenthesized_expression "(pargs == (debug_type_conflict **)0x0)" ( (binary_expression "pargs == (debug_type_conflict **)0x0" identifier == (cast_expression "(debug_type_conflict **)0x0" ( (type_descriptor "debug_type_conflict **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }" { (if_statement "if (cVar1 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(cVar1 != 'e')" ( (binary_expression "cVar1 != 'e'" identifier != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }" else (compound_statement "{\n        (*pargs)[count] = (debug_type_conflict)0x0;\n        if (*pcVar5 != 'e') {\n          return 1;\n        }\n        *pvarargs = 1;\n      }" { (expression_statement "(*pargs)[count] = (debug_type_conflict)0x0;" (assignment_expression "(*pargs)[count] = (debug_type_conflict)0x0" (subscript_expression "(*pargs)[count]" (parenthesized_expression "(*pargs)" ( (pointer_expression "*pargs" * identifier) )) [ identifier ]) = (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) ;) (if_statement "if (*pcVar5 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(*pcVar5 != 'e')" ( (binary_expression "*pcVar5 != 'e'" (pointer_expression "*pcVar5" * identifier) != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "*pvarargs = 1;" (assignment_expression "*pvarargs = 1" (pointer_expression "*pvarargs" * identifier) = number_literal) ;) }))) (expression_statement "*pp = pcVar5 + 1;" (assignment_expression "*pp = pcVar5 + 1" (pointer_expression "*pp" * identifier) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }" if (parenthesized_expression "((cVar1 == 'N') || (cVar1 == 'T'))" ( (binary_expression "(cVar1 == 'N') || (cVar1 == 'T')" (parenthesized_expression "(cVar1 == 'N')" ( (binary_expression "cVar1 == 'N'" identifier == (char_literal "'N'" ' character ')) )) || (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n      *pp = pcVar5 + 1;\n      if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }\n      bVar4 = stab_demangle_get_count(pp,&t);\n      if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }\n      while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }\n    }" { (expression_statement "*pp = pcVar5 + 1;" (assignment_expression "*pp = pcVar5 + 1" (pointer_expression "*pp" * identifier) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == 'T') {\n        r = 1;\n      }\n      else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }" if (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) )) (compound_statement "{\n        r = 1;\n      }" { (expression_statement "r = 1;" (assignment_expression "r = 1" identifier = number_literal) ;) }) (else_clause "else {\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }" else (compound_statement "{\n        bVar4 = stab_demangle_get_count(pp,&r);\n        if (bVar4 == 0) goto LAB_000234f5;\n      }" { (expression_statement "bVar4 = stab_demangle_get_count(pp,&r);" (assignment_expression "bVar4 = stab_demangle_get_count(pp,&r)" identifier = (call_expression "stab_demangle_get_count(pp,&r)" identifier (argument_list "(pp,&r)" ( identifier , (pointer_expression "&r" & identifier) )))) ;) (if_statement "if (bVar4 == 0) goto LAB_000234f5;" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000234f5;" goto statement_identifier ;)) }))) (expression_statement "bVar4 = stab_demangle_get_count(pp,&t);" (assignment_expression "bVar4 = stab_demangle_get_count(pp,&t)" identifier = (call_expression "stab_demangle_get_count(pp,&t)" identifier (argument_list "(pp,&t)" ( identifier , (pointer_expression "&t" & identifier) )))) ;) (if_statement "if ((bVar4 == 0) || (minfo->typestring_count <= t)) {\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }" if (parenthesized_expression "((bVar4 == 0) || (minfo->typestring_count <= t))" ( (binary_expression "(bVar4 == 0) || (minfo->typestring_count <= t)" (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(minfo->typestring_count <= t)" ( (binary_expression "minfo->typestring_count <= t" (field_expression "minfo->typestring_count" identifier -> field_identifier) <= identifier) ))) )) (compound_statement "{\nLAB_000234f5:\n        stab_bad_demangle(s);\n        return 0;\n      }" { (labeled_statement "LAB_000234f5:\n        stab_bad_demangle(s);" statement_identifier : (expression_statement "stab_bad_demangle(s);" (call_expression "stab_bad_demangle(s)" identifier (argument_list "(s)" ( identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (while_statement "while (bVar2 = r != 0, r = r - 1, bVar2) {\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(bVar2 = r != 0, r = r - 1, bVar2)" ( (comma_expression "bVar2 = r != 0, r = r - 1, bVar2" (assignment_expression "bVar2 = r != 0" identifier = (binary_expression "r != 0" identifier != number_literal)) , (comma_expression "r = r - 1, bVar2" (assignment_expression "r = r - 1" identifier = (binary_expression "r - 1" identifier - number_literal)) , identifier)) )) (compound_statement "{\n        tem = minfo->typestrings[t].typestring;\n        bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);\n        if (bVar4 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "tem = minfo->typestrings[t].typestring;" (assignment_expression "tem = minfo->typestrings[t].typestring" identifier = (field_expression "minfo->typestrings[t].typestring" (subscript_expression "minfo->typestrings[t]" (field_expression "minfo->typestrings" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc);" (assignment_expression "bVar4 = stab_demangle_arg(minfo,&tem,pargs,&count,&alloc)" identifier = (call_expression "stab_demangle_arg(minfo,&tem,pargs,&count,&alloc)" identifier (argument_list "(minfo,&tem,pargs,&count,&alloc)" ( identifier , (pointer_expression "&tem" & identifier) , identifier , (pointer_expression "&count" & identifier) , (pointer_expression "&alloc" & identifier) )))) ;) (if_statement "if (bVar4 == 0) {\n          return 0;\n        }" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) })) }) (else_clause "else {\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }" else (compound_statement "{\n      bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);\n      if (bVar4 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc);" (assignment_expression "bVar4 = stab_demangle_arg(minfo,pp,pargs,&count,&alloc)" identifier = (call_expression "stab_demangle_arg(minfo,pp,pargs,&count,&alloc)" identifier (argument_list "(minfo,pp,pargs,&count,&alloc)" ( identifier , identifier , identifier , (pointer_expression "&count" & identifier) , (pointer_expression "&alloc" & identifier) )))) ;) (if_statement "if (bVar4 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) }))) (expression_statement "pcVar5 = *pp;" (assignment_expression "pcVar5 = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "undefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" identifier (parameter_list "(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2339d;" (assignment_expression "uStack_14 = 0x2339d" identifier = 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 "local_30 = 10;" (assignment_expression "local_30 = 10" identifier = number_literal) ;) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" identifier = identifier) ;) (if_statement "if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" if (parenthesized_expression "(param_3 != (int *)0x0)" ( (binary_expression "param_3 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" { (expression_statement "puVar5 = param_2;" (assignment_expression "puVar5 = param_2" identifier = identifier) ;) (expression_statement "iVar3 = xmalloc(0x28);" (assignment_expression "iVar3 = xmalloc(0x28)" identifier = (call_expression "xmalloc(0x28)" identifier (argument_list "(0x28)" ( 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 "*param_3 = iVar3;" (assignment_expression "*param_3 = iVar3" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "param_2 = puVar5;" (assignment_expression "param_2 = puVar5" identifier = identifier) ;) })) (expression_statement "puVar6 = &local_24;" (assignment_expression "puVar6 = &local_24" identifier = (pointer_expression "&local_24" & identifier)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "puVar5 = local_20;" (assignment_expression "puVar5 = local_20" identifier = identifier) ;) (do_statement "do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );" do (compound_statement "{\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  }" { (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" identifier = (pointer_expression "*pcVar4" * identifier)) ;) (if_statement "if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" if (parenthesized_expression "((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e'))" ( (binary_expression "(cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')" (parenthesized_expression "(cVar1 == '_' || cVar1 == '\0')" ( (binary_expression "cVar1 == '_' || cVar1 == '\0'" (binary_expression "cVar1 == '_'" identifier == (char_literal "'_'" ' character ')) || (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence '))) )) || (parenthesized_expression "(cVar1 == 'e')" ( (binary_expression "cVar1 == 'e'" identifier == (char_literal "'e'" ' character ')) ))) )) (compound_statement "{\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" { (if_statement "if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" if (parenthesized_expression "(param_3 == (int *)0x0)" ( (binary_expression "param_3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }" { (if_statement "if (cVar1 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(cVar1 != 'e')" ( (binary_expression "cVar1 != 'e'" identifier != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) }) (else_clause "else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" else (compound_statement "{\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" { (expression_statement "*(undefined4 *)(*param_3 + local_2c * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_3 + local_2c * 4) = 0" (pointer_expression "*(undefined4 *)(*param_3 + local_2c * 4)" * (cast_expression "(undefined4 *)(*param_3 + local_2c * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + local_2c * 4)" ( (binary_expression "*param_3 + local_2c * 4" (pointer_expression "*param_3" * identifier) + (binary_expression "local_2c * 4" identifier * number_literal)) )))) = number_literal) ;) (if_statement "if (*pcVar4 != 'e') {\n          return 1;\n        }" if (parenthesized_expression "(*pcVar4 != 'e')" ( (binary_expression "*pcVar4 != 'e'" (pointer_expression "*pcVar4" * identifier) != (char_literal "'e'" ' character ')) )) (compound_statement "{\n          return 1;\n        }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" * identifier) = number_literal) ;) }))) (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" if (parenthesized_expression "((cVar1 == 'N') || (cVar1 == 'T'))" ( (binary_expression "(cVar1 == 'N') || (cVar1 == 'T')" (parenthesized_expression "(cVar1 == 'N')" ( (binary_expression "cVar1 == 'N'" identifier == (char_literal "'N'" ' character ')) )) || (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }" { (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" if (parenthesized_expression "(cVar1 == 'T')" ( (binary_expression "cVar1 == 'T'" identifier == (char_literal "'T'" ' character ')) )) (compound_statement "{\n        local_28 = 1;\n      }" { (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" else (compound_statement "{\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" { (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier = (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier (argument_list "(puVar5,param_2,puVar6,pcVar7)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) goto LAB_000234f5;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000234f5;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier = (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" identifier (argument_list "(puVar5,param_2,puVar6,pcVar7)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" if (parenthesized_expression "((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24))" ( (binary_expression "(iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(uint *)(param_1 + 0x14) <= local_24)" ( (binary_expression "*(uint *)(param_1 + 0x14) <= local_24" (pointer_expression "*(uint *)(param_1 + 0x14)" * (cast_expression "(uint *)(param_1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) <= identifier) ))) )) (compound_statement "{\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" { (labeled_statement "LAB_000234f5:\n        FUN_000208f0();" statement_identifier : (expression_statement "FUN_000208f0();" (call_expression "FUN_000208f0()" identifier (argument_list "()" ( ))) ;)) (return_statement "return 0;" return number_literal ;) })) (while_statement "while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" while (parenthesized_expression "(bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2)" ( (comma_expression "bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2" (assignment_expression "bVar2 = local_28 != 0" identifier = (binary_expression "local_28 != 0" identifier != number_literal)) , (comma_expression "local_28 = local_28 + -1, bVar2" (assignment_expression "local_28 = local_28 + -1" identifier = (binary_expression "local_28 + -1" identifier + number_literal)) , identifier)) )) (compound_statement "{\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" { (expression_statement "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);" (assignment_expression "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x10) + local_24 * 8)" ( (binary_expression "*(int *)(param_1 + 0x10) + local_24 * 8" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (binary_expression "local_24 * 8" identifier * number_literal)) ))))) ;) (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" identifier = (call_expression "FUN_000232c0(&local_2c,&local_30)" identifier (argument_list "(&local_2c,&local_30)" ( (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (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      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" else (compound_statement "{\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" { (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" identifier = (call_expression "FUN_000232c0(&local_2c,&local_30)" identifier (argument_list "(&local_2c,&local_30)" ( (pointer_expression "&local_2c" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (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 ;) })) }))) (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))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == (char_literal ' character ')) || (binary_expression IDENT == (char_literal ' escape_sequence '))) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return LIT ;) })) (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) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) (return_statement return LIT ;) })) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT != LIT)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , IDENT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (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 ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "undefined4 __regparm3 FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00023390(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" (identifier "FUN_00023390") (parameter_list "(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  uint *puVar6;\n  char *pcVar7;\n  undefined4 local_30;\n  int local_2c;\n  int local_28;\n  uint local_24;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2339d;\n  pcVar4 = (char *)*param_2;\n  local_30 = 10;\n  pcVar7 = pcVar4;\n  if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }\n  puVar6 = &local_24;\n  local_2c = 0;\n  puVar5 = local_20;\n  do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2339d;" (assignment_expression "uStack_14 = 0x2339d" (identifier "uStack_14") (= "=") (number_literal "0x2339d")) (; ";")) (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 "local_30 = 10;" (assignment_expression "local_30 = 10" (identifier "local_30") (= "=") (number_literal "10")) (; ";")) (expression_statement "pcVar7 = pcVar4;" (assignment_expression "pcVar7 = pcVar4" (identifier "pcVar7") (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (param_3 != (int *)0x0) {\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" (if "if") (parenthesized_expression "(param_3 != (int *)0x0)" (( "(") (binary_expression "param_3 != (int *)0x0" (identifier "param_3") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar5 = param_2;\n    iVar3 = xmalloc(0x28);\n    pcVar4 = (char *)*param_2;\n    *param_3 = iVar3;\n    *param_4 = 0;\n    param_2 = puVar5;\n  }" ({ "{") (expression_statement "puVar5 = param_2;" (assignment_expression "puVar5 = param_2" (identifier "puVar5") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar3 = xmalloc(0x28);" (assignment_expression "iVar3 = xmalloc(0x28)" (identifier "iVar3") (= "=") (call_expression "xmalloc(0x28)" (identifier "xmalloc") (argument_list "(0x28)" (( "(") (number_literal "0x28") () ")")))) (; ";")) (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 "*param_3 = iVar3;" (assignment_expression "*param_3 = iVar3" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2 = puVar5;" (assignment_expression "param_2 = puVar5" (identifier "param_2") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "puVar6 = &local_24;" (assignment_expression "puVar6 = &local_24" (identifier "puVar6") (= "=") (pointer_expression "&local_24" (& "&") (identifier "local_24"))) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar5 = local_20;" (assignment_expression "puVar5 = local_20" (identifier "puVar5") (= "=") (identifier "local_20")) (; ";")) (do_statement "do {\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  } while( true );" (do "do") (compound_statement "{\n    cVar1 = *pcVar4;\n    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }\n    if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }\n    pcVar4 = (char *)*param_2;\n  }" ({ "{") (expression_statement "cVar1 = *pcVar4;" (assignment_expression "cVar1 = *pcVar4" (identifier "cVar1") (= "=") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4"))) (; ";")) (if_statement "if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" (if "if") (parenthesized_expression "((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e'))" (( "(") (binary_expression "(cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')" (parenthesized_expression "(cVar1 == '_' || cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '_' || cVar1 == '\0'" (binary_expression "cVar1 == '_'" (identifier "cVar1") (== "==") (char_literal "'_'" (' "'") (character "_") (' "'"))) (|| "||") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (|| "||") (parenthesized_expression "(cVar1 == 'e')" (( "(") (binary_expression "cVar1 == 'e'" (identifier "cVar1") (== "==") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }\n      *param_2 = pcVar4 + 1;\n      return 1;\n    }" ({ "{") (if_statement "if (param_3 == (int *)0x0) {\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }\n      else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" (if "if") (parenthesized_expression "(param_3 == (int *)0x0)" (( "(") (binary_expression "param_3 == (int *)0x0" (identifier "param_3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if (cVar1 != 'e') {\n          return 1;\n        }\n      }" ({ "{") (if_statement "if (cVar1 != 'e') {\n          return 1;\n        }" (if "if") (parenthesized_expression "(cVar1 != 'e')" (( "(") (binary_expression "cVar1 != 'e'" (identifier "cVar1") (!= "!=") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" (else "else") (compound_statement "{\n        *(undefined4 *)(*param_3 + local_2c * 4) = 0;\n        if (*pcVar4 != 'e') {\n          return 1;\n        }\n        *param_4 = 1;\n      }" ({ "{") (expression_statement "*(undefined4 *)(*param_3 + local_2c * 4) = 0;" (assignment_expression "*(undefined4 *)(*param_3 + local_2c * 4) = 0" (pointer_expression "*(undefined4 *)(*param_3 + local_2c * 4)" (* "*") (cast_expression "(undefined4 *)(*param_3 + local_2c * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + local_2c * 4)" (( "(") (binary_expression "*param_3 + local_2c * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (binary_expression "local_2c * 4" (identifier "local_2c") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*pcVar4 != 'e') {\n          return 1;\n        }" (if "if") (parenthesized_expression "(*pcVar4 != 'e')" (( "(") (binary_expression "*pcVar4 != 'e'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (!= "!=") (char_literal "'e'" (' "'") (character "e") (' "'"))) () ")")) (compound_statement "{\n          return 1;\n        }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "*param_4 = 1;" (assignment_expression "*param_4 = 1" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((cVar1 == 'N') || (cVar1 == 'T')) {\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }\n    else {\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" (if "if") (parenthesized_expression "((cVar1 == 'N') || (cVar1 == 'T'))" (( "(") (binary_expression "(cVar1 == 'N') || (cVar1 == 'T')" (parenthesized_expression "(cVar1 == 'N')" (( "(") (binary_expression "cVar1 == 'N'" (identifier "cVar1") (== "==") (char_literal "'N'" (' "'") (character "N") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar1 == 'T')" (( "(") (binary_expression "cVar1 == 'T'" (identifier "cVar1") (== "==") (char_literal "'T'" (' "'") (character "T") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      *param_2 = pcVar4 + 1;\n      if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }\n      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }\n      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }\n    }" ({ "{") (expression_statement "*param_2 = pcVar4 + 1;" (assignment_expression "*param_2 = pcVar4 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar1 == 'T') {\n        local_28 = 1;\n      }\n      else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" (if "if") (parenthesized_expression "(cVar1 == 'T')" (( "(") (binary_expression "cVar1 == 'T'" (identifier "cVar1") (== "==") (char_literal "'T'" (' "'") (character "T") (' "'"))) () ")")) (compound_statement "{\n        local_28 = 1;\n      }" ({ "{") (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" (identifier "local_28") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" (else "else") (compound_statement "{\n        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);\n        if (iVar3 == 0) goto LAB_000234f5;\n      }" ({ "{") (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" (identifier "iVar3") (= "=") (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" (identifier "FUN_00020810") (argument_list "(puVar5,param_2,puVar6,pcVar7)" (( "(") (identifier "puVar5") (, ",") (identifier "param_2") (, ",") (identifier "puVar6") (, ",") (identifier "pcVar7") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000234f5;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000234f5;" (goto "goto") (statement_identifier "LAB_000234f5") (; ";"))) (} "}")))) (expression_statement "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);" (assignment_expression "iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7)" (identifier "iVar3") (= "=") (call_expression "FUN_00020810(puVar5,param_2,puVar6,pcVar7)" (identifier "FUN_00020810") (argument_list "(puVar5,param_2,puVar6,pcVar7)" (( "(") (identifier "puVar5") (, ",") (identifier "param_2") (, ",") (identifier "puVar6") (, ",") (identifier "pcVar7") () ")")))) (; ";")) (if_statement "if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" (if "if") (parenthesized_expression "((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24))" (( "(") (binary_expression "(iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(uint *)(param_1 + 0x14) <= local_24)" (( "(") (binary_expression "*(uint *)(param_1 + 0x14) <= local_24" (pointer_expression "*(uint *)(param_1 + 0x14)" (* "*") (cast_expression "(uint *)(param_1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (<= "<=") (identifier "local_24")) () ")"))) () ")")) (compound_statement "{\nLAB_000234f5:\n        FUN_000208f0();\n        return 0;\n      }" ({ "{") (labeled_statement "LAB_000234f5:\n        FUN_000208f0();" (statement_identifier "LAB_000234f5") (: ":") (expression_statement "FUN_000208f0();" (call_expression "FUN_000208f0()" (identifier "FUN_000208f0") (argument_list "()" (( "(") () ")"))) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (while_statement "while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" (while "while") (parenthesized_expression "(bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2)" (( "(") (comma_expression "bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2" (assignment_expression "bVar2 = local_28 != 0" (identifier "bVar2") (= "=") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0"))) (, ",") (comma_expression "local_28 = local_28 + -1, bVar2" (assignment_expression "local_28 = local_28 + -1" (identifier "local_28") (= "=") (binary_expression "local_28 + -1" (identifier "local_28") (+ "+") (number_literal "-1"))) (, ",") (identifier "bVar2"))) () ")")) (compound_statement "{\n        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);\n        iVar3 = FUN_000232c0(&local_2c,&local_30);\n        if (iVar3 == 0) {\n          return 0;\n        }\n      }" ({ "{") (expression_statement "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);" (assignment_expression "local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x10) + local_24 * 8)" (( "(") (binary_expression "*(int *)(param_1 + 0x10) + local_24 * 8" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "local_24 * 8" (identifier "local_24") (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" (identifier "iVar3") (= "=") (call_expression "FUN_000232c0(&local_2c,&local_30)" (identifier "FUN_000232c0") (argument_list "(&local_2c,&local_30)" (( "(") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (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      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" (else "else") (compound_statement "{\n      iVar3 = FUN_000232c0(&local_2c,&local_30);\n      if (iVar3 == 0) {\n        return 0;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_000232c0(&local_2c,&local_30);" (assignment_expression "iVar3 = FUN_000232c0(&local_2c,&local_30)" (identifier "iVar3") (= "=") (call_expression "FUN_000232c0(&local_2c,&local_30)" (identifier "FUN_000232c0") (argument_list "(&local_2c,&local_30)" (( "(") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (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") (; ";")) (} "}"))) (} "}")))) (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")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

type_1 __regparm3
function_1(type_2 *minfo,char **pp,type_3 **var_1,
                  type_1 *pvarargs)

{
  char var_3;
  char *s;
  bool bVar2;
  type_3 *ppdVar3;
  type_1 var_6;
  char *var_4;
  type_4 alloc;
  type_4 count;
  type_4 var_9;
  type_4 var_7;
  char *tem;
  type_5 uStack_14;
  
  uStack_14 = 0x2339d;
  s = *pp;
  alloc = 10;
  var_4 = s;
  if (var_1 != (type_3 **)0x0) {
    ppdVar3 = (type_3 *)var_2(0x28);
    var_4 = *pp;
    *var_1 = ppdVar3;
    *pvarargs = 0;
  }
  count = 0;
  do {
    var_3 = *var_4;
    if ((var_3 == '_' || var_3 == '\0') || (var_3 == 'e')) {
      if (var_1 == (type_3 **)0x0) {
        if (var_3 != 'e') {
          return 1;
        }
      }
      else {
        (*var_1)[count] = (type_3)0x0;
        if (*var_4 != 'e') {
          return 1;
        }
        *pvarargs = 1;
      }
      *pp = var_4 + 1;
      return 1;
    }
    if ((var_3 == 'N') || (var_3 == 'T')) {
      *pp = var_4 + 1;
      if (var_3 == 'T') {
        var_9 = 1;
      }
      else {
        var_6 = var_5(pp,&var_9);
        if (var_6 == 0) goto LAB_000234f5;
      }
      var_6 = var_5(pp,&var_7);
      if ((var_6 == 0) || (minfo->typestring_count <= var_7)) {
LAB_000234f5:
        var_8(s);
        return 0;
      }
      while (bVar2 = var_9 != 0, var_9 = var_9 - 1, bVar2) {
        tem = minfo->typestrings[var_7].typestring;
        var_6 = var_10(minfo,&tem,var_1,&count,&alloc);
        if (var_6 == 0) {
          return 0;
        }
      }
    }
    else {
      var_6 = var_10(minfo,pp,var_1,&count,&alloc);
      if (var_6 == 0) {
        return 0;
      }
    }
    var_4 = *pp;
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */

undefined4 __regparm3 MASKED(int param_1,undefined4 *param_2,int *param_3,undefined4 *param_4)

{
  char cVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined4 *puVar5;
  uint *puVar6;
  char *pcVar7;
  undefined4 local_30;
  int local_2c;
  int local_28;
  uint local_24;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x2339d;
  pcVar4 = (char *)*param_2;
  local_30 = 10;
  pcVar7 = pcVar4;
  if (param_3 != (int *)0x0) {
    puVar5 = param_2;
    iVar3 = xmalloc(0x28);
    pcVar4 = (char *)*param_2;
    *param_3 = iVar3;
    *param_4 = 0;
    param_2 = puVar5;
  }
  puVar6 = &local_24;
  local_2c = 0;
  puVar5 = local_20;
  do {
    cVar1 = *pcVar4;
    if ((cVar1 == '_' || cVar1 == '\0') || (cVar1 == 'e')) {
      if (param_3 == (int *)0x0) {
        if (cVar1 != 'e') {
          return 1;
        }
      }
      else {
        *(undefined4 *)(*param_3 + local_2c * 4) = 0;
        if (*pcVar4 != 'e') {
          return 1;
        }
        *param_4 = 1;
      }
      *param_2 = pcVar4 + 1;
      return 1;
    }
    if ((cVar1 == 'N') || (cVar1 == 'T')) {
      *param_2 = pcVar4 + 1;
      if (cVar1 == 'T') {
        local_28 = 1;
      }
      else {
        iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);
        if (iVar3 == 0) goto LAB_000234f5;
      }
      iVar3 = FUN_00020810(puVar5,param_2,puVar6,pcVar7);
      if ((iVar3 == 0) || (*(uint *)(param_1 + 0x14) <= local_24)) {
LAB_000234f5:
        FUN_000208f0();
        return 0;
      }
      while (bVar2 = local_28 != 0, local_28 = local_28 + -1, bVar2) {
        local_20[0] = *(undefined4 *)(*(int *)(param_1 + 0x10) + local_24 * 8);
        iVar3 = FUN_000232c0(&local_2c,&local_30);
        if (iVar3 == 0) {
          return 0;
        }
      }
    }
    else {
      iVar3 = FUN_000232c0(&local_2c,&local_30);
      if (iVar3 == 0) {
        return 0;
      }
    }
    pcVar4 = (char *)*param_2;
  } while( true );
}

