
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

ld_plugin_status gold::register_all_symbols_read(ld_plugin_all_symbols_read_handler handler)

{
  Plugin_manager *pPVar1;
  Plugin_manager *pPVar2;
  
  if (parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  pPVar1 = parameters->options_->plugins_;
  if (pPVar1 != (Plugin_manager *)0x0) {
    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;
    if (pPVar1 != pPVar2) {
      *(ld_plugin_all_symbols_read_handler *)
       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.
        _M_node._M_size + 0x2c) = handler;
      return LDPS_OK;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3
FUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  if (*(int *)(DAT_00302378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);
  }
  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);
  if (iVar1 != 0) {
    if (iVar1 != *(int *)(iVar1 + 0xc)) {
      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;
      return 0;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x2131ca
SUB ESP,0x8
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000eee70
MOV EAX,dword ptr [EAX + 0x593c]
TEST EAX,EAX
JZ 0x000eee9f
MOV EDX,dword ptr [EAX + 0xc]
CMP EAX,EDX
JZ 0x000eee86
MOV EAX,dword ptr [EDX + 0x8]
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [EAX + 0x2c],EDX
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
LEA EAX,[EBX + 0xfff2ac3c]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfff1e970]
PUSH 0x5c
PUSH EAX
CALL 0x0005f0b0
PUSH EAX
LEA EAX,[EBX + 0xfff2ac70]
PUSH EAX
LEA EAX,[EBX + 0xfff2a739]
PUSH 0xf1
PUSH EAX
CALL 0x0005f0b0
LEA EAX,[EBX + 0xfff2ac90]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff2a724]
PUSH 0x6fa
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(DAT_00302378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_00302378 + 8) == 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" { comment (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" * (cast_expression "(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00302378 + 8) + 0x593c)" ( (binary_expression "*(int *)(DAT_00302378 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" { (if_statement "if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != *(int *)(iVar1 + 0xc))" ( (binary_expression "iVar1 != *(int *)(iVar1 + 0xc)" identifier != (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" { (expression_statement "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c" (pointer_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8)" * (cast_expression "(int *)(*(int *)(iVar1 + 0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xc) + 8)" ( (binary_expression "*(int *)(iVar1 + 0xc) + 8" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);" (call_expression "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" identifier (argument_list "("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" ( (string_literal ""../../gold/plugin.h"" " string_content ") , number_literal , (string_literal ""set_all_symbols_read_handler"" " string_content ") , identifier ))) ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);" (call_expression "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" identifier (argument_list "("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""register_all_symbols_read"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "DT": Some values do not have unique names */\n\nld_plugin_status gold::register_all_symbols_read(ld_plugin_all_symbols_read_handler handler)\n\n{\n  Plugin_manager *pPVar1;\n  Plugin_manager *pPVar2;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;\n    if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");\n}\n\n" comment comment comment comment (function_definition "ld_plugin_status gold::register_all_symbols_read(ld_plugin_all_symbols_read_handler handler)\n\n{\n  Plugin_manager *pPVar1;\n  Plugin_manager *pPVar2;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;\n    if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");\n}" type_identifier (ERROR "gold::" identifier : :) (function_declarator "register_all_symbols_read(ld_plugin_all_symbols_read_handler handler)" identifier (parameter_list "(ld_plugin_all_symbols_read_handler handler)" ( (parameter_declaration "ld_plugin_all_symbols_read_handler handler" type_identifier identifier) ))) (compound_statement "{\n  Plugin_manager *pPVar1;\n  Plugin_manager *pPVar2;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;\n    if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");\n}" { (declaration "Plugin_manager *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (declaration "Plugin_manager *pPVar2;" type_identifier (pointer_declarator "*pPVar2" * identifier) ;) (if_statement "if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "pPVar1 = parameters->options_->plugins_;" (assignment_expression "pPVar1 = parameters->options_->plugins_" identifier = (field_expression "parameters->options_->plugins_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;\n    if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");\n  }" if (parenthesized_expression "(pPVar1 != (Plugin_manager *)0x0)" ( (binary_expression "pPVar1 != (Plugin_manager *)0x0" identifier != (cast_expression "(Plugin_manager *)0x0" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;\n    if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");\n  }" { (expression_statement "pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node;" (assignment_expression "pPVar2 = (Plugin_manager *)(pPVar1->current_)._M_node" identifier = (cast_expression "(Plugin_manager *)(pPVar1->current_)._M_node" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pPVar1->current_)._M_node" (parenthesized_expression "(pPVar1->current_)" ( (field_expression "pPVar1->current_" identifier -> field_identifier) )) . field_identifier))) ;) (if_statement "if (pPVar1 != pPVar2) {\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }" if (parenthesized_expression "(pPVar1 != pPVar2)" ( (binary_expression "pPVar1 != pPVar2" identifier != identifier) )) (compound_statement "{\n      *(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;\n      return LDPS_OK;\n    }" { (expression_statement "*(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler;" (assignment_expression "*(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c) = handler" (pointer_expression "*(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c)" * (cast_expression "(ld_plugin_all_symbols_read_handler *)\n       ((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c)" ( (type_descriptor "ld_plugin_all_symbols_read_handler *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c)" ( (binary_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size + 0x2c" (field_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node._M_size" (field_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl.\n        _M_node" (field_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_>._M_impl" (binary_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold::Plugin*>_" (binary_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std::allocator<gold" (binary_expression "(pPVar2->plugins_).super__List_base<gold::Plugin*,_std" (binary_expression "(pPVar2->plugins_).super__List_base<gold" (field_expression "(pPVar2->plugins_).super__List_base" (parenthesized_expression "(pPVar2->plugins_)" ( (field_expression "pPVar2->plugins_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Plugin" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Plugin" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) . field_identifier) + number_literal) )))) = identifier) ;) (return_statement "return LDPS_OK;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");" (call_expression "do_gold_unreachable("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler")" identifier (argument_list "("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler")" ( (string_literal ""../../gold/plugin.h"" " string_content ") , number_literal , (string_literal ""set_all_symbols_read_handler"" " string_content ") ))) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");" (call_expression "do_gold_unreachable("../../gold/plugin.cc",0x6fa,"register_all_symbols_read")" identifier (argument_list "("../../gold/plugin.cc",0x6fa,"register_all_symbols_read")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""register_all_symbols_read"" " string_content ") ))) ;) })))
(translation_unit "undefined4 __regparm3\nFUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_00302378 + 8) == 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" { (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",param_3)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" identifier = (pointer_expression "*(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" * (cast_expression "(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00302378 + 8) + 0x593c)" ( (binary_expression "*(int *)(DAT_00302378 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" { (if_statement "if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" if (parenthesized_expression "(iVar1 != *(int *)(iVar1 + 0xc))" ( (binary_expression "iVar1 != *(int *)(iVar1 + 0xc)" identifier != (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" { (expression_statement "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" * (cast_expression "(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c" (pointer_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8)" * (cast_expression "(int *)(*(int *)(iVar1 + 0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0xc) + 8)" ( (binary_expression "*(int *)(iVar1 + 0xc) + 8" (pointer_expression "*(int *)(iVar1 + 0xc)" * (cast_expression "(int *)(iVar1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) + number_literal) )))) + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);" (call_expression "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" identifier (argument_list "("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" ( (string_literal ""../../gold/plugin.h"" " string_content ") , number_literal , (string_literal ""set_all_symbols_read_handler"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);" (call_expression "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" identifier (argument_list "("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""register_all_symbols_read"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined4 __regparm3\nFUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000eee30(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_000eee30") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }\n  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);\n  if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }\n                    \n  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(int *)(DAT_00302378 + 8) == 0) {\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_00302378 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_00302378 + 8) == 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" (* "*") (cast_expression "(int *)(DAT_00302378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 8)" (( "(") (binary_expression "DAT_00302378 + 8" (identifier "DAT_00302378") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);\n  }" ({ "{") (expression_statement "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);" (call_expression "FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/parameters.h",0x5c,"options",param_3)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);" (assignment_expression "iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" (* "*") (cast_expression "(int *)(*(int *)(DAT_00302378 + 8) + 0x593c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00302378 + 8) + 0x593c)" (( "(") (binary_expression "*(int *)(DAT_00302378 + 8) + 0x593c" (pointer_expression "*(int *)(DAT_00302378 + 8)" (* "*") (cast_expression "(int *)(DAT_00302378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 8)" (( "(") (binary_expression "DAT_00302378 + 8" (identifier "DAT_00302378") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x593c")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }\n                    \n    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);\n  }" ({ "{") (if_statement "if (iVar1 != *(int *)(iVar1 + 0xc)) {\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar1 != *(int *)(iVar1 + 0xc))" (( "(") (binary_expression "iVar1 != *(int *)(iVar1 + 0xc)" (identifier "iVar1") (!= "!=") (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;\n      return 0;\n    }" ({ "{") (expression_statement "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;" (assignment_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4" (pointer_expression "*(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c" (pointer_expression "*(int *)(*(int *)(iVar1 + 0xc) + 8)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0xc) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0xc) + 8)" (( "(") (binary_expression "*(int *)(iVar1 + 0xc) + 8" (pointer_expression "*(int *)(iVar1 + 0xc)" (* "*") (cast_expression "(int *)(iVar1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);" (call_expression "FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1)" (( "(") (string_literal ""../../gold/plugin.h"" (" """) (string_content "../../gold/plugin.h") (" """)) (, ",") (number_literal "0xf1") (, ",") (string_literal ""set_all_symbols_read_handler"" (" """) (string_content "set_all_symbols_read_handler") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);" (call_expression "FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2)" (( "(") (string_literal ""../../gold/plugin.cc"" (" """) (string_content "../../gold/plugin.cc") (" """)) (, ",") (number_literal "0x6fa") (, ",") (string_literal ""register_all_symbols_read"" (" """) (string_content "register_all_symbols_read") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */

type_1 var_4::function_1(type_2 handler)

{
  type_3 *var_2;
  type_3 *var_3;
  
  if (parameters->options_ == (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/parameters.h",0x5c,"options");
  }
  var_2 = parameters->options_->plugins_;
  if (var_2 != (type_3 *)0x0) {
    var_3 = (type_3 *)(var_2->current_)._M_node;
    if (var_2 != var_3) {
      *(type_2 *)
       ((var_3->plugins_).super__List_base<var_4::Plugin*,var_5::allocator<var_4::Plugin*>var_6>._M_impl.
        _M_node._M_size + 0x2c) = handler;
      return LDPS_OK;
    }
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler");
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/plugin.cc",0x6fa,"register_all_symbols_read");
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 __regparm3
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  if (*(int *)(DAT_00302378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/parameters.h",0x5c,"options",param_3);
  }
  iVar1 = *(int *)(*(int *)(DAT_00302378 + 8) + 0x593c);
  if (iVar1 != 0) {
    if (iVar1 != *(int *)(iVar1 + 0xc)) {
      *(undefined4 *)(*(int *)(*(int *)(iVar1 + 0xc) + 8) + 0x2c) = param_4;
      return 0;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0005f0b0("../../gold/plugin.h",0xf1,"set_all_symbols_read_handler",iVar1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/plugin.cc",0x6fa,"register_all_symbols_read",param_2);
}

