
int __regparm3 d_call_offset(d_info *di,int c)

{
  char *pcVar1;
  
  if (c == 0) {
    pcVar1 = di->n;
    if (*pcVar1 == '\0') {
      return 0;
    }
    di->n = pcVar1 + 1;
    c = (int)*pcVar1;
  }
  if (c == 0x68) {
    d_number((d_info *)&di->n);
  }
  else {
    if (c != 0x76) {
      return 0;
    }
    d_number((d_info *)&di->n);
    if (*di->n != '_') {
      return 0;
    }
    di->n = di->n + 1;
    d_number((d_info *)&di->n);
  }
  if (*di->n != '_') {
    return 0;
  }
  di->n = di->n + 1;
  return 1;
}



undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)

{
  char *pcVar1;
  
  if (param_2 == 0) {
    pcVar1 = *(char **)(param_1 + 0xc);
    if (*pcVar1 == '\0') {
      return 0;
    }
    *(char **)(param_1 + 0xc) = pcVar1 + 1;
    param_2 = (int)*pcVar1;
  }
  if (param_2 == 0x68) {
    FUN_0016e0c0();
  }
  else {
    if (param_2 != 0x76) {
      return 0;
    }
    FUN_0016e0c0();
    if (**(char **)(param_1 + 0xc) != '_') {
      return 0;
    }
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    FUN_0016e0c0();
  }
  if (**(char **)(param_1 + 0xc) != '_') {
    return 0;
  }
  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
  return 1;
}


