
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */

int script_check_output_format
              (void *closurev,char *default_name,size_t default_length,char *param_4,size_t param_5,
              char *param_6,size_t param_7)

{
  bool bVar1;
  Target *target;
  int local_40;
  string name;
  
  name._M_dataplus._M_p = (pointer)&name.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&name,default_name,default_name + default_length,0);
                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */
  target = gold::select_target_by_bfd_name(name._M_dataplus._M_p);
  if (target == (Target *)0x0) {
LAB_00142f60:
    if (*(char *)((int)closurev + 0x17) != '\0') {
      local_40 = 0;
      *(undefined1 *)((int)closurev + 0x18) = 1;
      goto LAB_00142f40;
    }
  }
  else {
    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);
    if (!bVar1) goto LAB_00142f60;
  }
  local_40 = 1;
LAB_00142f40:
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)name._M_dataplus._M_p != &name.field_2) {
    operator_delete(name._M_dataplus._M_p);
  }
  return local_40;
}



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

undefined4 FUN_00142ee0(int param_1,int param_2,int param_3)

{
  char cVar1;
  int iVar2;
  undefined4 local_40;
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  local_34[0] = local_2c;
  FUN_00056c80(local_34,param_2,param_3 + param_2,0);
                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */
  iVar2 = FUN_00160340(local_34[0]);
  if (iVar2 == 0) {
LAB_00142f60:
    if (*(char *)(param_1 + 0x17) != '\0') {
      local_40 = 0;
      *(undefined1 *)(param_1 + 0x18) = 1;
      goto LAB_00142f40;
    }
  }
  else {
    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);
    if (cVar1 == '\0') goto LAB_00142f60;
  }
  local_40 = 1;
LAB_00142f40:
  if (local_34[0] != local_2c) {
    FUN_001ac470(local_34[0]);
  }
  return local_40;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA EDX,[EBP + -0x30]
