
/* 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_1,Symbol_visitor_base *v)

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



void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)

{
  undefined8 *puVar1;
  long lVar2;
  
  if (0 < *(int *)(param_1 + 0x50)) {
    lVar2 = 0;
    do {
      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));
      if (*(int *)(puVar1 + 2) != 2) {
        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);
      }
      lVar2 = lVar2 + 1;
    } while ((int)lVar2 < *(int *)(param_1 + 0x50));
    return;
  }
  return;
}


MOV EAX,dword ptr [RDI + 0x50]
TEST EAX,EAX
JLE 0x0024db58
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,RDI
PUSH RBX
XOR EBX,EBX
NOP dword ptr [RAX + RAX*0x1]
LEA RAX,[RBX + RBX*0x2]
SHL RAX,0x4
ADD RAX,qword ptr [RBP + 0x58]
CMP dword ptr [RAX + 0x10],0x2
JZ 0x0024db47
MOV RDX,qword ptr [R12]
MOV RSI,qword ptr [RAX]
MOV RDI,R12
CALL qword ptr [RDX + 0x10]
ADD RBX,0x1
CMP dword ptr [RBP + 0x50],EBX
JG 0x0024db28
POP RBX
POP RBP
POP R12
RET
RET
(translation_unit "void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0024db10(long param_1,undefined8 param_2,long *param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x50))" ( (binary_expression "0 < *(int *)(param_1 + 0x50)" number_literal < (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" { (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));" do (compound_statement "{\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    }" { (expression_statement "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));" (assignment_expression "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" identifier = (cast_expression "(undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" ( (binary_expression "lVar2 * 0x30 + *(long *)(param_1 + 0x58)" (binary_expression "lVar2 * 0x30" identifier * number_literal) + (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) )))) ;) (if_statement "if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" if (parenthesized_expression "(*(int *)(puVar1 + 2) != 2)" ( (binary_expression "*(int *)(puVar1 + 2) != 2" (pointer_expression "*(int *)(puVar1 + 2)" * (cast_expression "(int *)(puVar1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" { (expression_statement "(**(code **)(*param_3 + 0x10))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 0x10))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" ( (pointer_expression "**(code **)(*param_3 + 0x10)" * (pointer_expression "*(code **)(*param_3 + 0x10)" * (cast_expression "(code **)(*param_3 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) })) (expression_statement "lVar2 = lVar2 + 1;" (assignment_expression "lVar2 = lVar2 + 1" identifier = (binary_expression "lVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar2 < *(int *)(param_1 + 0x50))" ( (binary_expression "(int)lVar2 < *(int *)(param_1 + 0x50)" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) (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_1,Symbol_visitor_base *v)\n\n{\n  ld_plugin_symbol *plVar1;\n  long lVar2;\n  \n  if (0 < (this->super_Pluginobj).nsyms_) {\n    lVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + lVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < (this->super_Pluginobj).nsyms_);\n    return;\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_1,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_1,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_1,Symbol_visitor_base *v)" identifier (parameter_list "(Sized_pluginobj<32,_false> *this,Read_symbols_data *param_1,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_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "Symbol_visitor_base *v" type_identifier (pointer_declarator "*v" * identifier)) ))) { identifier) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < (this->super_Pluginobj).nsyms_) {\n    lVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + lVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < (this->super_Pluginobj).nsyms_);\n    return;\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    lVar2 = 0;\n    do {\n      plVar1 = (this->super_Pluginobj).syms_ + lVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < (this->super_Pluginobj).nsyms_);\n    return;\n  }" { (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      plVar1 = (this->super_Pluginobj).syms_ + lVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < (this->super_Pluginobj).nsyms_);" do (compound_statement "{\n      plVar1 = (this->super_Pluginobj).syms_ + lVar2;\n      if (plVar1->def != 2) {\n        (*v->_vptr_Symbol_visitor_base[2])(v,plVar1->name);\n      }\n      lVar2 = lVar2 + 1;\n    }" { (expression_statement "plVar1 = (this->super_Pluginobj).syms_ + lVar2;" (assignment_expression "plVar1 = (this->super_Pluginobj).syms_ + lVar2" identifier = (binary_expression "(this->super_Pluginobj).syms_ + lVar2" (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 "lVar2 = lVar2 + 1;" (assignment_expression "lVar2 = lVar2 + 1" identifier = (binary_expression "lVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar2 < (this->super_Pluginobj).nsyms_)" ( (binary_expression "(int)lVar2 < (this->super_Pluginobj).nsyms_" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) 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 ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0024db10(long param_1,undefined8 param_2,long *param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,long *param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "long *param_3" (sized_type_specifier "long" long) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x50))" ( (binary_expression "0 < *(int *)(param_1 + 0x50)" number_literal < (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) (compound_statement "{\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" { (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));" do (compound_statement "{\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    }" { (expression_statement "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));" (assignment_expression "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" identifier = (cast_expression "(undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" ( (binary_expression "lVar2 * 0x30 + *(long *)(param_1 + 0x58)" (binary_expression "lVar2 * 0x30" identifier * number_literal) + (pointer_expression "*(long *)(param_1 + 0x58)" * (cast_expression "(long *)(param_1 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) ))))) )))) ;) (if_statement "if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" if (parenthesized_expression "(*(int *)(puVar1 + 2) != 2)" ( (binary_expression "*(int *)(puVar1 + 2) != 2" (pointer_expression "*(int *)(puVar1 + 2)" * (cast_expression "(int *)(puVar1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 2)" ( (binary_expression "puVar1 + 2" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" { (expression_statement "(**(code **)(*param_3 + 0x10))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 0x10))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" ( (pointer_expression "**(code **)(*param_3 + 0x10)" * (pointer_expression "*(code **)(*param_3 + 0x10)" * (cast_expression "(code **)(*param_3 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_3 + 0x10)" ( (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )) (argument_list "(param_3,*puVar1)" ( identifier , (pointer_expression "*puVar1" * identifier) ))) ;) })) (expression_statement "lVar2 = lVar2 + 1;" (assignment_expression "lVar2 = lVar2 + 1" identifier = (binary_expression "lVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar2 < *(int *)(param_1 + 0x50))" ( (binary_expression "(int)lVar2 < *(int *)(param_1 + 0x50)" (cast_expression "(int)lVar2" ( (type_descriptor "int" primitive_type) ) identifier) < (pointer_expression "*(int *)(param_1 + 0x50)" * (cast_expression "(int *)(param_1 + 0x50)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (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 (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0024db10(long param_1,undefined8 param_2,long *param_3)\n\n{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0024db10(long param_1,undefined8 param_2,long *param_3)" (identifier "FUN_0024db10") (parameter_list "(long param_1,undefined8 param_2,long *param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "long *param_3" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  long lVar2;\n  \n  if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (if_statement "if (0 < *(int *)(param_1 + 0x50)) {\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x50))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x50)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (compound_statement "{\n    lVar2 = 0;\n    do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));\n    return;\n  }" ({ "{") (expression_statement "lVar2 = 0;" (assignment_expression "lVar2 = 0" (identifier "lVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    } while ((int)lVar2 < *(int *)(param_1 + 0x50));" (do "do") (compound_statement "{\n      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));\n      if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }\n      lVar2 = lVar2 + 1;\n    }" ({ "{") (expression_statement "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));" (assignment_expression "puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 * 0x30 + *(long *)(param_1 + 0x58))" (( "(") (binary_expression "lVar2 * 0x30 + *(long *)(param_1 + 0x58)" (binary_expression "lVar2 * 0x30" (identifier "lVar2") (* "*") (number_literal "0x30")) (+ "+") (pointer_expression "*(long *)(param_1 + 0x58)" (* "*") (cast_expression "(long *)(param_1 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")"))))) () ")")))) (; ";")) (if_statement "if (*(int *)(puVar1 + 2) != 2) {\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" (if "if") (parenthesized_expression "(*(int *)(puVar1 + 2) != 2)" (( "(") (binary_expression "*(int *)(puVar1 + 2) != 2" (pointer_expression "*(int *)(puVar1 + 2)" (* "*") (cast_expression "(int *)(puVar1 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 2)" (( "(") (binary_expression "puVar1 + 2" (identifier "puVar1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);\n      }" ({ "{") (expression_statement "(**(code **)(*param_3 + 0x10))(param_3,*puVar1);" (call_expression "(**(code **)(*param_3 + 0x10))(param_3,*puVar1)" (parenthesized_expression "(**(code **)(*param_3 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_3 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_3 + 0x10)" (* "*") (cast_expression "(code **)(*param_3 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_3 + 0x10)" (( "(") (binary_expression "*param_3 + 0x10" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(param_3,*puVar1)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar2 = lVar2 + 1;" (assignment_expression "lVar2 = lVar2 + 1" (identifier "lVar2") (= "=") (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)lVar2 < *(int *)(param_1 + 0x50))" (( "(") (binary_expression "(int)lVar2 < *(int *)(param_1 + 0x50)" (cast_expression "(int)lVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar2")) (< "<") (pointer_expression "*(int *)(param_1 + 0x50)" (* "*") (cast_expression "(int *)(param_1 + 0x50)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (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_1,Symbol_visitor_base *v)

{
  ld_plugin_symbol *plVar1;
  long 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 ((int)var_1 < (this->super_Pluginobj).nsyms_);
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))) (return_statement))))

void MASKED(long param_1,undefined8 param_2,long *param_3)

{
  undefined8 *puVar1;
  long lVar2;
  
  if (0 < *(int *)(param_1 + 0x50)) {
    lVar2 = 0;
    do {
      puVar1 = (undefined8 *)(lVar2 * 0x30 + *(long *)(param_1 + 0x58));
      if (*(int *)(puVar1 + 2) != 2) {
        (**(code **)(*param_3 + 0x10))(param_3,*puVar1);
      }
      lVar2 = lVar2 + 1;
    } while ((int)lVar2 < *(int *)(param_1 + 0x50));
    return;
  }
  return;
}

