
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void version_script_push_lang(void *closurev,char *lang,int langlen)

{
  iterator __position;
  _Alloc_hider _Var1;
  int iVar2;
  char *__s;
  char *__format;
  Language local_38;
  string language;
  
  language._M_dataplus._M_p = (pointer)&language.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&language,lang,lang + langlen,0);
  if (language._M_string_length != 0) {
    iVar2 = std::string::compare((string *)&language,"C");
    if (iVar2 != 0) {
      iVar2 = std::string::compare((string *)&language,"C++");
      local_38 = LANGUAGE_CXX;
      if (iVar2 == 0) goto LAB_0017f4b9;
      iVar2 = std::string::compare((string *)&language,"Java");
      local_38 = LANGUAGE_JAVA;
      if (iVar2 == 0) goto LAB_0017f4b9;
                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */
      __s = (char *)operator_new__(langlen + 100U);
      _Var1 = language._M_dataplus;
      __format = (char *)gettext("unrecognized version script language \'%s\'");
      snprintf(__s,langlen + 100U,__format,_Var1._M_p);
      yyerror(closurev,__s);
      operator_delete__(__s);
    }
  }
  local_38 = LANGUAGE_C;
LAB_0017f4b9:
  __position._M_current = *(Language **)((int)closurev + 0x44);
  if (__position._M_current == *(Language **)((int)closurev + 0x48)) {
    std::
    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>
    ::_M_realloc_insert<const_gold::Version_script_info::Language&>
              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>
                *)((int)closurev + 0x40),__position,&local_38);
  }
  else {
    *__position._M_current = local_38;
    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)language._M_dataplus._M_p != &language.field_2) {
    operator_delete(language._M_dataplus._M_p);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_0017f460(int param_1,int param_2,int param_3)

{
  undefined4 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  char *__s;
  char *__format;
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  local_34 = local_2c;
  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);
  if (local_30 != 0) {
    iVar3 = FUN_002095f0(&local_34,"C");
    if (iVar3 != 0) {
      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);
      local_38 = 1;
      if (iVar3 == 0) goto LAB_0017f4b9;
      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);
      local_38 = 2;
      if (iVar3 == 0) goto LAB_0017f4b9;
                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */
      __s = (char *)FUN_001fd400(param_3 + 100U);
      puVar2 = local_34;
      __format = (char *)gettext("unrecognized version script language \'%s\'");
      snprintf(__s,param_3 + 100U,__format,puVar2);
      FUN_0017df50(param_1,__s);
      FUN_001fefd0(__s);
    }
  }
  local_38 = 0;
