
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool is_pending_assignment(Script_options * this, char * name) */

bool __thiscall gold::Script_options::is_pending_assignment(Script_options *this,char *name)

{
  int iVar1;
  pointer ppSVar2;
  
  ppSVar2 = (this->symbol_assignments_).
            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.
            _M_impl._M_start;
  if (ppSVar2 !=
      (this->symbol_assignments_).
      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.
      _M_impl._M_finish) {
    do {
      iVar1 = std::string::compare((string *)*ppSVar2,name);
      if (iVar1 == 0) {
        return true;
      }
      ppSVar2 = ppSVar2 + 1;
    } while ((this->symbol_assignments_).
             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>
             ._M_impl._M_finish != ppSVar2);
  }
  return false;
}



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

undefined4 FUN_00169d70(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 0x18);
  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {
    do {
      iVar1 = FUN_001f1370(*puVar2,param_2);
      if (iVar1 == 0) {
        return 1;
      }
      puVar2 = puVar2 + 1;
    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x225287
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV EBP,dword ptr [ESP + 0x24]
MOV ESI,dword ptr [EDI + 0x18]
CMP ESI,dword ptr [EDI + 0x1c]
JNZ 0x00169da0
JMP 0x00169dc0
ADD ESI,0x4
CMP dword ptr [EDI + 0x1c],ESI
JZ 0x00169dc0
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESI]
CALL 0x001f1370
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00169d98
ADD ESP,0xc
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00169d70(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00169d70(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00169d70(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  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x18);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x18)" * (cast_expression "(undefined4 **)(param_1 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x1c))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x1c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" { (do_statement "do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);" do (compound_statement "{\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "iVar1 = FUN_001f1370(*puVar2,param_2);" (assignment_expression "iVar1 = FUN_001f1370(*puVar2,param_2)" identifier = (call_expression "FUN_001f1370(*puVar2,param_2)" identifier (argument_list "(*puVar2,param_2)" ( (pointer_expression "*puVar2" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x1c) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x1c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: bool is_pending_assignment(Script_options * this, char * name) */\n\nbool __thiscall gold::Script_options::is_pending_assignment(Script_options *this,char *name)\n\n{\n  int iVar1;\n  pointer ppSVar2;\n  \n  ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);\n  }\n  return false;\n}\n\n" comment comment (function_definition "bool __thiscall gold::Script_options::is_pending_assignment(Script_options *this,char *name)\n\n{\n  int iVar1;\n  pointer ppSVar2;\n  \n  ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_options::" identifier : : identifier : :) (function_declarator "is_pending_assignment(Script_options *this,char *name)" identifier (parameter_list "(Script_options *this,char *name)" ( (parameter_declaration "Script_options *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  pointer ppSVar2;\n  \n  ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;\n  if (ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);\n  }\n  return false;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "pointer ppSVar2;" type_identifier identifier ;) (expression_statement "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start;" (field_expression "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl._M_start" (field_expression "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n            _M_impl" (binary_expression "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "ppSVar2 = (this->symbol_assignments_).\n            super__Vector_base<gold::Symbol_assignment*,_std" (assignment_expression "ppSVar2 = (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 (ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish) {\n    do {\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);\n  }" if (parenthesized_expression "(ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish)" ( (field_expression "ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl._M_finish" (field_expression "ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>.\n      _M_impl" (binary_expression "ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_" (binary_expression "ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold" (binary_expression "ppSVar2 !=\n      (this->symbol_assignments_).\n      super__Vector_base<gold::Symbol_assignment*,_std" (binary_expression "ppSVar2 !=\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      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);\n  }" { (do_statement "do {\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    } while ((this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2);" do (compound_statement "{\n      iVar1 = std::string::compare((string *)*ppSVar2,name);\n      if (iVar1 == 0) {\n        return true;\n      }\n      ppSVar2 = ppSVar2 + 1;\n    }" { (ERROR "iVar1 = std::" (assignment_expression "iVar1 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)*ppSVar2,name);" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)*ppSVar2,name);" (call_expression "compare((string *)*ppSVar2,name)" identifier (argument_list "((string *)*ppSVar2,name)" ( (cast_expression "(string *)*ppSVar2" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*ppSVar2" * identifier)) , identifier ))) ;)) (if_statement "if (iVar1 == 0) {\n        return true;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return true;\n      }" { (return_statement "return true;" return true ;) })) (expression_statement "ppSVar2 = ppSVar2 + 1;" (assignment_expression "ppSVar2 = ppSVar2 + 1" identifier = (binary_expression "ppSVar2 + 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 != ppSVar2)" ( (binary_expression "(this->symbol_assignments_).\n             super__Vector_base<gold::Symbol_assignment*,_std::allocator<gold::Symbol_assignment*>_>\n             ._M_impl._M_finish != ppSVar2" (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 false;" return false ;) })))
(translation_unit "undefined4 FUN_00169d70(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00169d70(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00169d70(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  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x18);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x18)" * (cast_expression "(undefined4 **)(param_1 + 0x18)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x1c))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x1c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" { (do_statement "do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);" do (compound_statement "{\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "iVar1 = FUN_001f1370(*puVar2,param_2);" (assignment_expression "iVar1 = FUN_001f1370(*puVar2,param_2)" identifier = (call_expression "FUN_001f1370(*puVar2,param_2)" identifier (argument_list "(*puVar2,param_2)" ( (pointer_expression "*puVar2" * identifier) , identifier )))) ;) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x1c) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x1c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return 0;" return number_literal ;) })))
(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) ;) (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 = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (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 LIT ;) })))
(function_definition "undefined4 FUN_00169d70(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00169d70(int param_1,undefined4 param_2)" (identifier "FUN_00169d70") (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  undefined4 *puVar2;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x18);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x18);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x18)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (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 (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {\n    do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x1c))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x1c)" (identifier "puVar2") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (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      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);\n  }" ({ "{") (do_statement "do {\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);" (do "do") (compound_statement "{\n      iVar1 = FUN_001f1370(*puVar2,param_2);\n      if (iVar1 == 0) {\n        return 1;\n      }\n      puVar2 = puVar2 + 1;\n    }" ({ "{") (expression_statement "iVar1 = FUN_001f1370(*puVar2,param_2);" (assignment_expression "iVar1 = FUN_001f1370(*puVar2,param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_001f1370(*puVar2,param_2)" (identifier "FUN_001f1370") (argument_list "(*puVar2,param_2)" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x1c) != puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x1c) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: bool is_pending_assignment(Script_options * this, char * name) */

bool __thiscall var_1::type_1::function_1(type_1 *this,char *name)

{
  int var_6;
  type_2 var_4;
  
  var_4 = (this->symbol_assignments_).
            super__Vector_base<var_1::Symbol_assignment*,var_2::allocator<var_1::Symbol_assignment*>var_3>.
            _M_impl._M_start;
  if (var_4 !=
      (this->symbol_assignments_).
      super__Vector_base<var_1::Symbol_assignment*,var_2::allocator<var_1::Symbol_assignment*>var_3>.
      _M_impl._M_finish) {
    do {
      var_6 = std::string::var_5((type_3 *)*var_4,name);
      if (var_6 == 0) {
        return true;
      }
      var_4 = var_4 + 1;
    } while ((this->symbol_assignments_).
             super__Vector_base<var_1::Symbol_assignment*,var_2::allocator<var_1::Symbol_assignment*>var_3>
             ._M_impl._M_finish != var_4);
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) 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))) (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: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = *(undefined4 **)(param_1 + 0x18);
  if (puVar2 != *(undefined4 **)(param_1 + 0x1c)) {
    do {
      iVar1 = FUN_001f1370(*puVar2,param_2);
      if (iVar1 == 0) {
        return 1;
      }
      puVar2 = puVar2 + 1;
    } while (*(undefined4 **)(param_1 + 0x1c) != puVar2);
  }
  return 0;
}

