
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_defsym_uses_in_real_elf(Script_options * this, Symbol_table *
   symtab) */

void __thiscall
gold::Script_options::set_defsym_uses_in_real_elf(Script_options *this,Symbol_table *symtab)

{
  Symbol_assignment *pSVar1;
  _func_int_varargs *p_Var2;
  pointer ppSVar3;
  
  ppSVar3 = (this->symbol_assignments_).
            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.
            _M_impl._M_start;
  if (ppSVar3 !=
      (this->symbol_assignments_).
      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.
      _M_impl._M_finish) {
    do {
      while( true ) {
        pSVar1 = *ppSVar3;
        p_Var2 = pSVar1->val_->_vptr_Expression[4];
        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;
        ppSVar3 = ppSVar3 + 1;
        (*p_Var2)(pSVar1->val_,symtab);
        if ((this->symbol_assignments_).
            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.
            _M_impl._M_finish == ppSVar3) {
          return;
        }
      }
      ppSVar3 = ppSVar3 + 1;
    } while ((this->symbol_assignments_).
             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>
             ._M_impl._M_finish != ppSVar3);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001d9420(int param_1,undefined4 param_2)

{
  int iVar1;
  code *pcVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 0x18);
  if (piVar3 != *(int **)(param_1 + 0x1c)) {
    do {
      while( true ) {
        iVar1 = *piVar3;
        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);
        if (pcVar2 == FUN_001de410) break;
        piVar3 = piVar3 + 1;
        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);
        if (*(int **)(param_1 + 0x1c) == piVar3) {
          return;
        }
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(param_1 + 0x1c) != piVar3);
  }
  return;
}


