
int __regparm3 d_template_args_1(int param_1)

{
  undefined4 uVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  char *pcVar5;
  int *piVar6;
  int local_20 [4];
  
  pcVar5 = *(char **)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x28);
  cVar2 = *pcVar5;
  if (cVar2 == 'E') {
    *(char **)(param_1 + 0xc) = pcVar5 + 1;
    uVar4 = d_make_comp(0);
    return uVar4;
  }
  local_20[0] = 0;
  piVar6 = local_20;
  do {
    if (cVar2 == 'L') {
      iVar3 = d_expr_primary();
    }
    else if (cVar2 < 'M') {
      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;
      iVar3 = d_template_args();
    }
    else if (cVar2 == 'X') {
      uVar1 = *(undefined4 *)(param_1 + 0x30);
      *(undefined4 *)(param_1 + 0x30) = 1;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      iVar3 = d_expression_1();
      *(undefined4 *)(param_1 + 0x30) = uVar1;
      if (**(char **)(param_1 + 0xc) != 'E') {
        return 0;
      }
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    }
    else {
LAB_00271010:
      iVar3 = d_type();
    }
    if (iVar3 == 0) {
      return 0;
    }
    iVar3 = d_make_comp(0);
    *piVar6 = iVar3;
    if (iVar3 == 0) {
      return 0;
    }
    pcVar5 = *(char **)(param_1 + 0xc);
    piVar6 = (int *)(iVar3 + 0xc);
    cVar2 = *pcVar5;
    if (cVar2 == 'E') {
      *(undefined4 *)(param_1 + 0x28) = uVar4;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      return local_20[0];
    }
  } while( true );
}



int __regparm3 FUN_00270f60(int param_1)