PUSH ESI
PUSH EBX
MOV EBX,EAX
TEST EDX,EDX
JNZ 0x0016e661
MOV EAX,dword ptr [EAX + 0xc]
CMP byte ptr [EAX],0x0
JNZ 0x0016e658
XOR EAX,EAX
POP EBX
POP ESI
RET
LEA EDX,[EAX + 0x1]
MOV dword ptr [EBX + 0xc],EDX
MOVSX EDX,byte ptr [EAX]
CMP EDX,0x68
JZ 0x0016e6a0
CMP EDX,0x76
JNZ 0x0016e650
LEA ESI,[EBX + 0xc]
MOV EAX,ESI
CALL 0x0016e0c0
MOV EAX,dword ptr [EBX + 0xc]
CMP byte ptr [EAX],0x5f
JNZ 0x0016e650
ADD EAX,0x1
MOV dword ptr [EBX + 0xc],EAX
MOV EAX,ESI
CALL 0x0016e0c0
MOV EAX,dword ptr [EBX + 0xc]
CMP byte ptr [EAX],0x5f
JNZ 0x0016e650
ADD EAX,0x1
MOV dword ptr [EBX + 0xc],EAX
MOV EAX,0x1
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xc]
CALL 0x0016e0c0
JMP 0x0016e68a
(translation_unit "undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0016e640(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar1 = *(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) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 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 "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = (int)*pcVar1;" (assignment_expression "param_2 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) })) (if_statement "if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" if (parenthesized_expression "(param_2 == 0x68)" ( (binary_expression "param_2 == 0x68" identifier == number_literal) )) (compound_statement "{\n    FUN_0016e0c0();\n  }" { (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" else (compound_statement "{\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" { (if_statement "if (param_2 != 0x76) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 != 0x76)" ( (binary_expression "param_2 != 0x76" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" ( (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" ' 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)) ;) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" ( (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" ' 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)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "int __regparm3 d_call_offset(d_info *di,int c)\n\n{\n  char *pcVar1;\n  \n  if (c == 0) {\n    pcVar1 = di->n;\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    di->n = pcVar1 + 1;\n    c = (int)*pcVar1;\n  }\n  if (c == 0x68) {\n    d_number((d_info *)&di->n);\n  }\n  else {\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }\n  if (*di->n != '_') {\n    return 0;\n  }\n  di->n = di->n + 1;\n  return 1;\n}\n\n" (function_definition "int __regparm3 d_call_offset(d_info *di,int c)\n\n{\n  char *pcVar1;\n  \n  if (c == 0) {\n    pcVar1 = di->n;\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    di->n = pcVar1 + 1;\n    c = (int)*pcVar1;\n  }\n  if (c == 0x68) {\n    d_number((d_info *)&di->n);\n  }\n  else {\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }\n  if (*di->n != '_') {\n    return 0;\n  }\n  di->n = di->n + 1;\n  return 1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "d_call_offset(d_info *di,int c)" identifier (parameter_list "(d_info *di,int c)" ( (parameter_declaration "d_info *di" type_identifier (pointer_declarator "*di" * identifier)) , (parameter_declaration "int c" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (c == 0) {\n    pcVar1 = di->n;\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    di->n = pcVar1 + 1;\n    c = (int)*pcVar1;\n  }\n  if (c == 0x68) {\n    d_number((d_info *)&di->n);\n  }\n  else {\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }\n  if (*di->n != '_') {\n    return 0;\n  }\n  di->n = di->n + 1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (c == 0) {\n    pcVar1 = di->n;\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    di->n = pcVar1 + 1;\n    c = (int)*pcVar1;\n  }" if (parenthesized_expression "(c == 0)" ( (binary_expression "c == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = di->n;\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    di->n = pcVar1 + 1;\n    c = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = di->n;" (assignment_expression "pcVar1 = di->n" identifier = (field_expression "di->n" identifier -> field_identifier)) ;) (if_statement "if (*pcVar1 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "di->n = pcVar1 + 1;" (assignment_expression "di->n = pcVar1 + 1" (field_expression "di->n" identifier -> field_identifier) = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "c = (int)*pcVar1;" (assignment_expression "c = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) })) (if_statement "if (c == 0x68) {\n    d_number((d_info *)&di->n);\n  }\n  else {\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }" if (parenthesized_expression "(c == 0x68)" ( (binary_expression "c == 0x68" identifier == number_literal) )) (compound_statement "{\n    d_number((d_info *)&di->n);\n  }" { (expression_statement "d_number((d_info *)&di->n);" (call_expression "d_number((d_info *)&di->n)" identifier (argument_list "((d_info *)&di->n)" ( (cast_expression "(d_info *)&di->n" ( (type_descriptor "d_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&di->n" & (field_expression "di->n" identifier -> field_identifier))) ))) ;) }) (else_clause "else {\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }" else (compound_statement "{\n    if (c != 0x76) {\n      return 0;\n    }\n    d_number((d_info *)&di->n);\n    if (*di->n != '_') {\n      return 0;\n    }\n    di->n = di->n + 1;\n    d_number((d_info *)&di->n);\n  }" { (if_statement "if (c != 0x76) {\n      return 0;\n    }" if (parenthesized_expression "(c != 0x76)" ( (binary_expression "c != 0x76" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "d_number((d_info *)&di->n);" (call_expression "d_number((d_info *)&di->n)" identifier (argument_list "((d_info *)&di->n)" ( (cast_expression "(d_info *)&di->n" ( (type_descriptor "d_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&di->n" & (field_expression "di->n" identifier -> field_identifier))) ))) ;) (if_statement "if (*di->n != '_') {\n      return 0;\n    }" if (parenthesized_expression "(*di->n != '_')" ( (binary_expression "*di->n != '_'" (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier)) != (char_literal "'_'" ' character ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "di->n = di->n + 1;" (assignment_expression "di->n = di->n + 1" (field_expression "di->n" identifier -> field_identifier) = (binary_expression "di->n + 1" (field_expression "di->n" identifier -> field_identifier) + number_literal)) ;) (expression_statement "d_number((d_info *)&di->n);" (call_expression "d_number((d_info *)&di->n)" identifier (argument_list "((d_info *)&di->n)" ( (cast_expression "(d_info *)&di->n" ( (type_descriptor "d_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&di->n" & (field_expression "di->n" identifier -> field_identifier))) ))) ;) }))) (if_statement "if (*di->n != '_') {\n    return 0;\n  }" if (parenthesized_expression "(*di->n != '_')" ( (binary_expression "*di->n != '_'" (pointer_expression "*di->n" * (field_expression "di->n" identifier -> field_identifier)) != (char_literal "'_'" ' character ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "di->n = di->n + 1;" (assignment_expression "di->n = di->n + 1" (field_expression "di->n" identifier -> field_identifier) = (binary_expression "di->n + 1" (field_expression "di->n" identifier -> field_identifier) + number_literal)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0016e640(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar1 = *(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) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 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 "pcVar1 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = (int)*pcVar1;" (assignment_expression "param_2 = (int)*pcVar1" identifier = (cast_expression "(int)*pcVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar1" * identifier))) ;) })) (if_statement "if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" if (parenthesized_expression "(param_2 == 0x68)" ( (binary_expression "param_2 == 0x68" identifier == number_literal) )) (compound_statement "{\n    FUN_0016e0c0();\n  }" { (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" else (compound_statement "{\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" { (if_statement "if (param_2 != 0x76) {\n      return 0;\n    }" if (parenthesized_expression "(param_2 != 0x76)" ( (binary_expression "param_2 != 0x76" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" ( (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" ' 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)) ;) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }" if (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" ( (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" ' 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)) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (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)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0016e640(int param_1,int param_2)\n\n{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0016e640(int param_1,int param_2)" (identifier "FUN_0016e640") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }\n  if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }\n  if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }\n  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n  return 1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (if_statement "if (param_2 == 0) {\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0xc);\n    if (*pcVar1 == '\0') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = pcVar1 + 1;\n    param_2 = (int)*pcVar1;\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(param_1 + 0xc);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0xc)" (identifier "pcVar1") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (*pcVar1 == '\0') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*pcVar1 == '\0')" (( "(") (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*(char **)(param_1 + 0xc) = pcVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0xc) = pcVar1 + 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 "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_2 = (int)*pcVar1;" (assignment_expression "param_2 = (int)*pcVar1" (identifier "param_2") (= "=") (cast_expression "(int)*pcVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0x68) {\n    FUN_0016e0c0();\n  }\n  else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" (if "if") (parenthesized_expression "(param_2 == 0x68)" (( "(") (binary_expression "param_2 == 0x68" (identifier "param_2") (== "==") (number_literal "0x68")) () ")")) (compound_statement "{\n    FUN_0016e0c0();\n  }" ({ "{") (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" (identifier "FUN_0016e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" (else "else") (compound_statement "{\n    if (param_2 != 0x76) {\n      return 0;\n    }\n    FUN_0016e0c0();\n    if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }\n    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;\n    FUN_0016e0c0();\n  }" ({ "{") (if_statement "if (param_2 != 0x76) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2 != 0x76)" (( "(") (binary_expression "param_2 != 0x76" (identifier "param_2") (!= "!=") (number_literal "0x76")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" (identifier "FUN_0016e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" (( "(") (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" (' "'") (character "_") (' "'"))) () ")")) (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"))) (; ";")) (expression_statement "FUN_0016e0c0();" (call_expression "FUN_0016e0c0()" (identifier "FUN_0016e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (**(char **)(param_1 + 0xc) != '_') {\n    return 0;\n  }" (if "if") (parenthesized_expression "(**(char **)(param_1 + 0xc) != '_')" (( "(") (binary_expression "**(char **)(param_1 + 0xc) != '_'" (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 "'_'" (' "'") (character "_") (' "'"))) () ")")) (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"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

int __regparm3 function_1(type_1 *di,int var_1)

{
  char *var_2;
  
  if (var_1 == 0) {
    var_2 = di->n;
    if (*var_2 == '\0') {
      return 0;
    }
    di->n = var_2 + 1;
    var_1 = (int)*var_2;
  }
  if (var_1 == 0x68) {
    var_3((type_1 *)&di->n);
  }
  else {
    if (var_1 != 0x76) {
      return 0;
    }
    var_3((type_1 *)&di->n);
    if (*di->n != '_') {
      return 0;
    }
    di->n = di->n + 1;
    var_3((type_1 *)&di->n);
  }
  if (*di->n != '_') {
    return 0;
  }
  di->n = di->n + 1;
  return 1;
}


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

undefined4 __regparm3 MASKED(int param_1,int param_2)

{
  char *pcVar1;
  
  if (param_2 == 0) {
    pcVar1 = *(char **)(param_1 + 0xc);
    if (*pcVar1 == '\0') {
      return 0;
    }
    *(char **)(param_1 + 0xc) = pcVar1 + 1;
    param_2 = (int)*pcVar1;
  }
  if (param_2 == 0x68) {
    FUN_0016e0c0();
  }
  else {
    if (param_2 != 0x76) {
      return 0;
    }
    FUN_0016e0c0();
    if (**(char **)(param_1 + 0xc) != '_') {
      return 0;
    }
    *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
    FUN_0016e0c0();
  }
  if (**(char **)(param_1 + 0xc) != '_') {
    return 0;
  }
  *(char **)(param_1 + 0xc) = *(char **)(param_1 + 0xc) + 1;
  return 1;
}

