
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: bool handle_gnu_warning_section(Object * this, char * name, uint shndx,
   Symbol_table * symtab) */

bool __thiscall
gold::Object::handle_gnu_warning_section(Object *this,char *name,uint shndx,Symbol_table *symtab)

{
  char *__s;
  int iVar1;
  char *pcVar2;
  section_size_type len;
  char warn_prefix [14];
  string warning;
  
  builtin_strncpy(warn_prefix,".gnu.warning.",0xe);
  iVar1 = strncmp(name,warn_prefix,0xd);
  if (iVar1 != 0) {
    return false;
  }
  pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0);
  __s = name + 0xd;
  if (len == 0) {
    len = strlen(__s);
    pcVar2 = __s;
  }
  warning._M_dataplus._M_p = (pointer)&warning.field_2;
  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::
  _M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,0);
                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */
  Warnings::add_warning(&symtab->warnings_,symtab,__s,this,&warning);
  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9
       *)warning._M_dataplus._M_p != &warning.field_2) {
    operator_delete(warning._M_dataplus._M_p);
  }
  return true;
}



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

undefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)

{
  int iVar1;
  char *pcVar2;
  size_t local_48;
  char local_42 [14];
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  builtin_strncpy(local_42,".gnu.warning.",0xe);
  iVar1 = strncmp(param_2,local_42,0xd);
  if (iVar1 != 0) {
    return 0;
  }
  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);
  param_2 = param_2 + 0xd;
  if (local_48 == 0) {
    local_48 = strlen(param_2);
    pcVar2 = param_2;
  }
  local_34[0] = local_2c;
  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);
                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */
  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);
  if (local_34[0] != local_2c) {
    FUN_003ae080(local_34[0]);
  }
  return 1;
}


