
/* DWARF original prototype: void add_symbols_to_table(Output_section_definition * this,
   Symbol_table * symtab) */

void __thiscall
gold::Output_section_definition::add_symbols_to_table
          (Output_section_definition *this,Symbol_table *symtab)

{
  Output_section_element *pOVar1;
  pointer ppOVar2;
  
  ppOVar2 = (this->elements_).
            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
            ._M_impl._M_start;
  if (ppOVar2 !=
      (this->elements_).
      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
      ._M_impl._M_finish) {
    do {
      pOVar1 = *ppOVar2;
      ppOVar2 = ppOVar2 + 1;
      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);
    } while ((this->elements_).
             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
             ._M_impl._M_finish != ppOVar2);
  }
  return;
}



void FUN_00159fb0(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 0x38);
  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);
    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x14]
MOV EBX,dword ptr [ESI + 0x38]
CMP EBX,dword ptr [ESI + 0x3c]
JZ 0x00159fdf
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBX]
SUB ESP,0x8
ADD EBX,0x4
MOV EDX,dword ptr [EAX]
PUSH EDI
PUSH EAX
CALL dword ptr [EDX + 0xc]
ADD ESP,0x10
CMP dword ptr [ESI + 0x3c],EBX
JNZ 0x00159fc8
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void FUN_00159fb0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00159fb0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00159fb0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x3c))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);" do (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0xc))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" ( (pointer_expression "**(code **)(*piVar1 + 0xc)" * (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void add_symbols_to_table(Output_section_definition * this,\n   Symbol_table * symtab) */\n\nvoid __thiscall\ngold::Output_section_definition::add_symbols_to_table\n          (Output_section_definition *this,Symbol_table *symtab)\n\n{\n  Output_section_element *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Output_section_definition::add_symbols_to_table\n          (Output_section_definition *this,Symbol_table *symtab)\n\n{\n  Output_section_element *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "add_symbols_to_table\n          (Output_section_definition *this,Symbol_table *symtab)" identifier (parameter_list "(Output_section_definition *this,Symbol_table *symtab)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) ))) (compound_statement "{\n  Output_section_element *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;\n  if (ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" { (declaration "Output_section_element *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (expression_statement "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start;" (field_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl._M_start" (field_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n            ._M_impl" (binary_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold::Output_section_element*,_std" (assignment_expression "ppOVar2 = (this->elements_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->elements_).\n            super__Vector_base<gold" (field_expression "(this->elements_).\n            super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish)" ( (field_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_finish" (field_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl" (binary_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std" (binary_expression "ppOVar2 !=\n      (this->elements_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->elements_).\n      super__Vector_base<gold" (field_expression "(this->elements_).\n      super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);\n  }" { (do_statement "do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2);" do (compound_statement "{\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);\n    }" { (expression_statement "pOVar1 = *ppOVar2;" (assignment_expression "pOVar1 = *ppOVar2" identifier = (pointer_expression "*ppOVar2" * identifier)) ;) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);" (call_expression "(*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab)" (parenthesized_expression "(*pOVar1->_vptr_Output_section_element[3])" ( (pointer_expression "*pOVar1->_vptr_Output_section_element[3]" * (subscript_expression "pOVar1->_vptr_Output_section_element[3]" (field_expression "pOVar1->_vptr_Output_section_element" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar1,symtab)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2)" ( (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar2" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std" (binary_expression "(this->elements_).\n             super__Vector_base<gold" (field_expression "(this->elements_).\n             super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00159fb0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00159fb0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00159fb0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x3c))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);" do (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0xc))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" ( (pointer_expression "**(code **)(*piVar1 + 0xc)" * (pointer_expression "*(code **)(*piVar1 + 0xc)" * (cast_expression "(code **)(*piVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0xc)" ( (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00159fb0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00159fb0(int param_1,undefined4 param_2)" (identifier "FUN_00159fb0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x38);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x38);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x38)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x3c))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x3c)" (identifier "puVar2") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);" (do "do") (compound_statement "{\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);\n    }" ({ "{") (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)(*piVar1 + 0xc))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0xc))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0xc))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0xc)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0xc)" (* "*") (cast_expression "(code **)(*piVar1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0xc)" (( "(") (binary_expression "*piVar1 + 0xc" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(piVar1,param_2)" (( "(") (identifier "piVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_symbols_to_table(Output_section_definition * this,
   Symbol_table * symtab) */

void __thiscall
var_1::type_1::function_1
          (type_1 *this,type_2 *symtab)

{
  type_3 *pOVar1;
  type_4 var_4;
  
  var_4 = (this->elements_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>
            ._M_impl._M_start;
  if (var_4 !=
      (this->elements_).
      super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>
      ._M_impl._M_finish) {
    do {
      pOVar1 = *var_4;
      var_4 = var_4 + 1;
      (*pOVar1->_vptr_Output_section_element[3])(pOVar1,symtab);
    } while ((this->elements_).
             super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>
             ._M_impl._M_finish != var_4);
  }
  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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 0x38);
  if (puVar2 != *(undefined4 **)(param_1 + 0x3c)) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0xc))(piVar1,param_2);
    } while (*(undefined4 **)(param_1 + 0x3c) != puVar2);
  }
  return;
}