{
  undefined4 uVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  char *pcVar5;
  int *piVar6;
  int local_20 [4];
  
  pcVar5 = *(char **)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x28);
  cVar2 = *pcVar5;
  if (cVar2 == 'E') {
    *(char **)(param_1 + 0xc) = pcVar5 + 1;
    uVar4 = FUN_0026fc10(0);
    return uVar4;
  }
  local_20[0] = 0;
  piVar6 = local_20;
  do {
    if (cVar2 == 'L') {
      iVar3 = FUN_00270670();
    }
    else if (cVar2 < 'M') {
      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;
      iVar3 = FUN_00271070();
    }
    else if (cVar2 == 'X') {
      uVar1 = *(undefined4 *)(param_1 + 0x30);
      *(undefined4 *)(param_1 + 0x30) = 1;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      iVar3 = FUN_002707f0();
      *(undefined4 *)(param_1 + 0x30) = uVar1;
      if (**(char **)(param_1 + 0xc) != 'E') {
        return 0;
      }
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    }
    else {
LAB_00271010:
      iVar3 = FUN_002715c0();
    }
    if (iVar3 == 0) {
      return 0;
    }
    iVar3 = FUN_0026fc10(0);
    *piVar6 = iVar3;
    if (iVar3 == 0) {
      return 0;
    }
    pcVar5 = *(char **)(param_1 + 0xc);
    piVar6 = (int *)(iVar3 + 0xc);
    cVar2 = *pcVar5;
    if (cVar2 == 'E') {
      *(undefined4 *)(param_1 + 0x28) = uVar4;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      return local_20[0];
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x1c
MOV EDX,dword ptr [EAX + 0xc]
MOV EDI,dword ptr [EAX + 0x28]
MOVZX EAX,byte ptr [EDX]
CMP AL,0x45
JZ 0x00271048
MOV dword ptr [ESP + 0xc],0x0
LEA ESI,[ESP + 0xc]
JMP 0x00270fcb
SUB EAX,0x49
CMP AL,0x1
JA 0x00271010
MOV EAX,EBX
CALL 0x00271070
TEST EAX,EAX
JZ 0x00271020
SUB ESP,0xc
MOV ECX,EAX
MOV EDX,0x2f
MOV EAX,EBX
PUSH 0x0
CALL 0x0026fc10
ADD ESP,0x10
MOV dword ptr [ESI],EAX
TEST EAX,EAX
JZ 0x00271020
MOV EDX,dword ptr [EBX + 0xc]
LEA ESI,[EAX + 0xc]
MOVZX EAX,byte ptr [EDX]
CMP AL,0x45
JZ 0x00271030
CMP AL,0x4c
JZ 0x00271000
JLE 0x00270f90
CMP AL,0x58
JNZ 0x00271010
ADD EDX,0x1
MOV EBP,dword ptr [EBX + 0x30]
MOV dword ptr [EBX + 0x30],0x1
MOV EAX,EBX
MOV dword ptr [EBX + 0xc],EDX
CALL 0x002707f0
MOV EDX,dword ptr [EBX + 0xc]
MOV dword ptr [EBX + 0x30],EBP
CMP byte ptr [EDX],0x45
JNZ 0x00271020
ADD EDX,0x1
MOV dword ptr [EBX + 0xc],EDX
JMP 0x00270f9e
MOV EAX,EBX
CALL 0x00270670
JMP 0x00270f9e
MOV EAX,EBX
CALL 0x002715c0
JMP 0x00270f9e
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EDX,0x1
MOV dword ptr [EBX + 0x28],EDI
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EBX + 0xc],EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EDX,0x1
PUSH 0x0
MOV EAX,EBX
XOR ECX,ECX
MOV dword ptr [EBX + 0xc],EDX
MOV EDX,0x2f
CALL 0x0026fc10
POP EDX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "int __regparm3 FUN_00270f60(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}\n\n" (function_definition "int __regparm3 FUN_00270f60(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00270f60(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x28)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = FUN_0026fc10(0);" (assignment_expression "uVar4 = FUN_0026fc10(0)" identifier = (call_expression "FUN_0026fc10(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6 = local_20;" (assignment_expression "piVar6 = local_20" identifier = identifier) ;) (do_statement "do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  }" { (if_statement "if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 == 'L')" ( (binary_expression "cVar2 == 'L'" identifier == (char_literal "'L'" ' character ')) )) (compound_statement "{\n      iVar3 = FUN_00270670();\n    }" { (expression_statement "iVar3 = FUN_00270670();" (assignment_expression "iVar3 = FUN_00270670()" identifier = (call_expression "FUN_00270670()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (if_statement "if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 < 'M')" ( (binary_expression "cVar2 < 'M'" identifier < (char_literal "'M'" ' character ')) )) (compound_statement "{\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }" { (if_statement "if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;" if (parenthesized_expression "(1 < (byte)(cVar2 + 0xb7U))" ( (binary_expression "1 < (byte)(cVar2 + 0xb7U)" number_literal < (call_expression "(byte)(cVar2 + 0xb7U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 + 0xb7U)" ( (binary_expression "cVar2 + 0xb7U" identifier + number_literal) )))) )) (goto_statement "goto LAB_00271010;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_00271070();" (assignment_expression "iVar3 = FUN_00271070()" identifier = (call_expression "FUN_00271070()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (if_statement "if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 == 'X')" ( (binary_expression "cVar2 == 'X'" identifier == (char_literal "'X'" ' character ')) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_002707f0();" (assignment_expression "iVar3 = FUN_002707f0()" identifier = (call_expression "FUN_002707f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'E')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'E'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'E'" ' character ')) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (compound_statement "{\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" { (labeled_statement "LAB_00271010:\n      iVar3 = FUN_002715c0();" statement_identifier : (expression_statement "iVar3 = FUN_002715c0();" (assignment_expression "iVar3 = FUN_002715c0()" identifier = (call_expression "FUN_002715c0()" identifier (argument_list "()" ( )))) ;)) }))))))) (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = FUN_0026fc10(0);" (assignment_expression "iVar3 = FUN_0026fc10(0)" identifier = (call_expression "FUN_0026fc10(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" * identifier) = 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 "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar6 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x28) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int __regparm3 d_template_args_1(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = d_make_comp(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = d_make_comp(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}\n\n" (function_definition "int __regparm3 d_template_args_1(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = d_make_comp(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = d_make_comp(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "d_template_args_1(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = d_make_comp(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = d_make_comp(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x28)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = d_make_comp(0);\n    return uVar4;\n  }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = d_make_comp(0);\n    return uVar4;\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = d_make_comp(0);" (assignment_expression "uVar4 = d_make_comp(0)" identifier = (call_expression "d_make_comp(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6 = local_20;" (assignment_expression "piVar6 = local_20" identifier = identifier) ;) (do_statement "do {\n    if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = d_make_comp(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = d_make_comp(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  }" { (if_statement "if (cVar2 == 'L') {\n      iVar3 = d_expr_primary();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" if (parenthesized_expression "(cVar2 == 'L')" ( (binary_expression "cVar2 == 'L'" identifier == (char_literal "'L'" ' character ')) )) (compound_statement "{\n      iVar3 = d_expr_primary();\n    }" { (expression_statement "iVar3 = d_expr_primary();" (assignment_expression "iVar3 = d_expr_primary()" identifier = (call_expression "d_expr_primary()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" else (if_statement "if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" if (parenthesized_expression "(cVar2 < 'M')" ( (binary_expression "cVar2 < 'M'" identifier < (char_literal "'M'" ' character ')) )) (compound_statement "{\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = d_template_args();\n    }" { (if_statement "if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;" if (parenthesized_expression "(1 < (byte)(cVar2 + 0xb7U))" ( (binary_expression "1 < (byte)(cVar2 + 0xb7U)" number_literal < (call_expression "(byte)(cVar2 + 0xb7U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 + 0xb7U)" ( (binary_expression "cVar2 + 0xb7U" identifier + number_literal) )))) )) (goto_statement "goto LAB_00271010;" goto statement_identifier ;)) (expression_statement "iVar3 = d_template_args();" (assignment_expression "iVar3 = d_template_args()" identifier = (call_expression "d_template_args()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" else (if_statement "if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" if (parenthesized_expression "(cVar2 == 'X')" ( (binary_expression "cVar2 == 'X'" identifier == (char_literal "'X'" ' character ')) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = d_expression_1();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = d_expression_1();" (assignment_expression "iVar3 = d_expression_1()" identifier = (call_expression "d_expression_1()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'E')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'E'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'E'" ' character ')) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\nLAB_00271010:\n      iVar3 = d_type();\n    }" else (compound_statement "{\nLAB_00271010:\n      iVar3 = d_type();\n    }" { (labeled_statement "LAB_00271010:\n      iVar3 = d_type();" statement_identifier : (expression_statement "iVar3 = d_type();" (assignment_expression "iVar3 = d_type()" identifier = (call_expression "d_type()" identifier (argument_list "()" ( )))) ;)) }))))))) (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = d_make_comp(0);" (assignment_expression "iVar3 = d_make_comp(0)" identifier = (call_expression "d_make_comp(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" * identifier) = 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 "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar6 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x28) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int __regparm3 FUN_00270f60(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}\n\n" (function_definition "int __regparm3 FUN_00270f60(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00270f60(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int local_20 [4];" primitive_type (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x28)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" { (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = FUN_0026fc10(0);" (assignment_expression "uVar4 = FUN_0026fc10(0)" identifier = (call_expression "FUN_0026fc10(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6 = local_20;" (assignment_expression "piVar6 = local_20" identifier = identifier) ;) (do_statement "do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  }" { (if_statement "if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 == 'L')" ( (binary_expression "cVar2 == 'L'" identifier == (char_literal "'L'" ' character ')) )) (compound_statement "{\n      iVar3 = FUN_00270670();\n    }" { (expression_statement "iVar3 = FUN_00270670();" (assignment_expression "iVar3 = FUN_00270670()" identifier = (call_expression "FUN_00270670()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (if_statement "if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 < 'M')" ( (binary_expression "cVar2 < 'M'" identifier < (char_literal "'M'" ' character ')) )) (compound_statement "{\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }" { (if_statement "if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;" if (parenthesized_expression "(1 < (byte)(cVar2 + 0xb7U))" ( (binary_expression "1 < (byte)(cVar2 + 0xb7U)" number_literal < (call_expression "(byte)(cVar2 + 0xb7U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar2 + 0xb7U)" ( (binary_expression "cVar2 + 0xb7U" identifier + number_literal) )))) )) (goto_statement "goto LAB_00271010;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_00271070();" (assignment_expression "iVar3 = FUN_00271070()" identifier = (call_expression "FUN_00271070()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (if_statement "if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" if (parenthesized_expression "(cVar2 == 'X')" ( (binary_expression "cVar2 == 'X'" identifier == (char_literal "'X'" ' character ')) )) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }" { (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar3 = FUN_002707f0();" (assignment_expression "iVar3 = FUN_002707f0()" identifier = (call_expression "FUN_002707f0()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = identifier) ;) (if_statement "if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'E')" ( (binary_expression "**(char **)(param_1 + 0xc) != 'E'" (pointer_expression "**(char **)(param_1 + 0xc)" * (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) != (char_literal "'E'" ' character ')) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal)) ;) }) (else_clause "else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" else (compound_statement "{\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" { (labeled_statement "LAB_00271010:\n      iVar3 = FUN_002715c0();" statement_identifier : (expression_statement "iVar3 = FUN_002715c0();" (assignment_expression "iVar3 = FUN_002715c0()" identifier = (call_expression "FUN_002715c0()" identifier (argument_list "()" ( )))) ;)) }))))))) (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = FUN_0026fc10(0);" (assignment_expression "iVar3 = FUN_0026fc10(0)" identifier = (call_expression "FUN_0026fc10(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" * identifier) = 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 "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" identifier = (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar6 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) (if_statement "if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" if (parenthesized_expression "(cVar2 == 'E')" ( (binary_expression "cVar2 == 'E'" identifier == (char_literal "'E'" ' character ')) )) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" { (expression_statement "*(undefined4 *)(param_1 + 0x28) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" * (cast_expression "(undefined4 *)(param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" * (cast_expression "(char **)(param_1 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (return_statement "return local_20[0];" return (subscript_expression "local_20[0]" identifier [ number_literal ]) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) }))))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int __regparm3 FUN_00270f60(int param_1)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00270f60(int param_1)" (identifier "FUN_00270f60") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  int *piVar6;\n  int local_20 [4];\n  \n  pcVar5 = *(char **)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x28);\n  cVar2 = *pcVar5;\n  if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }\n  local_20[0] = 0;\n  piVar6 = local_20;\n  do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int local_20 [4];" (primitive_type "int") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x28);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x28)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" (identifier "cVar2") (= "=") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (; ";")) (if_statement "if (cVar2 == 'E') {\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(cVar2 == 'E')" (( "(") (binary_expression "cVar2 == 'E'" (identifier "cVar2") (== "==") (char_literal "'E'" (' "'") (character "E") (' "'"))) () ")")) (compound_statement "{\n    *(char **)(param_1 + 0xc) = pcVar5 + 1;\n    uVar4 = FUN_0026fc10(0);\n    return uVar4;\n  }" ({ "{") (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = FUN_0026fc10(0);" (assignment_expression "uVar4 = FUN_0026fc10(0)" (identifier "uVar4") (= "=") (call_expression "FUN_0026fc10(0)" (identifier "FUN_0026fc10") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "local_20[0] = 0;" (assignment_expression "local_20[0] = 0" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = local_20;" (assignment_expression "piVar6 = local_20" (identifier "piVar6") (= "=") (identifier "local_20")) (; ";")) (do_statement "do {\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  } while( true );" (do "do") (compound_statement "{\n    if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }\n    if (iVar3 == 0) {\n      return 0;\n    }\n    iVar3 = FUN_0026fc10(0);\n    *piVar6 = iVar3;\n    if (iVar3 == 0) {\n      return 0;\n    }\n    pcVar5 = *(char **)(param_1 + 0xc);\n    piVar6 = (int *)(iVar3 + 0xc);\n    cVar2 = *pcVar5;\n    if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }\n  }" ({ "{") (if_statement "if (cVar2 == 'L') {\n      iVar3 = FUN_00270670();\n    }\n    else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (if "if") (parenthesized_expression "(cVar2 == 'L')" (( "(") (binary_expression "cVar2 == 'L'" (identifier "cVar2") (== "==") (char_literal "'L'" (' "'") (character "L") (' "'"))) () ")")) (compound_statement "{\n      iVar3 = FUN_00270670();\n    }" ({ "{") (expression_statement "iVar3 = FUN_00270670();" (assignment_expression "iVar3 = FUN_00270670()" (identifier "iVar3") (= "=") (call_expression "FUN_00270670()" (identifier "FUN_00270670") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (else "else") (if_statement "if (cVar2 < 'M') {\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }\n    else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (if "if") (parenthesized_expression "(cVar2 < 'M')" (( "(") (binary_expression "cVar2 < 'M'" (identifier "cVar2") (< "<") (char_literal "'M'" (' "'") (character "M") (' "'"))) () ")")) (compound_statement "{\n      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;\n      iVar3 = FUN_00271070();\n    }" ({ "{") (if_statement "if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;" (if "if") (parenthesized_expression "(1 < (byte)(cVar2 + 0xb7U))" (( "(") (binary_expression "1 < (byte)(cVar2 + 0xb7U)" (number_literal "1") (< "<") (call_expression "(byte)(cVar2 + 0xb7U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar2 + 0xb7U)" (( "(") (binary_expression "cVar2 + 0xb7U" (identifier "cVar2") (+ "+") (number_literal "0xb7U")) () ")")))) () ")")) (goto_statement "goto LAB_00271010;" (goto "goto") (statement_identifier "LAB_00271010") (; ";"))) (expression_statement "iVar3 = FUN_00271070();" (assignment_expression "iVar3 = FUN_00271070()" (identifier "iVar3") (= "=") (call_expression "FUN_00271070()" (identifier "FUN_00271070") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (else "else") (if_statement "if (cVar2 == 'X') {\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }\n    else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (if "if") (parenthesized_expression "(cVar2 == 'X')" (( "(") (binary_expression "cVar2 == 'X'" (identifier "cVar2") (== "==") (char_literal "'X'" (' "'") (character "X") (' "'"))) () ")")) (compound_statement "{\n      uVar1 = *(undefined4 *)(param_1 + 0x30);\n      *(undefined4 *)(param_1 + 0x30) = 1;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      iVar3 = FUN_002707f0();\n      *(undefined4 *)(param_1 + 0x30) = uVar1;\n      if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }\n      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = 1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar3 = FUN_002707f0();" (assignment_expression "iVar3 = FUN_002707f0()" (identifier "iVar3") (= "=") (call_expression "FUN_002707f0()" (identifier "FUN_002707f0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x30) = uVar1;" (assignment_expression "*(undefined4 *)(param_1 + 0x30) = uVar1" (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (if_statement "if (**(char **)(param_1 + 0xc) != 'E') {\n        return 0;\n      }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) != 'E')" (( "(") (binary_expression "**(char **)(param_1 + 0xc) != 'E'" (pointer_expression "**(char **)(param_1 + 0xc)" (* "*") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (!= "!=") (char_literal "'E'" (' "'") (character "E") (' "'"))) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(char **)(param_1 + 0xc) + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" (else "else") (compound_statement "{\nLAB_00271010:\n      iVar3 = FUN_002715c0();\n    }" ({ "{") (labeled_statement "LAB_00271010:\n      iVar3 = FUN_002715c0();" (statement_identifier "LAB_00271010") (: ":") (expression_statement "iVar3 = FUN_002715c0();" (assignment_expression "iVar3 = FUN_002715c0()" (identifier "iVar3") (= "=") (call_expression "FUN_002715c0()" (identifier "FUN_002715c0") (argument_list "()" (( "(") () ")")))) (; ";"))) (} "}")))))))) (if_statement "if (iVar3 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_0026fc10(0);" (assignment_expression "iVar3 = FUN_0026fc10(0)" (identifier "iVar3") (= "=") (call_expression "FUN_0026fc10(0)" (identifier "FUN_0026fc10") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "*piVar6 = iVar3;" (assignment_expression "*piVar6 = iVar3" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (identifier "iVar3")) (; ";")) (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 "pcVar5 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar5 = *(char **)(param_1 + 0xc)" (identifier "pcVar5") (= "=") (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "piVar6 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar6 = (int *)(iVar3 + 0xc)" (identifier "piVar6") (= "=") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "cVar2 = *pcVar5;" (assignment_expression "cVar2 = *pcVar5" (identifier "cVar2") (= "=") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (; ";")) (if_statement "if (cVar2 == 'E') {\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" (if "if") (parenthesized_expression "(cVar2 == 'E')" (( "(") (binary_expression "cVar2 == 'E'" (identifier "cVar2") (== "==") (char_literal "'E'" (' "'") (character "E") (' "'"))) () ")")) (compound_statement "{\n      *(undefined4 *)(param_1 + 0x28) = uVar4;\n      *(char **)(param_1 + 0xc) = pcVar5 + 1;\n      return local_20[0];\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0x28) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x28) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(char **)(param_1 + 0xc) = pcVar5 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar5 + 1" (pointer_expression "*(char **)(param_1 + 0xc)" (* "*") (cast_expression "(char **)(param_1 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return local_20[0];" (return "return") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

int __regparm3 function_1(int var_1)

{
  type_1 uVar1;
  char var_2;
  int var_9;
  type_1 uVar4;
  char *var_3;
  int *piVar6;
  int local_20 [4];
  
  var_3 = *(char **)(var_1 + 0xc);
  uVar4 = *(type_1 *)(var_1 + 0x28);
  var_2 = *var_3;
  if (var_2 == 'E') {
    *(char **)(var_1 + 0xc) = var_3 + 1;
    uVar4 = var_4(0);
    return uVar4;
  }
  local_20[0] = 0;
  piVar6 = local_20;
  do {
    if (var_2 == 'L') {
      var_9 = var_5();
    }
    else if (var_2 < 'M') {
      if (1 < (byte)(var_2 + 0xb7U)) goto LAB_00271010;
      var_9 = var_6();
    }
    else if (var_2 == 'X') {
      uVar1 = *(type_1 *)(var_1 + 0x30);
      *(type_1 *)(var_1 + 0x30) = 1;
      *(char **)(var_1 + 0xc) = var_3 + 1;
      var_9 = var_7();
      *(type_1 *)(var_1 + 0x30) = uVar1;
      if (**(char **)(var_1 + 0xc) != 'E') {
        return 0;
      }
      *(char **)(var_1 + 0xc) = *(char **)(var_1 + 0xc) + 1;
    }
    else {
LAB_00271010:
      var_9 = var_8();
    }
    if (var_9 == 0) {
      return 0;
    }
    var_9 = var_4(0);
    *piVar6 = var_9;
    if (var_9 == 0) {
      return 0;
    }
    var_3 = *(char **)(var_1 + 0xc);
    piVar6 = (int *)(var_9 + 0xc);
    var_2 = *var_3;
    if (var_2 == 'E') {
      *(type_1 *)(var_1 + 0x28) = uVar4;
      *(char **)(var_1 + 0xc) = var_3 + 1;
      return local_20[0];
    }
  } while( true );
}


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

int __regparm3 MASKED(int param_1)

{
  undefined4 uVar1;
  char cVar2;
  int iVar3;
  undefined4 uVar4;
  char *pcVar5;
  int *piVar6;
  int local_20 [4];
  
  pcVar5 = *(char **)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x28);
  cVar2 = *pcVar5;
  if (cVar2 == 'E') {
    *(char **)(param_1 + 0xc) = pcVar5 + 1;
    uVar4 = FUN_0026fc10(0);
    return uVar4;
  }
  local_20[0] = 0;
  piVar6 = local_20;
  do {
    if (cVar2 == 'L') {
      iVar3 = FUN_00270670();
    }
    else if (cVar2 < 'M') {
      if (1 < (byte)(cVar2 + 0xb7U)) goto LAB_00271010;
      iVar3 = FUN_00271070();
    }
    else if (cVar2 == 'X') {
      uVar1 = *(undefined4 *)(param_1 + 0x30);
      *(undefined4 *)(param_1 + 0x30) = 1;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      iVar3 = FUN_002707f0();
      *(undefined4 *)(param_1 + 0x30) = uVar1;
      if (**(char **)(param_1 + 0xc) != 'E') {
        return 0;
      }
      *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    }
    else {
LAB_00271010:
      iVar3 = FUN_002715c0();
    }
    if (iVar3 == 0) {
      return 0;
    }
    iVar3 = FUN_0026fc10(0);
    *piVar6 = iVar3;
    if (iVar3 == 0) {
      return 0;
    }
    pcVar5 = *(char **)(param_1 + 0xc);
    piVar6 = (int *)(iVar3 + 0xc);
    cVar2 = *pcVar5;
    if (cVar2 == 'E') {
      *(undefined4 *)(param_1 + 0x28) = uVar4;
      *(char **)(param_1 + 0xc) = pcVar5 + 1;
      return local_20[0];
    }
  } while( true );
}

