
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void script_push_lex_into_version_mode(void *closurev)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  char *format;
  Mode local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x16b719;
  if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {
    uVar1 = *(undefined4 *)((int)closurev + 0x30);
    uVar2 = *(undefined4 *)((int)closurev + 0x2c);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");
    gold::gold_error(format,uVar3,uVar2,uVar1);
  }
  local_20[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_20);
  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;
  return;
}



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

void FUN_0016b710(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x16b719;
  if (*(char *)(param_1[9] + 0x41) != '\0') {
    uVar1 = param_1[0xc];
    uVar2 = param_1[0xb];
    uVar3 = *param_1;
    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");
    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);
  }
  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);
  FUN_0016f700(param_1 + 0xd,local_20);
  *(undefined4 *)(param_1[10] + 0xc) = 2;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2238e7
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESI + 0x24]
CMP byte ptr [EAX + 0x41],0x0
JNZ 0x0016b760
MOV EAX,dword ptr [ESI + 0x28]
SUB ESP,0x8
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[ESP + 0x24]
PUSH EAX
LEA EAX,[ESI + 0x34]
PUSH EAX
CALL 0x0016f700
MOV EAX,dword ptr [ESI + 0x28]
MOV dword ptr [EAX + 0xc],0x2
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x30]
SUB ESP,0xc
LEA EAX,[EBX + 0xfff0a3d4]
MOV EBP,dword ptr [ESI + 0x2c]
MOV EDI,dword ptr [ESI]
MOV dword ptr [ESP + 0x18],EDX
PUSH EAX
CALL 0x000293b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
PUSH EDX
PUSH EBP
PUSH EDI
PUSH EAX
CALL 0x000654b0
ADD ESP,0x10
JMP 0x0016b72f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0016b710(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}\n\n" comment (function_definition "void FUN_0016b710(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" primitive_type (function_declarator "FUN_0016b710(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16b719;" (assignment_expression "uStack_14 = 0x16b719" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" if (parenthesized_expression "(*(char *)(param_1[9] + 0x41) != '\0')" ( (binary_expression "*(char *)(param_1[9] + 0x41) != '\0'" (pointer_expression "*(char *)(param_1[9] + 0x41)" * (cast_expression "(char *)(param_1[9] + 0x41)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 0x41)" ( (binary_expression "param_1[9] + 0x41" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" { (expression_statement "uVar1 = param_1[0xc];" (assignment_expression "uVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_1[0xb];" (assignment_expression "uVar2 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");" (assignment_expression "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier = (call_expression "gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier (argument_list "("%s:%d:%d: invalid use of VERSION in input file")" ( (string_literal ""%s:%d:%d: invalid use of VERSION in input file"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_000654b0(uVar4,uVar3,uVar2,uVar1)" identifier (argument_list "(uVar4,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "local_20[0] = *(undefined4 *)(param_1[10] + 0xc);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1[10] + 0xc)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" * (cast_expression "(undefined4 *)(param_1[10] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[10] + 0xc)" ( (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "FUN_0016f700(param_1 + 0xd,local_20);" (call_expression "FUN_0016f700(param_1 + 0xd,local_20)" identifier (argument_list "(param_1 + 0xd,local_20)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , identifier ))) ;) (expression_statement "*(undefined4 *)(param_1[10] + 0xc) = 2;" (assignment_expression "*(undefined4 *)(param_1[10] + 0xc) = 2" (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" * (cast_expression "(undefined4 *)(param_1[10] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[10] + 0xc)" ( (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid script_push_lex_into_version_mode(void *closurev)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  Mode local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");\n    gold::gold_error(format,uVar3,uVar2,uVar1);\n  }\n  local_20[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_20);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;\n  return;\n}\n\n" comment comment (function_definition "void script_push_lex_into_version_mode(void *closurev)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  Mode local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");\n    gold::gold_error(format,uVar3,uVar2,uVar1);\n  }\n  local_20[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_20);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;\n  return;\n}" primitive_type (function_declarator "script_push_lex_into_version_mode(void *closurev)" identifier (parameter_list "(void *closurev)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  char *format;\n  Mode local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");\n    gold::gold_error(format,uVar3,uVar2,uVar1);\n  }\n  local_20[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_20);\n  *(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "Mode local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16b719;" (assignment_expression "uStack_14 = 0x16b719" identifier = number_literal) ;) (if_statement "if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");\n    gold::gold_error(format,uVar3,uVar2,uVar1);\n  }" if (parenthesized_expression "(*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0')" ( (binary_expression "*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0'" (pointer_expression "*(char *)(*(int *)((int)closurev + 0x24) + 0x41)" * (cast_expression "(char *)(*(int *)((int)closurev + 0x24) + 0x41)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)closurev + 0x24) + 0x41)" ( (binary_expression "*(int *)((int)closurev + 0x24) + 0x41" (pointer_expression "*(int *)((int)closurev + 0x24)" * (cast_expression "(int *)((int)closurev + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x24)" ( (binary_expression "(int)closurev + 0x24" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = *(undefined4 *)((int)closurev + 0x30);\n    uVar2 = *(undefined4 *)((int)closurev + 0x2c);\n                    /* WARNING: Load size is inaccurate */\n    uVar3 = *closurev;\n    format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");\n    gold::gold_error(format,uVar3,uVar2,uVar1);\n  }" { (expression_statement "uVar1 = *(undefined4 *)((int)closurev + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)((int)closurev + 0x30)" identifier = (pointer_expression "*(undefined4 *)((int)closurev + 0x30)" * (cast_expression "(undefined4 *)((int)closurev + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x30)" ( (binary_expression "(int)closurev + 0x30" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)((int)closurev + 0x2c);" (assignment_expression "uVar2 = *(undefined4 *)((int)closurev + 0x2c)" identifier = (pointer_expression "*(undefined4 *)((int)closurev + 0x2c)" * (cast_expression "(undefined4 *)((int)closurev + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x2c)" ( (binary_expression "(int)closurev + 0x2c" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) comment (expression_statement "uVar3 = *closurev;" (assignment_expression "uVar3 = *closurev" identifier = (pointer_expression "*closurev" * identifier)) ;) (expression_statement "format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file");" (assignment_expression "format = (char *)gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier = (cast_expression "(char *)gettext("%s:%d:%d: invalid use of VERSION in input file")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier (argument_list "("%s:%d:%d: invalid use of VERSION in input file")" ( (string_literal ""%s:%d:%d: invalid use of VERSION in input file"" " string_content ") ))))) ;) (labeled_statement "gold::gold_error(format,uVar3,uVar2,uVar1);" statement_identifier : (ERROR ":" :) (expression_statement "gold_error(format,uVar3,uVar2,uVar1);" (call_expression "gold_error(format,uVar3,uVar2,uVar1)" identifier (argument_list "(format,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;)) })) (expression_statement "local_20[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc);" (assignment_expression "local_20[0] = *(Mode *)(*(int *)((int)closurev + 0x28) + 0xc)" (subscript_expression "local_20[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_20);" 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_20);" 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_20);" 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_20);" 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_20);" 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_20);" statement_identifier : (ERROR ":Mode>_> *)((int)closurev" : (binary_expression "Mode>_" identifier > identifier) > * ) ( ( primitive_type (ERROR ")" )) identifier) (expression_statement "+ 0x34),\n             local_20);" (comma_expression "+ 0x34),\n             local_20" (unary_expression "+ 0x34" + number_literal) (ERROR ")" )) , identifier) (ERROR ")" )) ;))))))) (expression_statement "*(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;" (assignment_expression "*(undefined4 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2" (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_0016b710(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}\n\n" (function_definition "void FUN_0016b710(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" primitive_type (function_declarator "FUN_0016b710(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x16b719;" (assignment_expression "uStack_14 = 0x16b719" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" if (parenthesized_expression "(*(char *)(param_1[9] + 0x41) != '\0')" ( (binary_expression "*(char *)(param_1[9] + 0x41) != '\0'" (pointer_expression "*(char *)(param_1[9] + 0x41)" * (cast_expression "(char *)(param_1[9] + 0x41)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 0x41)" ( (binary_expression "param_1[9] + 0x41" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" { (expression_statement "uVar1 = param_1[0xc];" (assignment_expression "uVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "uVar2 = param_1[0xb];" (assignment_expression "uVar2 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");" (assignment_expression "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier = (call_expression "gettext("%s:%d:%d: invalid use of VERSION in input file")" identifier (argument_list "("%s:%d:%d: invalid use of VERSION in input file")" ( (string_literal ""%s:%d:%d: invalid use of VERSION in input file"" " string_content ") )))) ;) (expression_statement "FUN_000654b0(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_000654b0(uVar4,uVar3,uVar2,uVar1)" identifier (argument_list "(uVar4,uVar3,uVar2,uVar1)" ( identifier , identifier , identifier , identifier ))) ;) })) (expression_statement "local_20[0] = *(undefined4 *)(param_1[10] + 0xc);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1[10] + 0xc)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" * (cast_expression "(undefined4 *)(param_1[10] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[10] + 0xc)" ( (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "FUN_0016f700(param_1 + 0xd,local_20);" (call_expression "FUN_0016f700(param_1 + 0xd,local_20)" identifier (argument_list "(param_1 + 0xd,local_20)" ( (binary_expression "param_1 + 0xd" identifier + number_literal) , identifier ))) ;) (expression_statement "*(undefined4 *)(param_1[10] + 0xc) = 2;" (assignment_expression "*(undefined4 *)(param_1[10] + 0xc) = 2" (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" * (cast_expression "(undefined4 *)(param_1[10] + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[10] + 0xc)" ( (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_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 (subscript_expression IDENT [ LIT ]) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0016b710(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0016b710(undefined4 *param_1)" (identifier "FUN_0016b710") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x16b719;\n  if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }\n  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);\n  FUN_0016f700(param_1 + 0xd,local_20);\n  *(undefined4 *)(param_1[10] + 0xc) = 2;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x16b719;" (assignment_expression "uStack_14 = 0x16b719" (identifier "uStack_14") (= "=") (number_literal "0x16b719")) (; ";")) (if_statement "if (*(char *)(param_1[9] + 0x41) != '\0') {\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1[9] + 0x41) != '\0')" (( "(") (binary_expression "*(char *)(param_1[9] + 0x41) != '\0'" (pointer_expression "*(char *)(param_1[9] + 0x41)" (* "*") (cast_expression "(char *)(param_1[9] + 0x41)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[9] + 0x41)" (( "(") (binary_expression "param_1[9] + 0x41" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "0x41")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = param_1[0xc];\n    uVar2 = param_1[0xb];\n    uVar3 = *param_1;\n    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");\n    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);\n  }" ({ "{") (expression_statement "uVar1 = param_1[0xc];" (assignment_expression "uVar1 = param_1[0xc]" (identifier "uVar1") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "uVar2 = param_1[0xb];" (assignment_expression "uVar2 = param_1[0xb]" (identifier "uVar2") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");" (assignment_expression "uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file")" (identifier "uVar4") (= "=") (call_expression "gettext("%s:%d:%d: invalid use of VERSION in input file")" (identifier "gettext") (argument_list "("%s:%d:%d: invalid use of VERSION in input file")" (( "(") (string_literal ""%s:%d:%d: invalid use of VERSION in input file"" (" """) (string_content "%s:%d:%d: invalid use of VERSION in input file") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654b0(uVar4,uVar3,uVar2,uVar1);" (call_expression "FUN_000654b0(uVar4,uVar3,uVar2,uVar1)" (identifier "FUN_000654b0") (argument_list "(uVar4,uVar3,uVar2,uVar1)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar3") (, ",") (identifier "uVar2") (, ",") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "local_20[0] = *(undefined4 *)(param_1[10] + 0xc);" (assignment_expression "local_20[0] = *(undefined4 *)(param_1[10] + 0xc)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1[10] + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[10] + 0xc)" (( "(") (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "FUN_0016f700(param_1 + 0xd,local_20);" (call_expression "FUN_0016f700(param_1 + 0xd,local_20)" (identifier "FUN_0016f700") (argument_list "(param_1 + 0xd,local_20)" (( "(") (binary_expression "param_1 + 0xd" (identifier "param_1") (+ "+") (number_literal "0xd")) (, ",") (identifier "local_20") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1[10] + 0xc) = 2;" (assignment_expression "*(undefined4 *)(param_1[10] + 0xc) = 2" (pointer_expression "*(undefined4 *)(param_1[10] + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1[10] + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[10] + 0xc)" (( "(") (binary_expression "param_1[10] + 0xc" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(void *closurev)

{
  type_1 uVar1;
  type_1 uVar2;
  type_1 uVar3;
  char *format;
  type_2 local_20 [3];
  type_1 uStack_14;
  
  uStack_14 = 0x16b719;
  if (*(char *)(*(int *)((int)closurev + 0x24) + 0x41) != '\0') {
    uVar1 = *(type_1 *)((int)closurev + 0x30);
    uVar2 = *(type_1 *)((int)closurev + 0x2c);
                    /* WARNING: Load size is inaccurate */
    uVar3 = *closurev;
    format = (char *)var_1("%s:%d:%d: invalid use of VERSION in input file");
    gold::var_2(format,uVar3,uVar2,uVar1);
  }
  local_20[0] = *(type_2 *)(*(int *)((int)closurev + 0x28) + 0xc);
  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>_> *)((int)closurev + 0x34),
             local_20);
  *(type_1 *)(*(int *)((int)closurev + 0x28) + 0xc) = 2;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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 (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))))) (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: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (number_literal))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x16b719;
  if (*(char *)(param_1[9] + 0x41) != '\0') {
    uVar1 = param_1[0xc];
    uVar2 = param_1[0xb];
    uVar3 = *param_1;
    uVar4 = gettext("%s:%d:%d: invalid use of VERSION in input file");
    FUN_000654b0(uVar4,uVar3,uVar2,uVar1);
  }
  local_20[0] = *(undefined4 *)(param_1[10] + 0xc);
  FUN_0016f700(param_1 + 0xd,local_20);
  *(undefined4 *)(param_1[10] + 0xc) = 2;
  return;
}

