
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool skip_line_comment(Lex * this, char * * pp) */

bool __thiscall gold::Lex::skip_line_comment(Lex *this,char **pp)

{
  char *__s;
  size_t sVar1;
  
  __s = *pp;
  sVar1 = strcspn(__s,"\n");
  if (__s[sVar1] != '\0') {
    this->lineno_ = this->lineno_ + 1;
    this->linestart_ = __s + sVar1 + 1;
    *pp = __s + sVar1 + 1;
    return true;
  }
  *pp = __s + sVar1;
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00168f90(int param_1,int *param_2)

{
  char *__s;
  size_t sVar1;
  
  __s = (char *)*param_2;
  sVar1 = strcspn(__s,"\n");
  if (__s[sVar1] != '\0') {
    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;
    *param_2 = (int)(__s + sVar1 + 1);
    return 1;
  }
  *param_2 = (int)(__s + sVar1);
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x226067
SUB ESP,0x14
MOV EDI,dword ptr [ESP + 0x2c]
MOV EBP,dword ptr [ESP + 0x28]
MOV ESI,dword ptr [EDI]
LEA EAX,[EBX + 0xfff0edf5]
PUSH EAX
PUSH ESI
CALL 0x00029a70
ADD ESP,0x10
LEA EDX,[ESI + EAX*0x1]
CMP byte ptr [EDX],0x0
JZ 0x00168fe0
LEA EAX,[ESI + EAX*0x1 + 0x1]
ADD dword ptr [EBP + 0x2c],0x1
MOV dword ptr [EBP + 0x30],EAX
MOV dword ptr [EDI],EAX
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EDI],EDX
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00168f90(int param_1,int *param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00168f90(int param_1,int *param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00168f90(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "__s = (char *)*param_2;" (assignment_expression "__s = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "sVar1 = strcspn(__s,"\n");" (assignment_expression "sVar1 = strcspn(__s,"\n")" identifier = (call_expression "strcspn(__s,"\n")" identifier (argument_list "(__s,"\n")" ( identifier , (string_literal ""\n"" " escape_sequence ") )))) ;) (if_statement "if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" if (parenthesized_expression "(__s[sVar1] != '\0')" ( (binary_expression "__s[sVar1] != '\0'" (subscript_expression "__s[sVar1]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" { (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(char **)(param_1 + 0x30) = __s + sVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0x30) = __s + sVar1 + 1" (pointer_expression "*(char **)(param_1 + 0x30)" * (cast_expression "(char **)(param_1 + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal)) ;) (expression_statement "*param_2 = (int)(__s + sVar1 + 1);" (assignment_expression "*param_2 = (int)(__s + sVar1 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(__s + sVar1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__s + sVar1 + 1)" ( (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal) )))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_2 = (int)(__s + sVar1);" (assignment_expression "*param_2 = (int)(__s + sVar1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(__s + sVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__s + sVar1)" ( (binary_expression "__s + sVar1" identifier + identifier) )))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool skip_line_comment(Lex * this, char * * pp) */\n\nbool __thiscall gold::Lex::skip_line_comment(Lex *this,char **pp)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = *pp;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    this->lineno_ = this->lineno_ + 1;\n    this->linestart_ = __s + sVar1 + 1;\n    *pp = __s + sVar1 + 1;\n    return true;\n  }\n  *pp = __s + sVar1;\n  return false;\n}\n\n" comment comment (function_definition "bool __thiscall gold::Lex::skip_line_comment(Lex *this,char **pp)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = *pp;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    this->lineno_ = this->lineno_ + 1;\n    this->linestart_ = __s + sVar1 + 1;\n    *pp = __s + sVar1 + 1;\n    return true;\n  }\n  *pp = __s + sVar1;\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Lex::" identifier : : identifier : :) (function_declarator "skip_line_comment(Lex *this,char **pp)" identifier (parameter_list "(Lex *this,char **pp)" ( (parameter_declaration "Lex *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char **pp" primitive_type (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier))) ))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  \n  __s = *pp;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    this->lineno_ = this->lineno_ + 1;\n    this->linestart_ = __s + sVar1 + 1;\n    *pp = __s + sVar1 + 1;\n    return true;\n  }\n  *pp = __s + sVar1;\n  return false;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "__s = *pp;" (assignment_expression "__s = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "sVar1 = strcspn(__s,"\n");" (assignment_expression "sVar1 = strcspn(__s,"\n")" identifier = (call_expression "strcspn(__s,"\n")" identifier (argument_list "(__s,"\n")" ( identifier , (string_literal ""\n"" " escape_sequence ") )))) ;) (if_statement "if (__s[sVar1] != '\0') {\n    this->lineno_ = this->lineno_ + 1;\n    this->linestart_ = __s + sVar1 + 1;\n    *pp = __s + sVar1 + 1;\n    return true;\n  }" if (parenthesized_expression "(__s[sVar1] != '\0')" ( (binary_expression "__s[sVar1] != '\0'" (subscript_expression "__s[sVar1]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    this->lineno_ = this->lineno_ + 1;\n    this->linestart_ = __s + sVar1 + 1;\n    *pp = __s + sVar1 + 1;\n    return true;\n  }" { (expression_statement "this->lineno_ = this->lineno_ + 1;" (assignment_expression "this->lineno_ = this->lineno_ + 1" (field_expression "this->lineno_" identifier -> field_identifier) = (binary_expression "this->lineno_ + 1" (field_expression "this->lineno_" identifier -> field_identifier) + number_literal)) ;) (expression_statement "this->linestart_ = __s + sVar1 + 1;" (assignment_expression "this->linestart_ = __s + sVar1 + 1" (field_expression "this->linestart_" identifier -> field_identifier) = (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal)) ;) (expression_statement "*pp = __s + sVar1 + 1;" (assignment_expression "*pp = __s + sVar1 + 1" (pointer_expression "*pp" * identifier) = (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal)) ;) (return_statement "return true;" return true ;) })) (expression_statement "*pp = __s + sVar1;" (assignment_expression "*pp = __s + sVar1" (pointer_expression "*pp" * identifier) = (binary_expression "__s + sVar1" identifier + identifier)) ;) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_00168f90(int param_1,int *param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00168f90(int param_1,int *param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00168f90(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "__s = (char *)*param_2;" (assignment_expression "__s = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "sVar1 = strcspn(__s,"\n");" (assignment_expression "sVar1 = strcspn(__s,"\n")" identifier = (call_expression "strcspn(__s,"\n")" identifier (argument_list "(__s,"\n")" ( identifier , (string_literal ""\n"" " escape_sequence ") )))) ;) (if_statement "if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" if (parenthesized_expression "(__s[sVar1] != '\0')" ( (binary_expression "__s[sVar1] != '\0'" (subscript_expression "__s[sVar1]" identifier [ identifier ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" { (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(char **)(param_1 + 0x30) = __s + sVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0x30) = __s + sVar1 + 1" (pointer_expression "*(char **)(param_1 + 0x30)" * (cast_expression "(char **)(param_1 + 0x30)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) = (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal)) ;) (expression_statement "*param_2 = (int)(__s + sVar1 + 1);" (assignment_expression "*param_2 = (int)(__s + sVar1 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(__s + sVar1 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__s + sVar1 + 1)" ( (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" identifier + identifier) + number_literal) )))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "*param_2 = (int)(__s + sVar1);" (assignment_expression "*param_2 = (int)(__s + sVar1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(int)(__s + sVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__s + sVar1)" ( (binary_expression "__s + sVar1" identifier + identifier) )))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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 (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00168f90(int param_1,int *param_2)\n\n{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00168f90(int param_1,int *param_2)" (identifier "FUN_00168f90") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *__s;\n  size_t sVar1;\n  \n  __s = (char *)*param_2;\n  sVar1 = strcspn(__s,"\n");\n  if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }\n  *param_2 = (int)(__s + sVar1);\n  return 0;\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "size_t sVar1;" (primitive_type "size_t") (identifier "sVar1") (; ";")) (expression_statement "__s = (char *)*param_2;" (assignment_expression "__s = (char *)*param_2" (identifier "__s") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "sVar1 = strcspn(__s,"\n");" (assignment_expression "sVar1 = strcspn(__s,"\n")" (identifier "sVar1") (= "=") (call_expression "strcspn(__s,"\n")" (identifier "strcspn") (argument_list "(__s,"\n")" (( "(") (identifier "__s") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) () ")")))) (; ";")) (if_statement "if (__s[sVar1] != '\0') {\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" (if "if") (parenthesized_expression "(__s[sVar1] != '\0')" (( "(") (binary_expression "__s[sVar1] != '\0'" (subscript_expression "__s[sVar1]" (identifier "__s") ([ "[") (identifier "sVar1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;\n    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;\n    *param_2 = (int)(__s + sVar1 + 1);\n    return 1;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;" (assignment_expression "*(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x2c) + 1" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(char **)(param_1 + 0x30) = __s + sVar1 + 1;" (assignment_expression "*(char **)(param_1 + 0x30) = __s + sVar1 + 1" (pointer_expression "*(char **)(param_1 + 0x30)" (* "*") (cast_expression "(char **)(param_1 + 0x30)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" (identifier "__s") (+ "+") (identifier "sVar1")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_2 = (int)(__s + sVar1 + 1);" (assignment_expression "*param_2 = (int)(__s + sVar1 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)(__s + sVar1 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(__s + sVar1 + 1)" (( "(") (binary_expression "__s + sVar1 + 1" (binary_expression "__s + sVar1" (identifier "__s") (+ "+") (identifier "sVar1")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "*param_2 = (int)(__s + sVar1);" (assignment_expression "*param_2 = (int)(__s + sVar1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(int)(__s + sVar1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(__s + sVar1)" (( "(") (binary_expression "__s + sVar1" (identifier "__s") (+ "+") (identifier "sVar1")) () ")")))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool skip_line_comment(Lex * this, char * * pp) */

bool __thiscall gold::type_1::function_1(type_1 *this,char **pp)

{
  char *var_2;
  size_t var_3;
  
  var_2 = *pp;
  var_3 = var_1(var_2,"\n");
  if (var_2[var_3] != '\0') {
    this->lineno_ = this->lineno_ + 1;
    this->linestart_ = var_2 + var_3 + 1;
    *pp = var_2 + var_3 + 1;
    return true;
  }
  *pp = var_2 + var_3;
  return false;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1,int *param_2)

{
  char *__s;
  size_t sVar1;
  
  __s = (char *)*param_2;
  sVar1 = strcspn(__s,"\n");
  if (__s[sVar1] != '\0') {
    *(int *)(param_1 + 0x2c) = *(int *)(param_1 + 0x2c) + 1;
    *(char **)(param_1 + 0x30) = __s + sVar1 + 1;
    *param_2 = (int)(__s + sVar1 + 1);
    return 1;
  }
  *param_2 = (int)(__s + sVar1);
  return 0;
}

