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

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

{
}



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

undefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  
  iVar1 = *param_3;
  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");
  uVar2 = *(undefined4 *)(param_2 + 0x2c);
  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {
    iVar3 = *(int *)(param_2 + 0x30);
    *param_1 = 0;
    param_1[1] = 0;
    param_1[2] = 0;
    param_1[3] = 0;
    param_1[4] = uVar2;
    param_1[5] = (iVar1 - iVar3) + 1;
    return param_1;
  }
  param_1[2] = sVar4;
  *param_1 = 3;
  *param_3 = iVar1 + 2 + sVar4;
  param_1[1] = (char *)(iVar1 + 1);
  iVar3 = *(int *)(param_2 + 0x30);
  param_1[3] = 0;
  param_1[4] = uVar2;
  param_1[5] = (iVar1 - iVar3) + 1;
  return param_1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x23b9b7
SUB ESP,0x14
MOV EAX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x28]
MOV EDI,dword ptr [EAX]
LEA EAX,[EBX + 0xffef7261]
LEA EBP,[EDI + 0x1]
PUSH EAX
PUSH EBP
CALL 0x0002c790
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x24]
CMP byte ptr [EDI + EAX*0x1 + 0x1],0x22
MOV ECX,dword ptr [EDX + 0x2c]
JZ 0x001d86b0
SUB EDI,dword ptr [EDX + 0x30]
MOV dword ptr [ESI],0x0
MOV EAX,ESI
ADD EDI,0x1
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],ECX
MOV dword ptr [ESI + 0x14],EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EDX,dword ptr [ESP + 0x28]
LEA EBX,[EBP + EAX*0x1 + 0x1]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,ESI
MOV dword ptr [ESI],0x3
MOV dword ptr [EDX],EBX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x4],EBP
SUB EDI,dword ptr [EDX + 0x30]
MOV dword ptr [ESI + 0xc],0x0
ADD EDI,0x1
MOV dword ptr [ESI + 0x10],ECX
MOV dword ptr [ESI + 0x14],EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}\n\n" comment (function_definition "undefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" * (function_declarator "FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n")" identifier = (call_expression "strcspn((char *)(iVar1 + 1),"\"\n")" identifier (argument_list "((char *)(iVar1 + 1),"\"\n")" ( (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) , (string_literal ""\"\n"" " escape_sequence escape_sequence ") )))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 1 + sVar4) != '\"')" ( (binary_expression "*(char *)(iVar1 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(iVar1 + 1 + sVar4)" * (cast_expression "(char *)(iVar1 + 1 + sVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1 + sVar4)" ( (binary_expression "iVar1 + 1 + sVar4" (binary_expression "iVar1 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" { (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) + number_literal)) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "param_1[2] = sVar4;" (assignment_expression "param_1[2] = sVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*param_3 = iVar1 + 2 + sVar4;" (assignment_expression "*param_3 = iVar1 + 2 + sVar4" (pointer_expression "*param_3" * identifier) = (binary_expression "iVar1 + 2 + sVar4" (binary_expression "iVar1 + 2" identifier + number_literal) + identifier)) ;) (expression_statement "param_1[1] = (char *)(iVar1 + 1);" (assignment_expression "param_1[1] = (char *)(iVar1 + 1)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) + number_literal)) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Token gather_quoted_string(Lex * this, char * * pp) */\n\nToken * __thiscall gold::Lex::gather_quoted_string(Lex *this,char **pp)\n\n{\n}\n\n" comment comment (ERROR "Token * __thiscall gold::Lex::gather_quoted_string(Lex *this,char **pp)" (binary_expression "Token * __thiscall gold::Lex::gather_quoted_string(Lex *this,char **pp" (binary_expression "Token * __thiscall gold::Lex::gather_quoted_string(Lex *this" (binary_expression "Token * __thiscall" identifier * identifier) (ERROR "gold::Lex::gather_quoted_string(Lex" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",char" , primitive_type) * (pointer_expression "*pp" * identifier)) )) (compound_statement "{\n}" { }))
(translation_unit "undefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}\n\n" (function_definition "undefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" type_identifier (pointer_declarator "* FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" * (function_declarator "FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n")" identifier = (call_expression "strcspn((char *)(iVar1 + 1),"\"\n")" identifier (argument_list "((char *)(iVar1 + 1),"\"\n")" ( (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) ))) , (string_literal ""\"\n"" " escape_sequence escape_sequence ") )))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x2c)" identifier = (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" * (cast_expression "(undefined4 *)(param_2 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2c)" ( (binary_expression "param_2 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 1 + sVar4) != '\"')" ( (binary_expression "*(char *)(iVar1 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(iVar1 + 1 + sVar4)" * (cast_expression "(char *)(iVar1 + 1 + sVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1 + sVar4)" ( (binary_expression "iVar1 + 1 + sVar4" (binary_expression "iVar1 + 1" identifier + number_literal) + identifier) )))) != (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" { (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) + number_literal)) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "param_1[2] = sVar4;" (assignment_expression "param_1[2] = sVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*param_3 = iVar1 + 2 + sVar4;" (assignment_expression "*param_3 = iVar1 + 2 + sVar4" (pointer_expression "*param_3" * identifier) = (binary_expression "iVar1 + 2 + sVar4" (binary_expression "iVar1 + 2" identifier + number_literal) + identifier)) ;) (expression_statement "param_1[1] = (char *)(iVar1 + 1);" (assignment_expression "param_1[1] = (char *)(iVar1 + 1)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char *)(iVar1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 1)" ( (binary_expression "iVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" identifier = (pointer_expression "*(int *)(param_2 + 0x30)" * (cast_expression "(int *)(param_2 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" ( (binary_expression "iVar1 - iVar3" identifier - identifier) )) + number_literal)) ;) (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 TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE 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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" (* "*") (function_declarator "FUN_001d8640(undefined4 *param_1,int param_2,int *param_3)" (identifier "FUN_001d8640") (parameter_list "(undefined4 *param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  \n  iVar1 = *param_3;\n  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");\n  uVar2 = *(undefined4 *)(param_2 + 0x2c);\n  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }\n  param_1[2] = sVar4;\n  *param_1 = 3;\n  *param_3 = iVar1 + 2 + sVar4;\n  param_1[1] = (char *)(iVar1 + 1);\n  iVar3 = *(int *)(param_2 + 0x30);\n  param_1[3] = 0;\n  param_1[4] = uVar2;\n  param_1[5] = (iVar1 - iVar3) + 1;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" (identifier "iVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");" (assignment_expression "sVar4 = strcspn((char *)(iVar1 + 1),"\"\n")" (identifier "sVar4") (= "=") (call_expression "strcspn((char *)(iVar1 + 1),"\"\n")" (identifier "strcspn") (argument_list "((char *)(iVar1 + 1),"\"\n")" (( "(") (cast_expression "(char *)(iVar1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""\"\n"" (" """) (escape_sequence "\"") (escape_sequence "\n") (" """)) () ")")))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_2 + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)(param_2 + 0x2c)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2c)" (( "(") (binary_expression "param_2 + 0x2c" (identifier "param_2") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (*(char *)(iVar1 + 1 + sVar4) != '\"') {\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 1 + sVar4) != '\"')" (( "(") (binary_expression "*(char *)(iVar1 + 1 + sVar4) != '\"'" (pointer_expression "*(char *)(iVar1 + 1 + sVar4)" (* "*") (cast_expression "(char *)(iVar1 + 1 + sVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 1 + sVar4)" (( "(") (binary_expression "iVar1 + 1 + sVar4" (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar4")) () ")")))) (!= "!=") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (compound_statement "{\n    iVar3 = *(int *)(param_2 + 0x30);\n    *param_1 = 0;\n    param_1[1] = 0;\n    param_1[2] = 0;\n    param_1[3] = 0;\n    param_1[4] = uVar2;\n    param_1[5] = (iVar1 - iVar3) + 1;\n    return param_1;\n  }" ({ "{") (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" (( "(") (binary_expression "iVar1 - iVar3" (identifier "iVar1") (- "-") (identifier "iVar3")) () ")")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "param_1[2] = sVar4;" (assignment_expression "param_1[2] = sVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "sVar4")) (; ";")) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "3")) (; ";")) (expression_statement "*param_3 = iVar1 + 2 + sVar4;" (assignment_expression "*param_3 = iVar1 + 2 + sVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "iVar1 + 2 + sVar4" (binary_expression "iVar1 + 2" (identifier "iVar1") (+ "+") (number_literal "2")) (+ "+") (identifier "sVar4"))) (; ";")) (expression_statement "param_1[1] = (char *)(iVar1 + 1);" (assignment_expression "param_1[1] = (char *)(iVar1 + 1)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char *)(iVar1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 1)" (( "(") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar3 = *(int *)(param_2 + 0x30);" (assignment_expression "iVar3 = *(int *)(param_2 + 0x30)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_2 + 0x30)" (* "*") (cast_expression "(int *)(param_2 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = uVar2;" (assignment_expression "param_1[4] = uVar2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_1[5] = (iVar1 - iVar3) + 1;" (assignment_expression "param_1[5] = (iVar1 - iVar3) + 1" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "(iVar1 - iVar3) + 1" (parenthesized_expression "(iVar1 - iVar3)" (( "(") (binary_expression "iVar1 - iVar3" (identifier "iVar1") (- "-") (identifier "iVar3")) () ")")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

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

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

{
}


(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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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: (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: (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: (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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (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: (subscript_expression argument: (identifier) index: (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: (identifier) right: (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))))))) (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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (return_statement (identifier)))))

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

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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  
  iVar1 = *param_3;
  sVar4 = strcspn((char *)(iVar1 + 1),"\"\n");
  uVar2 = *(undefined4 *)(param_2 + 0x2c);
  if (*(char *)(iVar1 + 1 + sVar4) != '\"') {
    iVar3 = *(int *)(param_2 + 0x30);
    *param_1 = 0;
    param_1[1] = 0;
    param_1[2] = 0;
    param_1[3] = 0;
    param_1[4] = uVar2;
    param_1[5] = (iVar1 - iVar3) + 1;
    return param_1;
  }
  param_1[2] = sVar4;
  *param_1 = 3;
  *param_3 = iVar1 + 2 + sVar4;
  param_1[1] = (char *)(iVar1 + 1);
  iVar3 = *(int *)(param_2 + 0x30);
  param_1[3] = 0;
  param_1[4] = uVar2;
  param_1[5] = (iVar1 - iVar3) + 1;
  return param_1;
}

