
/* WARNING: Enum "DT": Some values do not have unique names */

void script_push_lex_into_expression_mode(void *closurev)

{
  Parser_closure *closure;
  Mode local_c;
  
  local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18);
  std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>
            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),
             &local_c);
  *(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;
  return;
}



void FUN_00213610(long param_1)

{
  undefined4 local_c;
  
  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);
  FUN_00217000(param_1 + 0x48,&local_c);
  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;
  return;
}


PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x48]
SUB RSP,0x10
MOV RAX,qword ptr [RDI + -0x10]
LEA RSI,[RSP + 0xc]
MOV EAX,dword ptr [RAX + 0x18]
MOV dword ptr [RSP + 0xc],EAX
CALL 0x00217000
MOV RAX,qword ptr [RBX + 0x38]
MOV dword ptr [RAX + 0x18],0x1
ADD RSP,0x10
POP RBX
RET
(translation_unit "void FUN_00213610(long param_1)\n\n{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00213610(long param_1)\n\n{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00213610(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" { (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);" (assignment_expression "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" identifier = (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00217000(param_1 + 0x48,&local_c);" (call_expression "FUN_00217000(param_1 + 0x48,&local_c)" identifier (argument_list "(param_1 + 0x48,&local_c)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) , (pointer_expression "&local_c" & identifier) ))) ;) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n\nvoid script_push_lex_into_expression_mode(void *closurev)\n\n{\n  Parser_closure *closure;\n  Mode local_c;\n  \n  local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18);\n  std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);\n  *(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;\n  return;\n}\n\n" comment (function_definition "void script_push_lex_into_expression_mode(void *closurev)\n\n{\n  Parser_closure *closure;\n  Mode local_c;\n  \n  local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18);\n  std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);\n  *(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;\n  return;\n}" primitive_type (function_declarator "script_push_lex_into_expression_mode(void *closurev)" identifier (parameter_list "(void *closurev)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) ))) (compound_statement "{\n  Parser_closure *closure;\n  Mode local_c;\n  \n  local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18);\n  std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);\n  *(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;\n  return;\n}" { (declaration "Parser_closure *closure;" type_identifier (pointer_declarator "*closure" * identifier) ;) (declaration "Mode local_c;" type_identifier identifier ;) (expression_statement "local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18);" (assignment_expression "local_c = *(Mode *)(*(long *)((long)closurev + 0x38) + 0x18)" identifier = (pointer_expression "*(Mode *)(*(long *)((long)closurev + 0x38) + 0x18)" * (cast_expression "(Mode *)(*(long *)((long)closurev + 0x38) + 0x18)" ( (type_descriptor "Mode *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)closurev + 0x38) + 0x18)" ( (binary_expression "*(long *)((long)closurev + 0x38) + 0x18" (pointer_expression "*(long *)((long)closurev + 0x38)" * (cast_expression "(long *)((long)closurev + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x38)" ( (binary_expression "(long)closurev + 0x38" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) ))))) ;) (labeled_statement "std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier (ERROR "::vector<gold:" : : (binary_expression "vector<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier (ERROR "::Mode,_std::allocator<gold:" : : (comma_expression "Mode,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode>_>::emplace_back<gold::Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier (ERROR "::Mode>_>::emplace_back<gold:" : : (binary_expression "Mode>_" identifier > identifier) > : : (binary_expression "emplace_back<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode>\n            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier (ERROR "::Mode>\n            ((vector<gold:" : : identifier > ( ( (binary_expression "vector<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier (ERROR "::Mode,_std::allocator<gold:" : : (comma_expression "Mode,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode>_> *)((long)closurev + 0x48),\n             &local_c);" statement_identifier : (ERROR ":Mode>_> *)((long)closurev" : (binary_expression "Mode>_" identifier > identifier) > * ) ( ( (sized_type_specifier "long" long) (ERROR ")" )) identifier) (expression_statement "+ 0x48),\n             &local_c);" (comma_expression "+ 0x48),\n             &local_c" (unary_expression "+ 0x48" + number_literal) (ERROR ")" )) , (pointer_expression "&local_c" & identifier)) (ERROR ")" )) ;))))))) (expression_statement "*(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;" (assignment_expression "*(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1" (pointer_expression "*(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18)" * (cast_expression "(undefined4 *)(*(long *)((long)closurev + 0x38) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)((long)closurev + 0x38) + 0x18)" ( (binary_expression "*(long *)((long)closurev + 0x38) + 0x18" (pointer_expression "*(long *)((long)closurev + 0x38)" * (cast_expression "(long *)((long)closurev + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)closurev + 0x38)" ( (binary_expression "(long)closurev + 0x38" (cast_expression "(long)closurev" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00213610(long param_1)\n\n{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00213610(long param_1)\n\n{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00213610(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" { (declaration "undefined4 local_c;" type_identifier identifier ;) (expression_statement "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);" (assignment_expression "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" identifier = (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_00217000(param_1 + 0x48,&local_c);" (call_expression "FUN_00217000(param_1 + 0x48,&local_c)" identifier (argument_list "(param_1 + 0x48,&local_c)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) , (pointer_expression "&local_c" & identifier) ))) ;) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" * (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" * (cast_expression "(long *)(param_1 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00213610(long param_1)\n\n{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00213610(long param_1)" (identifier "FUN_00213610") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 local_c;\n  \n  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);\n  FUN_00217000(param_1 + 0x48,&local_c);\n  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;\n  return;\n}" ({ "{") (declaration "undefined4 local_c;" (type_identifier "undefined4") (identifier "local_c") (; ";")) (expression_statement "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);" (assignment_expression "local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" (identifier "local_c") (= "=") (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" (* "*") (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "FUN_00217000(param_1 + 0x48,&local_c);" (call_expression "FUN_00217000(param_1 + 0x48,&local_c)" (identifier "FUN_00217000") (argument_list "(param_1 + 0x48,&local_c)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) (, ",") (pointer_expression "&local_c" (& "&") (identifier "local_c")) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;" (assignment_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1" (pointer_expression "*(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" (* "*") (cast_expression "(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x38) + 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0x38) + 0x18" (pointer_expression "*(long *)(param_1 + 0x38)" (* "*") (cast_expression "(long *)(param_1 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */

void function_1(void *closurev)

{
  type_1 *closure;
  type_2 local_c;
  
  local_c = *(type_2 *)(*(long *)((long)closurev + 0x38) + 0x18);
  std::vector<gold::Lex::type_2,_std::allocator<gold::Lex::type_2>_>::emplace_back<gold::Lex::type_2>
            ((vector<gold::Lex::type_2,_std::allocator<gold::Lex::type_2>_> *)((long)closurev + 0x48),
             &local_c);
  *(type_3 *)(*(long *)((long)closurev + 0x38) + 0x18) = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (return_statement))))

void MASKED(long param_1)

{
  undefined4 local_c;
  
  local_c = *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18);
  FUN_00217000(param_1 + 0x48,&local_c);
  *(undefined4 *)(*(long *)(param_1 + 0x38) + 0x18) = 1;
  return;
}