CALL 0x000b4846
ADD EAX,0x23abdb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x24]
MOV EBX,dword ptr [EDI + 0x18]
CMP EBX,dword ptr [EDI + 0x1c]
JZ 0x001d9478
LEA EBP,[EAX + 0xffdca410]
JMP 0x001d9458
ADD EBX,0x4
CMP dword ptr [EDI + 0x1c],EBX
JZ 0x001d9478
MOV EAX,dword ptr [EBX]
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,dword ptr [EDX]
MOV EAX,dword ptr [EAX + 0x10]
CMP EAX,EBP
JZ 0x001d9450
SUB ESP,0x8
ADD EBX,0x4
PUSH ESI
PUSH EDX
CALL EAX
ADD ESP,0x10
CMP dword ptr [EDI + 0x1c],EBX
JNZ 0x001d9458
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001d9420(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001d9420(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001d9420(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 iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x18)" identifier = (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x1c))" ( (binary_expression "piVar3 != *(int **)(param_1 + 0x1c)" identifier != (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);" do (compound_statement "{\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    }" { (while_statement "while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);" (assignment_expression "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10)" identifier = (pointer_expression "*(code **)(**(int **)(iVar1 + 0x18) + 0x10)" * (cast_expression "(code **)(**(int **)(iVar1 + 0x18) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(iVar1 + 0x18) + 0x10)" ( (binary_expression "**(int **)(iVar1 + 0x18) + 0x10" (pointer_expression "**(int **)(iVar1 + 0x18)" * (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (pcVar2 == FUN_001de410) break;" if (parenthesized_expression "(pcVar2 == FUN_001de410)" ( (binary_expression "pcVar2 == FUN_001de410" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2);" (call_expression "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*(int **)(iVar1 + 0x18),param_2)" ( (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x1c) == piVar3)" ( (binary_expression "*(int **)(param_1 + 0x1c) == piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x1c) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x1c) != piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void set_defsym_uses_in_real_elf(Script_options * this, Symbol_table *\n   symtab) */\n\nvoid __thiscall\ngold::Script_options::set_defsym_uses_in_real_elf(Script_options *this,Symbol_table *symtab)\n\n{\n  Symbol_assignment *pSVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppSVar3;\n  \n  ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Script_options::set_defsym_uses_in_real_elf(Script_options *this,Symbol_table *symtab)\n\n{\n  Symbol_assignment *pSVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppSVar3;\n  \n  ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_options::" identifier : : identifier : :) (function_declarator "set_defsym_uses_in_real_elf(Script_options *this,Symbol_table *symtab)" identifier (parameter_list "(Script_options *this,Symbol_table *symtab)" ( (parameter_declaration "Script_options *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) ))) (compound_statement "{\n  Symbol_assignment *pSVar1;\n  _func_int_varargs *p_Var2;\n  pointer ppSVar3;\n  \n  ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);\n  }\n  return;\n}" { (declaration "Symbol_assignment *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "_func_int_varargs *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "pointer ppSVar3;" type_identifier identifier ;) (expression_statement "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;" (field_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start" (field_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl" (binary_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std" (assignment_expression "ppSVar3 = (this->symbol_assignments_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold" (field_expression "(this->symbol_assignments_).\n            super__Vector_base" (parenthesized_expression "(this->symbol_assignments_)" ( (field_expression "this->symbol_assignments_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol_assignment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);\n  }" if (parenthesized_expression "(ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish)" ( (field_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish" (field_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl" (binary_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std" (binary_expression "ppSVar3 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->symbol_assignments_).\n      super__Vector_base<gold" (field_expression "(this->symbol_assignments_).\n      super__Vector_base" (parenthesized_expression "(this->symbol_assignments_)" ( (field_expression "this->symbol_assignments_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Symbol_assignment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);\n  }" { (do_statement "do {\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3);" do (compound_statement "{\n      while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }\n      ppSVar3 = ppSVar3 + 1;\n    }" { (while_statement "while( true ) {\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pSVar1 = *ppSVar3;\n        p_Var2 = pSVar1->val_->_vptr_Expression[4];\n        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;\n        ppSVar3 = ppSVar3 + 1;\n        (*p_Var2)(pSVar1->val_,symtab);\n        if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }\n      }" { (expression_statement "pSVar1 = *ppSVar3;" (assignment_expression "pSVar1 = *ppSVar3" identifier = (pointer_expression "*ppSVar3" * identifier)) ;) (expression_statement "p_Var2 = pSVar1->val_->_vptr_Expression[4];" (assignment_expression "p_Var2 = pSVar1->val_->_vptr_Expression[4]" identifier = (subscript_expression "pSVar1->val_->_vptr_Expression[4]" (field_expression "pSVar1->val_->_vptr_Expression" (field_expression "pSVar1->val_" identifier -> field_identifier) -> field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;" if (parenthesized_expression "(p_Var2 == Expression::set_expr_sym_in_real_elf)" ( (ERROR "p_Var2 == Expression::" (binary_expression "p_Var2 == Expression" identifier == identifier) : :) identifier )) (break_statement "break;" break ;)) (expression_statement "ppSVar3 = ppSVar3 + 1;" (assignment_expression "ppSVar3 = ppSVar3 + 1" identifier = (binary_expression "ppSVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*p_Var2)(pSVar1->val_,symtab);" (call_expression "(*p_Var2)(pSVar1->val_,symtab)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(pSVar1->val_,symtab)" ( (field_expression "pSVar1->val_" identifier -> field_identifier) , identifier ))) ;) (if_statement "if ((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3) {\n          return;\n        }" if (parenthesized_expression "((this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3)" ( (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish == ppSVar3" (field_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_finish" (field_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl" (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std" (binary_expression "(this->symbol_assignments_).\n            super__Vector_base<gold" (field_expression "(this->symbol_assignments_).\n            super__Vector_base" (parenthesized_expression "(this->symbol_assignments_)" ( (field_expression "this->symbol_assignments_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "ppSVar3 = ppSVar3 + 1;" (assignment_expression "ppSVar3 = ppSVar3 + 1" identifier = (binary_expression "ppSVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3)" ( (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar3" (field_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish" (field_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl" (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std" (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold" (field_expression "(this->symbol_assignments_).\n             super__Vector_base" (parenthesized_expression "(this->symbol_assignments_)" ( (field_expression "this->symbol_assignments_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Symbol_assignment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001d9420(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001d9420(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001d9420(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 iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "piVar3 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x18)" identifier = (pointer_expression "*(int **)(param_1 + 0x18)" * (cast_expression "(int **)(param_1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" if (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x1c))" ( (binary_expression "piVar3 != *(int **)(param_1 + 0x1c)" identifier != (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" { (do_statement "do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);" do (compound_statement "{\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    }" { (while_statement "while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" { (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);" (assignment_expression "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10)" identifier = (pointer_expression "*(code **)(**(int **)(iVar1 + 0x18) + 0x10)" * (cast_expression "(code **)(**(int **)(iVar1 + 0x18) + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(iVar1 + 0x18) + 0x10)" ( (binary_expression "**(int **)(iVar1 + 0x18) + 0x10" (pointer_expression "**(int **)(iVar1 + 0x18)" * (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (pcVar2 == FUN_001de410) break;" if (parenthesized_expression "(pcVar2 == FUN_001de410)" ( (binary_expression "pcVar2 == FUN_001de410" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (expression_statement "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2);" (call_expression "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(*(int **)(iVar1 + 0x18),param_2)" ( (pointer_expression "*(int **)(iVar1 + 0x18)" * (cast_expression "(int **)(iVar1 + 0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , identifier ))) ;) (if_statement "if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }" if (parenthesized_expression "(*(int **)(param_1 + 0x1c) == piVar3)" ( (binary_expression "*(int **)(param_1 + 0x1c) == piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) })) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x1c) != piVar3)" ( (binary_expression "*(int **)(param_1 + 0x1c) != piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" * (cast_expression "(int **)(param_1 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" 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 IDENT ;) (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 { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) 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_001d9420(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001d9420(int param_1,undefined4 param_2)" (identifier "FUN_001d9420") (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 iVar1;\n  code *pcVar2;\n  int *piVar3;\n  \n  piVar3 = *(int **)(param_1 + 0x18);\n  if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "piVar3 = *(int **)(param_1 + 0x18);" (assignment_expression "piVar3 = *(int **)(param_1 + 0x18)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(param_1 + 0x18)" (* "*") (cast_expression "(int **)(param_1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (piVar3 != *(int **)(param_1 + 0x1c)) {\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" (if "if") (parenthesized_expression "(piVar3 != *(int **)(param_1 + 0x1c))" (( "(") (binary_expression "piVar3 != *(int **)(param_1 + 0x1c)" (identifier "piVar3") (!= "!=") (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    } while (*(int **)(param_1 + 0x1c) != piVar3);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }\n      piVar3 = piVar3 + 1;\n    }" ({ "{") (while_statement "while( true ) {\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar1 = *piVar3;\n        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);\n        if (pcVar2 == FUN_001de410) break;\n        piVar3 = piVar3 + 1;\n        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);\n        if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }\n      }" ({ "{") (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" (identifier "iVar1") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);" (assignment_expression "pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(**(int **)(iVar1 + 0x18) + 0x10)" (* "*") (cast_expression "(code **)(**(int **)(iVar1 + 0x18) + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(int **)(iVar1 + 0x18) + 0x10)" (( "(") (binary_expression "**(int **)(iVar1 + 0x18) + 0x10" (pointer_expression "**(int **)(iVar1 + 0x18)" (* "*") (pointer_expression "*(int **)(iVar1 + 0x18)" (* "*") (cast_expression "(int **)(iVar1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (pcVar2 == FUN_001de410) break;" (if "if") (parenthesized_expression "(pcVar2 == FUN_001de410)" (( "(") (binary_expression "pcVar2 == FUN_001de410" (identifier "pcVar2") (== "==") (identifier "FUN_001de410")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2);" (call_expression "(*pcVar2)(*(int **)(iVar1 + 0x18),param_2)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(*(int **)(iVar1 + 0x18),param_2)" (( "(") (pointer_expression "*(int **)(iVar1 + 0x18)" (* "*") (cast_expression "(int **)(iVar1 + 0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (*(int **)(param_1 + 0x1c) == piVar3) {\n          return;\n        }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x1c) == piVar3)" (( "(") (binary_expression "*(int **)(param_1 + 0x1c) == piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (== "==") (identifier "piVar3")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0x1c) != piVar3)" (( "(") (binary_expression "*(int **)(param_1 + 0x1c) != piVar3" (pointer_expression "*(int **)(param_1 + 0x1c)" (* "*") (cast_expression "(int **)(param_1 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (identifier "piVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void set_defsym_uses_in_real_elf(Script_options * this, Symbol_table *
   symtab) */

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

{
  type_3 *pSVar1;
  type_4 *p_Var2;
  type_5 var_4;
  
  var_4 = (this->symbol_assignments_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
            _M_impl._M_start;
  if (var_4 !=
      (this->symbol_assignments_).
      super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
      _M_impl._M_finish) {
    do {
      while( true ) {
        pSVar1 = *var_4;
        p_Var2 = pSVar1->val_->_vptr_Expression[4];
        if (p_Var2 == Expression::set_expr_sym_in_real_elf) break;
        var_4 = var_4 + 1;
        (*p_Var2)(pSVar1->val_,symtab);
        if ((this->symbol_assignments_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
            _M_impl._M_finish == var_4) {
          return;
        }
      }
      var_4 = var_4 + 1;
    } while ((this->symbol_assignments_).
             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: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (primitive_type) 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 (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (return_statement))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  code *pcVar2;
  int *piVar3;
  
  piVar3 = *(int **)(param_1 + 0x18);
  if (piVar3 != *(int **)(param_1 + 0x1c)) {
    do {
      while( true ) {
        iVar1 = *piVar3;
        pcVar2 = *(code **)(**(int **)(iVar1 + 0x18) + 0x10);
        if (pcVar2 == FUN_001de410) break;
        piVar3 = piVar3 + 1;
        (*pcVar2)(*(int **)(iVar1 + 0x18),param_2);
        if (*(int **)(param_1 + 0x1c) == piVar3) {
          return;
        }
      }
      piVar3 = piVar3 + 1;
    } while (*(int **)(param_1 + 0x1c) != piVar3);
  }
  return;
}

