
/* DWARF original prototype: Token gather_quoted_string(Lex * this, char * * pp) */

Token * __thiscall
gold::Lex::gather_quoted_string(Token *__return_storage_ptr__,Lex *this,char **pp)

{
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  size_t sVar4;
  
  pcVar2 = *pp;
  sVar4 = strcspn(pcVar2 + 1,"\"\n");
  iVar1 = this->lineno_;
  if (pcVar2[sVar4 + 1] != '\"') {
    pcVar3 = this->linestart_;
    __return_storage_ptr__->classification_ = TOKEN_INVALID;
    __return_storage_ptr__->value_ = (char *)0x0;
    __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;
    __return_storage_ptr__->value_length_ = 0;
    __return_storage_ptr__->opcode_ = 0;
    __return_storage_ptr__->lineno_ = iVar1;
    return __return_storage_ptr__;
  }
  __return_storage_ptr__->value_ = pcVar2 + 1;
  *pp = pcVar2 + sVar4 + 2;
  pcVar3 = this->linestart_;
  __return_storage_ptr__->value_length_ = sVar4;
  __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;
  __return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING;
  __return_storage_ptr__->opcode_ = 0;
  __return_storage_ptr__->lineno_ = iVar1;
  return __return_storage_ptr__;
}



undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)

{
  undefined4 uVar1;
  long lVar2;
  undefined8 uVar3;
  size_t sVar4;
  
  lVar2 = *param_3;
  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");
  uVar1 = *(undefined4 *)(param_2 + 0x48);
  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {
    uVar3 = *(undefined8 *)(param_2 + 0x50);
    *param_1 = 0;
    *(undefined8 *)(param_1 + 2) = 0;
    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;
    *(undefined8 *)(param_1 + 4) = 0;
    param_1[6] = 0;
    param_1[7] = uVar1;
    return param_1;
  }
  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);
  *param_3 = lVar2 + 2 + sVar4;
  uVar3 = *(undefined8 *)(param_2 + 0x50);
  *(size_t *)(param_1 + 4) = sVar4;
  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;
  *param_1 = 3;
  param_1[6] = 0;
  param_1[7] = uVar1;
  return param_1;
}


