
/* DWARF original prototype: void do_for_all_global_symbols(Sized_pluginobj<32,_false> * this,
   Read_symbols_data * param_1, Symbol_visitor_base * v) */

void __thiscall
gold::Sized_pluginobj<32,_false>::do_for_all_global_symbols
          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)

{
  ld_plugin_symbol *plVar1;
  int iVar2;
  
  if (0 < (this->super_Pluginobj).nsyms_) {
    iVar2 = 0;
    do {
      plVar1 = (this->super_Pluginobj).syms_ + iVar2;
      if (plVar1->def != 2) {
        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);
      }
      iVar2 = iVar2 + 1;
    } while (iVar2 < (this->super_Pluginobj).nsyms_);
  }
  return;
}



void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)

{
  undefined4 *puVar1;
  int iVar2;
  
  if (0 < *(int *)(param_1 + 0x38)) {
    iVar2 = 0;
    do {
      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));
      if (puVar1[2] != 2) {
        (**(code **)(*param_3 + 8))(param_3,*puVar1);
      }
      iVar2 = iVar2 + 1;
    } while (iVar2 < *(int *)(param_1 + 0x38));
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESI + 0x38]
TEST EAX,EAX
JLE 0x001a9c0c
XOR EBX,EBX
LEA ESI,[ESI]
MOV EAX,EBX
SHL EAX,0x5
ADD EAX,dword ptr [ESI + 0x3c]
CMP dword ptr [EAX + 0x8],0x2
JZ 0x001a9c04
SUB ESP,0x8
MOV EDX,dword ptr [EDI]
PUSH dword ptr [EAX]
PUSH EDI
CALL dword ptr [EDX + 0x8]
ADD ESP,0x10
ADD EBX,0x1
CMP dword ptr [ESI + 0x38],EBX
JG 0x001a9be8
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}\n\n" (function_definition "void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x38))" ( (binary_expression "0 < *(int *)(param_1 + 0x38)" number_literal < (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));" do (compound_statement "{\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));" (assignment_expression "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" identifier = (cast_expression "(undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" ( (binary_expression "iVar2 * 0x20 + *(int *)(param_1 + 0x3c)" (binary_expression "iVar2 * 0x20" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )))) ;) (if_statement "if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" if (parenthesized_expression "(puVar1[2] != 2)" ( (binary_expression "puVar1[2] != 2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" { (expression_statement "(**(code **)(*param_3 + 8))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 8))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 8))" ( (pointer_expression "**(code **)(*param_3 + 8)" * (pointer_expression "*(code **)(*param_3 + 8)" * (cast_expression "(code **)(*param_3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x38))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x38)" identifier < (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void do_for_all_global_symbols(Sized_pluginobj<32,_false> * this,\n   Read_symbols_data * param_1, Symbol_visitor_base * v) */\n\nvoid __thiscall\ngold::Sized_pluginobj<32,_false>::do_for_all_global_symbols\n          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)\n\n{\n  ld_plugin_symbol *plVar1;\n  int iVar2;\n  \n  if (0 < (this->super_Pluginobj).nsyms_) {\n    iVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + iVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < (this->super_Pluginobj).nsyms_);\n  }\n  return;\n}\n\n" comment (declaration "void __thiscall\ngold::Sized_pluginobj<32,_false>::do_for_all_global_symbols\n          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)\n\n{\n  ld_plugin_symbol *plVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_for_all_global_symbols\n          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)\n\n{\n  ld_plugin_symbol" identifier > : : (function_declarator "do_for_all_global_symbols\n          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)" identifier (parameter_list "(Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)" ( (parameter_declaration "Sized_pluginobj" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Read_symbols_data *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "Symbol_visitor_base *v" type_identifier (pointer_declarator "*v" * identifier)) ))) { identifier) (pointer_declarator "*plVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < (this->super_Pluginobj).nsyms_) {\n    iVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + iVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < (this->super_Pluginobj).nsyms_);\n  }" if (parenthesized_expression "(0 < (this->super_Pluginobj).nsyms_)" ( (binary_expression "0 < (this->super_Pluginobj).nsyms_" number_literal < (field_expression "(this->super_Pluginobj).nsyms_" (parenthesized_expression "(this->super_Pluginobj)" ( (field_expression "this->super_Pluginobj" identifier -> field_identifier) )) . field_identifier)) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + iVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < (this->super_Pluginobj).nsyms_);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      plVar1 = (this->super_Pluginobj).syms_ + iVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < (this->super_Pluginobj).nsyms_);" do (compound_statement "{\n      plVar1 = (this->super_Pluginobj).syms_ + iVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "plVar1 = (this->super_Pluginobj).syms_ + iVar2;" (assignment_expression "plVar1 = (this->super_Pluginobj).syms_ + iVar2" identifier = (binary_expression "(this->super_Pluginobj).syms_ + iVar2" (field_expression "(this->super_Pluginobj).syms_" (parenthesized_expression "(this->super_Pluginobj)" ( (field_expression "this->super_Pluginobj" identifier -> field_identifier) )) . field_identifier) + identifier)) ;) (if_statement "if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }" if (parenthesized_expression "(plVar1->def != 2)" ( (binary_expression "plVar1->def != 2" (field_expression "plVar1->def" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }" { (expression_statement "(*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);" (call_expression "(*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name)" (parenthesized_expression "(*v->_vptr_Symbol_visitor_base[2])" ( (pointer_expression "*v->_vptr_Symbol_visitor_base[2]" * (subscript_expression "v->_vptr_Symbol_visitor_base[2]" (field_expression "v->_vptr_Symbol_visitor_base" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(v,plVar1->name)" ( identifier , (field_expression "plVar1->name" identifier -> field_identifier) ))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < (this->super_Pluginobj).nsyms_)" ( (binary_expression "iVar2 < (this->super_Pluginobj).nsyms_" identifier < (field_expression "(this->super_Pluginobj).nsyms_" (parenthesized_expression "(this->super_Pluginobj)" ( (field_expression "this->super_Pluginobj" identifier -> field_identifier) )) . field_identifier)) )) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}\n\n" (function_definition "void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x38))" ( (binary_expression "0 < *(int *)(param_1 + 0x38)" number_literal < (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) (compound_statement "{\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));" do (compound_statement "{\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    }" { (expression_statement "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));" (assignment_expression "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" identifier = (cast_expression "(undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" ( (binary_expression "iVar2 * 0x20 + *(int *)(param_1 + 0x3c)" (binary_expression "iVar2 * 0x20" identifier * number_literal) + (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )))) ;) (if_statement "if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" if (parenthesized_expression "(puVar1[2] != 2)" ( (binary_expression "puVar1[2] != 2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" { (expression_statement "(**(code **)(*param_3 + 8))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 8))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 8))" ( (pointer_expression "**(code **)(*param_3 + 8)" * (pointer_expression "*(code **)(*param_3 + 8)" * (cast_expression "(code **)(*param_3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x38))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x38)" identifier < (pointer_expression "*(int *)(param_1 + 0x38)" * (cast_expression "(int *)(param_1 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (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 ( IDENT , (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001a9bd0(int param_1,undefined4 param_2,int *param_3)" (identifier "FUN_001a9bd0") (parameter_list "(int param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  \n  if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0x38)) {\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x38))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x38)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar2 < *(int *)(param_1 + 0x38));" (do "do") (compound_statement "{\n      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));\n      if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));" (assignment_expression "puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 * 0x20 + *(int *)(param_1 + 0x3c))" (( "(") (binary_expression "iVar2 * 0x20 + *(int *)(param_1 + 0x3c)" (binary_expression "iVar2 * 0x20" (identifier "iVar2") (* "*") (number_literal "0x20")) (+ "+") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) () ")")))) (; ";")) (if_statement "if (puVar1[2] != 2) {\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" (if "if") (parenthesized_expression "(puVar1[2] != 2)" (( "(") (binary_expression "puVar1[2] != 2" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        (**(code **)(*param_3 + 8))(param_3,*puVar1);\n      }" ({ "{") (expression_statement "(**(code **)(*param_3 + 8))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 8))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 8))" (( "(") (pointer_expression "**(code **)(*param_3 + 8)" (* "*") (pointer_expression "*(code **)(*param_3 + 8)" (* "*") (cast_expression "(code **)(*param_3 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 8)" (( "(") (binary_expression "*param_3 + 8" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_3,*puVar1)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x38))" (( "(") (binary_expression "iVar2 < *(int *)(param_1 + 0x38)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(param_1 + 0x38)" (* "*") (cast_expression "(int *)(param_1 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void do_for_all_global_symbols(Sized_pluginobj<32,_false> * this,
   Read_symbols_data * param_1, Symbol_visitor_base * v) */

void __thiscall
gold::Sized_pluginobj<32,_false>::do_for_all_global_symbols
          (Sized_pluginobj<32,_false> *this,Read_symbols_data *param_2,Symbol_visitor_base *v)

{
  ld_plugin_symbol *plVar1;
  int var_1;
  
  if (0 < (this->super_Pluginobj).nsyms_) {
    var_1 = 0;
    do {
      plVar1 = (this->super_Pluginobj).syms_ + var_1;
      if (plVar1->def != 2) {
        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);
      }
      var_1 = var_1 + 1;
    } while (var_1 < (this->super_Pluginobj).nsyms_);
  }
  return;
}


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

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

{
  undefined4 *puVar1;
  int iVar2;
  
  if (0 < *(int *)(param_1 + 0x38)) {
    iVar2 = 0;
    do {
      puVar1 = (undefined4 *)(iVar2 * 0x20 + *(int *)(param_1 + 0x3c));
      if (puVar1[2] != 2) {
        (**(code **)(*param_3 + 8))(param_3,*puVar1);
      }
      iVar2 = iVar2 + 1;
    } while (iVar2 < *(int *)(param_1 + 0x38));
  }
  return;
}

