
/* WARNING: Unknown calling convention */

char * nextword(char **s)

{
  char *pcVar1;
  char *pcVar2;
  
  pcVar1 = *s;
  do {
    pcVar2 = *s;
    *s = pcVar2 + 1;
  } while (*pcVar2 != '\0');
  return pcVar1;
}



long FUN_00186026(long *param_1)

{
  long lVar1;
  char *pcVar2;
  
  lVar1 = *param_1;
  do {
    pcVar2 = (char *)*param_1;
    *param_1 = (long)(pcVar2 + 1);
  } while (*pcVar2 != '\0');
  return lVar1;
}


MOV RAX,qword ptr [RDI]
MOV RDX,qword ptr [RDI]
LEA RCX,[RDX + 0x1]
MOV qword ptr [RDI],RCX
CMP byte ptr [RDX],0x0
JNZ 0x00186029
RET
(translation_unit "long FUN_00186026(long *param_1)\n\n{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}\n\n" (function_definition "long FUN_00186026(long *param_1)\n\n{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00186026(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');" do (compound_statement "{\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  }" { (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "*param_1 = (long)(pcVar2 + 1);" (assignment_expression "*param_1 = (long)(pcVar2 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(pcVar2 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar2 + 1)" ( (binary_expression "pcVar2 + 1" identifier + number_literal) )))) ;) }) while (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nchar * nextword(char **s)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = *s;\n  do {\n    pcVar2 = *s;\n    *s = pcVar2 + 1;\n  } while (*pcVar2 != '\0');\n  return pcVar1;\n}\n\n" comment (function_definition "char * nextword(char **s)\n\n{\n  char *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = *s;\n  do {\n    pcVar2 = *s;\n    *s = pcVar2 + 1;\n  } while (*pcVar2 != '\0');\n  return pcVar1;\n}" primitive_type (pointer_declarator "* nextword(char **s)" * (function_declarator "nextword(char **s)" identifier (parameter_list "(char **s)" ( (parameter_declaration "char **s" primitive_type (pointer_declarator "**s" * (pointer_declarator "*s" * identifier))) )))) (compound_statement "{\n  char *pcVar1;\n  char *pcVar2;\n  \n  pcVar1 = *s;\n  do {\n    pcVar2 = *s;\n    *s = pcVar2 + 1;\n  } while (*pcVar2 != '\0');\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar1 = *s;" (assignment_expression "pcVar1 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (do_statement "do {\n    pcVar2 = *s;\n    *s = pcVar2 + 1;\n  } while (*pcVar2 != '\0');" do (compound_statement "{\n    pcVar2 = *s;\n    *s = pcVar2 + 1;\n  }" { (expression_statement "pcVar2 = *s;" (assignment_expression "pcVar2 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (expression_statement "*s = pcVar2 + 1;" (assignment_expression "*s = pcVar2 + 1" (pointer_expression "*s" * identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "long FUN_00186026(long *param_1)\n\n{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}\n\n" (function_definition "long FUN_00186026(long *param_1)\n\n{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_00186026(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (do_statement "do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');" do (compound_statement "{\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  }" { (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "*param_1 = (long)(pcVar2 + 1);" (assignment_expression "*param_1 = (long)(pcVar2 + 1)" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)(pcVar2 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar2 + 1)" ( (binary_expression "pcVar2 + 1" identifier + number_literal) )))) ;) }) while (parenthesized_expression "(*pcVar2 != '\0')" ( (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) (return_statement return IDENT ;) })))
(function_definition "long FUN_00186026(long *param_1)\n\n{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_00186026(long *param_1)" (identifier "FUN_00186026") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  char *pcVar2;\n  \n  lVar1 = *param_1;\n  do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');\n  return lVar1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "lVar1 = *param_1;" (assignment_expression "lVar1 = *param_1" (identifier "lVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (do_statement "do {\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  } while (*pcVar2 != '\0');" (do "do") (compound_statement "{\n    pcVar2 = (char *)*param_1;\n    *param_1 = (long)(pcVar2 + 1);\n  }" ({ "{") (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" (identifier "pcVar2") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "*param_1 = (long)(pcVar2 + 1);" (assignment_expression "*param_1 = (long)(pcVar2 + 1)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)(pcVar2 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(pcVar2 + 1)" (( "(") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pcVar2 != '\0')" (( "(") (binary_expression "*pcVar2 != '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (return_statement "return lVar1;" (return "return") (identifier "lVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

char * function_1(char **s)

{
  char *pcVar1;
  char *var_1;
  
  pcVar1 = *s;
  do {
    var_1 = *s;
    *s = var_1 + 1;
  } while (*var_1 != '\0');
  return pcVar1;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))))) (return_statement (identifier)))))

long MASKED(long *param_1)

{
  long lVar1;
  char *pcVar2;
  
  lVar1 = *param_1;
  do {
    pcVar2 = (char *)*param_1;
    *param_1 = (long)(pcVar2 + 1);
  } while (*pcVar2 != '\0');
  return lVar1;
}