PUSH EBP
MOV EAX,0x2e
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x00063c76
ADD ESI,0x35dc31
PUSH EBX
SUB ESP,0x50
MOV EDI,dword ptr [EBP + 0xc]
MOV word ptr [EBP + -0x32],AX
LEA EAX,[EBP + -0x3e]
PUSH 0xd
PUSH EAX
PUSH EDI
MOV EBX,ESI
MOV dword ptr [EBP + -0x3e],0x756e672e
MOV dword ptr [EBP + -0x3a],0x7261772e
MOV dword ptr [EBP + -0x36],0x676e696e
CALL 0x00039750
ADD ESP,0x10
XOR EDX,EDX
TEST EAX,EAX
JZ 0x0028c420
LEA ESP,[EBP + -0xc]
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0x8]
LEA EDX,[EBP + -0x44]
MOV EAX,dword ptr [EAX]
PUSH 0x0
PUSH EDX
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0x8]
CALL dword ptr [EAX + 0x38]
LEA ECX,[EDI + 0xd]
MOV EDX,EAX
MOV EAX,dword ptr [EBP + -0x44]
MOV dword ptr [EBP + -0x4c],ECX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0028c4a0
LEA EBX,[EBP + -0x30]
ADD EAX,EDX
PUSH 0x0
LEA EDI,[EBP + -0x28]
PUSH EAX
PUSH EDX
PUSH EBX
MOV dword ptr [EBP + -0x30],EDI
CALL 0x00072b90
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [ESP],EBX
MOV EBX,ESI
PUSH dword ptr [EBP + 0x8]
ADD EAX,0x100
PUSH dword ptr [EBP + -0x4c]
PUSH dword ptr [EBP + 0x14]
PUSH EAX
CALL 0x0034f5f0
MOV EAX,dword ptr [EBP + -0x30]
ADD ESP,0x20
CMP EAX,EDI
JZ 0x0028c48d
SUB ESP,0xc
PUSH EAX
CALL 0x003ae080
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EDX,0x1
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV dword ptr [EBP + -0x50],ECX
PUSH ECX
CALL 0x00039330
ADD ESP,0x10
MOV EDX,dword ptr [EBP + -0x50]
MOV dword ptr [EBP + -0x44],EAX
JMP 0x0028c446
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nundefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(int *param_1,char *param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "char local_42 [14];" primitive_type (array_declarator "local_42 [14]" identifier [ number_literal ]) ;) (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 "builtin_strncpy(local_42,".gnu.warning.",0xe);" (call_expression "builtin_strncpy(local_42,".gnu.warning.",0xe)" identifier (argument_list "(local_42,".gnu.warning.",0xe)" ( identifier , (string_literal "".gnu.warning."" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = strncmp(param_2,local_42,0xd);" (assignment_expression "iVar1 = strncmp(param_2,local_42,0xd)" identifier = (call_expression "strncmp(param_2,local_42,0xd)" identifier (argument_list "(param_2,local_42,0xd)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);" (assignment_expression "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" identifier = (cast_expression "(char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_3,&local_48,0)" ( identifier , identifier , (pointer_expression "&local_48" & identifier) , number_literal ))))) ;) (expression_statement "param_2 = param_2 + 0xd;" (assignment_expression "param_2 = param_2 + 0xd" identifier = (binary_expression "param_2 + 0xd" identifier + number_literal)) ;) (if_statement "if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" if (parenthesized_expression "(local_48 == 0)" ( (binary_expression "local_48 == 0" identifier == number_literal) )) (compound_statement "{\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" { (expression_statement "local_48 = strlen(param_2);" (assignment_expression "local_48 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar2 = param_2;" (assignment_expression "pcVar2 = param_2" identifier = identifier) ;) })) (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_00072b90(local_34,pcVar2,pcVar2 + local_48,0);" (call_expression "FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0)" identifier (argument_list "(local_34,pcVar2,pcVar2 + local_48,0)" ( identifier , identifier , (binary_expression "pcVar2 + local_48" identifier + identifier) , number_literal ))) ;) comment (expression_statement "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);" (call_expression "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34)" identifier (argument_list "(param_4 + 0x100,param_4,param_2,param_1,local_34)" ( (binary_expression "param_4 + 0x100" identifier + number_literal) , identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_34[0] != local_2c) {\n    FUN_003ae080(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_003ae080(local_34[0]);\n  }" { (expression_statement "FUN_003ae080(local_34[0]);" (call_expression "FUN_003ae080(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* DWARF original prototype: bool handle_gnu_warning_section(Object * this, char * name, uint shndx,\n   Symbol_table * symtab) */\n\nbool __thiscall\ngold::Object::handle_gnu_warning_section(Object *this,char *name,uint shndx,Symbol_table *symtab)\n\n{\n  char *__s;\n  int iVar1;\n  char *pcVar2;\n  section_size_type len;\n  char warn_prefix [14];\n  string warning;\n  \n  builtin_strncpy(warn_prefix,".gnu.warning.",0xe);\n  iVar1 = strncmp(name,warn_prefix,0xd);\n  if (iVar1 != 0) {\n    return false;\n  }\n  pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0);\n  __s = name + 0xd;\n  if (len == 0) {\n    len = strlen(__s);\n    pcVar2 = __s;\n  }\n  warning._M_dataplus._M_p = (pointer)&warning.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  Warnings::add_warning(&symtab->warnings_,symtab,__s,this,&warning);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)warning._M_dataplus._M_p != &warning.field_2) {\n    operator_delete(warning._M_dataplus._M_p);\n  }\n  return true;\n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Object::handle_gnu_warning_section(Object *this,char *name,uint shndx,Symbol_table *symtab)\n\n{\n  char *__s;\n  int iVar1;\n  char *pcVar2;\n  section_size_type len;\n  char warn_prefix [14];\n  string warning;\n  \n  builtin_strncpy(warn_prefix,".gnu.warning.",0xe);\n  iVar1 = strncmp(name,warn_prefix,0xd);\n  if (iVar1 != 0) {\n    return false;\n  }\n  pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0);\n  __s = name + 0xd;\n  if (len == 0) {\n    len = strlen(__s);\n    pcVar2 = __s;\n  }\n  warning._M_dataplus._M_p = (pointer)&warning.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  Warnings::add_warning(&symtab->warnings_,symtab,__s,this,&warning);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)warning._M_dataplus._M_p != &warning.field_2) {\n    operator_delete(warning._M_dataplus._M_p);\n  }\n  return true;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Object::" identifier : : identifier : :) (function_declarator "handle_gnu_warning_section(Object *this,char *name,uint shndx,Symbol_table *symtab)" identifier (parameter_list "(Object *this,char *name,uint shndx,Symbol_table *symtab)" ( (parameter_declaration "Object *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "uint shndx" type_identifier identifier) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) ))) (compound_statement "{\n  char *__s;\n  int iVar1;\n  char *pcVar2;\n  section_size_type len;\n  char warn_prefix [14];\n  string warning;\n  \n  builtin_strncpy(warn_prefix,".gnu.warning.",0xe);\n  iVar1 = strncmp(name,warn_prefix,0xd);\n  if (iVar1 != 0) {\n    return false;\n  }\n  pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0);\n  __s = name + 0xd;\n  if (len == 0) {\n    len = strlen(__s);\n    pcVar2 = __s;\n  }\n  warning._M_dataplus._M_p = (pointer)&warning.field_2;\n  std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,0);\n                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */\n  Warnings::add_warning(&symtab->warnings_,symtab,__s,this,&warning);\n  if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)warning._M_dataplus._M_p != &warning.field_2) {\n    operator_delete(warning._M_dataplus._M_p);\n  }\n  return true;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "section_size_type len;" type_identifier identifier ;) (declaration "char warn_prefix [14];" primitive_type (array_declarator "warn_prefix [14]" identifier [ number_literal ]) ;) (declaration "string warning;" type_identifier identifier ;) (expression_statement "builtin_strncpy(warn_prefix,".gnu.warning.",0xe);" (call_expression "builtin_strncpy(warn_prefix,".gnu.warning.",0xe)" identifier (argument_list "(warn_prefix,".gnu.warning.",0xe)" ( identifier , (string_literal "".gnu.warning."" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = strncmp(name,warn_prefix,0xd);" (assignment_expression "iVar1 = strncmp(name,warn_prefix,0xd)" identifier = (call_expression "strncmp(name,warn_prefix,0xd)" identifier (argument_list "(name,warn_prefix,0xd)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return false;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0);" (assignment_expression "pcVar2 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0)" identifier = (cast_expression "(char *)(*this->_vptr_Object[0xe])(this,shndx,&len,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*this->_vptr_Object[0xe])(this,shndx,&len,0)" (parenthesized_expression "(*this->_vptr_Object[0xe])" ( (pointer_expression "*this->_vptr_Object[0xe]" * (subscript_expression "this->_vptr_Object[0xe]" (field_expression "this->_vptr_Object" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(this,shndx,&len,0)" ( identifier , identifier , (pointer_expression "&len" & identifier) , number_literal ))))) ;) (expression_statement "__s = name + 0xd;" (assignment_expression "__s = name + 0xd" identifier = (binary_expression "name + 0xd" identifier + number_literal)) ;) (if_statement "if (len == 0) {\n    len = strlen(__s);\n    pcVar2 = __s;\n  }" if (parenthesized_expression "(len == 0)" ( (binary_expression "len == 0" identifier == number_literal) )) (compound_statement "{\n    len = strlen(__s);\n    pcVar2 = __s;\n  }" { (expression_statement "len = strlen(__s);" (assignment_expression "len = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "pcVar2 = __s;" (assignment_expression "pcVar2 = __s" identifier = identifier) ;) })) (expression_statement "warning._M_dataplus._M_p = (pointer)&warning.field_2;" (assignment_expression "warning._M_dataplus._M_p = (pointer)&warning.field_2" (field_expression "warning._M_dataplus._M_p" (field_expression "warning._M_dataplus" identifier . field_identifier) . field_identifier) = (binary_expression "(pointer)&warning.field_2" (parenthesized_expression "(pointer)" ( identifier )) & (field_expression "warning.field_2" identifier . field_identifier))) ;) (labeled_statement "std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::\n  _M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,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*>(&warning,pcVar2,pcVar2 + len,0);" (binary_expression "_M_construct<char_const*>(&warning,pcVar2,pcVar2 + len,0)" (binary_expression "_M_construct<char_const" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "(&warning,pcVar2,pcVar2 + len,0)" ( (comma_expression "&warning,pcVar2,pcVar2 + len,0" (pointer_expression "&warning" & identifier) , (comma_expression "pcVar2,pcVar2 + len,0" identifier , (comma_expression "pcVar2 + len,0" (binary_expression "pcVar2 + len" identifier + identifier) , number_literal))) ))) ;)) comment (labeled_statement "Warnings::add_warning(&symtab->warnings_,symtab,__s,this,&warning);" statement_identifier : (ERROR ":" :) (expression_statement "add_warning(&symtab->warnings_,symtab,__s,this,&warning);" (call_expression "add_warning(&symtab->warnings_,symtab,__s,this,&warning)" identifier (argument_list "(&symtab->warnings_,symtab,__s,this,&warning)" ( (pointer_expression "&symtab->warnings_" & (field_expression "symtab->warnings_" identifier -> field_identifier)) , identifier , identifier , identifier , (pointer_expression "&warning" & identifier) ))) ;)) (if_statement "if ((anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)warning._M_dataplus._M_p != &warning.field_2) {\n    operator_delete(warning._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       *)warning._M_dataplus._M_p != &warning.field_2)" ( (parenthesized_expression "(anon_union_16_2_edb7204a_for_basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_9\n       *)warning._M_dataplus._M_p != &warning.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       *)warning._M_dataplus._M_p != &warning.field_2" (binary_expression "allocator<char>_>_9\n       *)warning._M_dataplus._M_p" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (binary_expression "_9\n       *)warning._M_dataplus._M_p" identifier * (ERROR ")" )) (field_expression "warning._M_dataplus._M_p" (field_expression "warning._M_dataplus" identifier . field_identifier) . field_identifier))) != (pointer_expression "&warning.field_2" & (field_expression "warning.field_2" identifier . field_identifier))) )) )) (compound_statement "{\n    operator_delete(warning._M_dataplus._M_p);\n  }" { (expression_statement "operator_delete(warning._M_dataplus._M_p);" (call_expression "operator_delete(warning._M_dataplus._M_p)" identifier (argument_list "(warning._M_dataplus._M_p)" ( (field_expression "warning._M_dataplus._M_p" (field_expression "warning._M_dataplus" identifier . field_identifier) . field_identifier) ))) ;) })) (return_statement "return true;" return true ;) })))
(translation_unit "undefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    \n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    \n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" type_identifier (function_declarator "FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(int *param_1,char *param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    \n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t local_48;" primitive_type identifier ;) (declaration "char local_42 [14];" primitive_type (array_declarator "local_42 [14]" identifier [ number_literal ]) ;) (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 "builtin_strncpy(local_42,".gnu.warning.",0xe);" (call_expression "builtin_strncpy(local_42,".gnu.warning.",0xe)" identifier (argument_list "(local_42,".gnu.warning.",0xe)" ( identifier , (string_literal "".gnu.warning."" " string_content ") , number_literal ))) ;) (expression_statement "iVar1 = strncmp(param_2,local_42,0xd);" (assignment_expression "iVar1 = strncmp(param_2,local_42,0xd)" identifier = (call_expression "strncmp(param_2,local_42,0xd)" identifier (argument_list "(param_2,local_42,0xd)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);" (assignment_expression "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" identifier = (cast_expression "(char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_3,&local_48,0)" ( identifier , identifier , (pointer_expression "&local_48" & identifier) , number_literal ))))) ;) (expression_statement "param_2 = param_2 + 0xd;" (assignment_expression "param_2 = param_2 + 0xd" identifier = (binary_expression "param_2 + 0xd" identifier + number_literal)) ;) (if_statement "if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" if (parenthesized_expression "(local_48 == 0)" ( (binary_expression "local_48 == 0" identifier == number_literal) )) (compound_statement "{\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" { (expression_statement "local_48 = strlen(param_2);" (assignment_expression "local_48 = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "pcVar2 = param_2;" (assignment_expression "pcVar2 = param_2" identifier = identifier) ;) })) (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_00072b90(local_34,pcVar2,pcVar2 + local_48,0);" (call_expression "FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0)" identifier (argument_list "(local_34,pcVar2,pcVar2 + local_48,0)" ( identifier , identifier , (binary_expression "pcVar2 + local_48" identifier + identifier) , number_literal ))) ;) (expression_statement "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);" (call_expression "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34)" identifier (argument_list "(param_4 + 0x100,param_4,param_2,param_1,local_34)" ( (binary_expression "param_4 + 0x100" identifier + number_literal) , identifier , identifier , identifier , identifier ))) ;) (if_statement "if (local_34[0] != local_2c) {\n    FUN_003ae080(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_003ae080(local_34[0]);\n  }" { (expression_statement "FUN_003ae080(local_34[0]);" (call_expression "FUN_003ae080(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (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 (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT , IDENT ))) ;) (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 LIT ;) })))
(function_definition "undefined4 FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    \n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0028c3c0(int *param_1,char *param_2,undefined4 param_3,int param_4)" (identifier "FUN_0028c3c0") (parameter_list "(int *param_1,char *param_2,undefined4 param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  size_t local_48;\n  char local_42 [14];\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  builtin_strncpy(local_42,".gnu.warning.",0xe);\n  iVar1 = strncmp(param_2,local_42,0xd);\n  if (iVar1 != 0) {\n    return 0;\n  }\n  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);\n  param_2 = param_2 + 0xd;\n  if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }\n  local_34[0] = local_2c;\n  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);\n                    \n  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);\n  if (local_34[0] != local_2c) {\n    FUN_003ae080(local_34[0]);\n  }\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t local_48;" (primitive_type "size_t") (identifier "local_48") (; ";")) (declaration "char local_42 [14];" (primitive_type "char") (array_declarator "local_42 [14]" (identifier "local_42") ([ "[") (number_literal "14") (] "]")) (; ";")) (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 "builtin_strncpy(local_42,".gnu.warning.",0xe);" (call_expression "builtin_strncpy(local_42,".gnu.warning.",0xe)" (identifier "builtin_strncpy") (argument_list "(local_42,".gnu.warning.",0xe)" (( "(") (identifier "local_42") (, ",") (string_literal "".gnu.warning."" (" """) (string_content ".gnu.warning.") (" """)) (, ",") (number_literal "0xe") () ")"))) (; ";")) (expression_statement "iVar1 = strncmp(param_2,local_42,0xd);" (assignment_expression "iVar1 = strncmp(param_2,local_42,0xd)" (identifier "iVar1") (= "=") (call_expression "strncmp(param_2,local_42,0xd)" (identifier "strncmp") (argument_list "(param_2,local_42,0xd)" (( "(") (identifier "param_2") (, ",") (identifier "local_42") (, ",") (number_literal "0xd") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);" (assignment_expression "pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" (identifier "pcVar2") (= "=") (cast_expression "(char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_1,param_3,&local_48,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "param_2 = param_2 + 0xd;" (assignment_expression "param_2 = param_2 + 0xd" (identifier "param_2") (= "=") (binary_expression "param_2 + 0xd" (identifier "param_2") (+ "+") (number_literal "0xd"))) (; ";")) (if_statement "if (local_48 == 0) {\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" (if "if") (parenthesized_expression "(local_48 == 0)" (( "(") (binary_expression "local_48 == 0" (identifier "local_48") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_48 = strlen(param_2);\n    pcVar2 = param_2;\n  }" ({ "{") (expression_statement "local_48 = strlen(param_2);" (assignment_expression "local_48 = strlen(param_2)" (identifier "local_48") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pcVar2 = param_2;" (assignment_expression "pcVar2 = param_2" (identifier "pcVar2") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (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_00072b90(local_34,pcVar2,pcVar2 + local_48,0);" (call_expression "FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0)" (identifier "FUN_00072b90") (argument_list "(local_34,pcVar2,pcVar2 + local_48,0)" (( "(") (identifier "local_34") (, ",") (identifier "pcVar2") (, ",") (binary_expression "pcVar2 + local_48" (identifier "pcVar2") (+ "+") (identifier "local_48")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);" (call_expression "FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34)" (identifier "FUN_0034f5f0") (argument_list "(param_4 + 0x100,param_4,param_2,param_1,local_34)" (( "(") (binary_expression "param_4 + 0x100" (identifier "param_4") (+ "+") (number_literal "0x100")) (, ",") (identifier "param_4") (, ",") (identifier "param_2") (, ",") (identifier "param_1") (, ",") (identifier "local_34") () ")"))) (; ";")) (if_statement "if (local_34[0] != local_2c) {\n    FUN_003ae080(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_003ae080(local_34[0]);\n  }" ({ "{") (expression_statement "FUN_003ae080(local_34[0]);" (call_expression "FUN_003ae080(local_34[0])" (identifier "FUN_003ae080") (argument_list "(local_34[0])" (( "(") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: bool handle_gnu_warning_section(Object * this, char * name, uint shndx,
   Symbol_table * symtab) */

bool __thiscall
gold::type_1::function_1(type_1 *this,char *var_4,type_2 shndx,type_3 *symtab)

{
  char *__s;
  int var_3;
  char *var_9;
  type_4 var_5;
  char warn_prefix [14];
  type_5 warning;
  
  var_1(warn_prefix,".gnu.warning.",0xe);
  var_3 = var_2(var_4,warn_prefix,0xd);
  if (var_3 != 0) {
    return false;
  }
  var_9 = (char *)(*this->_vptr_Object[0xe])(this,shndx,&var_5,0);
  __s = var_4 + 0xd;
  if (var_5 == 0) {
    var_5 = var_6(__s);
    var_9 = __s;
  }
  warning._M_dataplus._M_p = (pointer)&warning.field_2;
  std::__cxx11::basic_string<var_12,_std::char_traits<var_12>,_std::var_11<var_12>var_13>::
  var_7<var_8*>(&warning,var_9,var_9 + var_5,0);
                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */
  Warnings::var_10(&symtab->warnings_,symtab,__s,this,&warning);
  if ((anon_union_16_2_edb7204a_for_basic_string<var_12,_std::char_traits<var_12>,_std::var_11<var_12>var_13>var_14
       *)warning._M_dataplus._M_p != &warning.field_2) {
    var_15(warning._M_dataplus._M_p);
  }
  return true;
}


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

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

undefined4 MASKED(int *param_1,char *param_2,undefined4 param_3,int param_4)

{
  int iVar1;
  char *pcVar2;
  size_t local_48;
  char local_42 [14];
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  builtin_strncpy(local_42,".gnu.warning.",0xe);
  iVar1 = strncmp(param_2,local_42,0xd);
  if (iVar1 != 0) {
    return 0;
  }
  pcVar2 = (char *)(**(code **)(*param_1 + 0x38))(param_1,param_3,&local_48,0);
  param_2 = param_2 + 0xd;
  if (local_48 == 0) {
    local_48 = strlen(param_2);
    pcVar2 = param_2;
  }
  local_34[0] = local_2c;
  FUN_00072b90(local_34,pcVar2,pcVar2 + local_48,0);
                    /* try { // try from 0028c472 to 0028c476 has its CatchHandler @ 0028c4b7 */
  FUN_0034f5f0(param_4 + 0x100,param_4,param_2,param_1,local_34);
  if (local_34[0] != local_2c) {
    FUN_003ae080(local_34[0]);
  }
  return 1;
}

