
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

char * mri_comment_field(char *stopcp)

{
  char *pcVar1;
  byte *pbVar2;
  
  pcVar1 = input_line_pointer;
  pbVar2 = (byte *)input_line_pointer;
  if (is_end_of_line[(byte)*input_line_pointer] != '\0') {
    *stopcp = *input_line_pointer;
    *pcVar1 = '\0';
    return pcVar1;
  }
  do {
    pbVar2 = pbVar2 + 1;
  } while (is_end_of_line[*pbVar2] == '\0');
  *stopcp = *pbVar2;
  *pbVar2 = 0;
  return (char *)pbVar2;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void FUN_0002c630(byte *param_1)

{
  byte *pbVar1;
  
  pbVar1 = DAT_000848f0;
  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {
    *param_1 = *DAT_000848f0;
    *pbVar1 = 0;
    return;
  }
  do {
    pbVar1 = pbVar1 + 1;
  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');
  *param_1 = *pbVar1;
  *pbVar1 = 0;
  return;
}


CALL 0x00019a15
ADD ECX,0x4e9cb
PUSH EBX
LEA EAX,[ECX + 0x98f0]
MOV EAX,dword ptr [EAX]
MOVZX EBX,byte ptr [EAX]
CMP byte ptr [ECX + EBX*0x1 + 0x2c0],0x0
JNZ 0x0002c680
LEA EBX,[ECX + 0x2c0]
LEA ESI,[ESI]
NOP
ADD EAX,0x1
MOVZX ECX,byte ptr [EAX]
CMP byte ptr [EBX + ECX*0x1],0x0
MOV EDX,ECX
JZ 0x0002c660
MOV ECX,dword ptr [ESP + 0x8]
MOV byte ptr [ECX],DL
MOV byte ptr [EAX],0x0
POP EBX
RET
MOV ECX,dword ptr [ESP + 0x8]
MOV EDX,EBX
MOV byte ptr [ECX],DL
MOV byte ptr [EAX],0x0
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid FUN_0002c630(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_0002c630(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0002c630(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "pbVar1 = DAT_000848f0;" (assignment_expression "pbVar1 = DAT_000848f0" identifier = identifier) ;) (if_statement "if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" if (parenthesized_expression "((&DAT_0007b2c0)[*DAT_000848f0] != '\0')" ( (binary_expression "(&DAT_0007b2c0)[*DAT_000848f0] != '\0'" (subscript_expression "(&DAT_0007b2c0)[*DAT_000848f0]" (parenthesized_expression "(&DAT_0007b2c0)" ( (pointer_expression "&DAT_0007b2c0" & identifier) )) [ (pointer_expression "*DAT_000848f0" * identifier) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" { (expression_statement "*param_1 = *DAT_000848f0;" (assignment_expression "*param_1 = *DAT_000848f0" (pointer_expression "*param_1" * identifier) = (pointer_expression "*DAT_000848f0" * identifier)) ;) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (do_statement "do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');" do (compound_statement "{\n    pbVar1 = pbVar1 + 1;\n  }" { (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((&DAT_0007b2c0)[*pbVar1] == '\0')" ( (binary_expression "(&DAT_0007b2c0)[*pbVar1] == '\0'" (subscript_expression "(&DAT_0007b2c0)[*pbVar1]" (parenthesized_expression "(&DAT_0007b2c0)" ( (pointer_expression "&DAT_0007b2c0" & identifier) )) [ (pointer_expression "*pbVar1" * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*param_1 = *pbVar1;" (assignment_expression "*param_1 = *pbVar1" (pointer_expression "*param_1" * identifier) = (pointer_expression "*pbVar1" * identifier)) ;) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Unknown calling convention */\n\nchar * mri_comment_field(char *stopcp)\n\n{\n  char *pcVar1;\n  byte *pbVar2;\n  \n  pcVar1 = input_line_pointer;\n  pbVar2 = (byte *)input_line_pointer;\n  if (is_end_of_line[(byte)*input_line_pointer] != '\0') {\n    *stopcp = *input_line_pointer;\n    *pcVar1 = '\0';\n    return pcVar1;\n  }\n  do {\n    pbVar2 = pbVar2 + 1;\n  } while (is_end_of_line[*pbVar2] == '\0');\n  *stopcp = *pbVar2;\n  *pbVar2 = 0;\n  return (char *)pbVar2;\n}\n\n" comment comment (function_definition "char * mri_comment_field(char *stopcp)\n\n{\n  char *pcVar1;\n  byte *pbVar2;\n  \n  pcVar1 = input_line_pointer;\n  pbVar2 = (byte *)input_line_pointer;\n  if (is_end_of_line[(byte)*input_line_pointer] != '\0') {\n    *stopcp = *input_line_pointer;\n    *pcVar1 = '\0';\n    return pcVar1;\n  }\n  do {\n    pbVar2 = pbVar2 + 1;\n  } while (is_end_of_line[*pbVar2] == '\0');\n  *stopcp = *pbVar2;\n  *pbVar2 = 0;\n  return (char *)pbVar2;\n}" primitive_type (pointer_declarator "* mri_comment_field(char *stopcp)" * (function_declarator "mri_comment_field(char *stopcp)" identifier (parameter_list "(char *stopcp)" ( (parameter_declaration "char *stopcp" primitive_type (pointer_declarator "*stopcp" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  byte *pbVar2;\n  \n  pcVar1 = input_line_pointer;\n  pbVar2 = (byte *)input_line_pointer;\n  if (is_end_of_line[(byte)*input_line_pointer] != '\0') {\n    *stopcp = *input_line_pointer;\n    *pcVar1 = '\0';\n    return pcVar1;\n  }\n  do {\n    pbVar2 = pbVar2 + 1;\n  } while (is_end_of_line[*pbVar2] == '\0');\n  *stopcp = *pbVar2;\n  *pbVar2 = 0;\n  return (char *)pbVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (expression_statement "pcVar1 = input_line_pointer;" (assignment_expression "pcVar1 = input_line_pointer" identifier = identifier) ;) (expression_statement "pbVar2 = (byte *)input_line_pointer;" (assignment_expression "pbVar2 = (byte *)input_line_pointer" identifier = (cast_expression "(byte *)input_line_pointer" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (is_end_of_line[(byte)*input_line_pointer] != '\0') {\n    *stopcp = *input_line_pointer;\n    *pcVar1 = '\0';\n    return pcVar1;\n  }" if (parenthesized_expression "(is_end_of_line[(byte)*input_line_pointer] != '\0')" ( (binary_expression "is_end_of_line[(byte)*input_line_pointer] != '\0'" (subscript_expression "is_end_of_line[(byte)*input_line_pointer]" identifier [ (binary_expression "(byte)*input_line_pointer" (parenthesized_expression "(byte)" ( identifier )) * identifier) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *stopcp = *input_line_pointer;\n    *pcVar1 = '\0';\n    return pcVar1;\n  }" { (expression_statement "*stopcp = *input_line_pointer;" (assignment_expression "*stopcp = *input_line_pointer" (pointer_expression "*stopcp" * identifier) = (pointer_expression "*input_line_pointer" * identifier)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return pcVar1;" return identifier ;) })) (do_statement "do {\n    pbVar2 = pbVar2 + 1;\n  } while (is_end_of_line[*pbVar2] == '\0');" do (compound_statement "{\n    pbVar2 = pbVar2 + 1;\n  }" { (expression_statement "pbVar2 = pbVar2 + 1;" (assignment_expression "pbVar2 = pbVar2 + 1" identifier = (binary_expression "pbVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(is_end_of_line[*pbVar2] == '\0')" ( (binary_expression "is_end_of_line[*pbVar2] == '\0'" (subscript_expression "is_end_of_line[*pbVar2]" identifier [ (pointer_expression "*pbVar2" * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*stopcp = *pbVar2;" (assignment_expression "*stopcp = *pbVar2" (pointer_expression "*stopcp" * identifier) = (pointer_expression "*pbVar2" * identifier)) ;) (expression_statement "*pbVar2 = 0;" (assignment_expression "*pbVar2 = 0" (pointer_expression "*pbVar2" * identifier) = number_literal) ;) (return_statement "return (char *)pbVar2;" return (cast_expression "(char *)pbVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "void FUN_0002c630(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}\n\n" (function_definition "void FUN_0002c630(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0002c630(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "pbVar1 = DAT_000848f0;" (assignment_expression "pbVar1 = DAT_000848f0" identifier = identifier) ;) (if_statement "if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" if (parenthesized_expression "((&DAT_0007b2c0)[*DAT_000848f0] != '\0')" ( (binary_expression "(&DAT_0007b2c0)[*DAT_000848f0] != '\0'" (subscript_expression "(&DAT_0007b2c0)[*DAT_000848f0]" (parenthesized_expression "(&DAT_0007b2c0)" ( (pointer_expression "&DAT_0007b2c0" & identifier) )) [ (pointer_expression "*DAT_000848f0" * identifier) ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" { (expression_statement "*param_1 = *DAT_000848f0;" (assignment_expression "*param_1 = *DAT_000848f0" (pointer_expression "*param_1" * identifier) = (pointer_expression "*DAT_000848f0" * identifier)) ;) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) (do_statement "do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');" do (compound_statement "{\n    pbVar1 = pbVar1 + 1;\n  }" { (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" identifier = (binary_expression "pbVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((&DAT_0007b2c0)[*pbVar1] == '\0')" ( (binary_expression "(&DAT_0007b2c0)[*pbVar1] == '\0'" (subscript_expression "(&DAT_0007b2c0)[*pbVar1]" (parenthesized_expression "(&DAT_0007b2c0)" ( (pointer_expression "&DAT_0007b2c0" & identifier) )) [ (pointer_expression "*pbVar1" * identifier) ]) == (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "*param_1 = *pbVar1;" (assignment_expression "*param_1 = *pbVar1" (pointer_expression "*param_1" * identifier) = (pointer_expression "*pbVar1" * identifier)) ;) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]) == (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0002c630(byte *param_1)\n\n{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002c630(byte *param_1)" (identifier "FUN_0002c630") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  \n  pbVar1 = DAT_000848f0;\n  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }\n  do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');\n  *param_1 = *pbVar1;\n  *pbVar1 = 0;\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (expression_statement "pbVar1 = DAT_000848f0;" (assignment_expression "pbVar1 = DAT_000848f0" (identifier "pbVar1") (= "=") (identifier "DAT_000848f0")) (; ";")) (if_statement "if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" (if "if") (parenthesized_expression "((&DAT_0007b2c0)[*DAT_000848f0] != '\0')" (( "(") (binary_expression "(&DAT_0007b2c0)[*DAT_000848f0] != '\0'" (subscript_expression "(&DAT_0007b2c0)[*DAT_000848f0]" (parenthesized_expression "(&DAT_0007b2c0)" (( "(") (pointer_expression "&DAT_0007b2c0" (& "&") (identifier "DAT_0007b2c0")) () ")")) ([ "[") (pointer_expression "*DAT_000848f0" (* "*") (identifier "DAT_000848f0")) (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *param_1 = *DAT_000848f0;\n    *pbVar1 = 0;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *DAT_000848f0;" (assignment_expression "*param_1 = *DAT_000848f0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*DAT_000848f0" (* "*") (identifier "DAT_000848f0"))) (; ";")) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    pbVar1 = pbVar1 + 1;\n  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');" (do "do") (compound_statement "{\n    pbVar1 = pbVar1 + 1;\n  }" ({ "{") (expression_statement "pbVar1 = pbVar1 + 1;" (assignment_expression "pbVar1 = pbVar1 + 1" (identifier "pbVar1") (= "=") (binary_expression "pbVar1 + 1" (identifier "pbVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((&DAT_0007b2c0)[*pbVar1] == '\0')" (( "(") (binary_expression "(&DAT_0007b2c0)[*pbVar1] == '\0'" (subscript_expression "(&DAT_0007b2c0)[*pbVar1]" (parenthesized_expression "(&DAT_0007b2c0)" (( "(") (pointer_expression "&DAT_0007b2c0" (& "&") (identifier "DAT_0007b2c0")) () ")")) ([ "[") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "*param_1 = *pbVar1;" (assignment_expression "*param_1 = *pbVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1"))) (; ";")) (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

char * function_1(char *stopcp)

{
  char *pcVar1;
  type_1 *var_2;
  
  pcVar1 = var_1;
  var_2 = (type_1 *)var_1;
  if (is_end_of_line[(type_1)*var_1] != '\0') {
    *stopcp = *var_1;
    *pcVar1 = '\0';
    return pcVar1;
  }
  do {
    var_2 = var_2 + 1;
  } while (is_end_of_line[*var_2] == '\0');
  *stopcp = *var_2;
  *var_2 = 0;
  return (char *)var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (pointer_expression argument: (identifier))) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void MASKED(byte *param_1)

{
  byte *pbVar1;
  
  pbVar1 = DAT_000848f0;
  if ((&DAT_0007b2c0)[*DAT_000848f0] != '\0') {
    *param_1 = *DAT_000848f0;
    *pbVar1 = 0;
    return;
  }
  do {
    pbVar1 = pbVar1 + 1;
  } while ((&DAT_0007b2c0)[*pbVar1] == '\0');
  *param_1 = *pbVar1;
  *pbVar1 = 0;
  return;
}