LAB_0017f4b9:
  puVar1 = *(undefined4 **)(param_1 + 0x44);
  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {
    FUN_00182610(param_1 + 0x40,puVar1,&local_38);
  }
  else {
    *puVar1 = local_38;
    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;
  }
  if (local_34 != local_2c) {
    FUN_001ff030(local_34);
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA ECX,[EBP + -0x30]
LEA EDI,[EBP + -0x28]
CALL 0x0004a046
ADD ESI,0x22fb90
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [EBP + 0xc]
MOV EDX,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x3c],ECX
PUSH 0x0
ADD EDX,EAX
MOV dword ptr [EBP + -0x30],EDI
PUSH EDX
PUSH EAX
PUSH ECX
CALL 0x0005ec40
MOV EAX,dword ptr [EBP + -0x2c]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0017f4b7
SUB ESP,0x8
LEA EAX,[ESI + 0xfff04e06]
MOV EBX,ESI
PUSH EAX
PUSH dword ptr [EBP + -0x3c]
CALL 0x002095f0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0017f4f8
XOR EDX,EDX
MOV EAX,dword ptr [EBP + 0x8]
MOV EBX,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x34],EDX
MOV EAX,dword ptr [EAX + 0x44]
CMP EAX,dword ptr [EBX + 0x48]
JZ 0x0017f590
MOV dword ptr [EAX],EDX
ADD EAX,0x4
MOV dword ptr [EBX + 0x44],EAX
MOV EAX,dword ptr [EBP + -0x30]
CMP EAX,EDI
JZ 0x0017f4eb
SUB ESP,0xc
MOV EBX,ESI
PUSH EAX
CALL 0x001ff030
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[ESI + 0xfff04ddb]
PUSH EAX
PUSH dword ptr [EBP + -0x3c]
CALL 0x002095f0
ADD ESP,0x10
MOV EDX,0x1
TEST EAX,EAX
JZ 0x0017f4b9
SUB ESP,0x8
LEA EAX,[ESI + 0xfff04ddf]
PUSH EAX
PUSH dword ptr [EBP + -0x3c]
CALL 0x002095f0
ADD ESP,0x10
MOV EDX,0x2
TEST EAX,EAX
JZ 0x0017f4b9
MOV EAX,dword ptr [EBP + 0x10]
SUB ESP,0xc
ADD EAX,0x64
PUSH EAX
MOV dword ptr [EBP + -0x3c],EAX
CALL 0x001fd400
MOV EDX,dword ptr [EBP + -0x30]
MOV dword ptr [EBP + -0x40],EAX
LEA EAX,[ESI + 0xfff05fc4]
MOV dword ptr [ESP],EAX
MOV dword ptr [EBP + -0x44],EDX
CALL 0x0002a3c0
MOV EDX,dword ptr [EBP + -0x44]
PUSH EDX
PUSH EAX
PUSH dword ptr [EBP + -0x3c]
PUSH dword ptr [EBP + -0x40]
CALL 0x0002aa40
MOV EBX,dword ptr [EBP + -0x40]
ADD ESP,0x18
PUSH EBX
PUSH dword ptr [EBP + 0x8]
CALL 0x0017df50
MOV dword ptr [ESP],EBX
MOV EBX,ESI
CALL 0x001fefd0
ADD ESP,0x10
JMP 0x0017f4b7
SUB ESP,0x4
LEA EDX,[EBP + -0x34]
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [EBP + 0x8]
ADD EAX,0x40
PUSH EAX
CALL 0x00182610
ADD ESP,0x10
JMP 0x0017f4d6
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_0017f460(int param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0017f460(int param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017f460(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(&local_34,param_2,param_3 + param_2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (if_statement "if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" { (expression_statement "iVar3 = FUN_002095f0(&local_34,"C");" (assignment_expression "iVar3 = FUN_002095f0(&local_34,"C")" identifier = (call_expression "FUN_002095f0(&local_34,"C")" identifier (argument_list "(&local_34,"C")" ( (pointer_expression "&local_34" & identifier) , (string_literal ""C"" " string_content ") )))) ;) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" { (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb)" identifier = (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddb)" identifier (argument_list "(&local_34,&DAT_002b3ddb)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&DAT_002b3ddb" & identifier) )))) ;) (expression_statement "local_38 = 1;" (assignment_expression "local_38 = 1" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf)" identifier = (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddf)" identifier (argument_list "(&local_34,&DAT_002b3ddf)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&DAT_002b3ddf" & identifier) )))) ;) (expression_statement "local_38 = 2;" (assignment_expression "local_38 = 2" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) comment (expression_statement "__s = (char *)FUN_001fd400(param_3 + 100U);" (assignment_expression "__s = (char *)FUN_001fd400(param_3 + 100U)" identifier = (cast_expression "(char *)FUN_001fd400(param_3 + 100U)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd400(param_3 + 100U)" identifier (argument_list "(param_3 + 100U)" ( (binary_expression "param_3 + 100U" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" identifier = identifier) ;) (expression_statement "__format = (char *)gettext("unrecognized version script language \'%s\'");" (assignment_expression "__format = (char *)gettext("unrecognized version script language \'%s\'")" identifier = (cast_expression "(char *)gettext("unrecognized version script language \'%s\'")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unrecognized version script language \'%s\'")" identifier (argument_list "("unrecognized version script language \'%s\'")" ( (string_literal ""unrecognized version script language \'%s\'"" " string_content escape_sequence string_content escape_sequence ") ))))) ;) (expression_statement "snprintf(__s,param_3 + 100U,__format,puVar2);" (call_expression "snprintf(__s,param_3 + 100U,__format,puVar2)" identifier (argument_list "(__s,param_3 + 100U,__format,puVar2)" ( identifier , (binary_expression "param_3 + 100U" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_0017df50(param_1,__s);" (call_expression "FUN_0017df50(param_1,__s)" identifier (argument_list "(param_1,__s)" ( identifier , identifier ))) ;) (expression_statement "FUN_001fefd0(__s);" (call_expression "FUN_001fefd0(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) })) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);" statement_identifier : (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;)) (if_statement "if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" if (parenthesized_expression "(puVar1 == *(undefined4 **)(param_1 + 0x48))" ( (binary_expression "puVar1 == *(undefined4 **)(param_1 + 0x48)" identifier == (pointer_expression "*(undefined4 **)(param_1 + 0x48)" * (cast_expression "(undefined4 **)(param_1 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }" { (expression_statement "FUN_00182610(param_1 + 0x40,puVar1,&local_38);" (call_expression "FUN_00182610(param_1 + 0x40,puVar1,&local_38)" identifier (argument_list "(param_1 + 0x40,puVar1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) ))) ;) }) (else_clause "else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" else (compound_statement "{\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" { (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }))) (if_statement "if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001ff030(local_34);\n  }" { (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid version_script_push_lang(void *closurev,char *lang,int langlen)\n\n{\n  iterator __position;\n  _Alloc_hider _Var1;\n  int iVar2;\n  char *__s;\n  char *__format;\n  Language local_38;\n  string language;\n  \n  language._M_dataplus._M_p = (pointer)&language.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&language,lang,lang + langlen,0);\n  if (language._M_string_length != 0) {\n    iVar2 = std::string::compare((string *)&language,"C");\n    if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }\n  }\n  local_38 = LANGUAGE_C;\nLAB_0017f4b9:\n  __position._M_current = *(Language **)((int)closurev + 0x44);\n  if (__position._M_current == *(Language **)((int)closurev + 0x48)) {\n    std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);\n  }\n  else {\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2) {\n    operator_delete(language._M_dataplus._M_p);\n  }\n  return;\n}\n\n" comment (function_definition "void version_script_push_lang(void *closurev,char *lang,int langlen)\n\n{\n  iterator __position;\n  _Alloc_hider _Var1;\n  int iVar2;\n  char *__s;\n  char *__format;\n  Language local_38;\n  string language;\n  \n  language._M_dataplus._M_p = (pointer)&language.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&language,lang,lang + langlen,0);\n  if (language._M_string_length != 0) {\n    iVar2 = std::string::compare((string *)&language,"C");\n    if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }\n  }\n  local_38 = LANGUAGE_C;\nLAB_0017f4b9:\n  __position._M_current = *(Language **)((int)closurev + 0x44);\n  if (__position._M_current == *(Language **)((int)closurev + 0x48)) {\n    std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);\n  }\n  else {\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2) {\n    operator_delete(language._M_dataplus._M_p);\n  }\n  return;\n}" primitive_type (function_declarator "version_script_push_lang(void *closurev,char *lang,int langlen)" identifier (parameter_list "(void *closurev,char *lang,int langlen)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *lang" primitive_type (pointer_declarator "*lang" * identifier)) , (parameter_declaration "int langlen" primitive_type identifier) ))) (compound_statement "{\n  iterator __position;\n  _Alloc_hider _Var1;\n  int iVar2;\n  char *__s;\n  char *__format;\n  Language local_38;\n  string language;\n  \n  language._M_dataplus._M_p = (pointer)&language.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&language,lang,lang + langlen,0);\n  if (language._M_string_length != 0) {\n    iVar2 = std::string::compare((string *)&language,"C");\n    if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }\n  }\n  local_38 = LANGUAGE_C;\nLAB_0017f4b9:\n  __position._M_current = *(Language **)((int)closurev + 0x44);\n  if (__position._M_current == *(Language **)((int)closurev + 0x48)) {\n    std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);\n  }\n  else {\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2) {\n    operator_delete(language._M_dataplus._M_p);\n  }\n  return;\n}" { (declaration "iterator __position;" type_identifier identifier ;) (declaration "_Alloc_hider _Var1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "Language local_38;" type_identifier identifier ;) (declaration "string language;" type_identifier identifier ;) (expression_statement "language._M_dataplus._M_p = (pointer)&language.field_2;" (assignment_expression "language._M_dataplus._M_p = (pointer)&language.field_2" (field_expression "language._M_dataplus._M_p" (field_expression "language._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&language.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "language.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&language,lang,lang + langlen,0);" statement_identifier (ERROR "::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char_const*>(&language,lang,lang + langlen,0);" (binary_expression "_M_construct<char_const*>(&language,lang,lang + langlen,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&language,lang,lang + langlen,0)" ( (comma_expression "&language,lang,lang + langlen,0" (pointer_expression "&language" & identifier) , (comma_expression "lang,lang + langlen,0" identifier , (comma_expression "lang + langlen,0" (binary_expression "lang + langlen" identifier + identifier) , number_literal))) ))) ;)) (if_statement "if (language._M_string_length != 0) {\n    iVar2 = std::string::compare((string *)&language,"C");\n    if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }\n  }" if (parenthesized_expression "(language._M_string_length != 0)" ( (binary_expression "language._M_string_length != 0" (field_expression "language._M_string_length" identifier . field_identifier) != number_literal) )) (compound_statement "{\n    iVar2 = std::string::compare((string *)&language,"C");\n    if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }\n  }" { (ERROR "iVar2 = std::" (assignment_expression "iVar2 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)&language,"C");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)&language,"C");" (call_expression "compare((string *)&language,"C")" identifier (argument_list "((string *)&language,"C")" ( (cast_expression "(string *)&language" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&language" & identifier)) , (string_literal ""C"" " string_content ") ))) ;)) (if_statement "if (iVar2 != 0) {\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar2 = std::string::compare((string *)&language,"C++");\n      local_38 = LANGUAGE_CXX;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n      iVar2 = std::string::compare((string *)&language,"Java");\n      local_38 = LANGUAGE_JAVA;\n      if (iVar2 == 0) goto LAB_0017f4b9;\n                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */\n      __s = (char *)operator_new__(langlen + 100U);\n      _Var1 = language._M_dataplus;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,langlen + 100U,__format,_Var1._M_p);\n      yyerror(closurev,__s);\n      operator_delete__(__s);\n    }" { (ERROR "iVar2 = std::" (assignment_expression "iVar2 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)&language,"C++");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)&language,"C++");" (call_expression "compare((string *)&language,"C++")" identifier (argument_list "((string *)&language,"C++")" ( (cast_expression "(string *)&language" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&language" & identifier)) , (string_literal ""C++"" " string_content ") ))) ;)) (expression_statement "local_38 = LANGUAGE_CXX;" (assignment_expression "local_38 = LANGUAGE_CXX" identifier = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) (ERROR "iVar2 = std::" (assignment_expression "iVar2 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)&language,"Java");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)&language,"Java");" (call_expression "compare((string *)&language,"Java")" identifier (argument_list "((string *)&language,"Java")" ( (cast_expression "(string *)&language" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&language" & identifier)) , (string_literal ""Java"" " string_content ") ))) ;)) (expression_statement "local_38 = LANGUAGE_JAVA;" (assignment_expression "local_38 = LANGUAGE_JAVA" identifier = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) comment (expression_statement "__s = (char *)operator_new__(langlen + 100U);" (assignment_expression "__s = (char *)operator_new__(langlen + 100U)" identifier = (cast_expression "(char *)operator_new__(langlen + 100U)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(langlen + 100U)" identifier (argument_list "(langlen + 100U)" ( (binary_expression "langlen + 100U" identifier + number_literal) ))))) ;) (expression_statement "_Var1 = language._M_dataplus;" (assignment_expression "_Var1 = language._M_dataplus" identifier = (field_expression "language._M_dataplus" identifier . field_identifier)) ;) (expression_statement "__format = (char *)gettext("unrecognized version script language \'%s\'");" (assignment_expression "__format = (char *)gettext("unrecognized version script language \'%s\'")" identifier = (cast_expression "(char *)gettext("unrecognized version script language \'%s\'")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unrecognized version script language \'%s\'")" identifier (argument_list "("unrecognized version script language \'%s\'")" ( (string_literal ""unrecognized version script language \'%s\'"" " string_content escape_sequence string_content escape_sequence ") ))))) ;) (expression_statement "snprintf(__s,langlen + 100U,__format,_Var1._M_p);" (call_expression "snprintf(__s,langlen + 100U,__format,_Var1._M_p)" identifier (argument_list "(__s,langlen + 100U,__format,_Var1._M_p)" ( identifier , (binary_expression "langlen + 100U" identifier + number_literal) , identifier , (field_expression "_Var1._M_p" identifier . field_identifier) ))) ;) (expression_statement "yyerror(closurev,__s);" (call_expression "yyerror(closurev,__s)" identifier (argument_list "(closurev,__s)" ( identifier , identifier ))) ;) (expression_statement "operator_delete__(__s);" (call_expression "operator_delete__(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) })) (expression_statement "local_38 = LANGUAGE_C;" (assignment_expression "local_38 = LANGUAGE_C" identifier = identifier) ;) (labeled_statement "LAB_0017f4b9:\n  __position._M_current = *(Language **)((int)closurev + 0x44);" statement_identifier : (expression_statement "__position._M_current = *(Language **)((int)closurev + 0x44);" (assignment_expression "__position._M_current = *(Language **)((int)closurev + 0x44)" (field_expression "__position._M_current" identifier . field_identifier) = (pointer_expression "*(Language **)((int)closurev + 0x44)" * (cast_expression "(Language **)((int)closurev + 0x44)" ( (type_descriptor "Language **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x44)" ( (binary_expression "(int)closurev + 0x44" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;)) (if_statement "if (__position._M_current == *(Language **)((int)closurev + 0x48)) {\n    std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);\n  }\n  else {\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }" if (parenthesized_expression "(__position._M_current == *(Language **)((int)closurev + 0x48))" ( (binary_expression "__position._M_current == *(Language **)((int)closurev + 0x48)" (field_expression "__position._M_current" identifier . field_identifier) == (pointer_expression "*(Language **)((int)closurev + 0x48)" * (cast_expression "(Language **)((int)closurev + 0x48)" ( (type_descriptor "Language **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x48)" ( (binary_expression "(int)closurev + 0x48" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);\n  }" { (labeled_statement "std::\n    vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier (ERROR "::\n    vector<gold:" : : (binary_expression "vector<gold" identifier < identifier) :) : (labeled_statement "Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier (ERROR "::Language,_std::allocator<gold:" : : (comma_expression "Language,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Version_script_info::Language>_>\n    ::_M_realloc_insert<const_gold::Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier (ERROR "::Language>_>\n    ::_M_realloc_insert<const_gold:" : : (binary_expression "Language>_" identifier > identifier) > : : (binary_expression "_M_realloc_insert<const_gold" identifier < identifier) :) : (labeled_statement "Version_script_info::Language&>\n              ((vector<gold::Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier (ERROR "::Language&>\n              ((vector<gold:" : : identifier (ERROR "&" &) > ( ( (binary_expression "vector<gold" identifier < identifier) :) : (labeled_statement "Version_script_info::Language,_std::allocator<gold::Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier (ERROR "::Language,_std::allocator<gold:" : : (comma_expression "Language,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Version_script_info::Language>_>\n                *)((int)closurev + 0x40),__position,&local_38);" statement_identifier : (ERROR ":Language>_>\n                *)((int)closurev" : (binary_expression "Language>_" identifier > identifier) > * ) ( ( primitive_type (ERROR ")" )) identifier) (expression_statement "+ 0x40),__position,&local_38);" (comma_expression "+ 0x40),__position,&local_38" (unary_expression "+ 0x40" + number_literal) (ERROR ")" )) , (comma_expression "__position,&local_38" identifier , (pointer_expression "&local_38" & identifier))) (ERROR ")" )) ;))))))) }) (else_clause "else {\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }" else (compound_statement "{\n    *__position._M_current = local_38;\n    *(Language **)((int)closurev + 0x44) = __position._M_current + 1;\n  }" { (expression_statement "*__position._M_current = local_38;" (assignment_expression "*__position._M_current = local_38" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = identifier) ;) (expression_statement "*(Language **)((int)closurev + 0x44) = __position._M_current + 1;" (assignment_expression "*(Language **)((int)closurev + 0x44) = __position._M_current + 1" (pointer_expression "*(Language **)((int)closurev + 0x44)" * (cast_expression "(Language **)((int)closurev + 0x44)" ( (type_descriptor "Language **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)closurev + 0x44)" ( (binary_expression "(int)closurev + 0x44" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) }))) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2) {\n    operator_delete(language._M_dataplus._M_p);\n  }" if (parenthesized_expression "((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2)" ( (ERROR "anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::" (comma_expression "anon_union_16_2_edb7204a_for_basic_string<char,_std" (binary_expression "anon_union_16_2_edb7204a_for_basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_>_9\n       *)language._M_dataplus._M_p != &language.field_2" (binary_expression "allocator<char>_>_9\n       *)language._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)language._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "language._M_dataplus._M_p" (field_expression "language._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&language.field_2" & (field_expression "language.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(language._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(language._M_dataplus._M_p);" (call_expression "operator_delete(language._M_dataplus._M_p)" identifier (argument_list "(language._M_dataplus._M_p)" ( (field_expression "language._M_dataplus._M_p" (field_expression "language._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0017f460(int param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0017f460(int param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0017f460(int param_1,int param_2,int param_3)" identifier (parameter_list "(int param_1,int param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "undefined4 local_38;" type_identifier identifier ;) (declaration "undefined1 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" identifier = identifier) ;) (expression_statement "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(&local_34,param_2,param_3 + param_2,0)" ( (pointer_expression "&local_34" & identifier) , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (if_statement "if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" { (expression_statement "iVar3 = FUN_002095f0(&local_34,"C");" (assignment_expression "iVar3 = FUN_002095f0(&local_34,"C")" identifier = (call_expression "FUN_002095f0(&local_34,"C")" identifier (argument_list "(&local_34,"C")" ( (pointer_expression "&local_34" & identifier) , (string_literal ""C"" " string_content ") )))) ;) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" { (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb)" identifier = (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddb)" identifier (argument_list "(&local_34,&DAT_002b3ddb)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&DAT_002b3ddb" & identifier) )))) ;) (expression_statement "local_38 = 1;" (assignment_expression "local_38 = 1" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf)" identifier = (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddf)" identifier (argument_list "(&local_34,&DAT_002b3ddf)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&DAT_002b3ddf" & identifier) )))) ;) (expression_statement "local_38 = 2;" (assignment_expression "local_38 = 2" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0017f4b9;" goto statement_identifier ;)) (expression_statement "__s = (char *)FUN_001fd400(param_3 + 100U);" (assignment_expression "__s = (char *)FUN_001fd400(param_3 + 100U)" identifier = (cast_expression "(char *)FUN_001fd400(param_3 + 100U)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_001fd400(param_3 + 100U)" identifier (argument_list "(param_3 + 100U)" ( (binary_expression "param_3 + 100U" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" identifier = identifier) ;) (expression_statement "__format = (char *)gettext("unrecognized version script language \'%s\'");" (assignment_expression "__format = (char *)gettext("unrecognized version script language \'%s\'")" identifier = (cast_expression "(char *)gettext("unrecognized version script language \'%s\'")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("unrecognized version script language \'%s\'")" identifier (argument_list "("unrecognized version script language \'%s\'")" ( (string_literal ""unrecognized version script language \'%s\'"" " string_content escape_sequence string_content escape_sequence ") ))))) ;) (expression_statement "snprintf(__s,param_3 + 100U,__format,puVar2);" (call_expression "snprintf(__s,param_3 + 100U,__format,puVar2)" identifier (argument_list "(__s,param_3 + 100U,__format,puVar2)" ( identifier , (binary_expression "param_3 + 100U" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_0017df50(param_1,__s);" (call_expression "FUN_0017df50(param_1,__s)" identifier (argument_list "(param_1,__s)" ( identifier , identifier ))) ;) (expression_statement "FUN_001fefd0(__s);" (call_expression "FUN_001fefd0(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) })) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);" statement_identifier : (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x44)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) ))))) ;)) (if_statement "if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" if (parenthesized_expression "(puVar1 == *(undefined4 **)(param_1 + 0x48))" ( (binary_expression "puVar1 == *(undefined4 **)(param_1 + 0x48)" identifier == (pointer_expression "*(undefined4 **)(param_1 + 0x48)" * (cast_expression "(undefined4 **)(param_1 + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }" { (expression_statement "FUN_00182610(param_1 + 0x40,puVar1,&local_38);" (call_expression "FUN_00182610(param_1 + 0x40,puVar1,&local_38)" identifier (argument_list "(param_1 + 0x40,puVar1,&local_38)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) ))) ;) }) (else_clause "else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" else (compound_statement "{\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" { (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" * (cast_expression "(undefined4 **)(param_1 + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) }))) (if_statement "if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }" if (parenthesized_expression "(local_34 != local_2c)" ( (binary_expression "local_34 != local_2c" identifier != identifier) )) (compound_statement "{\n    FUN_001ff030(local_34);\n  }" { (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0017f460(int param_1,int param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0017f460(int param_1,int param_2,int param_3)" (identifier "FUN_0017f460") (parameter_list "(int param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined1 *puVar2;\n  int iVar3;\n  char *__s;\n  char *__format;\n  undefined4 local_38;\n  undefined1 *local_34;\n  int local_30;\n  undefined1 local_2c [28];\n  \n  local_34 = local_2c;\n  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);\n  if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }\n  local_38 = 0;\nLAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);\n  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }\n  if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "undefined4 local_38;" (type_identifier "undefined4") (identifier "local_38") (; ";")) (declaration "undefined1 *local_34;" (type_identifier "undefined1") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (expression_statement "local_34 = local_2c;" (assignment_expression "local_34 = local_2c" (identifier "local_34") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_0005ec40(&local_34,param_2,param_3 + param_2,0)" (identifier "FUN_0005ec40") (argument_list "(&local_34,param_2,param_3 + param_2,0)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + param_2" (identifier "param_3") (+ "+") (identifier "param_2")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_30 != 0) {\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = FUN_002095f0(&local_34,"C");\n    if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }\n  }" ({ "{") (expression_statement "iVar3 = FUN_002095f0(&local_34,"C");" (assignment_expression "iVar3 = FUN_002095f0(&local_34,"C")" (identifier "iVar3") (= "=") (call_expression "FUN_002095f0(&local_34,"C")" (identifier "FUN_002095f0") (argument_list "(&local_34,"C")" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (string_literal ""C"" (" """) (string_content "C") (" """)) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);\n      local_38 = 1;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);\n      local_38 = 2;\n      if (iVar3 == 0) goto LAB_0017f4b9;\n                    \n      __s = (char *)FUN_001fd400(param_3 + 100U);\n      puVar2 = local_34;\n      __format = (char *)gettext("unrecognized version script language \'%s\'");\n      snprintf(__s,param_3 + 100U,__format,puVar2);\n      FUN_0017df50(param_1,__s);\n      FUN_001fefd0(__s);\n    }" ({ "{") (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb)" (identifier "iVar3") (= "=") (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddb)" (identifier "FUN_002095f0") (argument_list "(&local_34,&DAT_002b3ddb)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&DAT_002b3ddb" (& "&") (identifier "DAT_002b3ddb")) () ")")))) (; ";")) (expression_statement "local_38 = 1;" (assignment_expression "local_38 = 1" (identifier "local_38") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0017f4b9;" (goto "goto") (statement_identifier "LAB_0017f4b9") (; ";"))) (expression_statement "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);" (assignment_expression "iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf)" (identifier "iVar3") (= "=") (call_expression "FUN_002095f0(&local_34,&DAT_002b3ddf)" (identifier "FUN_002095f0") (argument_list "(&local_34,&DAT_002b3ddf)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&DAT_002b3ddf" (& "&") (identifier "DAT_002b3ddf")) () ")")))) (; ";")) (expression_statement "local_38 = 2;" (assignment_expression "local_38 = 2" (identifier "local_38") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_0017f4b9;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0017f4b9;" (goto "goto") (statement_identifier "LAB_0017f4b9") (; ";"))) (expression_statement "__s = (char *)FUN_001fd400(param_3 + 100U);" (assignment_expression "__s = (char *)FUN_001fd400(param_3 + 100U)" (identifier "__s") (= "=") (cast_expression "(char *)FUN_001fd400(param_3 + 100U)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_001fd400(param_3 + 100U)" (identifier "FUN_001fd400") (argument_list "(param_3 + 100U)" (( "(") (binary_expression "param_3 + 100U" (identifier "param_3") (+ "+") (number_literal "100U")) () ")"))))) (; ";")) (expression_statement "puVar2 = local_34;" (assignment_expression "puVar2 = local_34" (identifier "puVar2") (= "=") (identifier "local_34")) (; ";")) (expression_statement "__format = (char *)gettext("unrecognized version script language \'%s\'");" (assignment_expression "__format = (char *)gettext("unrecognized version script language \'%s\'")" (identifier "__format") (= "=") (cast_expression "(char *)gettext("unrecognized version script language \'%s\'")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "gettext("unrecognized version script language \'%s\'")" (identifier "gettext") (argument_list "("unrecognized version script language \'%s\'")" (( "(") (string_literal ""unrecognized version script language \'%s\'"" (" """) (string_content "unrecognized version script language ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) () ")"))))) (; ";")) (expression_statement "snprintf(__s,param_3 + 100U,__format,puVar2);" (call_expression "snprintf(__s,param_3 + 100U,__format,puVar2)" (identifier "snprintf") (argument_list "(__s,param_3 + 100U,__format,puVar2)" (( "(") (identifier "__s") (, ",") (binary_expression "param_3 + 100U" (identifier "param_3") (+ "+") (number_literal "100U")) (, ",") (identifier "__format") (, ",") (identifier "puVar2") () ")"))) (; ";")) (expression_statement "FUN_0017df50(param_1,__s);" (call_expression "FUN_0017df50(param_1,__s)" (identifier "FUN_0017df50") (argument_list "(param_1,__s)" (( "(") (identifier "param_1") (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "FUN_001fefd0(__s);" (call_expression "FUN_001fefd0(__s)" (identifier "FUN_001fefd0") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "local_38 = 0;" (assignment_expression "local_38 = 0" (identifier "local_38") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0017f4b9:\n  puVar1 = *(undefined4 **)(param_1 + 0x44);" (statement_identifier "LAB_0017f4b9") (: ":") (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x44);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x44)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")"))))) (; ";"))) (if_statement "if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }\n  else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" (if "if") (parenthesized_expression "(puVar1 == *(undefined4 **)(param_1 + 0x48))" (( "(") (binary_expression "puVar1 == *(undefined4 **)(param_1 + 0x48)" (identifier "puVar1") (== "==") (pointer_expression "*(undefined4 **)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (compound_statement "{\n    FUN_00182610(param_1 + 0x40,puVar1,&local_38);\n  }" ({ "{") (expression_statement "FUN_00182610(param_1 + 0x40,puVar1,&local_38);" (call_expression "FUN_00182610(param_1 + 0x40,puVar1,&local_38)" (identifier "FUN_00182610") (argument_list "(param_1 + 0x40,puVar1,&local_38)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) (, ",") (identifier "puVar1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" (else "else") (compound_statement "{\n    *puVar1 = local_38;\n    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;\n  }" ({ "{") (expression_statement "*puVar1 = local_38;" (assignment_expression "*puVar1 = local_38" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x44) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (if_statement "if (local_34 != local_2c) {\n    FUN_001ff030(local_34);\n  }" (if "if") (parenthesized_expression "(local_34 != local_2c)" (( "(") (binary_expression "local_34 != local_2c" (identifier "local_34") (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001ff030(local_34);\n  }" ({ "{") (expression_statement "FUN_001ff030(local_34);" (call_expression "FUN_001ff030(local_34)" (identifier "FUN_001ff030") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void function_1(void *closurev,char *var_3,int var_4)

{
  type_1 __position;
  type_2 _Var1;
  int var_6;
  char *__s;
  char *__format;
  type_3 local_38;
  type_4 language;
  
  language._M_dataplus._M_p = (pointer)&language.field_2;
  std::__cxx11::basic_string<var_13,_std::char_traits<var_13>,_std::var_12<var_13>var_14>::
  var_1<var_2*>(&language,var_3,var_3 + var_4,0);
  if (language._M_string_length != 0) {
    var_6 = std::string::var_5((type_4 *)&language,"C");
    if (var_6 != 0) {
      var_6 = std::string::var_5((type_4 *)&language,"C++");
      local_38 = LANGUAGE_CXX;
      if (var_6 == 0) goto LAB_0017f4b9;
      var_6 = std::string::var_5((type_4 *)&language,"Java");
      local_38 = LANGUAGE_JAVA;
      if (var_6 == 0) goto LAB_0017f4b9;
                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */
      __s = (char *)var_7(var_4 + 100U);
      _Var1 = language._M_dataplus;
      __format = (char *)var_8("unrecognized version script language \'%s\'");
      var_9(__s,var_4 + 100U,__format,_Var1._M_p);
      var_10(closurev,__s);
      var_11(__s);
    }
  }
  local_38 = LANGUAGE_C;
LAB_0017f4b9:
  __position._M_current = *(type_3 **)((int)closurev + 0x44);
  if (__position._M_current == *(type_3 **)((int)closurev + 0x48)) {
    std::
    vector<gold::Version_script_info::type_3,_std::var_12<gold::Version_script_info::type_3>var_14>
    ::_M_realloc_insert<const_gold::Version_script_info::type_3&>
              ((vector<gold::Version_script_info::type_3,_std::var_12<gold::Version_script_info::type_3>var_14>
                *)((int)closurev + 0x40),__position,&local_38);
  }
  else {
    *__position._M_current = local_38;
    *(type_3 **)((int)closurev + 0x44) = __position._M_current + 1;
  }
  if ((anon_union_16_2_edb7204a_for_basic_string<var_13,_std::char_traits<var_13>,_std::var_12<var_13>var_14>var_15
       *)language._M_dataplus._M_p != &language.field_2) {
    var_16(language._M_dataplus._M_p);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (binary_expression left: (identifier) right: (identifier)) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (pointer_expression argument: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void MASKED(int param_1,int param_2,int param_3)

{
  undefined4 *puVar1;
  undefined1 *puVar2;
  int iVar3;
  char *__s;
  char *__format;
  undefined4 local_38;
  undefined1 *local_34;
  int local_30;
  undefined1 local_2c [28];
  
  local_34 = local_2c;
  FUN_0005ec40(&local_34,param_2,param_3 + param_2,0);
  if (local_30 != 0) {
    iVar3 = FUN_002095f0(&local_34,"C");
    if (iVar3 != 0) {
      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddb);
      local_38 = 1;
      if (iVar3 == 0) goto LAB_0017f4b9;
      iVar3 = FUN_002095f0(&local_34,&DAT_002b3ddf);
      local_38 = 2;
      if (iVar3 == 0) goto LAB_0017f4b9;
                    /* try { // try from 0017f541 to 0017f5a3 has its CatchHandler @ 0017f5ac */
      __s = (char *)FUN_001fd400(param_3 + 100U);
      puVar2 = local_34;
      __format = (char *)gettext("unrecognized version script language \'%s\'");
      snprintf(__s,param_3 + 100U,__format,puVar2);
      FUN_0017df50(param_1,__s);
      FUN_001fefd0(__s);
    }
  }
  local_38 = 0;
LAB_0017f4b9:
  puVar1 = *(undefined4 **)(param_1 + 0x44);
  if (puVar1 == *(undefined4 **)(param_1 + 0x48)) {
    FUN_00182610(param_1 + 0x40,puVar1,&local_38);
  }
  else {
    *puVar1 = local_38;
    *(undefined4 **)(param_1 + 0x44) = puVar1 + 1;
  }
  if (local_34 != local_2c) {
    FUN_001ff030(local_34);
  }
  return;
}