LEA EDI,[EBP + -0x28]
CALL 0x000487a6
ADD ESI,0x1fc110
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [EBP + 0x10]
MOV dword ptr [EBP + -0x30],EDI
PUSH 0x0
ADD ECX,EAX
PUSH ECX
MOV EBX,ESI
PUSH EAX
PUSH EDX
CALL 0x00056c80
POP EAX
PUSH dword ptr [EBP + -0x30]
CALL 0x00160340
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00142f60
SUB ESP,0x8
PUSH EAX
LEA EAX,[ESI + 0x2f0]
PUSH dword ptr [EAX]
CALL 0x00119fc0
ADD ESP,0x10
TEST AL,AL
JZ 0x00142f60
MOV dword ptr [EBP + -0x3c],0x1
MOV EDX,dword ptr [EBP + -0x30]
CMP EDX,EDI
JZ 0x00142f55
SUB ESP,0xc
MOV EBX,ESI
PUSH EDX
CALL 0x001ac470
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x3c]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0x8]
CMP byte ptr [EAX + 0x17],0x0
JZ 0x00142f39
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x3c],0x0
MOV byte ptr [EAX + 0x18],0x1
JMP 0x00142f40
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_00142ee0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}\n\n" comment (function_definition "undefined4 FUN_00142ee0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" type_identifier (function_declarator "FUN_00142ee0(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  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined1 *local_34 [2];" type_identifier (pointer_declarator "*local_34 [2]" * (array_declarator "local_34 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_34[0] = local_2c;" (assignment_expression "local_34[0] = local_2c" (subscript_expression "local_34[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00056c80(local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00056c80(local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(local_34,param_2,param_3 + param_2,0)" ( identifier , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) comment (expression_statement "iVar2 = FUN_00160340(local_34[0]);" (assignment_expression "iVar2 = FUN_00160340(local_34[0])" identifier = (call_expression "FUN_00160340(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }" { (labeled_statement "LAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x17) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x17) != '\0'" (pointer_expression "*(char *)(param_1 + 0x17)" * (cast_expression "(char *)(param_1 + 0x17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00142f40;" goto statement_identifier ;) }))) }) (else_clause "else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" else (compound_statement "{\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" { (expression_statement "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);" (assignment_expression "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2)" identifier = (call_expression "FUN_00119fc0(DAT_0033f2f0,iVar2)" identifier (argument_list "(DAT_0033f2f0,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 == '\0') goto LAB_00142f60;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00142f60;" goto statement_identifier ;)) }))) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" statement_identifier : (if_statement "if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" if (parenthesized_expression "(local_34[0] != local_2c)" ( (binary_expression "local_34[0] != local_2c" (subscript_expression "local_34[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_001ac470(local_34[0]);\n  }" { (expression_statement "FUN_001ac470(local_34[0]);" (call_expression "FUN_001ac470(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) }))) (return_statement "return local_40;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nint script_check_output_format\n              (void *closurev,char *default_name,size_t default_length,char *param_4,size_t param_5,\n              char *param_6,size_t param_7)\n\n{\n  bool bVar1;\n  Target *target;\n  int local_40;\n  string name;\n  \n  name._M_dataplus._M_p = (pointer)&name.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name,default_name,default_name + default_length,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  target = gold::select_target_by_bfd_name(name._M_dataplus._M_p);\n  if (target == (Target *)0x0) {\nLAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return local_40;\n}\n\n" comment comment comment (function_definition "int script_check_output_format\n              (void *closurev,char *default_name,size_t default_length,char *param_4,size_t param_5,\n              char *param_6,size_t param_7)\n\n{\n  bool bVar1;\n  Target *target;\n  int local_40;\n  string name;\n  \n  name._M_dataplus._M_p = (pointer)&name.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name,default_name,default_name + default_length,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  target = gold::select_target_by_bfd_name(name._M_dataplus._M_p);\n  if (target == (Target *)0x0) {\nLAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return local_40;\n}" primitive_type (function_declarator "script_check_output_format\n              (void *closurev,char *default_name,size_t default_length,char *param_4,size_t param_5,\n              char *param_6,size_t param_7)" identifier (parameter_list "(void *closurev,char *default_name,size_t default_length,char *param_4,size_t param_5,\n              char *param_6,size_t param_7)" ( (parameter_declaration "void *closurev" primitive_type (pointer_declarator "*closurev" * identifier)) , (parameter_declaration "char *default_name" primitive_type (pointer_declarator "*default_name" * identifier)) , (parameter_declaration "size_t default_length" primitive_type identifier) , (parameter_declaration "char *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "size_t param_5" primitive_type identifier) , (parameter_declaration "char *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "size_t param_7" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  Target *target;\n  int local_40;\n  string name;\n  \n  name._M_dataplus._M_p = (pointer)&name.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name,default_name,default_name + default_length,0);\n                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */\n  target = gold::select_target_by_bfd_name(name._M_dataplus._M_p);\n  if (target == (Target *)0x0) {\nLAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }\n  return local_40;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "Target *target;" type_identifier (pointer_declarator "*target" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "string name;" type_identifier identifier ;) (expression_statement "name._M_dataplus._M_p = (pointer)&name.field_2;" (assignment_expression "name._M_dataplus._M_p = (pointer)&name.field_2" (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&name.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "name.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&name,default_name,default_name + default_length,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*>(&name,default_name,default_name + default_length,0);" (binary_expression "_M_construct<char_const*>(&name,default_name,default_name + default_length,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&name,default_name,default_name + default_length,0)" ( (comma_expression "&name,default_name,default_name + default_length,0" (pointer_expression "&name" & identifier) , (comma_expression "default_name,default_name + default_length,0" identifier , (comma_expression "default_name + default_length,0" (binary_expression "default_name + default_length" identifier + identifier) , number_literal))) ))) ;)) comment (ERROR "target = gold::" (assignment_expression "target = gold" identifier = identifier) : :) (expression_statement "select_target_by_bfd_name(name._M_dataplus._M_p);" (call_expression "select_target_by_bfd_name(name._M_dataplus._M_p)" identifier (argument_list "(name._M_dataplus._M_p)" ( (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) (if_statement "if (target == (Target *)0x0) {\nLAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }" if (parenthesized_expression "(target == (Target *)0x0)" ( (binary_expression "target == (Target *)0x0" identifier == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }" { (labeled_statement "LAB_00142f60:\n    if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }" statement_identifier : (if_statement "if (*(char *)((int)closurev + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }" if (parenthesized_expression "(*(char *)((int)closurev + 0x17) != '\0')" ( (binary_expression "*(char *)((int)closurev + 0x17) != '\0'" (pointer_expression "*(char *)((int)closurev + 0x17)" * (cast_expression "(char *)((int)closurev + 0x17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x17)" ( (binary_expression "(int)closurev + 0x17" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_40 = 0;\n      *(undefined1 *)((int)closurev + 0x18) = 1;\n      goto LAB_00142f40;\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)((int)closurev + 0x18) = 1;" (assignment_expression "*(undefined1 *)((int)closurev + 0x18) = 1" (pointer_expression "*(undefined1 *)((int)closurev + 0x18)" * (cast_expression "(undefined1 *)((int)closurev + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)closurev + 0x18)" ( (binary_expression "(int)closurev + 0x18" (cast_expression "(int)closurev" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00142f40;" goto statement_identifier ;) }))) }) (else_clause "else {\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }" else (compound_statement "{\n    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,target);\n    if (!bVar1) goto LAB_00142f60;\n  }" { (ERROR "bVar1 = gold::" (assignment_expression "bVar1 = gold" identifier = identifier) : :) (labeled_statement "Parameters::is_compatible_target(gold::parameters,target);" statement_identifier : (ERROR ":" :) (labeled_statement "is_compatible_target(gold::parameters,target);" statement_identifier (ERROR "(gold:" ( (type_descriptor "gold" type_identifier) :) : (expression_statement "parameters,target);" (comma_expression "parameters,target" identifier , identifier) (ERROR ")" )) ;))) (if_statement "if (!bVar1) goto LAB_00142f60;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_00142f60;" goto statement_identifier ;)) }))) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00142f40:\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._M_dataplus._M_p);\n  }" statement_identifier : (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.field_2) {\n    operator_delete(name._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       *)name._M_dataplus._M_p != &name.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)name._M_dataplus._M_p != &name.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       *)name._M_dataplus._M_p != &name.field_2" (binary_expression "allocator<char>_>_9\n       *)name._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)name._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&name.field_2" & (field_expression "name.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(name._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(name._M_dataplus._M_p);" (call_expression "operator_delete(name._M_dataplus._M_p)" identifier (argument_list "(name._M_dataplus._M_p)" ( (field_expression "name._M_dataplus._M_p" (field_expression "name._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) }))) (return_statement "return local_40;" return identifier ;) })))
(translation_unit "undefined4 FUN_00142ee0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    \n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}\n\n" (function_definition "undefined4 FUN_00142ee0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    \n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" type_identifier (function_declarator "FUN_00142ee0(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  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    \n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 local_40;" type_identifier identifier ;) (declaration "undefined1 *local_34 [2];" type_identifier (pointer_declarator "*local_34 [2]" * (array_declarator "local_34 [2]" identifier [ number_literal ])) ;) (declaration "undefined1 local_2c [28];" type_identifier (array_declarator "local_2c [28]" identifier [ number_literal ]) ;) (expression_statement "local_34[0] = local_2c;" (assignment_expression "local_34[0] = local_2c" (subscript_expression "local_34[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00056c80(local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00056c80(local_34,param_2,param_3 + param_2,0)" identifier (argument_list "(local_34,param_2,param_3 + param_2,0)" ( identifier , identifier , (binary_expression "param_3 + param_2" identifier + identifier) , number_literal ))) ;) (expression_statement "iVar2 = FUN_00160340(local_34[0]);" (assignment_expression "iVar2 = FUN_00160340(local_34[0])" identifier = (call_expression "FUN_00160340(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }" { (labeled_statement "LAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" statement_identifier : (if_statement "if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" if (parenthesized_expression "(*(char *)(param_1 + 0x17) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x17) != '\0'" (pointer_expression "*(char *)(param_1 + 0x17)" * (cast_expression "(char *)(param_1 + 0x17)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x17)" ( (binary_expression "param_1 + 0x17" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" * (cast_expression "(undefined1 *)(param_1 + 0x18)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00142f40;" goto statement_identifier ;) }))) }) (else_clause "else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" else (compound_statement "{\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" { (expression_statement "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);" (assignment_expression "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2)" identifier = (call_expression "FUN_00119fc0(DAT_0033f2f0,iVar2)" identifier (argument_list "(DAT_0033f2f0,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (cVar1 == '\0') goto LAB_00142f60;" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00142f60;" goto statement_identifier ;)) }))) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) (labeled_statement "LAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" statement_identifier : (if_statement "if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" if (parenthesized_expression "(local_34[0] != local_2c)" ( (binary_expression "local_34[0] != local_2c" (subscript_expression "local_34[0]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    FUN_001ac470(local_34[0]);\n  }" { (expression_statement "FUN_001ac470(local_34[0]);" (call_expression "FUN_001ac470(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) }))) (return_statement "return local_40;" return identifier ;) })))
(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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00142ee0(int param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    \n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" (type_identifier "undefined4") (function_declarator "FUN_00142ee0(int param_1,int param_2,int param_3)" (identifier "FUN_00142ee0") (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  char cVar1;\n  int iVar2;\n  undefined4 local_40;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  local_34[0] = local_2c;\n  FUN_00056c80(local_34,param_2,param_3 + param_2,0);\n                    \n  iVar2 = FUN_00160340(local_34[0]);\n  if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }\n  local_40 = 1;\nLAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }\n  return local_40;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 local_40;" (type_identifier "undefined4") (identifier "local_40") (; ";")) (declaration "undefined1 *local_34 [2];" (type_identifier "undefined1") (pointer_declarator "*local_34 [2]" (* "*") (array_declarator "local_34 [2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]"))) (; ";")) (declaration "undefined1 local_2c [28];" (type_identifier "undefined1") (array_declarator "local_2c [28]" (identifier "local_2c") ([ "[") (number_literal "28") (] "]")) (; ";")) (expression_statement "local_34[0] = local_2c;" (assignment_expression "local_34[0] = local_2c" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "FUN_00056c80(local_34,param_2,param_3 + param_2,0);" (call_expression "FUN_00056c80(local_34,param_2,param_3 + param_2,0)" (identifier "FUN_00056c80") (argument_list "(local_34,param_2,param_3 + param_2,0)" (( "(") (identifier "local_34") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 + param_2" (identifier "param_3") (+ "+") (identifier "param_2")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = FUN_00160340(local_34[0]);" (assignment_expression "iVar2 = FUN_00160340(local_34[0])" (identifier "iVar2") (= "=") (call_expression "FUN_00160340(local_34[0])" (identifier "FUN_00160340") (argument_list "(local_34[0])" (( "(") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }\n  else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }\n  }" ({ "{") (labeled_statement "LAB_00142f60:\n    if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" (statement_identifier "LAB_00142f60") (: ":") (if_statement "if (*(char *)(param_1 + 0x17) != '\0') {\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x17) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x17) != '\0'" (pointer_expression "*(char *)(param_1 + 0x17)" (* "*") (cast_expression "(char *)(param_1 + 0x17)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x17)" (( "(") (binary_expression "param_1 + 0x17" (identifier "param_1") (+ "+") (number_literal "0x17")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      local_40 = 0;\n      *(undefined1 *)(param_1 + 0x18) = 1;\n      goto LAB_00142f40;\n    }" ({ "{") (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x18) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 0x18) = 1" (pointer_expression "*(undefined1 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00142f40;" (goto "goto") (statement_identifier "LAB_00142f40") (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" (else "else") (compound_statement "{\n    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);\n    if (cVar1 == '\0') goto LAB_00142f60;\n  }" ({ "{") (expression_statement "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);" (assignment_expression "cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2)" (identifier "cVar1") (= "=") (call_expression "FUN_00119fc0(DAT_0033f2f0,iVar2)" (identifier "FUN_00119fc0") (argument_list "(DAT_0033f2f0,iVar2)" (( "(") (identifier "DAT_0033f2f0") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (cVar1 == '\0') goto LAB_00142f60;" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00142f60;" (goto "goto") (statement_identifier "LAB_00142f60") (; ";"))) (} "}")))) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" (identifier "local_40") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_00142f40:\n  if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" (statement_identifier "LAB_00142f40") (: ":") (if_statement "if (local_34[0] != local_2c) {\n    FUN_001ac470(local_34[0]);\n  }" (if "if") (parenthesized_expression "(local_34[0] != local_2c)" (( "(") (binary_expression "local_34[0] != local_2c" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (!= "!=") (identifier "local_2c")) () ")")) (compound_statement "{\n    FUN_001ac470(local_34[0]);\n  }" ({ "{") (expression_statement "FUN_001ac470(local_34[0]);" (call_expression "FUN_001ac470(local_34[0])" (identifier "FUN_001ac470") (argument_list "(local_34[0])" (( "(") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}")))) (return_statement "return local_40;" (return "return") (identifier "local_40") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */

int function_1
              (void *closurev,char *var_3,size_t var_4,char *param_4,size_t param_5,
              char *param_6,size_t param_7)

{
  bool bVar1;
  type_1 *var_6;
  int local_40;
  type_2 name;
  
  name._M_dataplus._M_p = (pointer)&name.field_2;
  std::__cxx11::basic_string<var_8,_std::char_traits<var_8>,_std::var_7<var_8>var_9>::
  var_1<var_2*>(&name,var_3,var_3 + var_4,0);
                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */
  var_6 = gold::var_5(name._M_dataplus._M_p);
  if (var_6 == (type_1 *)0x0) {
LAB_00142f60:
    if (*(char *)((int)closurev + 0x17) != '\0') {
      local_40 = 0;
      *(type_3 *)((int)closurev + 0x18) = 1;
      goto LAB_00142f40;
    }
  }
  else {
    bVar1 = gold::Parameters::is_compatible_target(gold::parameters,var_6);
    if (!bVar1) goto LAB_00142f60;
  }
  local_40 = 1;
LAB_00142f40:
  if ((anon_union_16_2_edb7204a_for_basic_string<var_8,_std::char_traits<var_8>,_std::var_7<var_8>var_9>var_10
       *)name._M_dataplus._M_p != &name.field_2) {
    var_11(name._M_dataplus._M_p);
  }
  return local_40;
}


(translation_unit (function_definition type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))))) (return_statement (identifier)))))

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

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

{
  char cVar1;
  int iVar2;
  undefined4 local_40;
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  local_34[0] = local_2c;
  FUN_00056c80(local_34,param_2,param_3 + param_2,0);
                    /* try { // try from 00142f15 to 00142f31 has its CatchHandler @ 00142f79 */
  iVar2 = FUN_00160340(local_34[0]);
  if (iVar2 == 0) {
LAB_00142f60:
    if (*(char *)(param_1 + 0x17) != '\0') {
      local_40 = 0;
      *(undefined1 *)(param_1 + 0x18) = 1;
      goto LAB_00142f40;
    }
  }
  else {
    cVar1 = FUN_00119fc0(DAT_0033f2f0,iVar2);
    if (cVar1 == '\0') goto LAB_00142f60;
  }
  local_40 = 1;
LAB_00142f40:
  if (local_34[0] != local_2c) {
    FUN_001ac470(local_34[0]);
  }
  return local_40;
}

