
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void warn_corrupt_debug_section(Dwarf_info_reader * this) */

void __thiscall gold::Dwarf_info_reader::warn_corrupt_debug_section(Dwarf_info_reader *this)

{
  pointer pcVar1;
  undefined1 *puVar2;
  char *format;
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  (*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);
  puVar2 = local_34[0];
  pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;
  format = (char *)gettext("%s: corrupt debug info in %s");
                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */
  gold_warning(format,pcVar1,puVar2);
  if (local_34[0] != local_2c) {
    operator_delete(local_34[0]);
  }
  return;
}



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

void FUN_00056bf0(int param_1)

{
  undefined4 uVar1;
  undefined1 *puVar2;
  undefined4 uVar3;
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  (**(code **)(**(int **)(param_1 + 8) + 0x40))
            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));
  puVar2 = local_34[0];
  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);
  uVar3 = gettext("%s: corrupt debug info in %s");
                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */
  FUN_000654e0(uVar3,uVar1,puVar2);
  if (local_34[0] != local_2c) {
    FUN_001e6db0(local_34[0]);
  }
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
LEA ECX,[EBP + -0x30]
CALL 0x000559ea
ADD ESI,0x338403
PUSH EBX
SUB ESP,0x40
MOV EBX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EBX + 0x8]
MOV EDX,dword ptr [EAX]
PUSH dword ptr [EBX + 0x18]
PUSH EAX
PUSH ECX
CALL dword ptr [EDX + 0x40]
MOV EAX,dword ptr [EBP + -0x30]
MOV dword ptr [EBP + -0x3c],EAX
MOV EAX,dword ptr [EBX + 0x8]
MOV EBX,ESI
MOV EDI,dword ptr [EAX + 0x4]
LEA EAX,[ESI + 0xffef7b8e]
PUSH EAX
CALL 0x000293b0
ADD ESP,0xc
PUSH dword ptr [EBP + -0x3c]
PUSH EDI
PUSH EAX
CALL 0x000654e0
MOV EAX,dword ptr [EBP + -0x30]
LEA EDX,[EBP + -0x28]
ADD ESP,0x10
CMP EAX,EDX
JZ 0x00056c57
SUB ESP,0xc
PUSH EAX
CALL 0x001e6db0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_00056bf0(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00056bf0(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00056bf0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" 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 "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x40)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x40)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 0x40)" ( (binary_expression "**(int **)(param_1 + 8) + 0x40" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" ( identifier , (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "puVar2 = local_34[0];" (assignment_expression "puVar2 = local_34[0]" identifier = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 4)" ( (binary_expression "*(int *)(param_1 + 8) + 4" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar3 = gettext("%s: corrupt debug info in %s");" (assignment_expression "uVar3 = gettext("%s: corrupt debug info in %s")" identifier = (call_expression "gettext("%s: corrupt debug info in %s")" identifier (argument_list "("%s: corrupt debug info in %s")" ( (string_literal ""%s: corrupt debug info in %s"" " string_content ") )))) ;) comment (expression_statement "FUN_000654e0(uVar3,uVar1,puVar2);" (call_expression "FUN_000654e0(uVar3,uVar1,puVar2)" identifier (argument_list "(uVar3,uVar1,puVar2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_34[0] != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34[0]);\n  }" { (expression_statement "FUN_001e6db0(local_34[0]);" (call_expression "FUN_001e6db0(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* DWARF original prototype: void warn_corrupt_debug_section(Dwarf_info_reader * this) */\n\nvoid __thiscall gold::Dwarf_info_reader::warn_corrupt_debug_section(Dwarf_info_reader *this)\n\n{\n  pointer pcVar1;\n  undefined1 *puVar2;\n  char *format;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);\n  puVar2 = local_34[0];\n  pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;\n  format = (char *)gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  gold_warning(format,pcVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    operator_delete(local_34[0]);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Dwarf_info_reader::warn_corrupt_debug_section(Dwarf_info_reader *this)\n\n{\n  pointer pcVar1;\n  undefined1 *puVar2;\n  char *format;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);\n  puVar2 = local_34[0];\n  pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;\n  format = (char *)gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  gold_warning(format,pcVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    operator_delete(local_34[0]);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwarf_info_reader::" identifier : : identifier : :) (function_declarator "warn_corrupt_debug_section(Dwarf_info_reader *this)" identifier (parameter_list "(Dwarf_info_reader *this)" ( (parameter_declaration "Dwarf_info_reader *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  pointer pcVar1;\n  undefined1 *puVar2;\n  char *format;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);\n  puVar2 = local_34[0];\n  pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;\n  format = (char *)gettext("%s: corrupt debug info in %s");\n                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */\n  gold_warning(format,pcVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    operator_delete(local_34[0]);\n  }\n  return;\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * 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 "(*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);" (call_expression "(*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_)" (parenthesized_expression "(*(this->object_->super_Object)._vptr_Object[0x10])" ( (pointer_expression "*(this->object_->super_Object)._vptr_Object[0x10]" * (subscript_expression "(this->object_->super_Object)._vptr_Object[0x10]" (field_expression "(this->object_->super_Object)._vptr_Object" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(local_34,this->object_,this->shndx_)" ( identifier , (field_expression "this->object_" identifier -> field_identifier) , (field_expression "this->shndx_" identifier -> field_identifier) ))) ;) (expression_statement "puVar2 = local_34[0];" (assignment_expression "puVar2 = local_34[0]" identifier = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;" (assignment_expression "pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p" identifier = (field_expression "(this->object_->super_Object).name_._M_dataplus._M_p" (field_expression "(this->object_->super_Object).name_._M_dataplus" (field_expression "(this->object_->super_Object).name_" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "format = (char *)gettext("%s: corrupt debug info in %s");" (assignment_expression "format = (char *)gettext("%s: corrupt debug info in %s")" identifier = (cast_expression "(char *)gettext("%s: corrupt debug info in %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: corrupt debug info in %s")" identifier (argument_list "("%s: corrupt debug info in %s")" ( (string_literal ""%s: corrupt debug info in %s"" " string_content ") ))))) ;) comment (expression_statement "gold_warning(format,pcVar1,puVar2);" (call_expression "gold_warning(format,pcVar1,puVar2)" identifier (argument_list "(format,pcVar1,puVar2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_34[0] != local_2c) {\n    operator_delete(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    operator_delete(local_34[0]);\n  }" { (expression_statement "operator_delete(local_34[0]);" (call_expression "operator_delete(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00056bf0(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    \n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00056bf0(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    \n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00056bf0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    \n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" 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 "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))" ( (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x40)" * (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x40)" * (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x40)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(param_1 + 8) + 0x40)" ( (binary_expression "**(int **)(param_1 + 8) + 0x40" (pointer_expression "**(int **)(param_1 + 8)" * (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" ( identifier , (pointer_expression "*(int **)(param_1 + 8)" * (cast_expression "(int **)(param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ))) ;) (expression_statement "puVar2 = local_34[0];" (assignment_expression "puVar2 = local_34[0]" identifier = (subscript_expression "local_34[0]" identifier [ number_literal ])) ;) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 8) + 4)" ( (binary_expression "*(int *)(param_1 + 8) + 4" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar3 = gettext("%s: corrupt debug info in %s");" (assignment_expression "uVar3 = gettext("%s: corrupt debug info in %s")" identifier = (call_expression "gettext("%s: corrupt debug info in %s")" identifier (argument_list "("%s: corrupt debug info in %s")" ( (string_literal ""%s: corrupt debug info in %s"" " string_content ") )))) ;) (expression_statement "FUN_000654e0(uVar3,uVar1,puVar2);" (call_expression "FUN_000654e0(uVar3,uVar1,puVar2)" identifier (argument_list "(uVar3,uVar1,puVar2)" ( identifier , identifier , identifier ))) ;) (if_statement "if (local_34[0] != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34[0]);\n  }" { (expression_statement "FUN_001e6db0(local_34[0]);" (call_expression "FUN_001e6db0(local_34[0])" identifier (argument_list "(local_34[0])" ( (subscript_expression "local_34[0]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( 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 ;) })))
(function_definition "void FUN_00056bf0(int param_1)\n\n{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    \n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00056bf0(int param_1)" (identifier "FUN_00056bf0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined1 *puVar2;\n  undefined4 uVar3;\n  undefined1 *local_34 [2];\n  undefined1 local_2c [28];\n  \n  (**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));\n  puVar2 = local_34[0];\n  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);\n  uVar3 = gettext("%s: corrupt debug info in %s");\n                    \n  FUN_000654e0(uVar3,uVar1,puVar2);\n  if (local_34[0] != local_2c) {\n    FUN_001e6db0(local_34[0]);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (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 "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));" (call_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))\n            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" (parenthesized_expression "(**(code **)(**(int **)(param_1 + 8) + 0x40))" (( "(") (pointer_expression "**(code **)(**(int **)(param_1 + 8) + 0x40)" (* "*") (pointer_expression "*(code **)(**(int **)(param_1 + 8) + 0x40)" (* "*") (cast_expression "(code **)(**(int **)(param_1 + 8) + 0x40)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(param_1 + 8) + 0x40)" (( "(") (binary_expression "**(int **)(param_1 + 8) + 0x40" (pointer_expression "**(int **)(param_1 + 8)" (* "*") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (argument_list "(local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18))" (( "(") (identifier "local_34") (, ",") (pointer_expression "*(int **)(param_1 + 8)" (* "*") (cast_expression "(int **)(param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar2 = local_34[0];" (assignment_expression "puVar2 = local_34[0]" (identifier "puVar2") (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);" (assignment_expression "uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 8) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 8) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 8) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + 4" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar3 = gettext("%s: corrupt debug info in %s");" (assignment_expression "uVar3 = gettext("%s: corrupt debug info in %s")" (identifier "uVar3") (= "=") (call_expression "gettext("%s: corrupt debug info in %s")" (identifier "gettext") (argument_list "("%s: corrupt debug info in %s")" (( "(") (string_literal ""%s: corrupt debug info in %s"" (" """) (string_content "%s: corrupt debug info in %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_000654e0(uVar3,uVar1,puVar2);" (call_expression "FUN_000654e0(uVar3,uVar1,puVar2)" (identifier "FUN_000654e0") (argument_list "(uVar3,uVar1,puVar2)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (identifier "puVar2") () ")"))) (; ";")) (if_statement "if (local_34[0] != local_2c) {\n    FUN_001e6db0(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_001e6db0(local_34[0]);\n  }" ({ "{") (expression_statement "FUN_001e6db0(local_34[0]);" (call_expression "FUN_001e6db0(local_34[0])" (identifier "FUN_001e6db0") (argument_list "(local_34[0])" (( "(") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void warn_corrupt_debug_section(Dwarf_info_reader * this) */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 pcVar1;
  type_3 *puVar2;
  char *format;
  type_3 *local_34 [2];
  type_3 var_3 [28];
  
  (*(this->object_->super_Object)._vptr_Object[0x10])(local_34,this->object_,this->shndx_);
  puVar2 = local_34[0];
  pcVar1 = (this->object_->super_Object).name_._M_dataplus._M_p;
  format = (char *)var_1("%s: corrupt debug info in %s");
                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */
  var_2(format,pcVar1,puVar2);
  if (local_34[0] != var_3) {
    var_4(local_34[0]);
  }
  return;
}


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

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

void MASKED(int param_1)

{
  undefined4 uVar1;
  undefined1 *puVar2;
  undefined4 uVar3;
  undefined1 *local_34 [2];
  undefined1 local_2c [28];
  
  (**(code **)(**(int **)(param_1 + 8) + 0x40))
            (local_34,*(int **)(param_1 + 8),*(undefined4 *)(param_1 + 0x18));
  puVar2 = local_34[0];
  uVar1 = *(undefined4 *)(*(int *)(param_1 + 8) + 4);
  uVar3 = gettext("%s: corrupt debug info in %s");
                    /* try { // try from 00056c39 to 00056c3d has its CatchHandler @ 00056c5f */
  FUN_000654e0(uVar3,uVar1,puVar2);
  if (local_34[0] != local_2c) {
    FUN_001e6db0(local_34[0]);
  }
  return;
}