PUSH R14
MOV R14,RDX
PUSH R13
PUSH R12
MOV R12,RSI
LEA RSI,[0x385231]
PUSH RBP
PUSH RBX
MOV RBP,qword ptr [RDX]
MOV RBX,RDI
LEA R13,[RBP + 0x1]
MOV RDI,R13
CALL 0x00147970
MOV EDX,dword ptr [R12 + 0x48]
CMP byte ptr [RBP + RAX*0x1 + 0x1],0x22
JZ 0x00263970
SUB RBP,qword ptr [R12 + 0x50]
MOV RAX,RBX
MOV dword ptr [RBX],0x0
ADD EBP,0x1
MOV qword ptr [RBX + 0x8],0x0
MOV dword ptr [RBX + 0x20],EBP
MOV qword ptr [RBX + 0x10],0x0
MOV dword ptr [RBX + 0x18],0x0
MOV dword ptr [RBX + 0x1c],EDX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
LEA RCX,[R13 + RAX*0x1 + 0x1]
MOV qword ptr [RBX + 0x8],R13
MOV qword ptr [R14],RCX
SUB RBP,qword ptr [R12 + 0x50]
ADD EBP,0x1
MOV qword ptr [RBX + 0x10],RAX
MOV RAX,RBX
MOV dword ptr [RBX + 0x20],EBP
MOV dword ptr [RBX],0x3
MOV dword ptr [RBX + 0x18],0x0
MOV dword ptr [RBX + 0x1c],EDX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
(translation_unit "undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" * (function_declarator "FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined4 *param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "lVar2 = *param_3;" (assignment_expression "lVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n")" identifier = (call_expression "strcspn((char *)(lVar2 + 1),"\"\n")" identifier (argument_list "((char *)(lVar2 + 1),"\"\n")" ( (cast_expression "(char *)(lVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1)" ( (binary_expression "lVar2 + 1" identifier + number_literal) ))) , (string_literal ""\"\n"" " escape_sequence escape_sequence ") )))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)(lVar2 + 1 + sVar4) != '\"')" ( (binary_expression "*(char *)(lVar2 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(lVar2 + 1 + sVar4)" * (cast_expression "(char *)(lVar2 + 1 + sVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + sVar4)" ( (binary_expression "lVar2 + 1 + sVar4" (binary_expression "lVar2 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" { (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x50)" * (cast_expression "(undefined8 *)(param_2 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" ( (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 4) = 0" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*(char **)(param_1 + 2) = (char *)(lVar2 + 1);" (assignment_expression "*(char **)(param_1 + 2) = (char *)(lVar2 + 1)" (pointer_expression "*(char **)(param_1 + 2)" * (cast_expression "(char **)(param_1 + 2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = (cast_expression "(char *)(lVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1)" ( (binary_expression "lVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_3 = lVar2 + 2 + sVar4;" (assignment_expression "*param_3 = lVar2 + 2 + sVar4" (pointer_expression "*param_3" * identifier) = (binary_expression "lVar2 + 2 + sVar4" (binary_expression "lVar2 + 2" identifier + number_literal) + identifier)) ;) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x50)" * (cast_expression "(undefined8 *)(param_2 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "*(size_t *)(param_1 + 4) = sVar4;" (assignment_expression "*(size_t *)(param_1 + 4) = sVar4" (pointer_expression "*(size_t *)(param_1 + 4)" * (cast_expression "(size_t *)(param_1 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" ( (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: Token gather_quoted_string(Lex * this, char * * pp) */\n\nToken * __thiscall\ngold::Lex::gather_quoted_string(Token *__return_storage_ptr__,Lex *this,char **pp)\n\n{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  pcVar2 = *pp;\n  sVar4 = strcspn(pcVar2 + 1,"\"\n");\n  iVar1 = this->lineno_;\n  if (pcVar2[sVar4 + 1] != '\"') {\n    pcVar3 = this->linestart_;\n    __return_storage_ptr__->classification_ = TOKEN_INVALID;\n    __return_storage_ptr__->value_ = (char *)0x0;\n    __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n    __return_storage_ptr__->value_length_ = 0;\n    __return_storage_ptr__->opcode_ = 0;\n    __return_storage_ptr__->lineno_ = iVar1;\n    return __return_storage_ptr__;\n  }\n  __return_storage_ptr__->value_ = pcVar2 + 1;\n  *pp = pcVar2 + sVar4 + 2;\n  pcVar3 = this->linestart_;\n  __return_storage_ptr__->value_length_ = sVar4;\n  __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n  __return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING;\n  __return_storage_ptr__->opcode_ = 0;\n  __return_storage_ptr__->lineno_ = iVar1;\n  return __return_storage_ptr__;\n}\n\n" comment (ERROR "Token * __thiscall\ngold::Lex::gather_quoted_string(Token *__return_storage_ptr__,Lex *this,char **pp)" (binary_expression "Token * __thiscall\ngold::Lex::gather_quoted_string(Token *__return_storage_ptr__" (binary_expression "Token * __thiscall" identifier * identifier) (ERROR "gold::Lex::gather_quoted_string(Token" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*this" * identifier) , (ERROR "char" identifier) (pointer_declarator "**pp" * (pointer_declarator "*pp" * identifier)) )) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  size_t sVar4;\n  \n  pcVar2 = *pp;\n  sVar4 = strcspn(pcVar2 + 1,"\"\n");\n  iVar1 = this->lineno_;\n  if (pcVar2[sVar4 + 1] != '\"') {\n    pcVar3 = this->linestart_;\n    __return_storage_ptr__->classification_ = TOKEN_INVALID;\n    __return_storage_ptr__->value_ = (char *)0x0;\n    __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n    __return_storage_ptr__->value_length_ = 0;\n    __return_storage_ptr__->opcode_ = 0;\n    __return_storage_ptr__->lineno_ = iVar1;\n    return __return_storage_ptr__;\n  }\n  __return_storage_ptr__->value_ = pcVar2 + 1;\n  *pp = pcVar2 + sVar4 + 2;\n  pcVar3 = this->linestart_;\n  __return_storage_ptr__->value_length_ = sVar4;\n  __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n  __return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING;\n  __return_storage_ptr__->opcode_ = 0;\n  __return_storage_ptr__->lineno_ = iVar1;\n  return __return_storage_ptr__;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "pcVar2 = *pp;" (assignment_expression "pcVar2 = *pp" identifier = (pointer_expression "*pp" * identifier)) ;) (expression_statement "sVar4 = strcspn(pcVar2 + 1,"\"\n");" (assignment_expression "sVar4 = strcspn(pcVar2 + 1,"\"\n")" identifier = (call_expression "strcspn(pcVar2 + 1,"\"\n")" identifier (argument_list "(pcVar2 + 1,"\"\n")" ( (binary_expression "pcVar2 + 1" identifier + number_literal) , (string_literal ""\"\n"" " escape_sequence escape_sequence ") )))) ;) (expression_statement "iVar1 = this->lineno_;" (assignment_expression "iVar1 = this->lineno_" identifier = (field_expression "this->lineno_" identifier -> field_identifier)) ;) (if_statement "if (pcVar2[sVar4 + 1] != '\"') {\n    pcVar3 = this->linestart_;\n    __return_storage_ptr__->classification_ = TOKEN_INVALID;\n    __return_storage_ptr__->value_ = (char *)0x0;\n    __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n    __return_storage_ptr__->value_length_ = 0;\n    __return_storage_ptr__->opcode_ = 0;\n    __return_storage_ptr__->lineno_ = iVar1;\n    return __return_storage_ptr__;\n  }" if (parenthesized_expression "(pcVar2[sVar4 + 1] != '\"')" ( (binary_expression "pcVar2[sVar4 + 1] != '\"'" (subscript_expression "pcVar2[sVar4 + 1]" identifier [ (binary_expression "sVar4 + 1" identifier + number_literal) ]) != (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar3 = this->linestart_;\n    __return_storage_ptr__->classification_ = TOKEN_INVALID;\n    __return_storage_ptr__->value_ = (char *)0x0;\n    __return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;\n    __return_storage_ptr__->value_length_ = 0;\n    __return_storage_ptr__->opcode_ = 0;\n    __return_storage_ptr__->lineno_ = iVar1;\n    return __return_storage_ptr__;\n  }" { (expression_statement "pcVar3 = this->linestart_;" (assignment_expression "pcVar3 = this->linestart_" identifier = (field_expression "this->linestart_" identifier -> field_identifier)) ;) (expression_statement "__return_storage_ptr__->classification_ = TOKEN_INVALID;" (assignment_expression "__return_storage_ptr__->classification_ = TOKEN_INVALID" (field_expression "__return_storage_ptr__->classification_" identifier -> field_identifier) = identifier) ;) (expression_statement "__return_storage_ptr__->value_ = (char *)0x0;" (assignment_expression "__return_storage_ptr__->value_ = (char *)0x0" (field_expression "__return_storage_ptr__->value_" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;" (assignment_expression "__return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1" (field_expression "__return_storage_ptr__->charpos_" identifier -> field_identifier) = (binary_expression "((int)pcVar2 - (int)pcVar3) + 1" (parenthesized_expression "((int)pcVar2 - (int)pcVar3)" ( (binary_expression "(int)pcVar2 - (int)pcVar3" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "__return_storage_ptr__->value_length_ = 0;" (assignment_expression "__return_storage_ptr__->value_length_ = 0" (field_expression "__return_storage_ptr__->value_length_" identifier -> field_identifier) = number_literal) ;) (expression_statement "__return_storage_ptr__->opcode_ = 0;" (assignment_expression "__return_storage_ptr__->opcode_ = 0" (field_expression "__return_storage_ptr__->opcode_" identifier -> field_identifier) = number_literal) ;) (expression_statement "__return_storage_ptr__->lineno_ = iVar1;" (assignment_expression "__return_storage_ptr__->lineno_ = iVar1" (field_expression "__return_storage_ptr__->lineno_" identifier -> field_identifier) = identifier) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) })) (expression_statement "__return_storage_ptr__->value_ = pcVar2 + 1;" (assignment_expression "__return_storage_ptr__->value_ = pcVar2 + 1" (field_expression "__return_storage_ptr__->value_" identifier -> field_identifier) = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*pp = pcVar2 + sVar4 + 2;" (assignment_expression "*pp = pcVar2 + sVar4 + 2" (pointer_expression "*pp" * identifier) = (binary_expression "pcVar2 + sVar4 + 2" (binary_expression "pcVar2 + sVar4" identifier + identifier) + number_literal)) ;) (expression_statement "pcVar3 = this->linestart_;" (assignment_expression "pcVar3 = this->linestart_" identifier = (field_expression "this->linestart_" identifier -> field_identifier)) ;) (expression_statement "__return_storage_ptr__->value_length_ = sVar4;" (assignment_expression "__return_storage_ptr__->value_length_ = sVar4" (field_expression "__return_storage_ptr__->value_length_" identifier -> field_identifier) = identifier) ;) (expression_statement "__return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1;" (assignment_expression "__return_storage_ptr__->charpos_ = ((int)pcVar2 - (int)pcVar3) + 1" (field_expression "__return_storage_ptr__->charpos_" identifier -> field_identifier) = (binary_expression "((int)pcVar2 - (int)pcVar3) + 1" (parenthesized_expression "((int)pcVar2 - (int)pcVar3)" ( (binary_expression "(int)pcVar2 - (int)pcVar3" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "__return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING;" (assignment_expression "__return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING" (field_expression "__return_storage_ptr__->classification_" identifier -> field_identifier) = identifier) ;) (expression_statement "__return_storage_ptr__->opcode_ = 0;" (assignment_expression "__return_storage_ptr__->opcode_ = 0" (field_expression "__return_storage_ptr__->opcode_" identifier -> field_identifier) = number_literal) ;) (expression_statement "__return_storage_ptr__->lineno_ = iVar1;" (assignment_expression "__return_storage_ptr__->lineno_ = iVar1" (field_expression "__return_storage_ptr__->lineno_" identifier -> field_identifier) = identifier) ;) (return_statement "return __return_storage_ptr__;" return identifier ;) }))
(translation_unit "undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" * (function_declarator "FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" identifier (parameter_list "(undefined4 *param_1,long param_2,long *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "lVar2 = *param_3;" (assignment_expression "lVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n")" identifier = (call_expression "strcspn((char *)(lVar2 + 1),"\"\n")" identifier (argument_list "((char *)(lVar2 + 1),"\"\n")" ( (cast_expression "(char *)(lVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1)" ( (binary_expression "lVar2 + 1" identifier + number_literal) ))) , (string_literal ""\"\n"" " escape_sequence escape_sequence ") )))) ;) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x48)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x48)" * (cast_expression "(undefined4 *)(param_2 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x48)" ( (binary_expression "param_2 + 0x48" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)(lVar2 + 1 + sVar4) != '\"')" ( (binary_expression "*(char *)(lVar2 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(lVar2 + 1 + sVar4)" * (cast_expression "(char *)(lVar2 + 1 + sVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + sVar4)" ( (binary_expression "lVar2 + 1 + sVar4" (binary_expression "lVar2 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" { (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x50)" * (cast_expression "(undefined8 *)(param_2 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" ( (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "*(undefined8 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 4) = 0" (pointer_expression "*(undefined8 *)(param_1 + 4)" * (cast_expression "(undefined8 *)(param_1 + 4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "*(char **)(param_1 + 2) = (char *)(lVar2 + 1);" (assignment_expression "*(char **)(param_1 + 2) = (char *)(lVar2 + 1)" (pointer_expression "*(char **)(param_1 + 2)" * (cast_expression "(char **)(param_1 + 2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = (cast_expression "(char *)(lVar2 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1)" ( (binary_expression "lVar2 + 1" identifier + number_literal) )))) ;) (expression_statement "*param_3 = lVar2 + 2 + sVar4;" (assignment_expression "*param_3 = lVar2 + 2 + sVar4" (pointer_expression "*param_3" * identifier) = (binary_expression "lVar2 + 2 + sVar4" (binary_expression "lVar2 + 2" identifier + number_literal) + identifier)) ;) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" identifier = (pointer_expression "*(undefined8 *)(param_2 + 0x50)" * (cast_expression "(undefined8 *)(param_2 + 0x50)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x50)" ( (binary_expression "param_2 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "*(size_t *)(param_1 + 4) = sVar4;" (assignment_expression "*(size_t *)(param_1 + 4) = sVar4" (pointer_expression "*(size_t *)(param_1 + 4)" * (cast_expression "(size_t *)(param_1 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" ( (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal)) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (string_literal " escape_sequence escape_sequence ") )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00263900(undefined4 *param_1,long param_2,long *param_3)\n\n{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" (* "*") (function_declarator "FUN_00263900(undefined4 *param_1,long param_2,long *param_3)" (identifier "FUN_00263900") (parameter_list "(undefined4 *param_1,long param_2,long *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  long lVar2;\n  undefined8 uVar3;\n  size_t sVar4;\n  \n  lVar2 = *param_3;\n  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");\n  uVar1 = *(undefined4 *)(param_2 + 0x48);\n  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }\n  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);\n  *param_3 = lVar2 + 2 + sVar4;\n  uVar3 = *(undefined8 *)(param_2 + 0x50);\n  *(size_t *)(param_1 + 4) = sVar4;\n  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n  *param_1 = 3;\n  param_1[6] = 0;\n  param_1[7] = uVar1;\n  return param_1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (expression_statement "lVar2 = *param_3;" (assignment_expression "lVar2 = *param_3" (identifier "lVar2") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(lVar2 + 1),"\"\n")" (identifier "sVar4") (= "=") (call_expression "strcspn((char *)(lVar2 + 1),"\"\n")" (identifier "strcspn") (argument_list "((char *)(lVar2 + 1),"\"\n")" (( "(") (cast_expression "(char *)(lVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1)" (( "(") (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""\"\n"" (" """) (escape_sequence "\"") (escape_sequence "\n") (" """)) () ")")))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_2 + 0x48);" (assignment_expression "uVar1 = *(undefined4 *)(param_2 + 0x48)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x48)" (( "(") (binary_expression "param_2 + 0x48" (identifier "param_2") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (if_statement "if (*(char *)(lVar2 + 1 + sVar4) != '\"') {\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(char *)(lVar2 + 1 + sVar4) != '\"')" (( "(") (binary_expression "*(char *)(lVar2 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(lVar2 + 1 + sVar4)" (* "*") (cast_expression "(char *)(lVar2 + 1 + sVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1 + sVar4)" (( "(") (binary_expression "lVar2 + 1 + sVar4" (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar4")) () ")")))) (!= "!=") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (compound_statement "{\n    uVar3 = *(undefined8 *)(param_2 + 0x50);\n    *param_1 = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;\n    *(undefined8 *)(param_1 + 4) = 0;\n    param_1[6] = 0;\n    param_1[7] = uVar1;\n    return param_1;\n  }" ({ "{") (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x50)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x50)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" (( "(") (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar2")) (- "-") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 4) = 0" (pointer_expression "*(undefined8 *)(param_1 + 4)" (* "*") (cast_expression "(undefined8 *)(param_1 + 4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "*(char **)(param_1 + 2) = (char *)(lVar2 + 1);" (assignment_expression "*(char **)(param_1 + 2) = (char *)(lVar2 + 1)" (pointer_expression "*(char **)(param_1 + 2)" (* "*") (cast_expression "(char **)(param_1 + 2)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (cast_expression "(char *)(lVar2 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1)" (( "(") (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*param_3 = lVar2 + 2 + sVar4;" (assignment_expression "*param_3 = lVar2 + 2 + sVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "lVar2 + 2 + sVar4" (binary_expression "lVar2 + 2" (identifier "lVar2") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar4"))) (; ";")) (expression_statement "uVar3 = *(undefined8 *)(param_2 + 0x50);" (assignment_expression "uVar3 = *(undefined8 *)(param_2 + 0x50)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(param_2 + 0x50)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x50)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x50)" (( "(") (binary_expression "param_2 + 0x50" (identifier "param_2") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "*(size_t *)(param_1 + 4) = sVar4;" (assignment_expression "*(size_t *)(param_1 + 4) = sVar4" (pointer_expression "*(size_t *)(param_1 + 4)" (* "*") (cast_expression "(size_t *)(param_1 + 4)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "sVar4")) (; ";")) (expression_statement "param_1[8] = ((int)lVar2 - (int)uVar3) + 1;" (assignment_expression "param_1[8] = ((int)lVar2 - (int)uVar3) + 1" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "((int)lVar2 - (int)uVar3) + 1" (parenthesized_expression "((int)lVar2 - (int)uVar3)" (( "(") (binary_expression "(int)lVar2 - (int)uVar3" (cast_expression "(int)lVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar2")) (- "-") (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3"))) () ")")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "3")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[7] = uVar1;" (assignment_expression "param_1[7] = uVar1" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* DWARF original prototype: Token gather_quoted_string(Lex * this, char * * pp) */

Token * __thiscall
gold::Lex::gather_quoted_string(Token *__return_storage_ptr__,Lex *this,char **pp)

{
  int iVar1;
  char *var_2;
  char *pcVar3;
  size_t var_3;
  
  var_2 = *pp;
  var_3 = var_1(var_2 + 1,"\"\n");
  iVar1 = this->lineno_;
  if (var_2[var_3 + 1] != '\"') {
    pcVar3 = this->linestart_;
    __return_storage_ptr__->classification_ = TOKEN_INVALID;
    __return_storage_ptr__->value_ = (char *)0x0;
    __return_storage_ptr__->charpos_ = ((int)var_2 - (int)pcVar3) + 1;
    __return_storage_ptr__->value_length_ = 0;
    __return_storage_ptr__->opcode_ = 0;
    __return_storage_ptr__->lineno_ = iVar1;
    return __return_storage_ptr__;
  }
  __return_storage_ptr__->value_ = var_2 + 1;
  *pp = var_2 + var_3 + 2;
  pcVar3 = this->linestart_;
  __return_storage_ptr__->value_length_ = var_3;
  __return_storage_ptr__->charpos_ = ((int)var_2 - (int)pcVar3) + 1;
  __return_storage_ptr__->classification_ = TOKEN_QUOTED_STRING;
  __return_storage_ptr__->opcode_ = 0;
  __return_storage_ptr__->lineno_ = iVar1;
  return __return_storage_ptr__;
}


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

undefined4 * MASKED(undefined4 *param_1,long param_2,long *param_3)

{
  undefined4 uVar1;
  long lVar2;
  undefined8 uVar3;
  size_t sVar4;
  
  lVar2 = *param_3;
  sVar4 = strcspn((char *)(lVar2 + 1),"\"\n");
  uVar1 = *(undefined4 *)(param_2 + 0x48);
  if (*(char *)(lVar2 + 1 + sVar4) != '\"') {
    uVar3 = *(undefined8 *)(param_2 + 0x50);
    *param_1 = 0;
    *(undefined8 *)(param_1 + 2) = 0;
    param_1[8] = ((int)lVar2 - (int)uVar3) + 1;
    *(undefined8 *)(param_1 + 4) = 0;
    param_1[6] = 0;
    param_1[7] = uVar1;
    return param_1;
  }
  *(char **)(param_1 + 2) = (char *)(lVar2 + 1);
  *param_3 = lVar2 + 2 + sVar4;
  uVar3 = *(undefined8 *)(param_2 + 0x50);
  *(size_t *)(param_1 + 4) = sVar4;
  param_1[8] = ((int)lVar2 - (int)uVar3) + 1;
  *param_1 = 3;
  param_1[6] = 0;
  param_1[7] = uVar1;
  return param_1;
}

