
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void gc_add_reference(Sized_target<32,_true> * this, Symbol_table *
   symtab, Relobj * src_obj, uint src_shndx, Relobj * dst_obj, uint dst_shndx, Elf_Addr dst_off) */

void __thiscall
gold::Sized_target<32,_true>::gc_add_reference
          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,
          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)

{
  _func_int_varargs *UNRECOVERED_JUMPTABLE;
  
  UNRECOVERED_JUMPTABLE = (this->super_Target)._vptr_Target[0x41];
  if (UNRECOVERED_JUMPTABLE == do_gc_add_reference) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*UNRECOVERED_JUMPTABLE)();
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void FUN_00365060(int *param_1)

{
  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0x104))();
  return;
}


CALL 0x00050c85
ADD EDX,0x284f9b
MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x104]
LEA EDX,[EDX + 0xffabbc40]
CMP EAX,EDX
JNZ 0x00365088
RET
JMP EAX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid FUN_00365060(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x104))();\n  return;\n}\n\n" comment (function_definition "void FUN_00365060(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" primitive_type (function_declarator "FUN_00365060(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x104) == FUN_000a5c40)" ( (binary_expression "*(code **)(*param_1 + 0x104) == FUN_000a5c40" (pointer_expression "*(code **)(*param_1 + 0x104)" * (cast_expression "(code **)(*param_1 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x104)" ( (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(**(code **)(*param_1 + 0x104))();" (call_expression "(**(code **)(*param_1 + 0x104))()" (parenthesized_expression "(**(code **)(*param_1 + 0x104))" ( (pointer_expression "**(code **)(*param_1 + 0x104)" * (pointer_expression "*(code **)(*param_1 + 0x104)" * (cast_expression "(code **)(*param_1 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x104)" ( (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void gc_add_reference(Sized_target<32,_true> * this, Symbol_table *\n   symtab, Relobj * src_obj, uint src_shndx, Relobj * dst_obj, uint dst_shndx, Elf_Addr dst_off) */\n\nvoid __thiscall\ngold::Sized_target<32,_true>::gc_add_reference\n          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,\n          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)\n\n{\n  _func_int_varargs *UNRECOVERED_JUMPTABLE;\n  \n  UNRECOVERED_JUMPTABLE = (this->super_Target)._vptr_Target[0x41];\n  if (UNRECOVERED_JUMPTABLE == do_gc_add_reference) {\n    return;\n  }\n                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*UNRECOVERED_JUMPTABLE)();\n  return;\n}\n\n" comment comment comment (declaration "void __thiscall\ngold::Sized_target<32,_true>::gc_add_reference\n          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,\n          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)\n\n{\n  _func_int_varargs *UNRECOVERED_JUMPTABLE;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::gc_add_reference\n          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,\n          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)\n\n{\n  _func_int_varargs" identifier > : : (function_declarator "gc_add_reference\n          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,\n          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)" identifier (parameter_list "(Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,\n          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)" ( (parameter_declaration "Sized_target" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Relobj *src_obj" type_identifier (pointer_declarator "*src_obj" * identifier)) , (parameter_declaration "uint src_shndx" type_identifier identifier) , (parameter_declaration "Relobj *dst_obj" type_identifier (pointer_declarator "*dst_obj" * identifier)) , (parameter_declaration "uint dst_shndx" type_identifier identifier) , (parameter_declaration "Elf_Addr dst_off" type_identifier identifier) ))) { identifier) (pointer_declarator "*UNRECOVERED_JUMPTABLE" * identifier) ;) (expression_statement "UNRECOVERED_JUMPTABLE = (this->super_Target)._vptr_Target[0x41];" (assignment_expression "UNRECOVERED_JUMPTABLE = (this->super_Target)._vptr_Target[0x41]" identifier = (subscript_expression "(this->super_Target)._vptr_Target[0x41]" (field_expression "(this->super_Target)._vptr_Target" (parenthesized_expression "(this->super_Target)" ( (field_expression "this->super_Target" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (UNRECOVERED_JUMPTABLE == do_gc_add_reference) {\n    return;\n  }" if (parenthesized_expression "(UNRECOVERED_JUMPTABLE == do_gc_add_reference)" ( (binary_expression "UNRECOVERED_JUMPTABLE == do_gc_add_reference" identifier == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE)();" (call_expression "(*UNRECOVERED_JUMPTABLE)()" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE" * identifier) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00365060(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x104))();\n  return;\n}\n\n" (function_definition "void FUN_00365060(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" primitive_type (function_declarator "FUN_00365060(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" { (if_statement "if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x104) == FUN_000a5c40)" ( (binary_expression "*(code **)(*param_1 + 0x104) == FUN_000a5c40" (pointer_expression "*(code **)(*param_1 + 0x104)" * (cast_expression "(code **)(*param_1 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x104)" ( (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "(**(code **)(*param_1 + 0x104))();" (call_expression "(**(code **)(*param_1 + 0x104))()" (parenthesized_expression "(**(code **)(*param_1 + 0x104))" ( (pointer_expression "**(code **)(*param_1 + 0x104)" * (pointer_expression "*(code **)(*param_1 + 0x104)" * (cast_expression "(code **)(*param_1 + 0x104)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x104)" ( (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) (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 * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00365060(int *param_1)\n\n{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00365060(int *param_1)" (identifier "FUN_00365060") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }\n                    \n                    \n  (**(code **)(*param_1 + 0x104))();\n  return;\n}" ({ "{") (if_statement "if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {\n    return;\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x104) == FUN_000a5c40)" (( "(") (binary_expression "*(code **)(*param_1 + 0x104) == FUN_000a5c40" (pointer_expression "*(code **)(*param_1 + 0x104)" (* "*") (cast_expression "(code **)(*param_1 + 0x104)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x104)" (( "(") (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x104")) () ")")))) (== "==") (identifier "FUN_000a5c40")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(**(code **)(*param_1 + 0x104))();" (call_expression "(**(code **)(*param_1 + 0x104))()" (parenthesized_expression "(**(code **)(*param_1 + 0x104))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x104)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x104)" (* "*") (cast_expression "(code **)(*param_1 + 0x104)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x104)" (( "(") (binary_expression "*param_1 + 0x104" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x104")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void gc_add_reference(Sized_target<32,_true> * this, Symbol_table *
   symtab, Relobj * src_obj, uint src_shndx, Relobj * dst_obj, uint dst_shndx, Elf_Addr dst_off) */

void __thiscall
gold::Sized_target<32,_true>::gc_add_reference
          (Sized_target<32,_true> *this,Symbol_table *symtab,Relobj *src_obj,uint src_shndx,
          Relobj *dst_obj,uint dst_shndx,Elf_Addr dst_off)

{
  _func_int_varargs *var_1;
  
  var_1 = (this->super_Target)._vptr_Target[0x41];
  if (var_1 == var_2) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*var_1)();
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void MASKED(int *param_1)

{
  if (*(code **)(*param_1 + 0x104) == FUN_000a5c40) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00365088. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*param_1 + 0x104))();
  return;
}

