
/* WARNING: Unknown calling convention */

void script_push_lex_into_expression_mode(void *closurev)

{
  Mode local_10 [3];
  
  local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);
  std::vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_>::emplace_back<gold::Lex::Mode>
            ((vector<gold::Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((int)closurev + 0x34),
             local_10);
  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1;
  return;
}



void FUN_00116e90(int param_1)

{
  undefined4 local_10 [3];
  
  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);
  FUN_0011aeb0(param_1 + 0x34,local_10);
  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;
  return;
}


PUSH EBX
SUB ESP,0x20
MOV EBX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [EBX + 0x28]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[ESP + 0x14]
PUSH EAX
LEA EAX,[EBX + 0x34]
PUSH EAX
CALL 0x0011aeb0
MOV EAX,dword ptr [EBX + 0x28]
MOV dword ptr [EAX + 0xc],0x1
ADD ESP,0x28
POP EBX
RET
(translation_unit "void FUN_00116e90(int param_1)\n\n{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00116e90(int param_1)\n\n{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00116e90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" { (declaration "undefined4 local_10 [3];" type_identifier (array_declarator "local_10 [3]" identifier [ number_literal ]) ;) (expression_statement "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);" (assignment_expression "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_0011aeb0(param_1 + 0x34,local_10);" (call_expression "FUN_0011aeb0(param_1 + 0x34,local_10)" identifier (argument_list "(param_1 + 0x34,local_10)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid script_push_lex_into_expression_mode(void *closurev)\n\n{\n  Mode local_10 [3];\n  \n  local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);\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>_> *)((int)closurev + 0x34),\n             local_10);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1;\n  return;\n}\n\n" comment (function_definition "void script_push_lex_into_expression_mode(void *closurev)\n\n{\n  Mode local_10 [3];\n  \n  local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);\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>_> *)((int)closurev + 0x34),\n             local_10);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 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  Mode local_10 [3];\n  \n  local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);\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>_> *)((int)closurev + 0x34),\n             local_10);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1;\n  return;\n}" { (declaration "Mode local_10 [3];" type_identifier (array_declarator "local_10 [3]" identifier [ number_literal ]) ;) (expression_statement "local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);" (assignment_expression "local_10[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (pointer_expression "*(Mode *)(*(int *)((int)closurev + 0x28) + 0xc)" * (cast_expression "(Mode *)(*(int *)((int)closurev + 0x28) + 0xc)" ( (type_descriptor "Mode *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)closurev + 0x28) + 0xc)" ( (binary_expression "*(int *)((int)closurev + 0x28) + 0xc" (pointer_expression "*(int *)((int)closurev + 0x28)" * (cast_expression "(int *)((int)closurev + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x28)" ( (binary_expression "(int)closurev + 0x28" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) 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>_> *)((int)closurev + 0x34),\n             local_10);" 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>_> *)((int)closurev + 0x34),\n             local_10);" 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>_> *)((int)closurev + 0x34),\n             local_10);" 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>_> *)((int)closurev + 0x34),\n             local_10);" statement_identifier (ERROR "::Mode>\n            ((vector<gold:" : : identifier > ( ( (binary_expression "vector<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode,_std::allocator<gold::Lex::Mode>_> *)((int)closurev + 0x34),\n             local_10);" statement_identifier (ERROR "::Mode,_std::allocator<gold:" : : (comma_expression "Mode,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Lex::Mode>_> *)((int)closurev + 0x34),\n             local_10);" statement_identifier : (ERROR ":Mode>_> *)((int)closurev" : (binary_expression "Mode>_" identifier > identifier) > * ) ( ( primitive_type (ERROR ")" )) identifier) (expression_statement "+ 0x34),\n             local_10);" (comma_expression "+ 0x34),\n             local_10" (unary_expression "+ 0x34" + number_literal) (ERROR ")" )) , identifier) (ERROR ")" )) ;))))))) (expression_statement "*(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1;" (assignment_expression "*(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1" (pointer_expression "*(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)closurev + 0x28) + 0xc)" ( (binary_expression "*(int *)((int)closurev + 0x28) + 0xc" (pointer_expression "*(int *)((int)closurev + 0x28)" * (cast_expression "(int *)((int)closurev + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x28)" ( (binary_expression "(int)closurev + 0x28" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00116e90(int param_1)\n\n{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00116e90(int param_1)\n\n{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00116e90(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" { (declaration "undefined4 local_10 [3];" type_identifier (array_declarator "local_10 [3]" identifier [ number_literal ]) ;) (expression_statement "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);" (assignment_expression "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (subscript_expression "local_10[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "FUN_0011aeb0(param_1 + 0x34,local_10);" (call_expression "FUN_0011aeb0(param_1 + 0x34,local_10)" identifier (argument_list "(param_1 + 0x34,local_10)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) , identifier ))) ;) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00116e90(int param_1)\n\n{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00116e90(int param_1)" (identifier "FUN_00116e90") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 local_10 [3];\n  \n  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);\n  FUN_0011aeb0(param_1 + 0x34,local_10);\n  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;\n  return;\n}" ({ "{") (declaration "undefined4 local_10 [3];" (type_identifier "undefined4") (array_declarator "local_10 [3]" (identifier "local_10") ([ "[") (number_literal "3") (] "]")) (; ";")) (expression_statement "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);" (assignment_expression "local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "FUN_0011aeb0(param_1 + 0x34,local_10);" (call_expression "FUN_0011aeb0(param_1 + 0x34,local_10)" (identifier "FUN_0011aeb0") (argument_list "(param_1 + 0x34,local_10)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) (, ",") (identifier "local_10") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;" (assignment_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1" (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0xc)" (( "(") (binary_expression "*(int *)(param_1 + 0x28) + 0xc" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(void *closurev)

{
  type_1 local_10 [3];
  
  local_10[0] = *(type_1 *)(*(int *)((int)closurev + 0x28) + 0xc);
  std::vector<gold::Lex::type_1,_std::allocator<gold::Lex::type_1>_>::emplace_back<gold::Lex::type_1>
            ((vector<gold::Lex::type_1,_std::allocator<gold::Lex::type_1>_> *)((int)closurev + 0x34),
             local_10);
  *(type_2 *)(*(int *)((int)closurev + 0x28) + 0xc) = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (primitive_type) 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)) (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) (return_statement))))

void MASKED(int param_1)

{
  undefined4 local_10 [3];
  
  local_10[0] = *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc);
  FUN_0011aeb0(param_1 + 0x34,local_10);
  *(undefined4 *)(*(int *)(param_1 + 0x28) + 0xc) = 1;
  return;
}

